Browse Source

Merge commit '4200e0e0b9d5771166aabc388b91eda8c0c11cbd' into gzb

gzb
guozhongbo 8 months ago
parent
commit
3d70ce3348
35 changed files with 270 additions and 77 deletions
  1. 1
    1
      src/api/admin.js
  2. 2
    1
      src/api/region.js
  3. 12
    9
      src/assets/less/common.less
  4. 9
    0
      src/views/platformSection/deviceManage/deviceManageExport/deviceManageExport.vue
  5. 3
    0
      src/views/platformSection/deviceManage/deviceManageImport/batch.vue
  6. 4
    0
      src/views/platformSection/deviceManage/deviceManageImport/detail.vue
  7. 25
    0
      src/views/platformSection/home/index.vue
  8. 4
    0
      src/views/platformSection/log/logDeviceExport.vue
  9. 4
    0
      src/views/platformSection/networkManage/whitelistLibrary.vue
  10. 1
    0
      src/views/platformSection/notice/notice.vue
  11. 54
    32
      src/views/platformSection/regionManage/adminManage.vue
  12. 7
    32
      src/views/platformSection/regionManage/regionManage.vue
  13. 22
    1
      src/views/regionSection/home/index.vue
  14. 3
    0
      src/views/schoolSection/applicationManage/greenBrowser.vue
  15. 3
    0
      src/views/schoolSection/applicationStrategy/appStrategyTemplate.vue
  16. 4
    0
      src/views/schoolSection/deviceManage/breakRuleDevice.vue
  17. 5
    0
      src/views/schoolSection/deviceManage/deviceManage.vue
  18. 7
    0
      src/views/schoolSection/deviceManage/inLineDevice.vue
  19. 7
    0
      src/views/schoolSection/deviceManage/outControlDevice.vue
  20. 7
    0
      src/views/schoolSection/deviceManage/removeControlDevice.vue
  21. 22
    0
      src/views/schoolSection/home/index.vue
  22. 3
    0
      src/views/schoolSection/log/admin.vue
  23. 6
    0
      src/views/schoolSection/log/appLaunch.vue
  24. 7
    0
      src/views/schoolSection/log/applicationDownload.vue
  25. 7
    0
      src/views/schoolSection/log/deviceEvents.vue
  26. 7
    1
      src/views/schoolSection/log/deviceExport.vue
  27. 8
    0
      src/views/schoolSection/log/deviceInstallation.vue
  28. 6
    0
      src/views/schoolSection/log/deviceLocation.vue
  29. 3
    0
      src/views/schoolSection/log/devicePush.vue
  30. 6
    0
      src/views/schoolSection/log/violatingDevice.vue
  31. 2
    0
      src/views/schoolSection/networkManage/whitelist.vue
  32. 3
    0
      src/views/schoolSection/networkManage/whitelistLibrary.vue
  33. 1
    0
      src/views/schoolSection/notice/notice.vue
  34. 1
    0
      src/views/schoolSection/setting/logo.vue
  35. 4
    0
      src/views/schoolSection/setting/wallpaper.vue

+ 1
- 1
src/api/admin.js View File

47
 /**
47
 /**
48
  * 1.2.4个人中心--修改手机号
48
  * 1.2.4个人中心--修改手机号
49
  */
49
  */
50
-export const admin_edit_phone = (data) => setRequest("admin/edit_phone", data);
50
+export const admin_edit_phone = (data) => setRequest("admin/edit_phone", data);

+ 2
- 1
src/api/region.js View File

25
 /**
25
 /**
26
  * 2.1.6 区域--树形
26
  * 2.1.6 区域--树形
27
  */
27
  */
28
-export const region_list_sel_tree = (data) => setRequest("region/list_sel_tree", data);
28
+export const region_list_sel_tree = (data) =>
29
+  setRequest("region/list_sel_tree", data);
29
 /**
30
 /**
30
  * 2.2区域--添加
31
  * 2.2区域--添加
31
  */
32
  */

+ 12
- 9
src/assets/less/common.less View File

141
     line-height: 1.6;
141
     line-height: 1.6;
142
     padding: 0 8px;
142
     padding: 0 8px;
143
   }
143
   }
144
-  .ivu-table-overflowX {
145
-    overflow: visible;
146
-  }
147
-  .ivu-table-tip {
148
-    overflow: hidden;
149
-  }
144
+  // .ivu-table-overflowX {
145
+  //   overflow: visible;
146
+  // }
147
+  // .ivu-table-tip {
148
+  //   overflow: hidden;
149
+  // }
150
 }
150
 }
151
 // iview表单全局自定义样式
151
 // iview表单全局自定义样式
152
 .ivu-form {
152
 .ivu-form {
378
   border-radius: 8px;
378
   border-radius: 8px;
379
 }
379
 }
380
 .ivu-modal-confirm-footer .ivu-btn.ivu-btn-text {
380
 .ivu-modal-confirm-footer .ivu-btn.ivu-btn-text {
381
-  margin-right: 16px;
382
   color: #7c8db5;
381
   color: #7c8db5;
383
   border: 1px solid #b8c2d9;
382
   border: 1px solid #b8c2d9;
384
   border-radius: 8px;
383
   border-radius: 8px;
385
 }
384
 }
385
+.ivu-modal-confirm-footer button + button,
386
+.ivu-modal-footer button + button {
387
+  margin-left: 16px;
388
+}
386
 .main_root {
389
 .main_root {
387
   //margin: 0 16px 10px;
390
   //margin: 0 16px 10px;
388
- height: calc(100% - 10px);
391
+  height: calc(100% - 10px);
389
   border-radius: 15px;
392
   border-radius: 15px;
390
   border: 1px solid #e9f0f9;
393
   border: 1px solid #e9f0f9;
391
   background-color: #fff;
394
   background-color: #fff;
484
       display: none;
487
       display: none;
485
     }
488
     }
486
   }
489
   }
487
-}
490
+}

+ 9
- 0
src/views/platformSection/deviceManage/deviceManageExport/deviceManageExport.vue View File

97
           },
97
           },
98
           {
98
           {
99
             title: "所属区域",
99
             title: "所属区域",
100
+            minWidth: 100,
100
             key: "regionName",
101
             key: "regionName",
101
             align: "center"
102
             align: "center"
102
           },
103
           },
103
           {
104
           {
104
             title: "学校名称",
105
             title: "学校名称",
106
+            minWidth: 150,
105
             key: "schoolName",
107
             key: "schoolName",
106
             align: "center"
108
             align: "center"
107
           },
109
           },
108
           {
110
           {
109
             title: "班级",
111
             title: "班级",
112
+            minWidth: 150,
110
             key: "classname",
113
             key: "classname",
111
             align: "center"
114
             align: "center"
112
           },
115
           },
113
           {
116
           {
114
             title: "姓名",
117
             title: "姓名",
118
+            minWidth: 100,
115
             key: "username",
119
             key: "username",
116
             align: "center"
120
             align: "center"
117
           },
121
           },
145
         },
149
         },
146
         {
150
         {
147
           title: "学校名称",
151
           title: "学校名称",
152
+          minWidth: 150,
148
           key: "schoolName",
153
           key: "schoolName",
149
           align: "center"
154
           align: "center"
150
         },
155
         },
151
         {
156
         {
152
           title: "班级",
157
           title: "班级",
158
+          minWidth: 150,
153
           key: "classname",
159
           key: "classname",
154
           align: "center"
160
           align: "center"
155
         },
161
         },
156
         {
162
         {
157
           title: "姓名",
163
           title: "姓名",
164
+          minWidth: 100,
158
           key: "username",
165
           key: "username",
159
           align: "center"
166
           align: "center"
160
         },
167
         },
161
         {
168
         {
162
           title: "设备号",
169
           title: "设备号",
170
+          width: 170,
163
           key: "sn",
171
           key: "sn",
164
           align: "center"
172
           align: "center"
165
         },
173
         },
166
         {
174
         {
167
           title: "设备型号",
175
           title: "设备型号",
176
+          width: 150,
168
           key: "deviceModel",
177
           key: "deviceModel",
169
           align: "center"
178
           align: "center"
170
         },
179
         },

+ 3
- 0
src/views/platformSection/deviceManage/deviceManageImport/batch.vue View File

252
         },
252
         },
253
         {
253
         {
254
           title: "所属区域",
254
           title: "所属区域",
255
+          minWidth: 100,
255
           key: "regionName",
256
           key: "regionName",
256
           align: "center"
257
           align: "center"
257
         },
258
         },
263
         },
264
         },
264
         {
265
         {
265
           title: "导入数量",
266
           title: "导入数量",
267
+          minWidth: 100,
266
           key: "importNum",
268
           key: "importNum",
267
           align: "center"
269
           align: "center"
268
         },
270
         },
269
         {
271
         {
270
           title: "操作人",
272
           title: "操作人",
273
+          minWidth: 100,
271
           key: "updatename",
274
           key: "updatename",
272
           align: "center"
275
           align: "center"
273
         },
276
         },

+ 4
- 0
src/views/platformSection/deviceManage/deviceManageImport/detail.vue View File

208
         },
208
         },
209
         {
209
         {
210
           title: "所属区域",
210
           title: "所属区域",
211
+          minWidth: 150,
211
           key: "regionName",
212
           key: "regionName",
212
           align: "center"
213
           align: "center"
213
         },
214
         },
214
         {
215
         {
215
           title: "设备号",
216
           title: "设备号",
217
+          width: 170,
216
           key: "sn",
218
           key: "sn",
217
           align: "center"
219
           align: "center"
218
         },
220
         },
224
         },
226
         },
225
         {
227
         {
226
           title: "创建人",
228
           title: "创建人",
229
+          minWidth: 100,
227
           key: "createname",
230
           key: "createname",
228
           align: "center"
231
           align: "center"
229
         },
232
         },
235
         },
238
         },
236
         {
239
         {
237
           title: "操作人",
240
           title: "操作人",
241
+          minWidth: 100,
238
           key: "updatename",
242
           key: "updatename",
239
           align: "center"
243
           align: "center"
240
         },
244
         },

+ 25
- 0
src/views/platformSection/home/index.vue View File

104
 export default {
104
 export default {
105
   data() {
105
   data() {
106
     return {
106
     return {
107
+      // 图表实例
108
+      echartsInstances: [],
107
       // 概况信息
109
       // 概况信息
108
       regionOverviewInfo: {
110
       regionOverviewInfo: {
109
         usernum: 0,
111
         usernum: 0,
122
         },
124
         },
123
         {
125
         {
124
           title: "区域名称",
126
           title: "区域名称",
127
+          minWidth: 100,
125
           key: "regionName",
128
           key: "regionName",
126
           align: "center"
129
           align: "center"
127
         },
130
         },
128
         {
131
         {
129
           title: "学校数",
132
           title: "学校数",
133
+          width: 80,
130
           key: "schoolnum",
134
           key: "schoolnum",
131
           align: "center"
135
           align: "center"
132
         },
136
         },
133
         {
137
         {
134
           title: "设备数",
138
           title: "设备数",
139
+          width: 80,
135
           key: "devicenum",
140
           key: "devicenum",
136
           align: "center"
141
           align: "center"
137
         },
142
         },
138
         {
143
         {
139
           title: "用户数",
144
           title: "用户数",
145
+          width: 80,
140
           key: "usernum",
146
           key: "usernum",
141
           align: "center"
147
           align: "center"
142
         }
148
         }
170
     this.getAppDownloadList();
176
     this.getAppDownloadList();
171
     this.getDeviceActivityList();
177
     this.getDeviceActivityList();
172
   },
178
   },
179
+  mounted() {
180
+    window.addEventListener("resize", this.echartsResize);
181
+  },
182
+  beforeDestroy() {
183
+    window.removeEventListener("resize", this.echartsResize);
184
+  },
173
   methods: {
185
   methods: {
186
+    echartsResize() {
187
+      this.echartsInstances.forEach((eInstance) => {
188
+        if (eInstance && eInstance.getOption()) {
189
+          eInstance.resize();
190
+        }
191
+      });
192
+    },
174
     // 概况信息
193
     // 概况信息
175
     getRegionOverview() {
194
     getRegionOverview() {
176
       ra_list_rv({
195
       ra_list_rv({
371
       const eInstance = echarts.init(document.getElementById("mapAreaEcharts"));
390
       const eInstance = echarts.init(document.getElementById("mapAreaEcharts"));
372
       eInstance.clear();
391
       eInstance.clear();
373
       eInstance.setOption(options);
392
       eInstance.setOption(options);
393
+      this.echartsInstances.push(eInstance);
374
     },
394
     },
375
     // 设备类型信息
395
     // 设备类型信息
376
     getDeviceModelList() {
396
     getDeviceModelList() {
442
       );
462
       );
443
       eInstance.clear();
463
       eInstance.clear();
444
       eInstance.setOption(options);
464
       eInstance.setOption(options);
465
+      this.echartsInstances.push(eInstance);
445
     },
466
     },
446
     // 客户端版本-管控应用
467
     // 客户端版本-管控应用
447
     getControlVersionList() {
468
     getControlVersionList() {
511
       );
532
       );
512
       eInstance.clear();
533
       eInstance.clear();
513
       eInstance.setOption(options);
534
       eInstance.setOption(options);
535
+      this.echartsInstances.push(eInstance);
514
     },
536
     },
515
     // 客户端版本-应用商店
537
     // 客户端版本-应用商店
516
     getAppVersionList() {
538
     getAppVersionList() {
580
       );
602
       );
581
       eInstance.clear();
603
       eInstance.clear();
582
       eInstance.setOption(options);
604
       eInstance.setOption(options);
605
+      this.echartsInstances.push(eInstance);
583
     },
606
     },
584
     // 应用下载
607
     // 应用下载
585
     getAppDownloadList() {
608
     getAppDownloadList() {
692
       );
715
       );
693
       eInstance.clear();
716
       eInstance.clear();
694
       eInstance.setOption(options);
717
       eInstance.setOption(options);
718
+      this.echartsInstances.push(eInstance);
695
     },
719
     },
696
     // 设备活跃度
720
     // 设备活跃度
697
     getDeviceActivityList() {
721
     getDeviceActivityList() {
839
       );
863
       );
840
       eInstance.clear();
864
       eInstance.clear();
841
       eInstance.setOption(options);
865
       eInstance.setOption(options);
866
+      this.echartsInstances.push(eInstance);
842
     }
867
     }
843
   }
868
   }
844
 };
869
 };

+ 4
- 0
src/views/platformSection/log/logDeviceExport.vue View File

68
         },
68
         },
69
         {
69
         {
70
           title: "区域名称",
70
           title: "区域名称",
71
+          minWidth: 100,
71
           key: "regionName",
72
           key: "regionName",
72
           align: "center"
73
           align: "center"
73
         },
74
         },
74
         {
75
         {
75
           title: "学校数",
76
           title: "学校数",
77
+          minWidth: 100,
76
           key: "schoolnum",
78
           key: "schoolnum",
77
           align: "center"
79
           align: "center"
78
         },
80
         },
79
         {
81
         {
80
           title: "用户数",
82
           title: "用户数",
83
+          minWidth: 100,
81
           key: "usernum",
84
           key: "usernum",
82
           align: "center"
85
           align: "center"
83
         },
86
         },
84
         {
87
         {
85
           title: "设备数",
88
           title: "设备数",
89
+          minWidth: 100,
86
           key: "snnum",
90
           key: "snnum",
87
           align: "center"
91
           align: "center"
88
         },
92
         },

+ 4
- 0
src/views/platformSection/networkManage/whitelistLibrary.vue View File

237
         },
237
         },
238
         {
238
         {
239
           title: "应用名称",
239
           title: "应用名称",
240
+          minWidth: 150,
240
           slot: "nameSlot",
241
           slot: "nameSlot",
241
           align: "center"
242
           align: "center"
242
         },
243
         },
243
         {
244
         {
244
           title: "版本名称",
245
           title: "版本名称",
246
+          minWidth: 100,
245
           key: "versionName",
247
           key: "versionName",
246
           align: "center"
248
           align: "center"
247
         },
249
         },
248
         {
250
         {
249
           title: "包名",
251
           title: "包名",
252
+          minWidth: 100,
250
           key: "website",
253
           key: "website",
251
           align: "center"
254
           align: "center"
252
         },
255
         },
253
         {
256
         {
254
           title: "网址",
257
           title: "网址",
258
+          minWidth: 100,
255
           slot: "whiteAddressSlot",
259
           slot: "whiteAddressSlot",
256
           align: "center"
260
           align: "center"
257
         },
261
         },

+ 1
- 0
src/views/platformSection/notice/notice.vue View File

234
         },
234
         },
235
         {
235
         {
236
           title: "标题",
236
           title: "标题",
237
+          minWidth: 100,
237
           key: "noticeTitle",
238
           key: "noticeTitle",
238
           align: "center"
239
           align: "center"
239
         },
240
         },

+ 54
- 32
src/views/platformSection/regionManage/adminManage.vue View File

231
           style="margin-bottom: 0; width: calc(50% - 10px)"
231
           style="margin-bottom: 0; width: calc(50% - 10px)"
232
           >{{ viewInfo.phone }}</FormItem
232
           >{{ viewInfo.phone }}</FormItem
233
         >
233
         >
234
-        <FormItem label="所属区域" style="margin-bottom: 0; width: 100%">{{
235
-          viewInfo.regionName
236
-        }}</FormItem>
234
+        <FormItem
235
+          label="所属区域"
236
+          style="margin-bottom: 0; width: 100%"
237
+          v-if="viewInfo.atype !== 1"
238
+          >{{ viewInfo.regionName }}</FormItem
239
+        >
237
         <FormItem label="地址" style="margin-bottom: 0; width: 100%">{{
240
         <FormItem label="地址" style="margin-bottom: 0; width: 100%">{{
238
           viewInfo.address
241
           viewInfo.address
239
         }}</FormItem>
242
         }}</FormItem>
255
   admin_edit,
258
   admin_edit,
256
   admin_delete,
259
   admin_delete,
257
   admin_enable,
260
   admin_enable,
258
-  admin_disabled
261
+  admin_disabled,
262
+  admin_detail
259
 } from "@/api/admin";
263
 } from "@/api/admin";
260
 import { region_list_sel_pt } from "@/api/region";
264
 import { region_list_sel_pt } from "@/api/region";
261
 import { login_msg_code } from "@/api/login";
265
 import { login_msg_code } from "@/api/login";
361
       // 查看
365
       // 查看
362
       viewInfo: {
366
       viewInfo: {
363
         show: false,
367
         show: false,
368
+        atype: null,
364
         enabled: "",
369
         enabled: "",
365
         aname: "",
370
         aname: "",
366
         loginname: "",
371
         loginname: "",
385
         },
390
         },
386
         {
391
         {
387
           title: "名称",
392
           title: "名称",
393
+          minWidth: 150,
388
           key: "aname",
394
           key: "aname",
389
           align: "center"
395
           align: "center"
390
         },
396
         },
391
         {
397
         {
392
           title: "登录账号",
398
           title: "登录账号",
399
+          minWidth: 100,
393
           key: "loginname",
400
           key: "loginname",
394
           align: "center"
401
           align: "center"
395
         },
402
         },
396
         {
403
         {
397
           title: "手机号码",
404
           title: "手机号码",
398
           key: "phone",
405
           key: "phone",
399
-          width: 135,
406
+          width: 120,
400
           align: "center"
407
           align: "center"
401
         },
408
         },
402
         {
409
         {
407
         },
414
         },
408
         {
415
         {
409
           title: "区域名称",
416
           title: "区域名称",
417
+          minWidth: 150,
410
           key: "regionName",
418
           key: "regionName",
411
           align: "center"
419
           align: "center"
412
         },
420
         },
413
         {
421
         {
414
           title: "最后登录IP",
422
           title: "最后登录IP",
423
+          width: 120,
415
           key: "lastip",
424
           key: "lastip",
416
           align: "center"
425
           align: "center"
417
         },
426
         },
605
     },
614
     },
606
     // 查看
615
     // 查看
607
     toView(row) {
616
     toView(row) {
608
-      this.viewInfo = {
609
-        show: true,
610
-        enabled: row.enabled,
611
-        aname: row.aname,
612
-        loginname: row.loginname,
613
-        phone: row.phone,
614
-        regionName: row.regionName,
615
-        address: row.address,
616
-        comm: row.comm
617
-      };
617
+      admin_detail({ adminid: row.adminid }).then((data) => {
618
+        if (data.code === 0) {
619
+          this.viewInfo = {
620
+            show: true,
621
+            atype: data.obj.atype,
622
+            enabled: data.obj.enabled,
623
+            aname: data.obj.aname,
624
+            loginname: data.obj.loginname,
625
+            phone: data.obj.phone,
626
+            regionName: data.obj.regionName,
627
+            address: data.obj.address,
628
+            comm: data.obj.comm
629
+          };
630
+        } else {
631
+          this.$Message.error(data.msg);
632
+        }
633
+      });
618
     },
634
     },
619
     // 编辑
635
     // 编辑
620
     toEdit(row) {
636
     toEdit(row) {
621
-      this.adminInfo = {
622
-        show: true,
623
-        timer: null,
624
-        second: 60,
625
-        adminid: row.adminid,
626
-        atype: row.atype,
627
-        aname: row.aname,
628
-        loginname: row.loginname,
629
-        loginpwd: row.loginpwd,
630
-        loginpwd1: row.loginpwd1,
631
-        phone: row.phone,
632
-        msgcode: row.msgcode,
633
-        enabled: row.enabled,
634
-        regionid: row.regionid,
635
-        address: row.address,
636
-        comm: row.comm
637
-      };
637
+      admin_detail({ adminid: row.adminid }).then((data) => {
638
+        if (data.code === 0) {
639
+          this.adminInfo = {
640
+            show: true,
641
+            timer: null,
642
+            second: 60,
643
+            adminid: data.obj.adminid,
644
+            atype: data.obj.atype,
645
+            aname: data.obj.aname,
646
+            loginname: data.obj.loginname,
647
+            loginpwd: data.obj.loginpwd,
648
+            loginpwd1: data.obj.loginpwd1,
649
+            phone: data.obj.phone,
650
+            msgcode: data.obj.msgcode,
651
+            enabled: data.obj.enabled,
652
+            regionid: data.obj.regionid,
653
+            address: data.obj.address,
654
+            comm: data.obj.comm
655
+          };
656
+        } else {
657
+          this.$Message.error(data.msg);
658
+        }
659
+      });
638
     },
660
     },
639
     // 删除
661
     // 删除
640
     toDel(row) {
662
     toDel(row) {

+ 7
- 32
src/views/platformSection/regionManage/regionManage.vue View File

187
             placeholder="请输入6位区域码"
187
             placeholder="请输入6位区域码"
188
           ></Input>
188
           ></Input>
189
         </FormItem>
189
         </FormItem>
190
-        <FormItem label="地址" prop="address" style="width: 100%">
191
-          <Input
192
-            v-model="modifyRegion.address"
193
-            placeholder="请输入地址"
194
-          ></Input>
195
-        </FormItem>
196
-        <FormItem label="描述信息" prop="comm" style="width: 100%">
197
-          <Input
198
-            type="textarea"
199
-            v-model="modifyRegion.comm"
200
-            placeholder="请输入描述信息"
201
-          ></Input>
202
-        </FormItem>
203
       </Form>
190
       </Form>
204
       <div slot="footer">
191
       <div slot="footer">
205
         <Button @click="modifyRegion.show = false">取消</Button>
192
         <Button @click="modifyRegion.show = false">取消</Button>
216
       title="查看"
203
       title="查看"
217
     >
204
     >
218
       <div class="view_title">{{ viewInfo.regionName }}</div>
205
       <div class="view_title">{{ viewInfo.regionName }}</div>
219
-      <!-- <Form :label-width="80">
220
-        <FormItem label="区域码" style="margin-bottom: 0">{{
221
-          viewInfo.regionCode
222
-        }}</FormItem>
223
-        <FormItem label="地址" style="margin-bottom: 0">{{
224
-          viewInfo.address
225
-        }}</FormItem>
226
-        <FormItem label="描述信息">{{ viewInfo.comm }}</FormItem>
227
-      </Form> -->
206
+      <Form :label-width="65">
207
+        <FormItem label="区域码">{{ viewInfo.regionCode }}</FormItem>
208
+      </Form>
228
       <Table
209
       <Table
229
         style="border: 1px solid #e8eaec; border-bottom: none"
210
         style="border: 1px solid #e8eaec; border-bottom: none"
230
         :columns="viewInfo.columns"
211
         :columns="viewInfo.columns"
296
         regionid: null,
277
         regionid: null,
297
         regionName: "",
278
         regionName: "",
298
         regionCode: "",
279
         regionCode: "",
299
-        address: "",
300
-        comm: "",
301
         rversion: null
280
         rversion: null
302
       },
281
       },
303
       // 查看
282
       // 查看
305
         show: false,
284
         show: false,
306
         regionName: "",
285
         regionName: "",
307
         regionCode: "",
286
         regionCode: "",
308
-        address: "",
309
-        comm: "",
310
         list: [],
287
         list: [],
311
         columns: [
288
         columns: [
312
           {
289
           {
317
           },
294
           },
318
           {
295
           {
319
             title: "名称",
296
             title: "名称",
297
+            minWidth: 100,
320
             key: "aname",
298
             key: "aname",
321
             align: "center"
299
             align: "center"
322
           },
300
           },
323
           {
301
           {
324
             title: "账号",
302
             title: "账号",
303
+            minWidth: 100,
325
             key: "loginname",
304
             key: "loginname",
326
             align: "center"
305
             align: "center"
327
           },
306
           },
328
           {
307
           {
329
             title: "手机号码",
308
             title: "手机号码",
309
+            width: 120,
330
             key: "phone",
310
             key: "phone",
331
             align: "center"
311
             align: "center"
332
           }
312
           }
394
         },
374
         },
395
         {
375
         {
396
           title: "区域名称",
376
           title: "区域名称",
377
+          minWidth: 100,
397
           key: "regionName",
378
           key: "regionName",
398
           align: "center"
379
           align: "center"
399
         },
380
         },
590
             objectid: this.powerParams.objectid,
571
             objectid: this.powerParams.objectid,
591
             regionName: this.modifyRegion.regionName,
572
             regionName: this.modifyRegion.regionName,
592
             regionCode: this.modifyRegion.regionCode,
573
             regionCode: this.modifyRegion.regionCode,
593
-            address: this.modifyRegion.address,
594
-            comm: this.modifyRegion.comm,
595
             regionid: this.modifyRegion.regionid,
574
             regionid: this.modifyRegion.regionid,
596
             rversion: this.modifyRegion.rversion
575
             rversion: this.modifyRegion.rversion
597
           }).then((data) => {
576
           }).then((data) => {
627
           this.viewInfo.show = true;
606
           this.viewInfo.show = true;
628
           this.viewInfo.regionName = row.regionName;
607
           this.viewInfo.regionName = row.regionName;
629
           this.viewInfo.regionCode = row.regionCode;
608
           this.viewInfo.regionCode = row.regionCode;
630
-          this.viewInfo.address = row.address;
631
-          this.viewInfo.comm = row.comm;
632
           this.viewInfo.list = data.obj;
609
           this.viewInfo.list = data.obj;
633
         } else {
610
         } else {
634
           this.$Message.error(data.msg);
611
           this.$Message.error(data.msg);
642
         regionid: row.regionid,
619
         regionid: row.regionid,
643
         regionName: row.regionName,
620
         regionName: row.regionName,
644
         regionCode: row.regionCode,
621
         regionCode: row.regionCode,
645
-        address: row.address,
646
-        comm: row.comm,
647
         rversion: row.rversion
622
         rversion: row.rversion
648
       };
623
       };
649
     },
624
     },

+ 22
- 1
src/views/regionSection/home/index.vue View File

98
 export default {
98
 export default {
99
   data() {
99
   data() {
100
     return {
100
     return {
101
+      // 图表实例
102
+      echartsInstances: [],
101
       // 概况信息
103
       // 概况信息
102
       regionOverviewInfo: {
104
       regionOverviewInfo: {
103
         usernum: 0,
105
         usernum: 0,
163
     this.getAppDownloadList();
165
     this.getAppDownloadList();
164
     this.getDeviceActivityList();
166
     this.getDeviceActivityList();
165
   },
167
   },
168
+  mounted() {
169
+    window.addEventListener("resize", this.echartsResize);
170
+  },
171
+  beforeDestroy() {
172
+    window.removeEventListener("resize", this.echartsResize);
173
+  },
166
   methods: {
174
   methods: {
175
+    echartsResize() {
176
+      this.echartsInstances.forEach((eInstance) => {
177
+        if (eInstance && eInstance.getOption()) {
178
+          eInstance.resize();
179
+        }
180
+      });
181
+    },
167
     // 概况信息
182
     // 概况信息
168
     getRegionOverview() {
183
     getRegionOverview() {
169
       ra_list_sv({
184
       ra_list_sv({
364
       const eInstance = echarts.init(document.getElementById("mapAreaEcharts"));
379
       const eInstance = echarts.init(document.getElementById("mapAreaEcharts"));
365
       eInstance.clear();
380
       eInstance.clear();
366
       eInstance.setOption(options);
381
       eInstance.setOption(options);
382
+      this.echartsInstances.push(eInstance);
367
     },
383
     },
368
     // 设备类型信息
384
     // 设备类型信息
369
     getDeviceModelList() {
385
     getDeviceModelList() {
435
       );
451
       );
436
       eInstance.clear();
452
       eInstance.clear();
437
       eInstance.setOption(options);
453
       eInstance.setOption(options);
454
+      this.echartsInstances.push(eInstance);
438
     },
455
     },
439
     // 客户端版本-管控应用
456
     // 客户端版本-管控应用
440
     getControlVersionList() {
457
     getControlVersionList() {
504
       );
521
       );
505
       eInstance.clear();
522
       eInstance.clear();
506
       eInstance.setOption(options);
523
       eInstance.setOption(options);
524
+      this.echartsInstances.push(eInstance);
507
     },
525
     },
508
     // 客户端版本-应用商店
526
     // 客户端版本-应用商店
509
     getAppVersionList() {
527
     getAppVersionList() {
573
       );
591
       );
574
       eInstance.clear();
592
       eInstance.clear();
575
       eInstance.setOption(options);
593
       eInstance.setOption(options);
594
+      this.echartsInstances.push(eInstance);
576
     },
595
     },
577
     // 应用下载
596
     // 应用下载
578
     getAppDownloadList() {
597
     getAppDownloadList() {
685
       );
704
       );
686
       eInstance.clear();
705
       eInstance.clear();
687
       eInstance.setOption(options);
706
       eInstance.setOption(options);
707
+      this.echartsInstances.push(eInstance);
688
     },
708
     },
689
     // 设备活跃度
709
     // 设备活跃度
690
     getDeviceActivityList() {
710
     getDeviceActivityList() {
832
       );
852
       );
833
       eInstance.clear();
853
       eInstance.clear();
834
       eInstance.setOption(options);
854
       eInstance.setOption(options);
855
+      this.echartsInstances.push(eInstance);
835
     }
856
     }
836
   }
857
   }
837
 };
858
 };
847
     display: flex;
868
     display: flex;
848
     justify-content: space-between;
869
     justify-content: space-between;
849
     align-items: center;
870
     align-items: center;
850
-    &:last-of-type{
871
+    &:last-of-type {
851
       margin-bottom: 0;
872
       margin-bottom: 0;
852
     }
873
     }
853
     .cell_item {
874
     .cell_item {

+ 3
- 0
src/views/schoolSection/applicationManage/greenBrowser.vue View File

119
         },
119
         },
120
         {
120
         {
121
           title: "名称",
121
           title: "名称",
122
+          minWidth: 100,
122
           key: "visitName",
123
           key: "visitName",
123
           align: "center"
124
           align: "center"
124
         },
125
         },
125
         {
126
         {
126
           title: "网址",
127
           title: "网址",
128
+          minWidth: 100,
127
           key: "visitUrl",
129
           key: "visitUrl",
128
           align: "center"
130
           align: "center"
129
         },
131
         },
130
         {
132
         {
131
           title: "操作人",
133
           title: "操作人",
134
+          minWidth: 100,
132
           key: "updatename",
135
           key: "updatename",
133
           align: "center"
136
           align: "center"
134
         },
137
         },

+ 3
- 0
src/views/schoolSection/applicationStrategy/appStrategyTemplate.vue View File

130
         },
130
         },
131
         {
131
         {
132
           title: "名称",
132
           title: "名称",
133
+          minWidth: 100,
133
           key: "name",
134
           key: "name",
134
           align: "center"
135
           align: "center"
135
         },
136
         },
136
         {
137
         {
137
           title: "状态",
138
           title: "状态",
139
+          width: 90,
138
           slot: "enabledSlot",
140
           slot: "enabledSlot",
139
           align: "center"
141
           align: "center"
140
         },
142
         },
141
         {
143
         {
142
           title: "操作人",
144
           title: "操作人",
145
+          minWidth: 100,
143
           key: "updatename",
146
           key: "updatename",
144
           align: "center"
147
           align: "center"
145
         },
148
         },

+ 4
- 0
src/views/schoolSection/deviceManage/breakRuleDevice.vue View File

239
         // },
239
         // },
240
         {
240
         {
241
           title: "设备号",
241
           title: "设备号",
242
+          width: 170,
242
           key: "sn",
243
           key: "sn",
243
           align: "center"
244
           align: "center"
244
         },
245
         },
255
         },
256
         },
256
         {
257
         {
257
           title: "累计违规数量",
258
           title: "累计违规数量",
259
+          minWidth: 100,
258
           key: "num",
260
           key: "num",
259
           align: "center"
261
           align: "center"
260
         },
262
         },
274
         },
276
         },
275
         {
277
         {
276
           title: "设备使用人",
278
           title: "设备使用人",
279
+          minWidth: 100,
277
           key: "username",
280
           key: "username",
278
           align: "center"
281
           align: "center"
279
         },
282
         },
280
         {
283
         {
281
           title: "违规事件",
284
           title: "违规事件",
285
+          minWidth: 100,
282
           slot: "doEventSlot",
286
           slot: "doEventSlot",
283
           align: "center"
287
           align: "center"
284
         },
288
         },

+ 5
- 0
src/views/schoolSection/deviceManage/deviceManage.vue View File

671
         },
671
         },
672
         {
672
         {
673
           title: "登录账号",
673
           title: "登录账号",
674
+          minWidth: 100,
674
           slot: "loginnameSlot",
675
           slot: "loginnameSlot",
675
           align: "center"
676
           align: "center"
676
         },
677
         },
677
         {
678
         {
678
           title: "姓名",
679
           title: "姓名",
680
+          minWidth: 100,
679
           key: "username",
681
           key: "username",
680
           align: "center"
682
           align: "center"
681
         },
683
         },
687
         },
689
         },
688
         {
690
         {
689
           title: "设备型号",
691
           title: "设备型号",
692
+          width: 150,
690
           key: "deviceModel",
693
           key: "deviceModel",
691
           align: "center"
694
           align: "center"
692
         },
695
         },
693
         {
696
         {
694
           title: "设备号",
697
           title: "设备号",
698
+          width: 170,
695
           key: "sn",
699
           key: "sn",
696
           align: "center"
700
           align: "center"
697
         },
701
         },
698
         {
702
         {
699
           title: "Rom版本",
703
           title: "Rom版本",
704
+          minWidth: 200,
700
           key: "romVersion",
705
           key: "romVersion",
701
           align: "center"
706
           align: "center"
702
         },
707
         },

+ 7
- 0
src/views/schoolSection/deviceManage/inLineDevice.vue View File

91
         },
91
         },
92
         {
92
         {
93
           title: "登录账号",
93
           title: "登录账号",
94
+          minWidth: 100,
94
           key: "loginname",
95
           key: "loginname",
95
           align: "center"
96
           align: "center"
96
         },
97
         },
97
         {
98
         {
98
           title: "姓名",
99
           title: "姓名",
100
+          minWidth: 100,
99
           key: "username",
101
           key: "username",
100
           align: "center"
102
           align: "center"
101
         },
103
         },
102
         {
104
         {
103
           title: "设备名称",
105
           title: "设备名称",
106
+          minWidth: 100,
104
           key: "device",
107
           key: "device",
105
           align: "center"
108
           align: "center"
106
         },
109
         },
107
         {
110
         {
108
           title: "管控状态",
111
           title: "管控状态",
112
+          width: 100,
109
           slot: "controlSlot",
113
           slot: "controlSlot",
110
           align: "center"
114
           align: "center"
111
         },
115
         },
112
         {
116
         {
113
           title: "设备型号",
117
           title: "设备型号",
118
+          width: 150,
114
           key: "deviceModel",
119
           key: "deviceModel",
115
           align: "center"
120
           align: "center"
116
         },
121
         },
117
         {
122
         {
118
           title: "设备号",
123
           title: "设备号",
124
+          width: 170,
119
           key: "sn",
125
           key: "sn",
120
           align: "center"
126
           align: "center"
121
         },
127
         },
122
         {
128
         {
123
           title: "Rom版本",
129
           title: "Rom版本",
130
+          minWidth: 200,
124
           key: "romVersion",
131
           key: "romVersion",
125
           align: "center"
132
           align: "center"
126
         },
133
         },

+ 7
- 0
src/views/schoolSection/deviceManage/outControlDevice.vue View File

92
         },
92
         },
93
         {
93
         {
94
           title: "登录账号",
94
           title: "登录账号",
95
+          minWidth: 100,
95
           key: "loginname",
96
           key: "loginname",
96
           align: "center"
97
           align: "center"
97
         },
98
         },
98
         {
99
         {
99
           title: "姓名",
100
           title: "姓名",
101
+          minWidth: 100,
100
           key: "username",
102
           key: "username",
101
           align: "center"
103
           align: "center"
102
         },
104
         },
103
         {
105
         {
104
           title: "班级",
106
           title: "班级",
107
+          minWidth: 150,
105
           key: "classname",
108
           key: "classname",
106
           align: "center"
109
           align: "center"
107
         },
110
         },
108
         {
111
         {
109
           title: "设备名称",
112
           title: "设备名称",
113
+          minWidth: 100,
110
           key: "device",
114
           key: "device",
111
           align: "center"
115
           align: "center"
112
         },
116
         },
113
         {
117
         {
114
           title: "设备型号",
118
           title: "设备型号",
119
+          width: 150,
115
           key: "deviceModel",
120
           key: "deviceModel",
116
           align: "center"
121
           align: "center"
117
         },
122
         },
118
         {
123
         {
119
           title: "设备号",
124
           title: "设备号",
125
+          width: 170,
120
           key: "sn",
126
           key: "sn",
121
           align: "center"
127
           align: "center"
122
         },
128
         },
123
         {
129
         {
124
           title: "Rom版本",
130
           title: "Rom版本",
131
+          minWidth: 200,
125
           key: "romVersion",
132
           key: "romVersion",
126
           align: "center"
133
           align: "center"
127
         },
134
         },

+ 7
- 0
src/views/schoolSection/deviceManage/removeControlDevice.vue View File

67
         },
67
         },
68
         {
68
         {
69
           title: "登录账号",
69
           title: "登录账号",
70
+          minWidth: 100,
70
           key: "loginname",
71
           key: "loginname",
71
           align: "center"
72
           align: "center"
72
         },
73
         },
73
         {
74
         {
74
           title: "姓名",
75
           title: "姓名",
76
+          minWidth: 100,
75
           key: "username",
77
           key: "username",
76
           align: "center"
78
           align: "center"
77
         },
79
         },
78
         {
80
         {
79
           title: "设备名称",
81
           title: "设备名称",
82
+          minWidth: 100,
80
           key: "device",
83
           key: "device",
81
           align: "center"
84
           align: "center"
82
         },
85
         },
83
         {
86
         {
84
           title: "管控状态",
87
           title: "管控状态",
88
+          width: 100,
85
           slot: "controlSlot",
89
           slot: "controlSlot",
86
           align: "center"
90
           align: "center"
87
         },
91
         },
88
         {
92
         {
89
           title: "设备型号",
93
           title: "设备型号",
94
+          width: 150,
90
           key: "deviceModel",
95
           key: "deviceModel",
91
           align: "center"
96
           align: "center"
92
         },
97
         },
93
         {
98
         {
94
           title: "设备号",
99
           title: "设备号",
100
+          width: 170,
95
           key: "sn",
101
           key: "sn",
96
           align: "center"
102
           align: "center"
97
         },
103
         },
98
         {
104
         {
99
           title: "Rom版本",
105
           title: "Rom版本",
106
+          minWidth: 200,
100
           key: "romVersion",
107
           key: "romVersion",
101
           align: "center"
108
           align: "center"
102
         },
109
         },

+ 22
- 0
src/views/schoolSection/home/index.vue View File

143
 export default {
143
 export default {
144
   data() {
144
   data() {
145
     return {
145
     return {
146
+      // 图表实例
147
+      echartsInstances: [],
146
       // 设备用户信息
148
       // 设备用户信息
147
       deviceUserInfo: {},
149
       deviceUserInfo: {},
148
       // 设备类型信息
150
       // 设备类型信息
177
       return this.$store.getters.powerParams;
179
       return this.$store.getters.powerParams;
178
     }
180
     }
179
   },
181
   },
182
+  mounted() {
183
+    window.addEventListener("resize", this.echartsResize);
184
+  },
185
+  beforeDestroy() {
186
+    window.removeEventListener("resize", this.echartsResize);
187
+  },
180
   methods: {
188
   methods: {
189
+    echartsResize() {
190
+      this.echartsInstances.forEach((eInstance) => {
191
+        if (eInstance && eInstance.getOption()) {
192
+          eInstance.resize();
193
+        }
194
+      });
195
+    },
181
     // 设备用户信息
196
     // 设备用户信息
182
     getDeviceUserList() {
197
     getDeviceUserList() {
183
       ra_get_du({
198
       ra_get_du({
264
       );
279
       );
265
       eInstance.clear();
280
       eInstance.clear();
266
       eInstance.setOption(options);
281
       eInstance.setOption(options);
282
+      this.echartsInstances.push(eInstance);
267
     },
283
     },
268
     // 设备类型信息
284
     // 设备类型信息
269
     getDeviceModelList() {
285
     getDeviceModelList() {
335
       );
351
       );
336
       eInstance.clear();
352
       eInstance.clear();
337
       eInstance.setOption(options);
353
       eInstance.setOption(options);
354
+      this.echartsInstances.push(eInstance);
338
     },
355
     },
339
     // 客户端版本-管控应用
356
     // 客户端版本-管控应用
340
     getControlVersionList() {
357
     getControlVersionList() {
404
       );
421
       );
405
       eInstance.clear();
422
       eInstance.clear();
406
       eInstance.setOption(options);
423
       eInstance.setOption(options);
424
+      this.echartsInstances.push(eInstance);
407
     },
425
     },
408
     // 客户端版本-应用商店
426
     // 客户端版本-应用商店
409
     getAppVersionList() {
427
     getAppVersionList() {
473
       );
491
       );
474
       eInstance.clear();
492
       eInstance.clear();
475
       eInstance.setOption(options);
493
       eInstance.setOption(options);
494
+      this.echartsInstances.push(eInstance);
476
     },
495
     },
477
     // 增长趋势
496
     // 增长趋势
478
     getGrowthTrendList() {
497
     getGrowthTrendList() {
632
       );
651
       );
633
       eInstance.clear();
652
       eInstance.clear();
634
       eInstance.setOption(options);
653
       eInstance.setOption(options);
654
+      this.echartsInstances.push(eInstance);
635
     },
655
     },
636
     getOnlineDeviceList() {
656
     getOnlineDeviceList() {
637
       ra_list_dn({
657
       ra_list_dn({
805
       const eInstance = echarts.init(document.getElementById(domId));
825
       const eInstance = echarts.init(document.getElementById(domId));
806
       eInstance.clear();
826
       eInstance.clear();
807
       eInstance.setOption(options);
827
       eInstance.setOption(options);
828
+      this.echartsInstances.push(eInstance);
808
     },
829
     },
809
     // 设备活跃度
830
     // 设备活跃度
810
     getDeviceActivityList() {
831
     getDeviceActivityList() {
952
       );
973
       );
953
       eInstance.clear();
974
       eInstance.clear();
954
       eInstance.setOption(options);
975
       eInstance.setOption(options);
976
+      this.echartsInstances.push(eInstance);
955
     }
977
     }
956
   }
978
   }
957
 };
979
 };

+ 3
- 0
src/views/schoolSection/log/admin.vue View File

71
         },
71
         },
72
         {
72
         {
73
           title: "登录名",
73
           title: "登录名",
74
+          minWidth: 100,
74
           key: "loginname",
75
           key: "loginname",
75
           align: "center"
76
           align: "center"
76
         },
77
         },
77
         {
78
         {
78
           title: "姓名",
79
           title: "姓名",
80
+          minWidth: 100,
79
           key: "aname",
81
           key: "aname",
80
           align: "center"
82
           align: "center"
81
         },
83
         },
82
         {
84
         {
83
           title: "事件",
85
           title: "事件",
86
+          minWidth: 150,
84
           key: "content",
87
           key: "content",
85
           align: "center"
88
           align: "center"
86
         },
89
         },

+ 6
- 0
src/views/schoolSection/log/appLaunch.vue View File

79
         },
79
         },
80
         {
80
         {
81
           title: "学校名称",
81
           title: "学校名称",
82
+          minWidth: 150,
82
           key: "schoolName",
83
           key: "schoolName",
83
           align: "center"
84
           align: "center"
84
         },
85
         },
85
         {
86
         {
86
           title: "班级",
87
           title: "班级",
88
+          minWidth: 150,
87
           key: "classname",
89
           key: "classname",
88
           align: "center"
90
           align: "center"
89
         },
91
         },
90
         {
92
         {
91
           title: "登录名",
93
           title: "登录名",
94
+          minWidth: 100,
92
           key: "loginname",
95
           key: "loginname",
93
           align: "center"
96
           align: "center"
94
         },
97
         },
95
         {
98
         {
96
           title: "姓名",
99
           title: "姓名",
100
+          minWidth: 100,
97
           key: "username",
101
           key: "username",
98
           align: "center"
102
           align: "center"
99
         },
103
         },
100
         {
104
         {
101
           title: "设备号",
105
           title: "设备号",
106
+          width: 170,
102
           key: "sn",
107
           key: "sn",
103
           align: "center"
108
           align: "center"
104
         },
109
         },
105
         {
110
         {
106
           title: "应用名称",
111
           title: "应用名称",
112
+          minWidth: 150,
107
           key: "appName",
113
           key: "appName",
108
           align: "center"
114
           align: "center"
109
         },
115
         },

+ 7
- 0
src/views/schoolSection/log/applicationDownload.vue View File

71
         },
71
         },
72
         {
72
         {
73
           title: "学校名称",
73
           title: "学校名称",
74
+          minWidth: 150,
74
           key: "schoolName",
75
           key: "schoolName",
75
           align: "center"
76
           align: "center"
76
         },
77
         },
77
         {
78
         {
78
           title: "班级",
79
           title: "班级",
80
+          minWidth: 150,
79
           key: "classname",
81
           key: "classname",
80
           align: "center"
82
           align: "center"
81
         },
83
         },
82
         {
84
         {
83
           title: "登录名",
85
           title: "登录名",
86
+          minWidth: 100,
84
           key: "loginname",
87
           key: "loginname",
85
           align: "center"
88
           align: "center"
86
         },
89
         },
87
         {
90
         {
88
           title: "姓名",
91
           title: "姓名",
92
+          minWidth: 100,
89
           key: "username",
93
           key: "username",
90
           align: "center"
94
           align: "center"
91
         },
95
         },
92
         {
96
         {
93
           title: "设备号",
97
           title: "设备号",
98
+          width: 170,
94
           key: "sn",
99
           key: "sn",
95
           align: "center"
100
           align: "center"
96
         },
101
         },
97
         {
102
         {
98
           title: "应用名称",
103
           title: "应用名称",
104
+          minWidth: 150,
99
           key: "appName",
105
           key: "appName",
100
           align: "center"
106
           align: "center"
101
         },
107
         },
102
         {
108
         {
103
           title: "版本号",
109
           title: "版本号",
110
+          minWidth: 100,
104
           key: "appVersion",
111
           key: "appVersion",
105
           align: "center"
112
           align: "center"
106
         },
113
         },

+ 7
- 0
src/views/schoolSection/log/deviceEvents.vue View File

102
         },
102
         },
103
         {
103
         {
104
           title: "学校名称",
104
           title: "学校名称",
105
+          minWidth: 150,
105
           key: "schoolName",
106
           key: "schoolName",
106
           align: "center"
107
           align: "center"
107
         },
108
         },
108
         {
109
         {
109
           title: "班级",
110
           title: "班级",
111
+          minWidth: 150,
110
           key: "classname",
112
           key: "classname",
111
           align: "center"
113
           align: "center"
112
         },
114
         },
113
         {
115
         {
114
           title: "登录名",
116
           title: "登录名",
117
+          minWidth: 100,
115
           key: "loginname",
118
           key: "loginname",
116
           align: "center"
119
           align: "center"
117
         },
120
         },
118
         {
121
         {
119
           title: "姓名",
122
           title: "姓名",
123
+          minWidth: 100,
120
           key: "username",
124
           key: "username",
121
           align: "center"
125
           align: "center"
122
         },
126
         },
123
         {
127
         {
124
           title: "设备号",
128
           title: "设备号",
129
+          width: 170,
125
           key: "sn",
130
           key: "sn",
126
           align: "center"
131
           align: "center"
127
         },
132
         },
128
         {
133
         {
129
           title: "事件",
134
           title: "事件",
135
+          minWidth: 150,
130
           slot: "doEventSlot",
136
           slot: "doEventSlot",
131
           align: "center"
137
           align: "center"
132
         },
138
         },
133
         {
139
         {
134
           title: "描述",
140
           title: "描述",
141
+          minWidth: 150,
135
           key: "comm",
142
           key: "comm",
136
           align: "center"
143
           align: "center"
137
         },
144
         },

+ 7
- 1
src/views/schoolSection/log/deviceExport.vue View File

61
         },
61
         },
62
         {
62
         {
63
           title: "学校名称",
63
           title: "学校名称",
64
+          minWidth: 150,
64
           key: "schoolName",
65
           key: "schoolName",
65
           align: "center"
66
           align: "center"
66
         },
67
         },
68
           title: "班级",
69
           title: "班级",
69
           key: "classname",
70
           key: "classname",
70
           align: "center",
71
           align: "center",
71
-          width: 110
72
+          minWidth: 150
72
         },
73
         },
73
         {
74
         {
74
           title: "登录名",
75
           title: "登录名",
76
+          minWidth: 100,
75
           key: "loginname",
77
           key: "loginname",
76
           align: "center"
78
           align: "center"
77
         },
79
         },
78
         {
80
         {
79
           title: "姓名",
81
           title: "姓名",
82
+          minWidth: 100,
80
           key: "username",
83
           key: "username",
81
           align: "center"
84
           align: "center"
82
         },
85
         },
83
         {
86
         {
84
           title: "设备号",
87
           title: "设备号",
88
+          width: 170,
85
           key: "sn",
89
           key: "sn",
86
           align: "center"
90
           align: "center"
87
         },
91
         },
88
         {
92
         {
89
           title: "设备型号",
93
           title: "设备型号",
94
+          width: 150,
90
           key: "deviceModel",
95
           key: "deviceModel",
91
           align: "center"
96
           align: "center"
92
         },
97
         },
93
         {
98
         {
94
           title: "Rom版本",
99
           title: "Rom版本",
100
+          minWidth: 200,
95
           key: "romVersion",
101
           key: "romVersion",
96
           align: "center"
102
           align: "center"
97
         },
103
         },

+ 8
- 0
src/views/schoolSection/log/deviceInstallation.vue View File

75
         },
75
         },
76
         {
76
         {
77
           title: "学校名称",
77
           title: "学校名称",
78
+          minWidth: 150,
78
           key: "schoolName",
79
           key: "schoolName",
79
           align: "center"
80
           align: "center"
80
         },
81
         },
81
         {
82
         {
82
           title: "班级",
83
           title: "班级",
84
+          minWidth: 150,
83
           key: "classname",
85
           key: "classname",
84
           align: "center"
86
           align: "center"
85
         },
87
         },
86
         {
88
         {
87
           title: "登录名",
89
           title: "登录名",
90
+          minWidth: 100,
88
           key: "loginname",
91
           key: "loginname",
89
           align: "center"
92
           align: "center"
90
         },
93
         },
91
         {
94
         {
92
           title: "姓名",
95
           title: "姓名",
96
+          minWidth: 100,
93
           key: "username",
97
           key: "username",
94
           align: "center"
98
           align: "center"
95
         },
99
         },
96
         {
100
         {
97
           title: "设备号",
101
           title: "设备号",
102
+          width: 170,
98
           key: "sn",
103
           key: "sn",
99
           align: "center"
104
           align: "center"
100
         },
105
         },
101
         {
106
         {
102
           title: "应用名称",
107
           title: "应用名称",
108
+          minWidth: 150,
103
           key: "appName",
109
           key: "appName",
104
           align: "center"
110
           align: "center"
105
         },
111
         },
106
         {
112
         {
107
           title: "应用包名",
113
           title: "应用包名",
114
+          minWidth: 150,
108
           key: "appPackage",
115
           key: "appPackage",
109
           align: "center"
116
           align: "center"
110
         },
117
         },
111
         {
118
         {
112
           title: "版本名称",
119
           title: "版本名称",
120
+          minWidth: 100,
113
           key: "appVersion",
121
           key: "appVersion",
114
           align: "center"
122
           align: "center"
115
         },
123
         },

+ 6
- 0
src/views/schoolSection/log/deviceLocation.vue View File

75
         },
75
         },
76
         {
76
         {
77
           title: "设备号",
77
           title: "设备号",
78
+          width: 170,
78
           key: "sn",
79
           key: "sn",
79
           align: "center"
80
           align: "center"
80
         },
81
         },
81
         {
82
         {
82
           title: "登录名",
83
           title: "登录名",
84
+          minWidth: 100,
83
           key: "loginname",
85
           key: "loginname",
84
           align: "center"
86
           align: "center"
85
         },
87
         },
86
         {
88
         {
87
           title: "姓名",
89
           title: "姓名",
90
+          minWidth: 100,
88
           key: "username",
91
           key: "username",
89
           align: "center"
92
           align: "center"
90
         },
93
         },
91
         {
94
         {
92
           title: "学校名称",
95
           title: "学校名称",
96
+          minWidth: 150,
93
           key: "schoolName",
97
           key: "schoolName",
94
           align: "center"
98
           align: "center"
95
         },
99
         },
96
         {
100
         {
97
           title: "班级",
101
           title: "班级",
102
+          minWidth: 150,
98
           key: "classname",
103
           key: "classname",
99
           align: "center"
104
           align: "center"
100
         },
105
         },
101
         {
106
         {
102
           title: "地址",
107
           title: "地址",
108
+          width: 210,
103
           key: "address",
109
           key: "address",
104
           align: "center"
110
           align: "center"
105
         },
111
         },

+ 3
- 0
src/views/schoolSection/log/devicePush.vue View File

97
         },
97
         },
98
         {
98
         {
99
           title: "登录名",
99
           title: "登录名",
100
+          minWidth: 100,
100
           key: "loginname",
101
           key: "loginname",
101
           align: "center"
102
           align: "center"
102
         },
103
         },
103
         {
104
         {
104
           title: "姓名",
105
           title: "姓名",
106
+          minWidth: 100,
105
           key: "aname",
107
           key: "aname",
106
           align: "center"
108
           align: "center"
107
         },
109
         },
119
         },
121
         },
120
         {
122
         {
121
           title: "设备号",
123
           title: "设备号",
124
+          width: 170,
122
           key: "sn",
125
           key: "sn",
123
           align: "center"
126
           align: "center"
124
         },
127
         },

+ 6
- 0
src/views/schoolSection/log/violatingDevice.vue View File

134
         },
134
         },
135
         {
135
         {
136
           title: "学校名称",
136
           title: "学校名称",
137
+          minWidth: 150,
137
           key: "schoolName",
138
           key: "schoolName",
138
           align: "center"
139
           align: "center"
139
         },
140
         },
140
         {
141
         {
141
           title: "班级",
142
           title: "班级",
143
+          minWidth: 150,
142
           key: "classname",
144
           key: "classname",
143
           align: "center"
145
           align: "center"
144
         },
146
         },
145
         {
147
         {
146
           title: "登录名",
148
           title: "登录名",
149
+          minWidth: 100,
147
           key: "loginname",
150
           key: "loginname",
148
           align: "center"
151
           align: "center"
149
         },
152
         },
150
         {
153
         {
151
           title: "姓名",
154
           title: "姓名",
155
+          minWidth: 100,
152
           key: "username",
156
           key: "username",
153
           align: "center"
157
           align: "center"
154
         },
158
         },
155
         {
159
         {
156
           title: "设备号",
160
           title: "设备号",
161
+          width: 170,
157
           key: "sn",
162
           key: "sn",
158
           align: "center"
163
           align: "center"
159
         },
164
         },
160
         {
165
         {
161
           title: "事件",
166
           title: "事件",
167
+          minWidth: 150,
162
           slot: "doEventSlot",
168
           slot: "doEventSlot",
163
           align: "center"
169
           align: "center"
164
         },
170
         },

+ 2
- 0
src/views/schoolSection/networkManage/whitelist.vue View File

194
         },
194
         },
195
         {
195
         {
196
           title: "名称",
196
           title: "名称",
197
+          minWidth: 100,
197
           slot: "nameSlot",
198
           slot: "nameSlot",
198
           align: "center"
199
           align: "center"
199
         },
200
         },
200
         {
201
         {
201
           title: "网址",
202
           title: "网址",
203
+          minWidth: 100,
202
           slot: "whiteAddressSlot",
204
           slot: "whiteAddressSlot",
203
           align: "center"
205
           align: "center"
204
         },
206
         },

+ 3
- 0
src/views/schoolSection/networkManage/whitelistLibrary.vue View File

71
         },
71
         },
72
         {
72
         {
73
           title: "应用名称",
73
           title: "应用名称",
74
+          minWidth: 150,
74
           slot: "nameSlot",
75
           slot: "nameSlot",
75
           align: "center"
76
           align: "center"
76
         },
77
         },
77
         {
78
         {
78
           title: "版本名称",
79
           title: "版本名称",
80
+          minWidth: 100,
79
           key: "versionName",
81
           key: "versionName",
80
           align: "center"
82
           align: "center"
81
         },
83
         },
82
         {
84
         {
83
           title: "包名",
85
           title: "包名",
86
+          minWidth: 100,
84
           key: "website",
87
           key: "website",
85
           align: "center"
88
           align: "center"
86
         },
89
         },

+ 1
- 0
src/views/schoolSection/notice/notice.vue View File

108
         },
108
         },
109
         {
109
         {
110
           title: "标题",
110
           title: "标题",
111
+          minWidth: 100,
111
           key: "noticeTitle",
112
           key: "noticeTitle",
112
           align: "center"
113
           align: "center"
113
         },
114
         },

+ 1
- 0
src/views/schoolSection/setting/logo.vue View File

208
   align-items: center;
208
   align-items: center;
209
   margin-left: 100px;
209
   margin-left: 100px;
210
   margin-top: 20px;
210
   margin-top: 20px;
211
+  margin-bottom: 20px;
211
 }
212
 }
212
 </style>
213
 </style>

+ 4
- 0
src/views/schoolSection/setting/wallpaper.vue View File

324
         },
324
         },
325
         {
325
         {
326
           title: "横屏壁纸",
326
           title: "横屏壁纸",
327
+          minWidth: 150,
327
           slot: "hpathSlot",
328
           slot: "hpathSlot",
328
           align: "center"
329
           align: "center"
329
         },
330
         },
330
         {
331
         {
331
           title: "竖屏壁纸",
332
           title: "竖屏壁纸",
333
+          minWidth: 150,
332
           slot: "vpathSlot",
334
           slot: "vpathSlot",
333
           align: "center"
335
           align: "center"
334
         },
336
         },
335
         {
337
         {
336
           title: "壁纸名称",
338
           title: "壁纸名称",
339
+          minWidth: 100,
337
           key: "wname",
340
           key: "wname",
338
           align: "center"
341
           align: "center"
339
         },
342
         },
340
         {
343
         {
341
           title: "操作人",
344
           title: "操作人",
345
+          minWidth: 100,
342
           key: "updatename",
346
           key: "updatename",
343
           align: "center"
347
           align: "center"
344
         },
348
         },

Loading…
Cancel
Save