Переглянути джерело

Merge commit 'e73aaf4e552e993bcd745e0962f8d06689d3f683' into gzb

gzb
guozhongbo 7 місяці тому
джерело
коміт
a7c36952d9

+ 11
- 5
src/views/platformSection/networkManage/whitelistLibrary.vue Переглянути файл

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

+ 6
- 0
src/views/platformSection/regionManage/regionManage.vue Переглянути файл

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

+ 5
- 17
src/views/schoolSection/deviceManage/deviceManage.vue Переглянути файл

@@ -353,28 +353,16 @@
353 353
                 >
354 354
               </template>
355 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 357
                   :value="
370 358
                     strategyInfo.padViolatesInfo &&
371 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 366
               </template>
379 367
             </Table>
380 368
           </div>

Завантаження…
Відмінити
Зберегти