Browse Source

Merge remote-tracking branch 'origin/gzb' into wzl

gzb
wangzhonglu 8 months ago
parent
commit
07881b9b72

BIN
public/doc/student.xls View File


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

@@ -854,7 +854,7 @@ export default {
854 854
     display: flex;
855 855
     justify-content: space-between;
856 856
     align-items: center;
857
-    &.last-child {
857
+    &:last-of-type {
858 858
       margin-bottom: 0;
859 859
     }
860 860
     .cell_item {
@@ -896,7 +896,7 @@ export default {
896 896
       }
897 897
       .content_main {
898 898
         width: 100%;
899
-        height: calc(100% - 48px);
899
+        height: calc(100% - 64px);
900 900
         #controlVersionEcharts,
901 901
         #appVersionEcharts {
902 902
           display: inline-block;

+ 0
- 3
src/views/regionSection/applicationManage/applicationGroup.vue View File

@@ -210,13 +210,11 @@ export default {
210 210
         {
211 211
           title: "图标",
212 212
           slot: "iconPath",
213
-          width: 120,
214 213
           align: "center"
215 214
         },
216 215
         {
217 216
           title: "创建人",
218 217
           key: "createname",
219
-          width: 140,
220 218
           align: "center"
221 219
         },
222 220
         {
@@ -228,7 +226,6 @@ export default {
228 226
         {
229 227
           title: "操作人",
230 228
           key: "updatename",
231
-          width: 140,
232 229
           align: "center"
233 230
         },
234 231
         {

+ 8
- 10
src/views/regionSection/applicationManage/applicationManage.vue View File

@@ -914,24 +914,22 @@ export default {
914 914
         {
915 915
           title: "应用",
916 916
           slot: "appName",
917
-          align: "center"
917
+          align: "center",
918
+          minWidth: 160
918 919
         },
919 920
         {
920 921
           title: "分组",
921 922
           key: "appgroupName",
922
-          align: "center",
923
-          width: 120
923
+          align: "center"
924 924
         },
925 925
         {
926 926
           title: "属性应用",
927 927
           slot: "appType",
928
-          align: "center",
929
-          width: 100
928
+          align: "center"
930 929
         },
931 930
         {
932 931
           title: "状态",
933 932
           slot: "enabled",
934
-          width: 100,
935 933
           align: "center"
936 934
         },
937 935
         {
@@ -943,8 +941,7 @@ export default {
943 941
         {
944 942
           title: "可信任",
945 943
           slot: "trusted",
946
-          align: "center",
947
-          width: 80
944
+          align: "center"
948 945
         },
949 946
         {
950 947
           title: "操作时间",
@@ -993,7 +990,7 @@ export default {
993 990
       this.viewInfo.appAbbr = obj.appAbbr;
994 991
       this.viewInfo.appDeveloper = obj.appDeveloper;
995 992
       this.viewInfo.appIcon = obj.appIcon;
996
-      this.viewInfo.appImg = obj.appImg.split(";");
993
+      this.viewInfo.appImg = obj.appImg?obj.appImg.split(";"):[];
997 994
       this.viewInfo.appPackage = obj.appPackage;
998 995
       this.viewInfo.appRenew = obj.appRenew;
999 996
       this.viewInfo.appSize = obj.appSize;
@@ -1473,6 +1470,7 @@ export default {
1473 1470
         deviceids: [],
1474 1471
         schoolids: []
1475 1472
       };
1473
+      this.file_list = [];
1476 1474
       this.school_list = JSON.parse(JSON.stringify(this.curRegion));
1477 1475
       this.$nextTick(() => {
1478 1476
         this.$refs.addForm.resetFields();
@@ -1734,7 +1732,7 @@ export default {
1734 1732
     }
1735 1733
     .app_comm {
1736 1734
       flex: none;
1737
-      width: 120px;
1735
+      min-width: 120px;
1738 1736
       margin-left: 10px;
1739 1737
       text-align: left;
1740 1738
       div {

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

@@ -847,7 +847,7 @@ export default {
847 847
     display: flex;
848 848
     justify-content: space-between;
849 849
     align-items: center;
850
-    &.last-child {
850
+    &:last-of-type{
851 851
       margin-bottom: 0;
852 852
     }
853 853
     .cell_item {
@@ -889,7 +889,7 @@ export default {
889 889
       }
890 890
       .content_main {
891 891
         width: 100%;
892
-        height: calc(100% - 48px);
892
+        height: calc(100% - 64px);
893 893
         #controlVersionEcharts,
894 894
         #appVersionEcharts {
895 895
           display: inline-block;

+ 3
- 3
src/views/regionSection/notice/index.vue View File

@@ -111,19 +111,19 @@ export default {
111 111
         {
112 112
           title: "发布人",
113 113
           key: "createname",
114
-          width: 140,
114
+          width: 200,
115 115
           align: "center"
116 116
         },
117 117
         {
118 118
           title: "时间",
119 119
           key: "updatetime",
120
-          width: 190,
120
+          width: 220,
121 121
           align: "center"
122 122
         },
123 123
         {
124 124
           title: "操作",
125 125
           slot: "actionSlot",
126
-          width: 90,
126
+          width: 120,
127 127
           align: "center"
128 128
         }
129 129
       ]

+ 0
- 4
src/views/regionSection/regionManage/regionManage.vue View File

@@ -471,25 +471,21 @@ export default {
471 471
         {
472 472
           title: "创建人",
473 473
           key: "createname",
474
-          width: 140,
475 474
           align: "center"
476 475
         },
477 476
         {
478 477
           title: "创建时间",
479 478
           key: "createtime",
480
-          width: 190,
481 479
           align: "center"
482 480
         },
483 481
         {
484 482
           title: "操作人",
485 483
           key: "updatename",
486
-          width: 140,
487 484
           align: "center"
488 485
         },
489 486
         {
490 487
           title: "操作时间",
491 488
           key: "updatetime",
492
-          width: 190,
493 489
           align: "center"
494 490
         },
495 491
         {

+ 4
- 7
src/views/regionSection/search/allApps.vue View File

@@ -601,24 +601,22 @@ export default {
601 601
         {
602 602
           title: "应用",
603 603
           slot: "appName",
604
-          align: "center"
604
+          align: "center",
605
+          minWidth: 160
605 606
         },
606 607
         {
607 608
           title: "分组",
608 609
           key: "appgroupName",
609
-          width: 140,
610 610
           align: "center"
611 611
         },
612 612
         {
613 613
           title: "属性应用",
614 614
           slot: "appType",
615
-          width: 120,
616 615
           align: "center"
617 616
         },
618 617
         {
619 618
           title: "状态",
620 619
           slot: "enabled",
621
-          width: 100,
622 620
           align: "center"
623 621
         },
624 622
         {
@@ -630,7 +628,6 @@ export default {
630 628
         {
631 629
           title: "操作人",
632 630
           key: "updatename",
633
-          width: 120,
634 631
           align: "center"
635 632
         },
636 633
         {
@@ -816,7 +813,7 @@ export default {
816 813
       this.viewInfo.appAbbr = obj.appAbbr;
817 814
       this.viewInfo.appDeveloper = obj.appDeveloper;
818 815
       this.viewInfo.appIcon = obj.appIcon;
819
-      this.viewInfo.appImg = obj.appImg.split(";");
816
+      this.viewInfo.appImg = obj.appImg?obj.appImg.split(";"):[];
820 817
       this.viewInfo.appPackage = obj.appPackage;
821 818
       this.viewInfo.appRenew = obj.appRenew;
822 819
       this.viewInfo.appSize = obj.appSize;
@@ -961,7 +958,7 @@ export default {
961 958
     }
962 959
     .app_comm {
963 960
       flex: none;
964
-      width: 120px;
961
+      min-width: 120px;
965 962
       margin-left: 10px;
966 963
       text-align: left;
967 964
       div {

+ 2
- 2
src/views/regionSection/search/allWhitelists.vue View File

@@ -122,8 +122,8 @@ export default {
122 122
         {
123 123
           title: "名称",
124 124
           key: "whiteName",
125
-          width: 180,
126
-          align: "center"
125
+          align: "center",
126
+          width: 300
127 127
         },
128 128
         {
129 129
           title: "网址",

+ 0
- 2
src/views/regionSection/search/clientVersion.vue View File

@@ -90,13 +90,11 @@ export default {
90 90
         {
91 91
           title: "设备数",
92 92
           key: "num",
93
-          width: 140,
94 93
           align: "center"
95 94
         },
96 95
         {
97 96
           title: "学校设备总数",
98 97
           key: "totalnum",
99
-          width: 140,
100 98
           align: "center"
101 99
         }
102 100
       ]

+ 0
- 3
src/views/regionSection/search/deviceModel.vue View File

@@ -74,19 +74,16 @@ export default {
74 74
         {
75 75
           title: "Rom版本",
76 76
           key: "romVersion",
77
-          width: 190,
78 77
           align: "center"
79 78
         },
80 79
         {
81 80
           title: "设备数",
82 81
           key: "num",
83
-          width: 140,
84 82
           align: "center"
85 83
         },
86 84
         {
87 85
           title: "学校设备总数",
88 86
           key: "totalnum",
89
-          width: 140,
90 87
           align: "center"
91 88
         }
92 89
       ]

+ 7
- 10
src/views/schoolSection/applicationManage/applicationList.vue View File

@@ -879,24 +879,22 @@ export default {
879 879
         {
880 880
           title: "应用",
881 881
           slot: "appName",
882
-          align: "center"
882
+          align: "center",
883
+          minWidth: 160
883 884
         },
884 885
         {
885 886
           title: "分组",
886 887
           key: "appgroupName",
887
-          align: "center",
888
-          width: 120
888
+          align: "center"
889 889
         },
890 890
         {
891 891
           title: "属性应用",
892 892
           slot: "appType",
893
-          align: "center",
894
-          width: 100
893
+          align: "center"
895 894
         },
896 895
         {
897 896
           title: "状态",
898 897
           slot: "enabled",
899
-          width: 100,
900 898
           align: "center"
901 899
         },
902 900
         {
@@ -908,8 +906,7 @@ export default {
908 906
         {
909 907
           title: "可信任",
910 908
           slot: "trusted",
911
-          align: "center",
912
-          width: 80
909
+          align: "center"
913 910
         },
914 911
         {
915 912
           title: "操作时间",
@@ -958,7 +955,7 @@ export default {
958 955
       this.viewInfo.appAbbr = obj.appAbbr;
959 956
       this.viewInfo.appDeveloper = obj.appDeveloper;
960 957
       this.viewInfo.appIcon = obj.appIcon;
961
-      this.viewInfo.appImg = obj.appImg.split(";");
958
+      this.viewInfo.appImg = obj.appImg?obj.appImg.split(";"):[];
962 959
       this.viewInfo.appPackage = obj.appPackage;
963 960
       this.viewInfo.appRenew = obj.appRenew;
964 961
       this.viewInfo.appSize = obj.appSize;
@@ -1595,7 +1592,7 @@ export default {
1595 1592
     }
1596 1593
     .app_comm {
1597 1594
       flex: none;
1598
-      width: 120px;
1595
+      min-width: 120px;
1599 1596
       margin-left: 10px;
1600 1597
       text-align: left;
1601 1598
       div {

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

@@ -967,7 +967,7 @@ export default {
967 967
     display: flex;
968 968
     justify-content: space-between;
969 969
     align-items: center;
970
-    &.last-child {
970
+    &:last-of-type {
971 971
       margin-bottom: 0;
972 972
     }
973 973
     .cell_item {
@@ -1006,7 +1006,7 @@ export default {
1006 1006
       }
1007 1007
       .content_main {
1008 1008
         width: 100%;
1009
-        height: calc(100% - 48px);
1009
+        height: calc(100% - 64px);
1010 1010
         &.online_devices {
1011 1011
           display: flex;
1012 1012
           justify-content: space-between;

+ 3
- 3
src/views/schoolSection/notice/notice.vue View File

@@ -114,19 +114,19 @@ export default {
114 114
         {
115 115
           title: "发布人",
116 116
           key: "createname",
117
-          width: 140,
117
+          width: 200,
118 118
           align: "center"
119 119
         },
120 120
         {
121 121
           title: "时间",
122 122
           key: "updatetime",
123
-          width: 190,
123
+          width: 220,
124 124
           align: "center"
125 125
         },
126 126
         {
127 127
           title: "操作",
128 128
           slot: "actionSlot",
129
-          width: 90,
129
+          width: 120,
130 130
           align: "center"
131 131
         }
132 132
       ]

+ 2
- 4
src/views/schoolSection/strategy/personalStrategy.vue View File

@@ -483,14 +483,12 @@ export default {
483 483
         {
484 484
           title: "所属用户组",
485 485
           key: "classname",
486
-          align: "center",
487
-          width: 140
486
+          align: "center"
488 487
         },
489 488
         {
490 489
           title: "操作时间",
491 490
           key: "updatetime",
492
-          align: "center",
493
-          width: 180
491
+          align: "center"
494 492
         },
495 493
         {
496 494
           title: "操作",

+ 0
- 2
src/views/schoolSection/strategy/strategyTemplate.vue View File

@@ -494,13 +494,11 @@ export default {
494 494
         {
495 495
           title: "操作人",
496 496
           key: "updatename",
497
-          width: 180,
498 497
           align: "center"
499 498
         },
500 499
         {
501 500
           title: "操作时间",
502 501
           key: "updatetime",
503
-          width: 220,
504 502
           align: "center"
505 503
         },
506 504
         {

+ 5
- 8
src/views/schoolSection/userManage/userManage.vue View File

@@ -444,17 +444,17 @@ export default {
444 444
       wait_flag: false,
445 445
       showLoading: false,
446 446
       care_list: [
447
-        { id: 0, title: "请选择关注状态" },
447
+        { id: 0, title: "关注状态" },
448 448
         { id: 1, title: "重点关注" },
449 449
         { id: 2, title: "不关注" }
450 450
       ],
451 451
       enabled_list: [
452
-        { id: 0, title: "请选择启动状态" },
452
+        { id: 0, title: "启动状态" },
453 453
         { id: 1, title: "启用" },
454 454
         { id: 2, title: "禁用" }
455 455
       ],
456 456
       control_list: [
457
-        { id: 0, title: "请选择管控状态" },
457
+        { id: 0, title: "管控状态" },
458 458
         { id: 1, title: "管控中" },
459 459
         { id: 2, title: "解除管控" }
460 460
       ],
@@ -550,19 +550,16 @@ export default {
550 550
         {
551 551
           title: "姓名",
552 552
           key: "username",
553
-          align: "center",
554
-          width: 140
553
+          align: "center"
555 554
         },
556 555
         {
557 556
           title: "班级",
558 557
           key: "classname",
559
-          align: "center",
560
-          width: 140
558
+          align: "center"
561 559
         },
562 560
         {
563 561
           title: "状态",
564 562
           slot: "enabled",
565
-          width: 100,
566 563
           align: "center"
567 564
         },
568 565
         {

Loading…
Cancel
Save