diff --git a/src/assets/images/screen/09091.png b/src/assets/images/screen/09091.png new file mode 100644 index 0000000..eb5ba01 Binary files /dev/null and b/src/assets/images/screen/09091.png differ diff --git a/src/assets/images/screen/bl.png b/src/assets/images/screen/bl.png new file mode 100644 index 0000000..876b525 Binary files /dev/null and b/src/assets/images/screen/bl.png differ diff --git a/src/assets/images/screen/br.png b/src/assets/images/screen/br.png new file mode 100644 index 0000000..1dcc1e3 Binary files /dev/null and b/src/assets/images/screen/br.png differ diff --git a/src/assets/images/screen/detail.png b/src/assets/images/screen/detail.png new file mode 100644 index 0000000..02e0224 Binary files /dev/null and b/src/assets/images/screen/detail.png differ diff --git a/src/assets/images/screen/dpie.png b/src/assets/images/screen/dpie.png new file mode 100644 index 0000000..bea0fb9 Binary files /dev/null and b/src/assets/images/screen/dpie.png differ diff --git a/src/assets/images/screen/estimate.png b/src/assets/images/screen/estimate.png new file mode 100644 index 0000000..47cc176 Binary files /dev/null and b/src/assets/images/screen/estimate.png differ diff --git a/src/assets/images/screen/list.png b/src/assets/images/screen/list.png new file mode 100644 index 0000000..44578b6 Binary files /dev/null and b/src/assets/images/screen/list.png differ diff --git a/src/assets/images/screen/model.png b/src/assets/images/screen/model.png new file mode 100644 index 0000000..06e73bf Binary files /dev/null and b/src/assets/images/screen/model.png differ diff --git a/src/assets/images/screen/rate.png b/src/assets/images/screen/rate.png new file mode 100644 index 0000000..e04de13 Binary files /dev/null and b/src/assets/images/screen/rate.png differ diff --git a/src/assets/images/screen/tl.png b/src/assets/images/screen/tl.png new file mode 100644 index 0000000..718ef62 Binary files /dev/null and b/src/assets/images/screen/tl.png differ diff --git a/src/assets/images/screen/tr.png b/src/assets/images/screen/tr.png new file mode 100644 index 0000000..f0c2d3e Binary files /dev/null and b/src/assets/images/screen/tr.png differ diff --git a/src/loveflow/assets/index.less b/src/loveflow/assets/index.less index baeacdb..822eb3c 100644 --- a/src/loveflow/assets/index.less +++ b/src/loveflow/assets/index.less @@ -31,6 +31,9 @@ .mb18 { margin-bottom: 18px; } +.mb20 { + margin-bottom: 20px; +} /* 间距 END*/ /* 字体 START */ diff --git a/src/loveflow/assets/paginate.less b/src/loveflow/assets/paginate.less new file mode 100644 index 0000000..f1f4e75 --- /dev/null +++ b/src/loveflow/assets/paginate.less @@ -0,0 +1,54 @@ +.gPagination { + background-color: transparent; +} +/deep/.el-pagination { + .el-pagination__total { + color: #ffffff; + height: 34px; + line-height: 34px; + } + .el-pagination__sizes { + .el-input__inner { + height: 32px; + background: transparent; + color: #fff; + border: solid 1px #28847e; + } + } + .btn-prev { + height: 32px; + min-width: 32px; + background: transparent; + color: #fff; + border: solid 1px #28847e; + } + .btn-next { + height: 32px; + min-width: 32px; + background: transparent; + color: #fff; + border: solid 1px #28847e; + } + .el-pager { + .number { + height: 32px; + min-width: 32px; + background: transparent; + color: #fff; + border: solid 1px #28847e; + &.active { + background: url("~@/assets/companyFile/2121.png") no-repeat !important; + background-size: 100% 100% !important; + } + } + } + .el-pagination__jump { + color: #fff; + .el-input__inner { + height: 32px; + background: transparent; + color: #fff; + border: solid 1px #28847e; + } + } +} diff --git a/src/loveflow/components/data/table.vue b/src/loveflow/components/data/table.vue index d6e6ea2..ec911f1 100644 --- a/src/loveflow/components/data/table.vue +++ b/src/loveflow/components/data/table.vue @@ -126,3 +126,6 @@ export default { } } + diff --git a/src/loveflow/components/echart/bar/one.vue b/src/loveflow/components/echart/bar/one.vue index 67d03cf..d35d497 100644 --- a/src/loveflow/components/echart/bar/one.vue +++ b/src/loveflow/components/echart/bar/one.vue @@ -30,7 +30,7 @@ export default { grid: { top: this.chartObj.gridTop || "20%", bottom: this.chartObj.gridBtm || "10%", - left: "6%", + left: this.chartObj.gridLeft || "6%", right: "5%", }, tooltip: { @@ -118,5 +118,14 @@ export default { }; }, }, + watch: { + chartObj: { + handler(newval) { + this.setOption(); + }, + deep: true, + // immediate: true, + }, + }, }; diff --git a/src/loveflow/components/echart/bar/three.vue b/src/loveflow/components/echart/bar/three.vue new file mode 100644 index 0000000..c492c4f --- /dev/null +++ b/src/loveflow/components/echart/bar/three.vue @@ -0,0 +1,318 @@ + + diff --git a/src/loveflow/components/echart/funnel/one.vue b/src/loveflow/components/echart/funnel/one.vue new file mode 100644 index 0000000..7904507 --- /dev/null +++ b/src/loveflow/components/echart/funnel/one.vue @@ -0,0 +1,129 @@ + + diff --git a/src/loveflow/components/echart/line/one.vue b/src/loveflow/components/echart/line/one.vue index a383289..f5f683c 100644 --- a/src/loveflow/components/echart/line/one.vue +++ b/src/loveflow/components/echart/line/one.vue @@ -114,5 +114,14 @@ export default { }; }, }, + watch: { + chartObj: { + handler(newval) { + this.setOption(); + }, + deep: true, + // immediate: true, + }, + }, }; diff --git a/src/loveflow/components/echart/line/three.vue b/src/loveflow/components/echart/line/three.vue index 5cd7c32..182db3e 100644 --- a/src/loveflow/components/echart/line/three.vue +++ b/src/loveflow/components/echart/line/three.vue @@ -113,5 +113,14 @@ export default { }; }, }, + watch: { + chartObj: { + handler(newval) { + this.setOption(); + }, + deep: true, + // immediate: true, + }, + }, }; diff --git a/src/loveflow/components/echart/line/two.vue b/src/loveflow/components/echart/line/two.vue index 505d1ee..aee7628 100644 --- a/src/loveflow/components/echart/line/two.vue +++ b/src/loveflow/components/echart/line/two.vue @@ -100,5 +100,14 @@ export default { }; }, }, + watch: { + chartObj: { + handler(newval) { + this.setOption(); + }, + deep: true, + // immediate: true, + }, + }, }; diff --git a/src/loveflow/components/echart/pie/dPie.vue b/src/loveflow/components/echart/pie/dPie.vue new file mode 100644 index 0000000..b1b5bba --- /dev/null +++ b/src/loveflow/components/echart/pie/dPie.vue @@ -0,0 +1,495 @@ + + + diff --git a/src/loveflow/components/echart/pie/one.vue b/src/loveflow/components/echart/pie/one.vue index 46b916c..0c3ccd0 100644 --- a/src/loveflow/components/echart/pie/one.vue +++ b/src/loveflow/components/echart/pie/one.vue @@ -24,19 +24,19 @@ export default { }, methods: { setOption() { - let height = this.getHeight() - 96; + let height = this.getHeight(); console.log(height); this.option = { tooltip: { show: false, }, legend: { - orient: "vertical", + orient: this.chartObj.orient || "vertical", top: "center", left: "60%", icon: "rect", itemHeight: 8, - itemWeight: 8, + itemWidth: 8, itemGap: 16, textStyle: { color: "#D0DEEE", @@ -51,12 +51,12 @@ export default { type: "image", style: { image: bgImg, - width: height - 30, - height: height - 30, + width: height - 20, + height: height - 20, zIndex: 1, top: "center", }, - left: 25, + left: 26, top: "center", originX: 100, originY: 100, @@ -83,7 +83,7 @@ export default { lineHeight: 20, formatter: function (params) { if (params.name !== "") { - return `${params.name}\n ${params.value}%`; + return `${params.name}\n ${params.percent}%`; } else { return ""; } @@ -107,5 +107,14 @@ export default { return div.clientHeight; }, }, + watch: { + chartObj: { + handler(newval) { + this.setOption(); + }, + deep: true, + // immediate: true, + }, + }, }; diff --git a/src/loveflow/components/echart/pie/three.vue b/src/loveflow/components/echart/pie/three.vue new file mode 100644 index 0000000..30f0893 --- /dev/null +++ b/src/loveflow/components/echart/pie/three.vue @@ -0,0 +1,344 @@ + + diff --git a/src/loveflow/components/echart/pie/three_bat.vue b/src/loveflow/components/echart/pie/three_bat.vue new file mode 100644 index 0000000..3f47b3a --- /dev/null +++ b/src/loveflow/components/echart/pie/three_bat.vue @@ -0,0 +1,246 @@ + + diff --git a/src/loveflow/components/echart/pie/three_bat1.vue b/src/loveflow/components/echart/pie/three_bat1.vue new file mode 100644 index 0000000..657e030 --- /dev/null +++ b/src/loveflow/components/echart/pie/three_bat1.vue @@ -0,0 +1,92 @@ + + + diff --git a/src/loveflow/components/echart/pie/two.vue b/src/loveflow/components/echart/pie/two.vue new file mode 100644 index 0000000..e4db43f --- /dev/null +++ b/src/loveflow/components/echart/pie/two.vue @@ -0,0 +1,127 @@ + + + diff --git a/src/loveflow/components/echart/radar/one.vue b/src/loveflow/components/echart/radar/one.vue index b9cc143..639d7df 100644 --- a/src/loveflow/components/echart/radar/one.vue +++ b/src/loveflow/components/echart/radar/one.vue @@ -31,7 +31,7 @@ export default { show: false, }, radar: { - center: ["50%", "55%"], // 外圆的位置 + center: ["50%", "50%"], // 外圆的位置 radius: "60%", name: { textStyle: { @@ -107,5 +107,14 @@ export default { }; }, }, + watch: { + chartObj: { + handler(newval) { + this.setOption(); + }, + deep: true, + // immediate: true, + }, + }, }; diff --git a/src/loveflow/components/menu/head.vue b/src/loveflow/components/menu/head.vue index d1d3541..4e1bb88 100644 --- a/src/loveflow/components/menu/head.vue +++ b/src/loveflow/components/menu/head.vue @@ -22,10 +22,10 @@
-
+
@@ -165,6 +165,14 @@ export default { }; + + diff --git a/src/views/enterpriseRiskIndex/components/timeSelect.vue b/src/views/enterpriseRiskIndex/components/timeSelect.vue index cdf74f1..a5bda7e 100644 --- a/src/views/enterpriseRiskIndex/components/timeSelect.vue +++ b/src/views/enterpriseRiskIndex/components/timeSelect.vue @@ -45,6 +45,7 @@ export default { z-index: 12; right: 5%; display: flex; + top: 3.6vh; div { display: flex; justify-content: center; diff --git a/src/views/enterpriseRiskIndex/components/topicMain.vue b/src/views/enterpriseRiskIndex/components/topicMain.vue new file mode 100644 index 0000000..0751c2b --- /dev/null +++ b/src/views/enterpriseRiskIndex/components/topicMain.vue @@ -0,0 +1,45 @@ + + + diff --git a/src/views/enterpriseRiskIndex/components/totalCard.vue b/src/views/enterpriseRiskIndex/components/totalCard.vue index 0201584..0186919 100644 --- a/src/views/enterpriseRiskIndex/components/totalCard.vue +++ b/src/views/enterpriseRiskIndex/components/totalCard.vue @@ -1,7 +1,7 @@ + + diff --git a/src/views/enterpriseRiskIndex/estimateDetail.vue b/src/views/enterpriseRiskIndex/estimateDetail.vue new file mode 100644 index 0000000..570ed24 --- /dev/null +++ b/src/views/enterpriseRiskIndex/estimateDetail.vue @@ -0,0 +1,658 @@ + + + diff --git a/src/views/enterpriseRiskIndex/synthetical.vue b/src/views/enterpriseRiskIndex/synthetical.vue index e2b17a6..4c990e6 100644 --- a/src/views/enterpriseRiskIndex/synthetical.vue +++ b/src/views/enterpriseRiskIndex/synthetical.vue @@ -19,8 +19,8 @@
- -
+ +
@@ -29,8 +29,12 @@
全区企业风险标签增长趋势
-
- +
+ + +
+ +
@@ -41,13 +45,15 @@
全区企业风险预警总量
- -
+
+ +
+
- +
@@ -83,11 +89,11 @@
同比增长
-
23%
+
2%
环比增长
-
23%
+
3%
@@ -98,7 +104,7 @@
- {{ total.toLocaleString() }} + {{ total2.toLocaleString() }}
@@ -108,11 +114,11 @@
同比增长
-
23%
+
4%
环比增长
-
23%
+
3%
@@ -123,7 +129,7 @@
- {{ total.toLocaleString() }} + {{ total1.toLocaleString() }}
@@ -133,11 +139,11 @@
同比增长
-
23%
+
2%
环比增长
-
23%
+
1%
@@ -172,17 +178,27 @@ export default { return { leftData: { name: "综合风险总量", - value: "21135", + value: "78", }, rightData: { - tb: 12, - hb: 23, + tb: 1, + hb: 2, + }, + lefData: { + name: "综合风险总量", + value: "78", + }, + righData: { + tb: 1, + hb: 2, }, totalData: { name: "今日企业风险项量", - value: 10000, + value: 7, }, total: 21345, + total1: 198, + total2: 879, tlObj: { indicator: [ { @@ -254,13 +270,13 @@ export default { "12月", ], yData: [ - [18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18], - [8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8], - [11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11], - [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], - [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], - [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15], - [25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25], + [8, 3, 1, 11, 9, 7, 8, 12, 5, 9, 12, 3], + [1, 7, 2, 9, 4, 10, 7, 3, 1, 11, 5, 8], + [4, 3, 1, 11, 9, 7, 8, 12, 5, 9, 6, 2], + [2, 11, 7, 8, 3, 11, 9, 11, 7, 1, 2, 1], + [3, 9, 1, 11, 11, 6, 9, 9, 4, 7, 8, 3], + [9, 6, 1, 11, 12, 8, 11, 6, 4, 6, 1, 7], + [5, 3, 11, 7, 3, 9, 1, 2, 8, 4, 1, 4], ], name: "全区企业风险标签数量变化趋势", legend: [ @@ -283,12 +299,23 @@ export default { ], }, trObj: { - color: ["#2B82F3", "#FFD16A", "#48EEBD", "#FF745A"], + color: [ + "#09C8F5", + "#48EEBD", + "#FFD16A", + "#FF8A5A", + "#FF3B3B", + "#B276FF", + "#FF6AEE", + ], data: [ - { value: 1048, name: "重点人员预警" }, - { value: 735, name: "企业整改预警" }, - { value: 580, name: "流动人员预警" }, - { value: 484, name: "其他" }, + { value: 1048, name: "澥浦镇" }, + { value: 735, name: "九龙湖镇" }, + { value: 580, name: "照宝山街道" }, + { value: 484, name: "蛟川街道" }, + { value: 567, name: "骆驼街道" }, + { value: 489, name: "贵驷街道" }, + { value: 517, name: "庄市街道" }, ], name: "全区企业风险预警总量", }, @@ -297,16 +324,108 @@ export default { mounted() {}, methods: { tmTime(val) { - console.log("tmTime:" + val); + if (val == "day") { + this.leftData.value = 78; + this.rightData.tb = 1; + this.rightData.hb = 2; + this.tmObj.yData = [12, 11, 13, 14, 15, 11, 14, 12]; + } + if (val == "month") { + this.leftData.value = 212; + this.rightData.tb = 9; + this.rightData.hb = 11; + this.tmObj.yData = [341, 314, 411, 531, 461, 288, 189, 351]; + } + if (val == "year") { + this.leftData.value = 811; + this.rightData.tb = 4; + this.rightData.hb = 5; + this.tmObj.yData = [1312, 1231, 1253, 1456, 1327, 1571, 1468, 1278]; + } }, trTime(val) { - console.log("trTime:" + val); + if (val == "day") { + this.lefData.value = 78; + this.righData.tb = 1; + this.righData.hb = 2; + } + if (val == "month") { + this.lefData.value = 212; + this.righData.tb = 9; + this.righData.hb = 11; + } + if (val == "year") { + this.lefData.value = 811; + this.righData.tb = 4; + this.righData.hb = 5; + } }, blTime(val) { - console.log("blTime:" + val); + if (val == "day") { + this.totalData.value = 7; + } + if (val == "month") { + this.totalData.value = 23; + } + if (val == "year") { + this.totalData.value = 91; + } }, bmTime(val) { - console.log("bmTime:" + val); + if (val == "day") { + this.bmObj.yData = [ + [8, 3, 1, 11, 9, 7, 8, 12, 5, 9, 12, 3], + [1, 7, 2, 9, 4, 10, 7, 3, 1, 11, 5, 8], + [4, 3, 1, 11, 9, 7, 8, 12, 5, 9, 6, 2], + [2, 11, 7, 8, 3, 11, 9, 11, 7, 1, 2, 1], + [3, 9, 1, 11, 11, 6, 9, 9, 4, 7, 8, 3], + [9, 6, 1, 11, 12, 8, 11, 6, 4, 6, 1, 7], + [5, 3, 11, 7, 3, 9, 1, 2, 8, 4, 1, 4], + ]; + } + if (val == "month") { + this.bmObj.yData = [ + [618, 711, 678, 811, 671, 812, 734, 597, 638, 712, 812, 768], + [698, 811, 671, 768, 812, 712, 638, 597, 711, 734, 878, 638], + [811, 671, 618, 734, 597, 812, 761, 768, 638, 597, 812, 712], + [671, 734, 811, 711, 618, 768, 671, 712, 768, 690, 638, 798], + [812, 671, 711, 812, 679, 638, 763, 768, 597, 871, 711, 567], + [734, 812, 618, 811, 638, 671, 712, 597, 812, 638, 638, 654], + [812, 811, 597, 711, 811, 618, 734, 638, 812, 712, 897, 638], + ]; + } + if (val == "year") { + this.bmObj.yData = [ + [ + 2618, 2711, 2678, 2811, 2671, 2812, 2734, 2597, 2638, 2712, 2812, + 2768, + ], + [ + 2698, 2811, 2671, 2768, 2812, 2712, 2638, 2597, 2711, 2734, 2878, + 2638, + ], + [ + 2811, 2671, 2618, 2734, 2597, 2812, 2761, 2768, 2638, 2597, 2812, + 2712, + ], + [ + 2671, 2734, 2811, 2711, 2618, 2768, 2671, 2712, 2768, 2690, 2638, + 2798, + ], + [ + 2812, 2671, 2711, 2812, 2679, 2638, 2763, 2768, 2597, 2871, 2711, + 2567, + ], + [ + 2734, 2812, 2618, 2811, 2638, 2671, 2712, 2597, 2812, 2638, 2638, + 2654, + ], + [ + 2812, 2811, 2597, 2711, 2811, 2618, 2734, 2638, 2812, 2712, 2897, + 2638, + ], + ]; + } }, }, }; @@ -318,6 +437,7 @@ export default { box-sizing: border-box; display: flex; flex-direction: column; + overflow: hidden; .riskRow { flex: 1; @@ -334,21 +454,19 @@ export default { .chartPanelBg { position: absolute; width: 60%; - height: 208px; + height: 28px; top: calc(50% - 44px); left: 30%; background-color: rgba(108, 128, 151, 0.1); } .totalWrap { display: flex; - margin-top: 38px; } .riskUpWrap { display: flex; flex-direction: column; justify-content: space-between; - margin-top: 2px; - height: calc(100% - 50px); + height: calc(100% - 4vh); display: flex; .left { width: 190px; @@ -397,6 +515,7 @@ export default { } .totalName { font-weight: 500; + margin-bottom: 4px; } .totalValue { display: flex; @@ -441,7 +560,7 @@ export default { font-size: vh(16); .riskName { - height: 30px; + height: vh(30); display: flex; margin-top: vh(6); color: #d9e7ff; @@ -454,6 +573,13 @@ export default { background-size: 100% 100%; } } + .totalWrap { + display: flex; + margin-top: vh(40); + } + .riskTotalPanel { + margin-top: vh(40); + } } } diff --git a/src/views/systemManagement/floatPopulation/index.vue b/src/views/systemManagement/floatPopulation/index.vue index 0568419..952c953 100644 --- a/src/views/systemManagement/floatPopulation/index.vue +++ b/src/views/systemManagement/floatPopulation/index.vue @@ -367,7 +367,7 @@ export default { } .opt { margin-top: 10px; - width: 100%; + width: calc(100% - 30px); display: flex; justify-content: flex-end; &:hover {