Browse Source

公告查看;设备号统一名称

gzb
wangzhonglu 9 months ago
parent
commit
b7531a0160

+ 11
- 0
src/assets/less/common.less View File

@@ -447,3 +447,14 @@ fieldset[disabled] .ivu-input,
447 447
     font-size: 16px;
448 448
   }
449 449
 }
450
+// 查看通知内容
451
+.notice_content {
452
+  font-size: 16px;
453
+  word-break: break-all;
454
+  img {
455
+    max-width: 100%;
456
+    &.cke_reset.cke_widget_drag_handler {
457
+      display: none;
458
+    }
459
+  }
460
+}

+ 5
- 5
src/views/platformSection/deviceImport/detail.vue View File

@@ -26,7 +26,7 @@
26 26
         </Select>
27 27
         <Input
28 28
           v-model="searchForm.sn"
29
-          placeholder="请输入序列号模糊搜索"
29
+          placeholder="请输入设备号模糊搜索"
30 30
           search
31 31
           @on-search="searchList()"
32 32
           style="width: 200px"
@@ -102,8 +102,8 @@
102 102
             >
103 103
           </Select>
104 104
         </FormItem>
105
-        <FormItem label="SN序列号" prop="sn">
106
-          <Input v-model="addInfo.sn" placeholder="请输入SN序列号"></Input>
105
+        <FormItem label="设备号" prop="sn">
106
+          <Input v-model="addInfo.sn" placeholder="请输入设备号"></Input>
107 107
         </FormItem>
108 108
         <FormItem v-if="addInfo.daid" label="所属状态" prop="snState">
109 109
           <RadioGroup v-model="addInfo.snState">
@@ -146,7 +146,7 @@ export default {
146 146
         sn: [
147 147
           {
148 148
             required: true,
149
-            message: "请输入SN序列号",
149
+            message: "请输入设备号",
150 150
             trigger: "change"
151 151
           }
152 152
         ],
@@ -204,7 +204,7 @@ export default {
204 204
           align: "center"
205 205
         },
206 206
         {
207
-          title: "SN",
207
+          title: "设备号",
208 208
           key: "sn",
209 209
           align: "center"
210 210
         },

+ 9
- 5
src/views/platformSection/notice/notice.vue View File

@@ -118,8 +118,15 @@
118 118
         <div>{{ viewInfo.createname }}</div>
119 119
         <div>{{ viewInfo.updatetime }}</div>
120 120
       </div>
121
-      <div class="notice_content" v-html="viewInfo.noticeContent"></div>
122
-      <div v-if="viewInfo.noticeType === 2" class="notice_regions">
121
+      <div
122
+        class="notice_content"
123
+        v-if="viewInfo.show"
124
+        v-html="viewInfo.noticeContent"
125
+      ></div>
126
+      <div
127
+        v-if="viewInfo.show && viewInfo.noticeType === 2"
128
+        class="notice_regions"
129
+      >
123 130
         <div v-for="regionItem in viewInfo.regions" :key="regionItem.regionid">
124 131
           {{ regionItem.regionName }}
125 132
         </div>
@@ -487,9 +494,6 @@ export default {
487 494
     margin: 0 10px;
488 495
   }
489 496
 }
490
-.notice_content {
491
-  font-size: 16px;
492
-}
493 497
 .notice_regions {
494 498
   display: flex;
495 499
   justify-content: flex-start;

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

@@ -972,7 +972,7 @@ export default {
972 972
         objectid: this.powerParams.objectid,
973 973
         appid: row.appid
974 974
       }).then((res) => {
975
-        this.showLoading = true;
975
+        this.showLoading = false;
976 976
         if (res.code === 0) {
977 977
           this.viewInfo = {
978 978
             show: true,
@@ -1033,7 +1033,7 @@ export default {
1033 1033
         appid: row.appid,
1034 1034
         rversion: row.rversion
1035 1035
       }).then((data) => {
1036
-        this.showLoading = true;
1036
+        this.showLoading = false;
1037 1037
         this.searchList();
1038 1038
         if (data.code === 0) {
1039 1039
           this.$Message.success(data.msg);

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

@@ -225,7 +225,7 @@ export default {
225 225
           align: "center"
226 226
         },
227 227
         {
228
-          title: "SN",
228
+          title: "设备号",
229 229
           key: "sn",
230 230
           align: "center"
231 231
         },

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

@@ -404,7 +404,7 @@
404 404
         <div class="detail_left">
405 405
           <table class="my_table">
406 406
             <tr>
407
-              <th style="width: 110px">SN/IMEI</th>
407
+              <th style="width: 110px">设备号</th>
408 408
               <td>{{ deviceDetailInfo.detail.sn }}</td>
409 409
             </tr>
410 410
             <tr>
@@ -666,7 +666,7 @@ export default {
666 666
           align: "center"
667 667
         },
668 668
         {
669
-          title: "SN",
669
+          title: "设备号",
670 670
           key: "sn",
671 671
           align: "center"
672 672
         },
@@ -1067,7 +1067,7 @@ export default {
1067 1067
                         ? "离线"
1068 1068
                         : "",
1069 1069
                     设备型号: item.deviceModel,
1070
-                    SN: item.sn,
1070
+                    设备号: item.sn,
1071 1071
                     Rom版本: item.romVersion,
1072 1072
                     更新时间: item.updatetime
1073 1073
                   };

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

@@ -114,7 +114,7 @@ export default {
114 114
           align: "center"
115 115
         },
116 116
         {
117
-          title: "SN",
117
+          title: "设备号",
118 118
           key: "sn",
119 119
           align: "center"
120 120
         },

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

@@ -116,7 +116,7 @@ export default {
116 116
           align: "center"
117 117
         },
118 118
         {
119
-          title: "SN",
119
+          title: "设备号",
120 120
           key: "sn",
121 121
           align: "center"
122 122
         },

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

@@ -91,7 +91,7 @@ export default {
91 91
           align: "center"
92 92
         },
93 93
         {
94
-          title: "SN",
94
+          title: "设备号",
95 95
           key: "sn",
96 96
           align: "center"
97 97
         },

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

@@ -47,7 +47,7 @@
47 47
 <script>
48 48
 import { dateFormat } from "@/utils";
49 49
 import { exportToExcel } from "@/utils/exportToExcel";
50
-import {logDeviceLogin_list, logDeviceLogin_list_all} from "@/api/log";
50
+import { logDeviceLogin_list, logDeviceLogin_list_all } from "@/api/log";
51 51
 export default {
52 52
   data() {
53 53
     return {

+ 5
- 4
src/views/schoolSection/notice/notice.vue View File

@@ -56,7 +56,11 @@
56 56
         <div>{{ viewInfo.createname }}</div>
57 57
         <div>{{ viewInfo.updatetime }}</div>
58 58
       </div>
59
-      <div class="notice_content" v-html="viewInfo.noticeContent"></div>
59
+      <div
60
+        v-if="viewInfo.show"
61
+        class="notice_content"
62
+        v-html="viewInfo.noticeContent"
63
+      ></div>
60 64
       <div slot="footer" style="text-align: center">
61 65
         <Button @click="viewInfo.show = false">关闭</Button>
62 66
       </div>
@@ -231,9 +235,6 @@ export default {
231 235
     margin: 0 10px;
232 236
   }
233 237
 }
234
-.notice_content {
235
-  font-size: 16px;
236
-}
237 238
 .notice_regions {
238 239
   display: flex;
239 240
   justify-content: flex-start;

Loading…
Cancel
Save