Browse Source

修改

dev_kxc
xzt 11 months ago
parent
commit
c03f9f9da6
  1. BIN
      jwtech-admin-page/src/assets/image/SMap.png
  2. BIN
      jwtech-admin-page/src/assets/image/shengMap.png
  3. 44
      jwtech-admin-page/src/layout/components/Sidebar/index.vue
  4. 1
      jwtech-admin-page/src/views/building/projectInfo/projectProcess/projectAcceptance.vue
  5. 2
      jwtech-admin-page/src/views/building/projectInfo/projectProcess/qualityControl/options/engineeringQualityInspection.vue
  6. 178
      jwtech-admin-page/src/views/gateway/fundControlSituation.vue
  7. 288
      jwtech-admin-page/src/views/gateway/projectDistributionADiagram.vue

BIN
jwtech-admin-page/src/assets/image/SMap.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

BIN
jwtech-admin-page/src/assets/image/shengMap.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1004 KiB

44
jwtech-admin-page/src/layout/components/Sidebar/index.vue

@ -46,12 +46,52 @@ export default {
...mapGetters(["permission_routes", "sidebar"]),
activeMenu() {
const route = this.$route;
const { meta, path } = route;
const { meta, path, query } = route;
// if set path, the sidebar will highlight the path you set
// console.log(66666, meta, path, route);
let newPath = path;
if (path.includes("/project/special/")) {
newPath = "/project/special";
} else if (path.includes("/project/plan/")) {
newPath = "/project/plan";
} else if (path.includes("/project/bid/")) {
newPath = "/project/bid";
} else if (path.includes("/building/projectInfo/")) {
newPath = "/building/projectInfo";
} else if (
path.includes("/evaluationEarlyWarning/earlyWarningManage/warning/")
) {
newPath = "/evaluationEarlyWarning/earlyWarningManage/warning";
} else if (path.includes("/evaluationEarlyWarning/projectBrief/")) {
newPath = "/evaluationEarlyWarning/projectBrief";
} else if (path.includes("/marketSupervision/enterpriseInformation/")) {
newPath = "/marketSupervision/enterpriseInformation";
} else if (
path.includes("/projectStatistics/projectProcess") &&
!query.activeName
) {
newPath = "/projectStatistics/projectStatisticsSort";
} else if (
path.includes("/projectStatistics/projectProcess") &&
query.activeName == "investment"
) {
newPath = "/projectStatistics/projectStatisticsInvest";
} else if (
path.includes("/projectStatistics/projectProcess") &&
query.activeName == "scheduleManagement"
) {
newPath = "/projectStatistics/projectStatisticsProgress";
} else if (
path.includes("/projectStatistics/projectProcess") &&
query.activeName == "projectAcceptance"
) {
newPath = "/projectStatistics/projectStatisticsMsg";
}
if (meta.activeMenu) {
return meta.activeMenu;
}
return path;
return newPath;
},
showLogo() {
return this.$store.state.settings.sidebarLogo;

1
jwtech-admin-page/src/views/building/projectInfo/projectProcess/projectAcceptance.vue

@ -1373,7 +1373,6 @@ export default {
this.form.acceptancePersonnel = this.dynamicTags2.length
? JSON.stringify(this.dynamicTags2)
: null;
this.form.acceptanceDecisionLetter = this.fileList1.length
? JSON.stringify(this.fileList1)
: null;

2
jwtech-admin-page/src/views/building/projectInfo/projectProcess/qualityControl/options/engineeringQualityInspection.vue

@ -237,7 +237,7 @@
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="项目建设地址" prop="adcd">
<el-form-item label="行政区划" prop="adcd">
<!-- <el-input
v-model="baseMsg.adcd"
placeholder="请输入项目建设地址"

178
jwtech-admin-page/src/views/gateway/fundControlSituation.vue

@ -22,7 +22,17 @@
<div ref="myEcharts1" style="height: 100%"></div>
</div>
</div>
<div class="content_right"></div>
<div class="content_right">
<div class="right_title">资金下发</div>
<div class="right_stat">
2023年度资金支付
<span>160</span>
亿
</div>
<div class="myEchart2">
<div ref="myEcharts2" style="height: 100%"></div>
</div>
</div>
</div>
</div>
</template>
@ -31,6 +41,7 @@ import * as echarts from "echarts";
export default {
mounted() {
this.initEcharts1();
this.initEcharts2();
},
methods: {
initEcharts1() {
@ -53,7 +64,7 @@ export default {
type: "shadow",
},
},
color: ["#36A3D9", "#F29130"],
// color: ["#36A3D9", "#F29130"],
legend: {
right: 10,
itemHeight: 10,
@ -174,6 +185,149 @@ export default {
],
};
option && myChart.setOption(option);
},
initEcharts2() {
var chartDom = this.$refs.myEcharts2;
var myChart = echarts.init(chartDom);
var option;
option = {
title: {
text: "单位:亿",
// x: 18,
textStyle: {
color: "rgba(38, 38, 38, 0.65)",
fontSize: 12,
},
},
tooltip: {
trigger: "axis",
axisPointer: {
type: "shadow",
},
},
// color: ["#36A3D9", "#F29130"],
legend: {
right: 10,
itemHeight: 10,
itemWidth: 10,
},
grid: {
left: "3%",
right: "4%",
bottom: "3%",
containLabel: true,
},
xAxis: [
{
type: "category",
axisLine: {
show: false,
},
axisTick: {
show: false,
},
data: [
"广州",
"深圳",
"佛山",
"中山",
"惠州",
"东莞",
"阳江",
"韶关",
"河源",
"肇庆",
"珠海",
"江门",
"汕头",
"潮州",
"揭阳",
"湛江",
"茂名",
"清远",
"梅州",
],
},
],
yAxis: [
{
// name: "",
type: "value",
axisLine: {
show: false,
},
axisTick: {
show: false,
},
splitLine: {
//线
show: false, //
// lineStyle: {
// //线
// // color: "#0735a2", //线
// // width: 1, //线
// type: "dashed", //线
// },
},
},
],
dataZoom: [
{
type: "inside",
show: false,
xAxisIndex: [0],
start: 0,
end: 70,
// textStyle: {
// color: "#ccd7d7",
// },
},
],
series: [
{
name: "2023资金支付",
type: "bar",
//
// stack: "Ad",
barMaxWidth: "25%",
itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{ offset: 0, color: "rgba(54, 163, 217, 1)" },
{ offset: 1, color: "rgba(54, 163, 217, 0.2)" },
]),
},
emphasis: {
focus: "series",
},
data: [
120, 132, 101, 134, 90, 230, 210, 120, 132, 101, 134, 90, 230,
210, 120, 132, 101, 134, 90,
],
},
{
name: "2022资金支付",
type: "bar",
// stack: "Ad",
barMaxWidth: "25%",
itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{ offset: 0, color: "rgba(129, 184, 74, 1)" },
{ offset: 1, color: "rgba(129, 184, 74, 0.2)" },
]),
},
emphasis: {
focus: "series",
},
data: [
220, 182, 191, 234, 290, 330, 310, 220, 182, 191, 234, 290, 330,
310, 220, 182, 191, 234, 290,
],
},
],
};
option && myChart.setOption(option);
},
},
@ -249,7 +403,27 @@ export default {
}
.content_right {
flex: 1;
display: flex;
flex-direction: column;
// border: 1px solid red;
color: #262626;
.right_title {
height: 24px;
line-height: 24px;
font-size: 18px;
padding-left: 6px;
border-left: 4px solid #36b29e;
}
.right_stat {
font-size: 14px;
margin: 8px 0;
& > span {
font-size: 24px;
}
}
.myEchart2 {
flex: 1;
}
}
}
}

288
jwtech-admin-page/src/views/gateway/projectDistributionADiagram.vue

@ -1,3 +1,289 @@
<template>
<div>一张图</div>
<div class="page">
<div class="select">
<el-form :model="queryParams">
<el-form-item label="行政区划" prop="adcd" label-width="68px">
<el-cascader
:options="areasOptions"
v-model="queryParams.adcd"
:props="areasOptionProps"
placeholder="请选择行政区划"
clearable
size="small"
style="width: 100%"
>
</el-cascader>
</el-form-item>
</el-form>
</div>
<div class="main">
<div class="main_head">
<div class="head_title">
<div class="iconSpan">
<span class="first"></span>
<span class="second"></span>
</div>
<span class="text">
工程分布一张图
<em> (数据更新时间2023/05/25) </em>
</span>
</div>
<div class="head_btn">进入</div>
</div>
<div class="main_content">
<div class="con_head">
<div class="head_btn">
<span
:class="{ activeSpan1: activeName == '1' }"
@click="chooseName('1')"
>业务概况图</span
>
<span
:class="{ activeSpan1: activeName == '2' }"
@click="chooseName('2')"
>机构地图</span
>
</div>
</div>
<div class="con_info">
<div class="info_left">
<div class="infoItem">
<span>总项目数</span>
<span>12688</span>
</div>
<div class="infoItem">
<span>初步批复</span>
<span>8688</span>
</div>
<div class="infoItem">
<span>施工中</span>
<span>6588</span>
</div>
<div class="infoItem">
<span>已完工</span>
<span>8688</span>
</div>
</div>
<div class="info_right">
<img src="@/assets/image/SMap.png" alt="" />
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import { getAreasData } from "@/api/areas/index";
export default {
data() {
return {
activeName: "1",
areasOptionProps: {
emitPath: false, //value
checkStrictly: true, //
// lazy: true,
// lazyLoad: function qylazyLoad(node) {
// // node.level = 5;
// console.log("node", node.level);
// },
},
areasOptions: [],
queryParams: {
adcd: null,
},
};
},
created() {
this.getTreeData();
},
methods: {
chooseName(key) {
this.activeName = key;
},
getTreeData() {
getAreasData().then((items) => {
// console.log("getAreasData", items.data);
let res = [];
let getChildren = (res, pid) => {
for (const i of items.data) {
if (i.parentid === pid) {
const newItem = {
label: i.name,
value: i.id,
};
if (i.layer != 3) newItem.children = [];
res.push(newItem);
getChildren(newItem.children, newItem.value);
}
}
};
getChildren(res, items.data[0].parentid);
this.areasOptions = res;
// admin
// if (this.$userProfile.createUid != "admin") {
// this.queryParams.data.adcd = this.areasOptions[0].value;
// }
// return res;
});
},
},
};
</script>
<style lang="scss" scoped>
.page {
width: 1200px;
background: #fff;
display: flex;
flex-direction: column;
// border: 1px solid red;
.select {
height: 64px;
display: flex;
align-items: center;
padding-left: 24px;
margin-bottom: 20px;
/deep/ .el-form-item {
margin-bottom: 0;
.el-input__inner {
width: 320px;
}
}
}
.main {
height: 800px;
display: flex;
flex-direction: column;
.main_head {
height: 58px;
background: #f3feff;
padding: 16px 24px;
display: flex;
justify-content: space-between;
align-items: center;
.head_title {
height: 26px;
display: flex;
.iconSpan {
display: flex;
flex-direction: column;
justify-content: space-evenly;
margin-right: 8px;
.first {
width: 6px;
height: 6px;
background: #f86220;
}
.second {
width: 6px;
height: 6px;
background: #36b29e;
}
}
.text {
font-size: 18px;
line-height: 26px;
& > em {
font-size: 14px;
color: #8c8c8c;
font-style: normal;
}
}
}
.head_btn {
font-size: 14px;
color: #36b29e;
cursor: pointer;
}
}
.main_content {
flex: 1;
padding: 20px 50px;
// background: skyblue;
display: flex;
flex-direction: column;
.con_head {
height: 32px;
display: flex;
justify-content: flex-end;
margin-bottom: 20px;
.head_btn {
// border: 1px solid #d9d9d9;
// border-radius: 4px;
& > span {
display: inline-block;
padding: 5px 16px;
font-size: 14px;
color: #262626;
cursor: pointer;
border: 1px solid #d9d9d9;
}
& > span:nth-child(1) {
border-radius: 4px 0 0 4px;
}
& > span:nth-child(2) {
border-radius: 0 4px 4px 0;
}
.activeSpan1 {
border: 1px solid #36b29e;
color: #36b29e;
}
.activeSpan2 {
border: 1px solid #36b29e;
color: #36b29e;
}
}
}
.con_info {
flex: 1;
// border: 1px solid red;
display: flex;
justify-content: space-between;
.info_left {
width: 240px;
height: 464px;
display: flex;
flex-direction: column;
justify-content: space-between;
// border: 1px solid red;
.infoItem {
height: 104px;
padding: 16px;
background: linear-gradient(
to bottom,
#cff3f6 0%,
rgba(207, 243, 246, 0.3) 100%
);
display: flex;
flex-direction: column;
justify-content: space-between;
& > span:nth-child(1) {
color: #262626;
font-size: 16px;
}
& > span:nth-child(2) {
color: #36b29e;
font-size: 40px;
}
}
& > .infoItem:nth-last-child(1) {
background: linear-gradient(
to bottom,
#c7f3e3 0%,
rgba(199, 243, 227, 0.2) 100%
);
}
}
.info_right {
width: 800px;
height: 600px;
// border: 1px solid red;
& > img {
width: 100%;
height: 100%;
}
}
}
}
}
}
</style>

Loading…
Cancel
Save