system-phone 3.0.49-9 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  2. package/SystemPhone.iml +8 -8
  3. package/build/dev-server.js +141 -141
  4. package/build/webpack.base.conf.js +82 -82
  5. package/build.gradle +27 -27
  6. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  7. package/gradlew +183 -183
  8. package/gradlew.bat +100 -100
  9. package/index.html +21 -21
  10. package/package.json +1 -1
  11. package/src/App.vue +25 -25
  12. package/src/Util.js +415 -415
  13. package/src/assets//344/277/235/351/231/251/347/231/273/350/256/260.png +0 -0
  14. package/src/assets//345/215/217/345/212/251/345/256/211/346/243/200.png +0 -0
  15. package/src/assets//345/215/241/350/241/250/346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
  16. package/src/assets//345/233/236/350/256/277.png +0 -0
  17. package/src/assets//345/234/260/345/235/200/345/217/230/346/233/264.png +0 -0
  18. package/src/assets//345/242/236/345/200/274/345/276/205/345/212/236.png +0 -0
  19. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/270/212/344/274/240.png +0 -0
  20. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/273/243/345/212/236.png +0 -0
  21. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
  22. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
  23. package/src/assets//345/244/226/351/203/250/351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
  24. package/src/assets//345/256/211/346/243/200/345/216/206/345/217/262/346/237/245/347/234/213.png +0 -0
  25. package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/346/234/252/351/200/211/344/270/255.png +0 -0
  26. package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/351/200/211/344/270/255.png +0 -0
  27. package/src/assets//345/256/211/346/243/200/350/275/254/345/215/225/345/256/241/346/240/270.png +0 -0
  28. package/src/assets//345/267/245/345/215/225/345/244/215/346/243/200.png +0 -0
  29. package/src/assets//345/267/245/345/225/206/345/256/211/346/243/200.png +0 -0
  30. package/src/assets//345/276/205/345/212/236/347/273/237/350/256/241.png +0 -0
  31. package/src/assets//346/212/204/350/241/250/351/207/215/344/274/240.png +0 -0
  32. package/src/assets//346/212/245/345/273/272/344/273/243/345/212/236.png +0 -0
  33. package/src/assets//346/226/275/345/260/201.png +0 -0
  34. package/src/assets//346/226/275/345/260/201/347/256/241/347/220/206.png +0 -0
  35. package/src/assets//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  36. package/src/assets//347/224/250/346/210/267/345/273/272/346/241/243.png +0 -0
  37. package/src/assets//347/224/250/346/210/267/350/256/260/345/275/225.png +0 -0
  38. package/src/assets//347/273/264/344/277/256/345/234/250/347/272/277/346/237/245/350/257/242.png +0 -0
  39. package/src/assets//347/273/264/344/277/256/347/231/273/350/256/260.png +0 -0
  40. package/src/assets//350/256/241/345/210/222/345/256/211/346/243/200.png +0 -0
  41. package/src/assets//350/256/241/345/210/222/347/273/237/350/256/241.png +0 -0
  42. package/src/assets//351/200/232/346/260/224/346/211/223/345/216/213/347/225/231/345/272/225.png +0 -0
  43. package/src/assets//351/223/205/345/260/201/347/256/241/347/220/206.png +0 -0
  44. package/src/assets//351/230/200/346/216/247/347/256/241/347/220/206.png +0 -0
  45. package/src/assets//351/235/236/345/261/205/346/260/221/345/256/211/346/243/200.png +0 -0
  46. package/src/assets//351/242/204/347/272/246/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
  47. package/src/assets//351/246/226/351/241/265/345/244/247/345/233/276.png +0 -0
  48. package/src/components/AloneLoadParams.vue +26 -26
  49. package/src/components/AlreadyService.vue +193 -193
  50. package/src/components/AttendManage.vue +534 -415
  51. package/src/components/LoadAppdata.vue +38 -38
  52. package/src/components/LoginApp.vue +732 -725
  53. package/src/components/LoginAppNew.vue +587 -587
  54. package/src/components/LoginAppV4.vue +732 -0
  55. package/src/components/ModifyPassWord.vue +216 -216
  56. package/src/components/NavBottom.vue +117 -117
  57. package/src/components/NavBottomV.vue +141 -141
  58. package/src/components/NavBottomVVV.vue +185 -185
  59. package/src/components/OnlineManage.vue +256 -256
  60. package/src/components/PhoneAllInfo.vue +68 -68
  61. package/src/components/PhoneChangemeterInfo.vue +116 -116
  62. package/src/components/PhoneImageInfo.vue +102 -0
  63. package/src/components/PhoneInfoTable.vue +39 -39
  64. package/src/components/PhoneMeterInfo.vue +132 -132
  65. package/src/components/PhoneRepairInfo.vue +146 -146
  66. package/src/components/PhoneSafeInfo.vue +101 -101
  67. package/src/components/PhoneSellInfo.vue +148 -123
  68. package/src/components/PhoneSellInfoLite.vue +112 -112
  69. package/src/components/PhoneUser.vue +202 -202
  70. package/src/components/PhoneUserDetil.vue +70 -70
  71. package/src/components/PhoneUserFind.vue +138 -138
  72. package/src/components/RightTree.vue +217 -217
  73. package/src/components/SystemSetUp.vue +2 -0
  74. package/src/components/TabBarPhone.vue +81 -81
  75. package/src/components/Test.vue +14 -14
  76. package/src/components/ToolsPage.vue +199 -180
  77. package/src/components/UploadManage.vue +194 -194
  78. package/src/components/gaomi/NavBottomV.vue +223 -223
  79. package/src/components/gaomi/NavBottomVVVV.vue +210 -210
  80. package/src/components/gaomi/Scroller.vue +63 -63
  81. package/src/components/gaomi/SystemSetUp.vue +186 -186
  82. package/src/components/gaomi/ToolsPage.vue +168 -168
  83. package/src/components/idea/feedBack.vue +150 -150
  84. package/src/components/idea/feedbackAdd.vue +366 -366
  85. package/src/components/info/ConfigInfo.vue +122 -122
  86. package/src/components/info/FindUserInfo.vue +157 -157
  87. package/src/components/info/InfoTable.vue +37 -37
  88. package/src/components/iot/InstructMessage.vue +313 -313
  89. package/src/components/iot/IotBaseInfo.vue +97 -97
  90. package/src/components/iot/IotMeterInfo.vue +77 -77
  91. package/src/components/iot/iotMonitoringMain.vue +501 -501
  92. package/src/components/online/ApplyOnline.vue +581 -581
  93. package/src/components/online/BJZhongRan/ApplyOnline.vue +600 -600
  94. package/src/components/screen/ChargeContentPage.vue +656 -656
  95. package/src/components/screen/ContentPage.vue +611 -611
  96. package/src/components/screen/GongdanContentPage.vue +149 -149
  97. package/src/components/screen/ListCountItem.vue +93 -93
  98. package/src/components/screen/ModuleTitle.vue +48 -48
  99. package/src/components/screen/SafeOrderContentPage.vue +440 -440
  100. package/src/components/screen/SecurityCheckItem.vue +50 -50
  101. package/src/components/screen/TotalItem.vue +76 -76
  102. package/src/components/screen/TotalUserNumber.vue +77 -77
  103. package/src/components/screen/WorkOrderItem.vue +51 -51
  104. package/src/components/screen/WorkOrderRightDownItem.vue +103 -103
  105. package/src/components/screen/WorkOrderRightItem.vue +115 -115
  106. package/src/components/userinfo/paymentQuery.vue +189 -189
  107. package/src/components/userinfo/queryFile.vue +190 -190
  108. package/src/components/wasm.vue +18 -18
  109. package/src/expandcssAndroid.less +521 -521
  110. package/src/filiale/yulinyuchuan/AlreadyService.vue +194 -0
  111. package/src/filiale/yulinyuchuan/AttendManage.vue +537 -0
  112. package/src/filiale/yulinyuchuan/LoginApp.vue +741 -0
  113. package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -0
  114. package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -0
  115. package/src/filiale/yulinyuchuan/UploadManage.vue +195 -0
  116. package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -0
  117. package/src/index.js +9 -9
  118. package/src/main.js +38 -38
  119. package/src/plugins/const.js +404 -404
  120. package/src/plugins/vue-py.js +37 -37
  121. package/src/stores/AppData.js +91 -63
  122. package/src/systemphone-gaomi.js +105 -105
  123. package/src/systemphone.js +60 -58
  124. package/src/systemphonegrid.js +185 -210
  125. package/src/util/LdapHelper.js +75 -75
  126. package/static/const.js +404 -404
  127. package/static/layui/font/iconfont.svg +554 -554
  128. package/static/vue-py.js +37 -37
  129. package/static/wasm_exec.js +465 -465
@@ -1,440 +1,440 @@
1
- <template>
2
- <div class="layui-container" style="background-color: darkblue;height: 100%;padding-top: 10px" >
3
- <div class="layui-row" style="height: 5%">
4
- <module-title :title="securityTitle" :font="5"></module-title>
5
- </div>
6
- <div class="layui-row" style="height: 15%">
7
- <div class="layui-col-xs4 layui-col-sm4 layui-col-md4">
8
- <div class="resident-text">居民</div>
9
- </div>
10
- <div class="layui-col-xs4 layui-col-sm4 layui-col-md4">
11
- <div class="plan-content">
12
- <div class="content-number">{{securityNotData[0].number}}</div>
13
- <div class="content-text">{{securityNotData[0].text}}</div>
14
- </div>
15
- </div>
16
- <div class="layui-col-xs4 layui-col-sm4 layui-col-md4">
17
- <div class="security-check-content">
18
- <div class="content-number">{{securityNotData[1].number}}</div>
19
- <div class="content-text">{{securityNotData[1].text}}</div>
20
- </div>
21
- </div>
22
- </div>
23
- <div class="layui-row" style="height: 15%">
24
- <div class="layui-col-xs4 layui-col-sm4 layui-col-md4" style="height: 100%">
25
- <div class="items">
26
- <div class="item"><security-check-item :content="securityData[2]"></security-check-item></div>
27
- <div class="item"><security-check-item :content="securityData[3]"></security-check-item></div>
28
- <div class="item"><security-check-item :content="securityData[4]"></security-check-item></div>
29
- </div>
30
- </div>
31
- <div class="layui-col-xs4 layui-col-sm4 layui-col-md4" style="height: 100%">
32
- <div class="house-entry-rate" id="houseEntryRate"></div>
33
- </div>
34
- <div class="layui-col-xs4 layui-col-sm4 layui-col-md4" style="height: 100%">
35
- <div class="complete-rate" id="completeRate"></div>
36
- </div>
37
- </div>
38
- </div>
39
- </template>
40
- <script>
41
- import * as echarts from 'echarts';
42
- export default {
43
- title:"SafeOrderContentPage",
44
- data(){
45
- return{
46
- securityTitle:'安检统计',
47
- securityData:[{text:'本月计划数',number:4000},
48
- {text:'本月安检数',number:3412},
49
- {text:'正常入户',number:3000},
50
- {text:'到访不遇',number:400},
51
- {text:'长期无人',number:12}],
52
- //安检 非居民数据
53
- securityNotData:[{text:'本月计划数',number:4000},
54
- {text:'本月安检数',number:3412},
55
- {text:'正常入户',number:3000},
56
- {text:'到访不遇',number:400}],
57
-
58
- //工单统计
59
- workOrderTitle:'工单统计',
60
- workOrderDatas:[{text:'预约',number:4000},
61
- {text:'完成',number:3412},
62
- {text:'总量',number:3000},
63
- {text:'完成',number:2122},
64
- {text:'总量',number:5000},
65
- {text:'完成',number:4560}],
66
- dateType:'月', //查询数据条件
67
- value3: '',
68
- target: '' //查询数据条件
69
- }
70
- },
71
- ready(){
72
- this.houseEntryTate()
73
- this.completeRate()
74
- },
75
- methods:{
76
- completeRate() {
77
- let myChart = echarts.init(document.getElementById('completeRate'));
78
- let percentColor = "#fff"; //百分比颜色
79
- var innerColor = "#fbcc56"; //黄色
80
- /*---------------------缩放----------------------------*/
81
- let scale = 0.5;
82
- let option = {
83
- title: [
84
- {
85
- text: "完成率",
86
- x: "45%",
87
- y: "62%",
88
- textAlign: "center",
89
- textStyle: {
90
- color: "#fff",
91
- textAlign: "center",
92
- fontSize: 12 * scale,
93
- fontWeight: "bold",
94
- },
95
- },
96
- ],
97
- series: [
98
- //内圈圆环
99
- {
100
- name: "Line 0",
101
- type: "pie",
102
- clockWise: false, //顺时加载
103
- hoverAnimation: false, //鼠标移入变大
104
- center: ["50%", "55%"],
105
- radius: ["63%", "70%"],
106
- data: [
107
- {
108
- value: this.securityData[1].number,
109
- name: "计划安检",
110
- itemStyle: {
111
- normal: {
112
- color: {
113
- type: 'linear',
114
- colorStops: [
115
- // !! 在此添加想要的渐变过程色 !!
116
- {offset: 0, color: '#1594E7'},
117
- {offset: 1, color: '#072066'}
118
- ]
119
- }
120
- },
121
- },
122
- label: {
123
- normal: {
124
- formatter: "{d}%",
125
- position: "center",
126
- padding: [0, 0, 10, 0],
127
- align: "left",
128
- show: true,
129
- textStyle: {
130
- fontSize: 20 * scale,
131
- fontWeight: "bold",
132
- color: percentColor,
133
- },
134
- },
135
- },
136
- },
137
- {
138
- value: this.securityData[0].number - this.securityData[1].number,
139
- name: "已安检",
140
- itemStyle: {
141
- normal: {
142
- color: "none",
143
- },
144
- },
145
- },
146
- {
147
- //画中间的图标
148
- name: "",
149
- value: 35,
150
- label: {
151
- borderRadius: "100%",
152
- },
153
- itemStyle: {
154
- color: "#ffffff",
155
- normal: {
156
- color: "#1594E7",
157
- borderColor: "#1594E7",
158
- borderWidth: 5,
159
- borderRadius: '100%'
160
- },
161
- },
162
- labelLine: {
163
- show: false,
164
- },
165
- emphasis: {
166
- labelLine: {
167
- show: false,
168
- },
169
- itemStyle: {
170
- color: "#5886f0",
171
- },
172
- },
173
- },
174
- {
175
- // 解决圆点过大后续部分显示明显的问题
176
- name: "",
177
- value: 4,
178
- labelLine: {
179
- show: false,
180
- },
181
- itemStyle: {
182
- color: "#5886f0",
183
- },
184
- emphasis: {
185
- labelLine: {
186
- show: false,
187
- },
188
- itemStyle: {
189
- color: "#5886f0",
190
- },
191
- },
192
- },
193
- ],
194
- },
195
- {
196
- name: "",
197
- type: "pie",
198
- clockWise: true,
199
- hoverAnimation: false,
200
- radius: [23, "50%"],
201
- center: ["50%", "55%"],
202
- data: [
203
- {
204
- name: "aaa",
205
- value: 60,
206
- itemStyle: {
207
- normal: {
208
- color: "rgba(255,255,255,.1)"
209
- }
210
- },
211
- label: {
212
- show: false
213
- }
214
- }
215
- ]
216
- },
217
- ],
218
- };
219
- // 使用刚指定的配置项和数据显示图表。
220
- myChart.setOption(option);
221
- window.addEventListener("resize", function () {
222
- myChart.resize();
223
- });
224
- },
225
- houseEntryTate() {
226
- let myChart = echarts.init(document.getElementById("houseEntryRate"));
227
- let percentColor = "#fff"; //百分比颜色
228
- var innerColor = "#fbcc56"; //黄色
229
- /*---------------------缩放----------------------------*/
230
- let scale = 0.5;
231
- let option = {
232
- title: [
233
- {
234
- text: "入户率",
235
- x: "45%",
236
- y: "62%",
237
- textAlign: "center",
238
- textStyle: {
239
- color: "#fff",
240
- textAlign: "center",
241
- fontSize: 12 * scale,
242
- fontWeight: "bold",
243
- },
244
- },
245
- ],
246
- series: [
247
- //内圈圆环
248
- {
249
- name: "",
250
- type: "pie",
251
- clockWise: false, //顺时加载
252
- hoverAnimation: false, //鼠标移入变大
253
- center: ["50%", "55%"],
254
- radius: ["63%", "70%"],
255
- data: [
256
- {
257
- value: this.securityData[2].number,
258
- name: "计划安检",
259
- itemStyle: {
260
- normal: {
261
- color: {
262
- type: 'linear',
263
- colorStops: [
264
- // !! 在此添加想要的渐变过程色 !!
265
- {offset: 0, color: '#35ECAC'},
266
- {offset: 1, color: '#072066'}
267
- ]
268
- }
269
- },
270
- },
271
- label: {
272
- normal: {
273
- formatter: "{d}%",
274
- position: "center",
275
- padding: [0, 0, 10, 0],
276
- align: "left",
277
- show: true,
278
- textStyle: {
279
- fontSize: 20 * scale,
280
- fontWeight: "bold",
281
- color: percentColor,
282
- },
283
- },
284
- },
285
- },
286
- {
287
- value: this.securityData[1].number - this.securityData[2].number,
288
- name: "已安检",
289
- itemStyle: {
290
- normal: {
291
- color: "none",
292
- },
293
- },
294
- },
295
- {
296
- //画中间的图标
297
- name: "",
298
- value: 35,
299
- label: {
300
- borderRadius: "100%",
301
- },
302
- itemStyle: {
303
- color: "#ffffff",
304
- normal: {
305
- color: "#35ECAC",
306
- borderColor: "#35ECAC",
307
- borderWidth: 5,
308
- borderRadius: '100%'
309
- },
310
- },
311
- labelLine: {
312
- show: false,
313
- },
314
- emphasis: {
315
- labelLine: {
316
- show: false,
317
- },
318
- itemStyle: {
319
- color: "#5886f0",
320
- },
321
- },
322
- },
323
- {
324
- // 解决圆点过大后续部分显示明显的问题
325
- name: "",
326
- value: 4,
327
- labelLine: {
328
- show: false,
329
- },
330
- itemStyle: {
331
- color: "#5886f0",
332
- },
333
- emphasis: {
334
- labelLine: {
335
- show: false,
336
- },
337
- itemStyle: {
338
- color: "#5886f0",
339
- },
340
- },
341
- },
342
- ],
343
- },
344
- {
345
- name: "",
346
- type: "pie",
347
- clockWise: true,
348
- hoverAnimation: false,
349
- radius: [23, "50%"],
350
- center: ["50%", "55%"],
351
- data: [
352
- {
353
- name: "aaa",
354
- value: 60,
355
- itemStyle: {
356
- normal: {
357
- color: "rgba(255,255,255,.1)"
358
- }
359
- },
360
- label: {
361
- show: false
362
- }
363
- }
364
- ]
365
- }
366
- ],
367
- };
368
- // 使用刚指定的配置项和数据显示图表。
369
- myChart.setOption(option);
370
- window.addEventListener("resize", function () {
371
- myChart.resize();
372
- });
373
- },
374
- }
375
- }
376
- </script>
377
- <style lang="less" scoped>
378
- .items{
379
- height: 100%;
380
- display: flex;
381
- flex-direction: column;
382
- justify-content: center;
383
- align-items: center;
384
- .item{
385
- color: white;
386
- font-size: vw(14);
387
- height: 23%;
388
- width: 100%;
389
- margin-top: 1%;
390
- }
391
- }
392
- .security-check-content{
393
- height: 70%;
394
- display: flex;
395
- flex-direction: column;
396
- justify-content: space-around;
397
- align-items: center;
398
- text-align: center;
399
- .content-number{
400
- color: #87D8FF;
401
- font-size: 10vw;
402
- width: 100%;
403
- height: 40%;
404
- }
405
- .content-text{
406
- font-size: 4vw;
407
- width: 100%;
408
- color: white;
409
- height: 35%;
410
- }
411
- }
412
- .resident-text{
413
- font-size: 6vw;
414
- color: #F4AB41;
415
- margin-top: 20%;
416
- margin-left: 20%;
417
- width: 100%;
418
- height: 30%;
419
- }
420
- .plan-content{
421
- height: 70%;
422
- display: flex;
423
- flex-direction: column;
424
- justify-content: space-around;
425
- align-items: center;
426
- text-align: center;
427
- .content-number{
428
- color: #34E9AB;
429
- font-size: 10vw;
430
- width: 100%;
431
- height: 40%;
432
- }
433
- .content-text{
434
- font-size: 4vw;
435
- color: white;
436
- width: 100%;
437
- height: 35%;
438
- }
439
- }
440
- </style>
1
+ <template>
2
+ <div class="layui-container" style="background-color: darkblue;height: 100%;padding-top: 10px" >
3
+ <div class="layui-row" style="height: 5%">
4
+ <module-title :title="securityTitle" :font="5"></module-title>
5
+ </div>
6
+ <div class="layui-row" style="height: 15%">
7
+ <div class="layui-col-xs4 layui-col-sm4 layui-col-md4">
8
+ <div class="resident-text">居民</div>
9
+ </div>
10
+ <div class="layui-col-xs4 layui-col-sm4 layui-col-md4">
11
+ <div class="plan-content">
12
+ <div class="content-number">{{securityNotData[0].number}}</div>
13
+ <div class="content-text">{{securityNotData[0].text}}</div>
14
+ </div>
15
+ </div>
16
+ <div class="layui-col-xs4 layui-col-sm4 layui-col-md4">
17
+ <div class="security-check-content">
18
+ <div class="content-number">{{securityNotData[1].number}}</div>
19
+ <div class="content-text">{{securityNotData[1].text}}</div>
20
+ </div>
21
+ </div>
22
+ </div>
23
+ <div class="layui-row" style="height: 15%">
24
+ <div class="layui-col-xs4 layui-col-sm4 layui-col-md4" style="height: 100%">
25
+ <div class="items">
26
+ <div class="item"><security-check-item :content="securityData[2]"></security-check-item></div>
27
+ <div class="item"><security-check-item :content="securityData[3]"></security-check-item></div>
28
+ <div class="item"><security-check-item :content="securityData[4]"></security-check-item></div>
29
+ </div>
30
+ </div>
31
+ <div class="layui-col-xs4 layui-col-sm4 layui-col-md4" style="height: 100%">
32
+ <div class="house-entry-rate" id="houseEntryRate"></div>
33
+ </div>
34
+ <div class="layui-col-xs4 layui-col-sm4 layui-col-md4" style="height: 100%">
35
+ <div class="complete-rate" id="completeRate"></div>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </template>
40
+ <script>
41
+ import * as echarts from 'echarts';
42
+ export default {
43
+ title:"SafeOrderContentPage",
44
+ data(){
45
+ return{
46
+ securityTitle:'安检统计',
47
+ securityData:[{text:'本月计划数',number:4000},
48
+ {text:'本月安检数',number:3412},
49
+ {text:'正常入户',number:3000},
50
+ {text:'到访不遇',number:400},
51
+ {text:'长期无人',number:12}],
52
+ //安检 非居民数据
53
+ securityNotData:[{text:'本月计划数',number:4000},
54
+ {text:'本月安检数',number:3412},
55
+ {text:'正常入户',number:3000},
56
+ {text:'到访不遇',number:400}],
57
+
58
+ //工单统计
59
+ workOrderTitle:'工单统计',
60
+ workOrderDatas:[{text:'预约',number:4000},
61
+ {text:'完成',number:3412},
62
+ {text:'总量',number:3000},
63
+ {text:'完成',number:2122},
64
+ {text:'总量',number:5000},
65
+ {text:'完成',number:4560}],
66
+ dateType:'月', //查询数据条件
67
+ value3: '',
68
+ target: '' //查询数据条件
69
+ }
70
+ },
71
+ ready(){
72
+ this.houseEntryTate()
73
+ this.completeRate()
74
+ },
75
+ methods:{
76
+ completeRate() {
77
+ let myChart = echarts.init(document.getElementById('completeRate'));
78
+ let percentColor = "#fff"; //百分比颜色
79
+ var innerColor = "#fbcc56"; //黄色
80
+ /*---------------------缩放----------------------------*/
81
+ let scale = 0.5;
82
+ let option = {
83
+ title: [
84
+ {
85
+ text: "完成率",
86
+ x: "45%",
87
+ y: "62%",
88
+ textAlign: "center",
89
+ textStyle: {
90
+ color: "#fff",
91
+ textAlign: "center",
92
+ fontSize: 12 * scale,
93
+ fontWeight: "bold",
94
+ },
95
+ },
96
+ ],
97
+ series: [
98
+ //内圈圆环
99
+ {
100
+ name: "Line 0",
101
+ type: "pie",
102
+ clockWise: false, //顺时加载
103
+ hoverAnimation: false, //鼠标移入变大
104
+ center: ["50%", "55%"],
105
+ radius: ["63%", "70%"],
106
+ data: [
107
+ {
108
+ value: this.securityData[1].number,
109
+ name: "计划安检",
110
+ itemStyle: {
111
+ normal: {
112
+ color: {
113
+ type: 'linear',
114
+ colorStops: [
115
+ // !! 在此添加想要的渐变过程色 !!
116
+ {offset: 0, color: '#1594E7'},
117
+ {offset: 1, color: '#072066'}
118
+ ]
119
+ }
120
+ },
121
+ },
122
+ label: {
123
+ normal: {
124
+ formatter: "{d}%",
125
+ position: "center",
126
+ padding: [0, 0, 10, 0],
127
+ align: "left",
128
+ show: true,
129
+ textStyle: {
130
+ fontSize: 20 * scale,
131
+ fontWeight: "bold",
132
+ color: percentColor,
133
+ },
134
+ },
135
+ },
136
+ },
137
+ {
138
+ value: this.securityData[0].number - this.securityData[1].number,
139
+ name: "已安检",
140
+ itemStyle: {
141
+ normal: {
142
+ color: "none",
143
+ },
144
+ },
145
+ },
146
+ {
147
+ //画中间的图标
148
+ name: "",
149
+ value: 35,
150
+ label: {
151
+ borderRadius: "100%",
152
+ },
153
+ itemStyle: {
154
+ color: "#ffffff",
155
+ normal: {
156
+ color: "#1594E7",
157
+ borderColor: "#1594E7",
158
+ borderWidth: 5,
159
+ borderRadius: '100%'
160
+ },
161
+ },
162
+ labelLine: {
163
+ show: false,
164
+ },
165
+ emphasis: {
166
+ labelLine: {
167
+ show: false,
168
+ },
169
+ itemStyle: {
170
+ color: "#5886f0",
171
+ },
172
+ },
173
+ },
174
+ {
175
+ // 解决圆点过大后续部分显示明显的问题
176
+ name: "",
177
+ value: 4,
178
+ labelLine: {
179
+ show: false,
180
+ },
181
+ itemStyle: {
182
+ color: "#5886f0",
183
+ },
184
+ emphasis: {
185
+ labelLine: {
186
+ show: false,
187
+ },
188
+ itemStyle: {
189
+ color: "#5886f0",
190
+ },
191
+ },
192
+ },
193
+ ],
194
+ },
195
+ {
196
+ name: "",
197
+ type: "pie",
198
+ clockWise: true,
199
+ hoverAnimation: false,
200
+ radius: [23, "50%"],
201
+ center: ["50%", "55%"],
202
+ data: [
203
+ {
204
+ name: "aaa",
205
+ value: 60,
206
+ itemStyle: {
207
+ normal: {
208
+ color: "rgba(255,255,255,.1)"
209
+ }
210
+ },
211
+ label: {
212
+ show: false
213
+ }
214
+ }
215
+ ]
216
+ },
217
+ ],
218
+ };
219
+ // 使用刚指定的配置项和数据显示图表。
220
+ myChart.setOption(option);
221
+ window.addEventListener("resize", function () {
222
+ myChart.resize();
223
+ });
224
+ },
225
+ houseEntryTate() {
226
+ let myChart = echarts.init(document.getElementById("houseEntryRate"));
227
+ let percentColor = "#fff"; //百分比颜色
228
+ var innerColor = "#fbcc56"; //黄色
229
+ /*---------------------缩放----------------------------*/
230
+ let scale = 0.5;
231
+ let option = {
232
+ title: [
233
+ {
234
+ text: "入户率",
235
+ x: "45%",
236
+ y: "62%",
237
+ textAlign: "center",
238
+ textStyle: {
239
+ color: "#fff",
240
+ textAlign: "center",
241
+ fontSize: 12 * scale,
242
+ fontWeight: "bold",
243
+ },
244
+ },
245
+ ],
246
+ series: [
247
+ //内圈圆环
248
+ {
249
+ name: "",
250
+ type: "pie",
251
+ clockWise: false, //顺时加载
252
+ hoverAnimation: false, //鼠标移入变大
253
+ center: ["50%", "55%"],
254
+ radius: ["63%", "70%"],
255
+ data: [
256
+ {
257
+ value: this.securityData[2].number,
258
+ name: "计划安检",
259
+ itemStyle: {
260
+ normal: {
261
+ color: {
262
+ type: 'linear',
263
+ colorStops: [
264
+ // !! 在此添加想要的渐变过程色 !!
265
+ {offset: 0, color: '#35ECAC'},
266
+ {offset: 1, color: '#072066'}
267
+ ]
268
+ }
269
+ },
270
+ },
271
+ label: {
272
+ normal: {
273
+ formatter: "{d}%",
274
+ position: "center",
275
+ padding: [0, 0, 10, 0],
276
+ align: "left",
277
+ show: true,
278
+ textStyle: {
279
+ fontSize: 20 * scale,
280
+ fontWeight: "bold",
281
+ color: percentColor,
282
+ },
283
+ },
284
+ },
285
+ },
286
+ {
287
+ value: this.securityData[1].number - this.securityData[2].number,
288
+ name: "已安检",
289
+ itemStyle: {
290
+ normal: {
291
+ color: "none",
292
+ },
293
+ },
294
+ },
295
+ {
296
+ //画中间的图标
297
+ name: "",
298
+ value: 35,
299
+ label: {
300
+ borderRadius: "100%",
301
+ },
302
+ itemStyle: {
303
+ color: "#ffffff",
304
+ normal: {
305
+ color: "#35ECAC",
306
+ borderColor: "#35ECAC",
307
+ borderWidth: 5,
308
+ borderRadius: '100%'
309
+ },
310
+ },
311
+ labelLine: {
312
+ show: false,
313
+ },
314
+ emphasis: {
315
+ labelLine: {
316
+ show: false,
317
+ },
318
+ itemStyle: {
319
+ color: "#5886f0",
320
+ },
321
+ },
322
+ },
323
+ {
324
+ // 解决圆点过大后续部分显示明显的问题
325
+ name: "",
326
+ value: 4,
327
+ labelLine: {
328
+ show: false,
329
+ },
330
+ itemStyle: {
331
+ color: "#5886f0",
332
+ },
333
+ emphasis: {
334
+ labelLine: {
335
+ show: false,
336
+ },
337
+ itemStyle: {
338
+ color: "#5886f0",
339
+ },
340
+ },
341
+ },
342
+ ],
343
+ },
344
+ {
345
+ name: "",
346
+ type: "pie",
347
+ clockWise: true,
348
+ hoverAnimation: false,
349
+ radius: [23, "50%"],
350
+ center: ["50%", "55%"],
351
+ data: [
352
+ {
353
+ name: "aaa",
354
+ value: 60,
355
+ itemStyle: {
356
+ normal: {
357
+ color: "rgba(255,255,255,.1)"
358
+ }
359
+ },
360
+ label: {
361
+ show: false
362
+ }
363
+ }
364
+ ]
365
+ }
366
+ ],
367
+ };
368
+ // 使用刚指定的配置项和数据显示图表。
369
+ myChart.setOption(option);
370
+ window.addEventListener("resize", function () {
371
+ myChart.resize();
372
+ });
373
+ },
374
+ }
375
+ }
376
+ </script>
377
+ <style lang="less" scoped>
378
+ .items{
379
+ height: 100%;
380
+ display: flex;
381
+ flex-direction: column;
382
+ justify-content: center;
383
+ align-items: center;
384
+ .item{
385
+ color: white;
386
+ font-size: vw(14);
387
+ height: 23%;
388
+ width: 100%;
389
+ margin-top: 1%;
390
+ }
391
+ }
392
+ .security-check-content{
393
+ height: 70%;
394
+ display: flex;
395
+ flex-direction: column;
396
+ justify-content: space-around;
397
+ align-items: center;
398
+ text-align: center;
399
+ .content-number{
400
+ color: #87D8FF;
401
+ font-size: 10vw;
402
+ width: 100%;
403
+ height: 40%;
404
+ }
405
+ .content-text{
406
+ font-size: 4vw;
407
+ width: 100%;
408
+ color: white;
409
+ height: 35%;
410
+ }
411
+ }
412
+ .resident-text{
413
+ font-size: 6vw;
414
+ color: #F4AB41;
415
+ margin-top: 20%;
416
+ margin-left: 20%;
417
+ width: 100%;
418
+ height: 30%;
419
+ }
420
+ .plan-content{
421
+ height: 70%;
422
+ display: flex;
423
+ flex-direction: column;
424
+ justify-content: space-around;
425
+ align-items: center;
426
+ text-align: center;
427
+ .content-number{
428
+ color: #34E9AB;
429
+ font-size: 10vw;
430
+ width: 100%;
431
+ height: 40%;
432
+ }
433
+ .content-text{
434
+ font-size: 4vw;
435
+ color: white;
436
+ width: 100%;
437
+ height: 35%;
438
+ }
439
+ }
440
+ </style>