Browse Source

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

# Conflicts:
#	src/views/platformSection/regionManage/regionManage.vue
gzb
wangzhonglu 8 months ago
parent
commit
eb79634542

+ 3
- 2
src/assets/less/common.less View File

376
   border-radius: 8px;
376
   border-radius: 8px;
377
 }
377
 }
378
 .main_root {
378
 .main_root {
379
-  margin: 0 16px 10px;
380
-  min-height: calc(100% - 10px);
379
+  //margin: 0 16px 10px;
380
+ height: calc(100% - 10px);
381
   border-radius: 15px;
381
   border-radius: 15px;
382
   border: 1px solid #e9f0f9;
382
   border: 1px solid #e9f0f9;
383
   background-color: #fff;
383
   background-color: #fff;
384
+  overflow: auto;
384
 }
385
 }
385
 // 表格
386
 // 表格
386
 .table_wrap_modal,
387
 .table_wrap_modal,

+ 7
- 0
src/utils/index.js View File

16
     callback();
16
     callback();
17
   }
17
   }
18
 };
18
 };
19
+export const codeCheck = (rule, value, callback) => {
20
+  if ((value && value.length !== 6) || !value) {
21
+    return callback(new Error("请输入6位区域码!"));
22
+  } else {
23
+    callback();
24
+  }
25
+};
19
 export const padDevices = [
26
 export const padDevices = [
20
   {
27
   {
21
     pdorder: 1,
28
     pdorder: 1,

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

237
     position: relative;
237
     position: relative;
238
     width: 100%;
238
     width: 100%;
239
     height: calc(100% - 80px);
239
     height: calc(100% - 80px);
240
-    overflow: auto;
240
+    //overflow: auto;
241
+    padding: 0 16px 10px;
241
   }
242
   }
242
 }
243
 }
243
 </style>
244
 </style>

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

429
             top: 32px;
429
             top: 32px;
430
             left: 0;
430
             left: 0;
431
             padding: 10px 0;
431
             padding: 10px 0;
432
-            min-width: 100px;
432
+            min-width: 110px;
433
             color: #253a70;
433
             color: #253a70;
434
             font-size: 14px;
434
             font-size: 14px;
435
             font-weight: normal;
435
             font-weight: normal;
438
             box-shadow: 0 8px 30px 0 #bcc9e380;
438
             box-shadow: 0 8px 30px 0 #bcc9e380;
439
             z-index: 999;
439
             z-index: 999;
440
             .drop_down_list_item {
440
             .drop_down_list_item {
441
-              margin: 0 6px;
441
+              margin: 0 10px;
442
               padding: 0 10px;
442
               padding: 0 10px;
443
               white-space: nowrap;
443
               white-space: nowrap;
444
               line-height: 35px;
444
               line-height: 35px;
488
     position: relative;
488
     position: relative;
489
     width: 100%;
489
     width: 100%;
490
     height: calc(100% - 80px);
490
     height: calc(100% - 80px);
491
-    overflow: auto;
491
+    //overflow: auto;
492
+    padding: 0 16px 10px;
492
   }
493
   }
493
 }
494
 }
494
 </style>
495
 </style>

+ 2
- 2
src/views/regionSection/regionManage/regionManage.vue View File

290
 </template>
290
 </template>
291
 
291
 
292
 <script>
292
 <script>
293
-import { generateRandomString, pwdCheck, reg } from "@/utils";
293
+import { codeCheck, generateRandomString, pwdCheck, reg } from "@/utils";
294
 import {
294
 import {
295
   region_list_admin,
295
   region_list_admin,
296
   region_delete,
296
   region_delete,
416
         regionCode: [
416
         regionCode: [
417
           {
417
           {
418
             required: true,
418
             required: true,
419
-            message: "请输入6位区域码",
419
+            validator: codeCheck,
420
             trigger: "blur"
420
             trigger: "blur"
421
           }
421
           }
422
         ],
422
         ],

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

85
         },
85
         },
86
         {
86
         {
87
           title: "学校设备总数",
87
           title: "学校设备总数",
88
-          key: "deviceModel",
88
+          key: "totalnum",
89
           width: 140,
89
           width: 140,
90
           align: "center"
90
           align: "center"
91
         }
91
         }

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

245
               <span>选择是时,设备上允许清除该应用对应的缓存。</span>
245
               <span>选择是时,设备上允许清除该应用对应的缓存。</span>
246
             </div>
246
             </div>
247
           </FormItem>
247
           </FormItem>
248
-          <FormItem label="默认授权" style="width: 100%">
248
+          <FormItem label="添加到已有策略" style="width: 100%">
249
             <div class="comm">
249
             <div class="comm">
250
               <RadioGroup v-model="wallpaperInfo.strategy">
250
               <RadioGroup v-model="wallpaperInfo.strategy">
251
                 <Radio :label="1">是</Radio>
251
                 <Radio :label="1">是</Radio>
252
                 <Radio :label="0">否</Radio>
252
                 <Radio :label="0">否</Radio>
253
               </RadioGroup>
253
               </RadioGroup>
254
-              <span>仅对新建策略生效;选择是时,新建策略默认授权该应用。</span>
254
+              <span>选择添加到已有策略,则当前应用会被添加到其授权的且不存在相同包名应用的学校策略。</span>
255
             </div>
255
             </div>
256
           </FormItem>
256
           </FormItem>
257
           <FormItem label="适配设备" style="width: 100%" class="require">
257
           <FormItem label="适配设备" style="width: 100%" class="require">

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

471
     position: relative;
471
     position: relative;
472
     width: 100%;
472
     width: 100%;
473
     height: calc(100% - 80px);
473
     height: calc(100% - 80px);
474
-    overflow: auto;
474
+    //overflow: auto;
475
+    padding: 0 16px 10px;
475
   }
476
   }
476
 }
477
 }
477
 </style>
478
 </style>

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

137
 
137
 
138
 <style lang="less" scoped>
138
 <style lang="less" scoped>
139
 .main_root {
139
 .main_root {
140
-  width: calc(100% - 32px);
141
-  height: calc(100% - 60px);
140
+  width: 100%;
141
+  height: 100%;
142
   background-color: transparent;
142
   background-color: transparent;
143
   border: none;
143
   border: none;
144
   display: flex;
144
   display: flex;

+ 2
- 2
src/views/schoolSection/userManage/userManage.vue View File

981
 
981
 
982
 <style lang="less" scoped>
982
 <style lang="less" scoped>
983
 .main_root {
983
 .main_root {
984
-  width: calc(100% - 32px);
985
-  height: calc(100% - 60px);
984
+  width: 100%;
985
+  height: 100%;
986
   background-color: transparent;
986
   background-color: transparent;
987
   border: none;
987
   border: none;
988
   display: flex;
988
   display: flex;

Loading…
Cancel
Save