system-phone 3.0.49-55 → 3.0.49-57

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 (280) hide show
  1. package/.babelrc +5 -5
  2. package/.editorconfig +9 -9
  3. package/.eslintrc.js +16 -16
  4. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  5. package/CHANGELOG.md +1 -1
  6. package/Dockerfile +3 -3
  7. package/README.md +36 -36
  8. package/SystemPhone.iml +8 -8
  9. package/build/css-loaders.js +34 -34
  10. package/build/dev-client.js +8 -8
  11. package/build/dev-server.js +141 -141
  12. package/build/example-server.js +80 -80
  13. package/build/release.sh +28 -28
  14. package/build/utils.js +71 -71
  15. package/build/webpack.base.conf.js +82 -82
  16. package/build/webpack.dev.conf.js +31 -31
  17. package/build/webpack.example.conf.js +49 -49
  18. package/build/webpack.prod.conf.js +60 -60
  19. package/build/webpack.test.conf.js +31 -31
  20. package/build.gradle +27 -27
  21. package/config/dev.env.js +6 -6
  22. package/config/index.js +38 -38
  23. package/config/prod.env.js +3 -3
  24. package/config/test.env.js +6 -6
  25. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  26. package/gradlew +183 -183
  27. package/gradlew.bat +100 -100
  28. package/index.html +21 -21
  29. package/nginx.conf +304 -304
  30. package/package.json +1 -1
  31. package/release.bat +5 -5
  32. package/src/App.vue +25 -25
  33. package/src/Util.js +415 -415
  34. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
  35. package/src/android-bootstrap/less/.csscomb.json +304 -304
  36. package/src/android-bootstrap/less/.csslintrc +19 -19
  37. package/src/android-bootstrap/less/alerts.less +73 -73
  38. package/src/android-bootstrap/less/badges.less +66 -66
  39. package/src/android-bootstrap/less/bootstrap.less +56 -56
  40. package/src/android-bootstrap/less/breadcrumbs.less +26 -26
  41. package/src/android-bootstrap/less/button-groups.less +247 -247
  42. package/src/android-bootstrap/less/buttons.less +173 -173
  43. package/src/android-bootstrap/less/carousel.less +269 -269
  44. package/src/android-bootstrap/less/close.less +34 -34
  45. package/src/android-bootstrap/less/code.less +69 -69
  46. package/src/android-bootstrap/less/component-animations.less +33 -33
  47. package/src/android-bootstrap/less/dropdowns.less +216 -216
  48. package/src/android-bootstrap/less/forms.less +626 -626
  49. package/src/android-bootstrap/less/glyphicons.less +305 -305
  50. package/src/android-bootstrap/less/grid.less +84 -84
  51. package/src/android-bootstrap/less/input-groups.less +167 -167
  52. package/src/android-bootstrap/less/jumbotron.less +52 -52
  53. package/src/android-bootstrap/less/labels.less +64 -64
  54. package/src/android-bootstrap/less/list-group.less +141 -141
  55. package/src/android-bootstrap/less/media.less +66 -66
  56. package/src/android-bootstrap/less/mixins/alerts.less +14 -14
  57. package/src/android-bootstrap/less/mixins/background-variant.less +9 -9
  58. package/src/android-bootstrap/less/mixins/border-radius.less +18 -18
  59. package/src/android-bootstrap/less/mixins/buttons.less +69 -69
  60. package/src/android-bootstrap/less/mixins/center-block.less +7 -7
  61. package/src/android-bootstrap/less/mixins/clearfix.less +22 -22
  62. package/src/android-bootstrap/less/mixins/forms.less +90 -90
  63. package/src/android-bootstrap/less/mixins/gradients.less +59 -59
  64. package/src/android-bootstrap/less/mixins/grid-framework.less +92 -92
  65. package/src/android-bootstrap/less/mixins/grid.less +122 -122
  66. package/src/android-bootstrap/less/mixins/hide-text.less +21 -21
  67. package/src/android-bootstrap/less/mixins/image.less +33 -33
  68. package/src/android-bootstrap/less/mixins/labels.less +12 -12
  69. package/src/android-bootstrap/less/mixins/list-group.less +30 -30
  70. package/src/android-bootstrap/less/mixins/nav-divider.less +10 -10
  71. package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -9
  72. package/src/android-bootstrap/less/mixins/opacity.less +8 -8
  73. package/src/android-bootstrap/less/mixins/pagination.less +24 -24
  74. package/src/android-bootstrap/less/mixins/panels.less +24 -24
  75. package/src/android-bootstrap/less/mixins/progress-bar.less +10 -10
  76. package/src/android-bootstrap/less/mixins/reset-filter.less +8 -8
  77. package/src/android-bootstrap/less/mixins/reset-text.less +18 -18
  78. package/src/android-bootstrap/less/mixins/resize.less +6 -6
  79. package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -15
  80. package/src/android-bootstrap/less/mixins/size.less +10 -10
  81. package/src/android-bootstrap/less/mixins/tab-focus.less +9 -9
  82. package/src/android-bootstrap/less/mixins/table-row.less +44 -44
  83. package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -9
  84. package/src/android-bootstrap/less/mixins/text-overflow.less +8 -8
  85. package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -227
  86. package/src/android-bootstrap/less/mixins.less +40 -40
  87. package/src/android-bootstrap/less/modals.less +151 -151
  88. package/src/android-bootstrap/less/navbar.less +660 -660
  89. package/src/android-bootstrap/less/navs.less +290 -290
  90. package/src/android-bootstrap/less/normalize.less +424 -424
  91. package/src/android-bootstrap/less/pager.less +76 -76
  92. package/src/android-bootstrap/less/pagination.less +89 -89
  93. package/src/android-bootstrap/less/panels.less +274 -274
  94. package/src/android-bootstrap/less/popovers.less +131 -131
  95. package/src/android-bootstrap/less/print.less +101 -101
  96. package/src/android-bootstrap/less/progress-bars.less +87 -87
  97. package/src/android-bootstrap/less/responsive-embed.less +35 -35
  98. package/src/android-bootstrap/less/responsive-utilities.less +194 -194
  99. package/src/android-bootstrap/less/scaffolding.less +161 -161
  100. package/src/android-bootstrap/less/tables.less +262 -262
  101. package/src/android-bootstrap/less/theme.less +291 -291
  102. package/src/android-bootstrap/less/thumbnails.less +36 -36
  103. package/src/android-bootstrap/less/tooltip.less +102 -102
  104. package/src/android-bootstrap/less/type.less +303 -303
  105. package/src/android-bootstrap/less/utilities.less +55 -55
  106. package/src/android-bootstrap/less/variables.less +896 -896
  107. package/src/android-bootstrap/less/wells.less +29 -29
  108. package/src/assets//345/256/211/346/243/200/345/216/206/345/217/262/346/237/245/347/234/213.png +0 -0
  109. package/src/assets//345/267/245/345/215/225/345/244/215/346/243/200.png +0 -0
  110. package/src/assets//351/242/204/347/272/246/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
  111. package/src/bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
  112. package/src/bootstrap/less/.csscomb.json +304 -304
  113. package/src/bootstrap/less/.csslintrc +19 -19
  114. package/src/bootstrap/less/alerts.less +73 -73
  115. package/src/bootstrap/less/badges.less +66 -66
  116. package/src/bootstrap/less/bootstrap.less +56 -56
  117. package/src/bootstrap/less/breadcrumbs.less +26 -26
  118. package/src/bootstrap/less/button-groups.less +247 -247
  119. package/src/bootstrap/less/buttons.less +172 -172
  120. package/src/bootstrap/less/carousel.less +269 -269
  121. package/src/bootstrap/less/close.less +34 -34
  122. package/src/bootstrap/less/code.less +69 -69
  123. package/src/bootstrap/less/component-animations.less +33 -33
  124. package/src/bootstrap/less/dropdowns.less +216 -216
  125. package/src/bootstrap/less/forms.less +626 -626
  126. package/src/bootstrap/less/glyphicons.less +305 -305
  127. package/src/bootstrap/less/grid.less +84 -84
  128. package/src/bootstrap/less/input-groups.less +167 -167
  129. package/src/bootstrap/less/jumbotron.less +52 -52
  130. package/src/bootstrap/less/labels.less +64 -64
  131. package/src/bootstrap/less/list-group.less +141 -141
  132. package/src/bootstrap/less/media.less +66 -66
  133. package/src/bootstrap/less/mixins/alerts.less +14 -14
  134. package/src/bootstrap/less/mixins/background-variant.less +9 -9
  135. package/src/bootstrap/less/mixins/border-radius.less +18 -18
  136. package/src/bootstrap/less/mixins/buttons.less +69 -69
  137. package/src/bootstrap/less/mixins/center-block.less +7 -7
  138. package/src/bootstrap/less/mixins/clearfix.less +22 -22
  139. package/src/bootstrap/less/mixins/forms.less +90 -90
  140. package/src/bootstrap/less/mixins/gradients.less +59 -59
  141. package/src/bootstrap/less/mixins/grid-framework.less +92 -92
  142. package/src/bootstrap/less/mixins/grid.less +122 -122
  143. package/src/bootstrap/less/mixins/hide-text.less +21 -21
  144. package/src/bootstrap/less/mixins/image.less +33 -33
  145. package/src/bootstrap/less/mixins/labels.less +12 -12
  146. package/src/bootstrap/less/mixins/list-group.less +30 -30
  147. package/src/bootstrap/less/mixins/nav-divider.less +10 -10
  148. package/src/bootstrap/less/mixins/nav-vertical-align.less +9 -9
  149. package/src/bootstrap/less/mixins/opacity.less +8 -8
  150. package/src/bootstrap/less/mixins/pagination.less +24 -24
  151. package/src/bootstrap/less/mixins/panels.less +24 -24
  152. package/src/bootstrap/less/mixins/progress-bar.less +10 -10
  153. package/src/bootstrap/less/mixins/reset-filter.less +8 -8
  154. package/src/bootstrap/less/mixins/reset-text.less +18 -18
  155. package/src/bootstrap/less/mixins/resize.less +6 -6
  156. package/src/bootstrap/less/mixins/responsive-visibility.less +15 -15
  157. package/src/bootstrap/less/mixins/size.less +10 -10
  158. package/src/bootstrap/less/mixins/tab-focus.less +9 -9
  159. package/src/bootstrap/less/mixins/table-row.less +44 -44
  160. package/src/bootstrap/less/mixins/text-emphasis.less +9 -9
  161. package/src/bootstrap/less/mixins/text-overflow.less +8 -8
  162. package/src/bootstrap/less/mixins/vendor-prefixes.less +227 -227
  163. package/src/bootstrap/less/mixins.less +40 -40
  164. package/src/bootstrap/less/modals.less +151 -151
  165. package/src/bootstrap/less/navbar.less +660 -660
  166. package/src/bootstrap/less/navs.less +286 -286
  167. package/src/bootstrap/less/normalize.less +424 -424
  168. package/src/bootstrap/less/pager.less +76 -76
  169. package/src/bootstrap/less/pagination.less +89 -89
  170. package/src/bootstrap/less/panels.less +275 -275
  171. package/src/bootstrap/less/popovers.less +131 -131
  172. package/src/bootstrap/less/print.less +101 -101
  173. package/src/bootstrap/less/progress-bars.less +87 -87
  174. package/src/bootstrap/less/responsive-embed.less +35 -35
  175. package/src/bootstrap/less/responsive-utilities.less +194 -194
  176. package/src/bootstrap/less/scaffolding.less +161 -161
  177. package/src/bootstrap/less/tables.less +262 -262
  178. package/src/bootstrap/less/theme.less +291 -291
  179. package/src/bootstrap/less/thumbnails.less +36 -36
  180. package/src/bootstrap/less/tooltip.less +102 -102
  181. package/src/bootstrap/less/type.less +303 -303
  182. package/src/bootstrap/less/utilities.less +55 -55
  183. package/src/bootstrap/less/variables.less +895 -895
  184. package/src/bootstrap/less/wells.less +29 -29
  185. package/src/components/AloneLoadParams.vue +26 -26
  186. package/src/components/AlreadyService.vue +193 -193
  187. package/src/components/AttendManage.vue +534 -534
  188. package/src/components/LoadAppdata.vue +38 -38
  189. package/src/components/LoginApp.vue +7 -7
  190. package/src/components/LoginAppNew.vue +587 -587
  191. package/src/components/ModifyPassWord.vue +216 -216
  192. package/src/components/NavBottom.vue +117 -117
  193. package/src/components/NavBottomV.vue +141 -141
  194. package/src/components/NavBottomVVV.vue +185 -185
  195. package/src/components/OnlineManage.vue +256 -256
  196. package/src/components/PhoneAllInfo.vue +68 -68
  197. package/src/components/PhoneChangemeterInfo.vue +116 -116
  198. package/src/components/PhoneImageInfo.vue +102 -102
  199. package/src/components/PhoneInfoTable.vue +39 -39
  200. package/src/components/PhoneMeterInfo.vue +132 -132
  201. package/src/components/PhoneRepairInfo.vue +146 -146
  202. package/src/components/PhoneSafeInfo.vue +101 -101
  203. package/src/components/PhoneSellInfo.vue +148 -123
  204. package/src/components/PhoneSellInfoLite.vue +112 -112
  205. package/src/components/PhoneUser.vue +202 -202
  206. package/src/components/PhoneUserDetil.vue +70 -70
  207. package/src/components/PhoneUserFind.vue +138 -138
  208. package/src/components/RightTree.vue +217 -217
  209. package/src/components/SystemSetUp.vue +332 -332
  210. package/src/components/TabBarPhone.vue +81 -81
  211. package/src/components/Test.vue +14 -14
  212. package/src/components/UploadManage.vue +194 -194
  213. package/src/components/gaomi/NavBottomV.vue +223 -223
  214. package/src/components/gaomi/NavBottomVVVV.vue +210 -210
  215. package/src/components/gaomi/Scroller.vue +63 -63
  216. package/src/components/gaomi/SystemSetUp.vue +186 -186
  217. package/src/components/gaomi/ToolsPage.vue +168 -168
  218. package/src/components/idea/feedBack.vue +150 -150
  219. package/src/components/idea/feedbackAdd.vue +366 -366
  220. package/src/components/info/ConfigInfo.vue +122 -122
  221. package/src/components/info/FindUserInfo.vue +157 -157
  222. package/src/components/info/InfoTable.vue +37 -37
  223. package/src/components/iot/InstructMessage.vue +313 -313
  224. package/src/components/iot/IotBaseInfo.vue +97 -97
  225. package/src/components/iot/IotMeterInfo.vue +77 -77
  226. package/src/components/iot/iotMonitoringMain.vue +501 -501
  227. package/src/components/online/ApplyOnline.vue +581 -581
  228. package/src/components/online/BJZhongRan/ApplyOnline.vue +600 -600
  229. package/src/components/screen/ChargeContentPage.vue +656 -656
  230. package/src/components/screen/ContentPage.vue +611 -611
  231. package/src/components/screen/GongdanContentPage.vue +149 -149
  232. package/src/components/screen/ListCountItem.vue +93 -93
  233. package/src/components/screen/ModuleTitle.vue +48 -48
  234. package/src/components/screen/SafeOrderContentPage.vue +440 -440
  235. package/src/components/screen/SecurityCheckItem.vue +50 -50
  236. package/src/components/screen/TotalItem.vue +76 -76
  237. package/src/components/screen/TotalUserNumber.vue +77 -77
  238. package/src/components/screen/WorkOrderItem.vue +51 -51
  239. package/src/components/screen/WorkOrderRightDownItem.vue +103 -103
  240. package/src/components/screen/WorkOrderRightItem.vue +115 -115
  241. package/src/components/userinfo/paymentQuery.vue +189 -189
  242. package/src/components/userinfo/queryFile.vue +190 -190
  243. package/src/components/wasm.vue +18 -18
  244. package/src/expandcssAndroid.less +521 -521
  245. package/src/filiale/yulinyuchuan/AlreadyService.vue +194 -194
  246. package/src/filiale/yulinyuchuan/AttendManage.vue +537 -537
  247. package/src/filiale/yulinyuchuan/LoginApp.vue +741 -741
  248. package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -256
  249. package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -332
  250. package/src/filiale/yulinyuchuan/UploadManage.vue +195 -195
  251. package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -9
  252. package/src/index.js +9 -9
  253. package/src/main.js +38 -38
  254. package/src/plugins/GetStringData.js +18 -18
  255. package/src/plugins/LoadParams.js +24 -24
  256. package/src/plugins/const.js +404 -404
  257. package/src/plugins/vue-py.js +37 -37
  258. package/src/services/ConfigService.js +24 -24
  259. package/src/stores/AppData.js +73 -65
  260. package/src/systemphone-gaomi.js +105 -105
  261. package/src/systemphone.js +58 -58
  262. package/src/systemphonegrid.js +181 -181
  263. package/src/util/LdapHelper.js +75 -75
  264. package/static/app.json +4 -4
  265. package/static/const.js +404 -404
  266. package/static/globals.txt +74 -74
  267. package/static/layui/font/iconfont.svg +554 -554
  268. package/static/vue-py.js +37 -37
  269. package/static/wasm_exec.js +465 -465
  270. package/test/unit/.eslintrc +5 -5
  271. package/test/unit/TestUtil.js +35 -35
  272. package/test/unit/context.html +20 -20
  273. package/test/unit/index.js +13 -13
  274. package/test/unit/init.js +13 -13
  275. package/test/unit/karma.conf.js +50 -50
  276. package/test/unit/specs/App.spec.js +17 -17
  277. package/test/unit/specs/Test.spec.js +28 -28
  278. package/test/unit/specs/components/LoginApp.spec.js +21 -21
  279. package/test/unit/specs/sevices/ConfigService.spec.js +23 -23
  280. package/test/unit/specs/sevices/GetDBTest.spec.js +28 -28
@@ -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>