Browse Source

Merge commit 'e73aaf4e552e993bcd745e0962f8d06689d3f683' into gzb

gzb
guozhongbo 8 months ago
parent
commit
a7c36952d9

+ 11
- 5
src/views/platformSection/networkManage/whitelistLibrary.vue View File

132
       title="查看"
132
       title="查看"
133
     >
133
     >
134
       <div class="view_title">
134
       <div class="view_title">
135
-        <div>{{ viewInfo.name }}</div>
135
+        {{ viewInfo.name }}
136
         <div v-if="viewInfo.wltype === 1" class="wltype_1">APP</div>
136
         <div v-if="viewInfo.wltype === 1" class="wltype_1">APP</div>
137
         <div v-if="viewInfo.wltype === 2" class="wltype_2">网址</div>
137
         <div v-if="viewInfo.wltype === 2" class="wltype_2">网址</div>
138
       </div>
138
       </div>
152
         <FormItem label="简介" style="margin-bottom: 0; width: 100%">{{
152
         <FormItem label="简介" style="margin-bottom: 0; width: 100%">{{
153
           viewInfo.comm
153
           viewInfo.comm
154
         }}</FormItem>
154
         }}</FormItem>
155
-        <FormItem label="网址" style="margin-bottom: 0; width: 100%">{{
156
-          viewInfo.whiteAddress
157
-        }}</FormItem>
155
+        <FormItem
156
+          label="网址"
157
+          style="margin-bottom: 0; width: 100%; word-break: break-all"
158
+          >{{ viewInfo.whiteAddress }}</FormItem
159
+        >
158
       </Form>
160
       </Form>
159
       <div slot="footer" style="text-align: center">
161
       <div slot="footer" style="text-align: center">
160
         <Button @click="viewInfo.show = false">关闭</Button>
162
         <Button @click="viewInfo.show = false">关闭</Button>
466
 .view_title {
468
 .view_title {
467
   display: flex;
469
   display: flex;
468
   justify-content: center;
470
   justify-content: center;
469
-  align-items: center;
471
+  align-items: flex-start;
470
   margin-bottom: 16px;
472
   margin-bottom: 16px;
471
   font-size: 18px;
473
   font-size: 18px;
472
   font-weight: bold;
474
   font-weight: bold;
473
   text-align: center;
475
   text-align: center;
474
   .wltype_1 {
476
   .wltype_1 {
477
+    margin-top: 2px;
475
     margin-left: 10px;
478
     margin-left: 10px;
476
     padding: 0 10px;
479
     padding: 0 10px;
477
     line-height: 20px;
480
     line-height: 20px;
479
     font-weight: normal;
482
     font-weight: normal;
480
     font-size: 12px;
483
     font-size: 12px;
481
     border-radius: 4px;
484
     border-radius: 4px;
485
+    white-space: nowrap;
482
     background: #7854f6;
486
     background: #7854f6;
483
   }
487
   }
484
   .wltype_2 {
488
   .wltype_2 {
489
+    margin-top: 2px;
485
     margin-left: 10px;
490
     margin-left: 10px;
486
     padding: 0 10px;
491
     padding: 0 10px;
487
     line-height: 20px;
492
     line-height: 20px;
489
     font-weight: normal;
494
     font-weight: normal;
490
     font-size: 12px;
495
     font-size: 12px;
491
     border-radius: 4px;
496
     border-radius: 4px;
497
+    white-space: nowrap;
492
     background: #52c41a;
498
     background: #52c41a;
493
   }
499
   }
494
 }
500
 }

+ 6
- 0
src/views/platformSection/regionManage/regionManage.vue View File

376
           key: "regionName",
376
           key: "regionName",
377
           align: "center"
377
           align: "center"
378
         },
378
         },
379
+        {
380
+          title: "区域码",
381
+          minWidth: 100,
382
+          key: "regionCode",
383
+          align: "center"
384
+        },
379
         {
385
         {
380
           title: "创建人",
386
           title: "创建人",
381
           key: "createname",
387
           key: "createname",

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

353
                 >
353
                 >
354
               </template>
354
               </template>
355
               <template slot-scope="{ row }" slot="violationHandling">
355
               <template slot-scope="{ row }" slot="violationHandling">
356
-                <Radio
357
-                  :disabled="true"
358
-                  :value="
359
-                    strategyInfo.padViolatesInfo &&
360
-                    strategyInfo.padViolatesInfo[row.violateType] &&
361
-                    strategyInfo.padViolatesInfo[
362
-                      row.violateType
363
-                    ].handleMethod.includes('锁定')
364
-                  "
365
-                  >锁定</Radio
366
-                >
367
-                <Radio
368
-                  :disabled="true"
356
+                <CheckboxGroup
369
                   :value="
357
                   :value="
370
                     strategyInfo.padViolatesInfo &&
358
                     strategyInfo.padViolatesInfo &&
371
                     strategyInfo.padViolatesInfo[row.violateType] &&
359
                     strategyInfo.padViolatesInfo[row.violateType] &&
372
-                    strategyInfo.padViolatesInfo[
373
-                      row.violateType
374
-                    ].handleMethod.includes('恢复出厂设置')
360
+                    strategyInfo.padViolatesInfo[row.violateType].handleMethod
375
                   "
361
                   "
376
-                  >恢复出厂设置</Radio
377
                 >
362
                 >
363
+                  <Checkbox :disabled="true" label="锁定"></Checkbox>
364
+                  <Checkbox :disabled="true" label="恢复出厂设置"></Checkbox>
365
+                </CheckboxGroup>
378
               </template>
366
               </template>
379
             </Table>
367
             </Table>
380
           </div>
368
           </div>

Loading…
Cancel
Save