瀏覽代碼

样式优化;设备管理-违规设备-违规详情根据处理状态搜索

gzb
wangzhonglu 8 月之前
父節點
當前提交
310830f9e7

+ 2
- 2
src/utils/index.js 查看文件

@@ -728,8 +728,8 @@ export const breakRuleDoEvent = {
728 728
   105: "插入SD卡",
729 729
   106: "拔出SD卡",
730 730
   111: "设备ROOT",
731
-  211: "安装应用",
732
-  212: "卸载应用"
731
+  211: "安装非应用商店应用",
732
+  212: "卸载强制安装应用"
733 733
 };
734 734
 /**
735 735
  * 所有设备推送类型

+ 6
- 2
src/views/platformSection/networkManage/whitelistLibrary.vue 查看文件

@@ -86,7 +86,11 @@
86 86
               placeholder="请输入版本名称"
87 87
             ></Input>
88 88
           </FormItem>
89
-          <FormItem label="包名" prop="website" style="width: calc(50% - 10px)">
89
+          <FormItem
90
+            label="包名"
91
+            prop="website"
92
+            style="margin-right: 0; width: 50%"
93
+          >
90 94
             <Input
91 95
               v-model="whiteLibraryInfo.website"
92 96
               placeholder="请输入包名"
@@ -138,7 +142,7 @@
138 142
           >
139 143
           <FormItem
140 144
             label="包名"
141
-            style="margin-bottom: 0; width: calc(50% - 10px)"
145
+            style="margin-bottom: 0; margin-right: 0; width: 50%"
142 146
             >{{ viewInfo.website }}</FormItem
143 147
           >
144 148
         </template>

+ 3
- 4
src/views/regionSection/log/violatingDevice.vue 查看文件

@@ -42,7 +42,7 @@
42 42
     <div class="table_wrap">
43 43
       <Table :columns="columns" :data="searchForm.list">
44 44
         <template slot-scope="{ row }" slot="doEventSlot">
45
-          <div>{{ doEventInfo[row.doEvent] }}</div>
45
+          <div>{{ breakRuleDoEvent[row.doEvent] }}</div>
46 46
         </template>
47 47
         <template slot-scope="{ row }" slot="noticedSlot">
48 48
           <div class="action_list">
@@ -102,7 +102,7 @@
102 102
 </template>
103 103
 
104 104
 <script>
105
-import { dateFormat, doEventInfo, breakRuleDoEvent } from "@/utils";
105
+import { dateFormat, breakRuleDoEvent } from "@/utils";
106 106
 import {
107 107
   logdoperate_list_violate,
108 108
   logdoperate_list_violate_all
@@ -112,7 +112,6 @@ export default {
112 112
   data() {
113 113
     return {
114 114
       showLoading: false,
115
-      doEventInfo,
116 115
       breakRuleDoEvent,
117 116
       searchForm: {
118 117
         dataRange: [],
@@ -284,7 +283,7 @@ export default {
284 283
                     登录名: item.loginname,
285 284
                     姓名: item.username,
286 285
                     设备号: item.sn,
287
-                    事件: this.doEventInfo[item.doEvent],
286
+                    事件: this.breakRuleDoEvent[item.doEvent],
288 287
                     通知: item.noticed === 1 ? "是" : "否",
289 288
                     锁定: item.locked === 1 ? "是" : "否",
290 289
                     重置: item.reseted === 1 ? "是" : "否",

+ 2
- 2
src/views/schoolSection/applicationStrategy/appStrategyManageEdit.vue 查看文件

@@ -340,7 +340,7 @@ export default {
340 340
   justify-content: space-between;
341 341
   margin: 16px 16px 0;
342 342
   .add_strategy_left {
343
-    width: calc(50% - 20px);
343
+    width: calc(55% - 20px);
344 344
     .name_form {
345 345
       display: flex;
346 346
       justify-content: flex-start;
@@ -378,7 +378,7 @@ export default {
378 378
     }
379 379
   }
380 380
   .add_strategy_right {
381
-    width: 50%;
381
+    width: 45%;
382 382
     // max-height: 400px;
383 383
     overflow: auto;
384 384
     .optional_applications {

+ 2
- 2
src/views/schoolSection/applicationStrategy/appStrategyTemplateAdd.vue 查看文件

@@ -318,7 +318,7 @@ export default {
318 318
   justify-content: space-between;
319 319
   margin: 16px 16px 0;
320 320
   .add_strategy_left {
321
-    width: calc(50% - 20px);
321
+    width: calc(55% - 20px);
322 322
     .name_form {
323 323
       display: flex;
324 324
       justify-content: flex-start;
@@ -356,7 +356,7 @@ export default {
356 356
     }
357 357
   }
358 358
   .add_strategy_right {
359
-    width: 50%;
359
+    width: 45%;
360 360
     // max-height: 400px;
361 361
     overflow: auto;
362 362
     .optional_applications {

+ 2
- 2
src/views/schoolSection/applicationStrategy/appStrategyTemplateEdit.vue 查看文件

@@ -341,7 +341,7 @@ export default {
341 341
   justify-content: space-between;
342 342
   margin: 16px 16px 0;
343 343
   .add_strategy_left {
344
-    width: calc(50% - 20px);
344
+    width: calc(55% - 20px);
345 345
     .name_form {
346 346
       display: flex;
347 347
       justify-content: flex-start;
@@ -379,7 +379,7 @@ export default {
379 379
     }
380 380
   }
381 381
   .add_strategy_right {
382
-    width: 50%;
382
+    width: 45%;
383 383
     // max-height: 400px;
384 384
     overflow: auto;
385 385
     .optional_applications {

+ 5
- 4
src/views/schoolSection/deviceManage/breakRuleDevice.vue 查看文件

@@ -128,7 +128,7 @@
128 128
       <div class="table_wrap_modal">
129 129
         <Table :columns="detailColumns" :data="logDetailInfo.events">
130 130
           <template slot-scope="{ row }" slot="doEventSlot">
131
-            <div>{{ doEventInfo[row.doEvent] }}</div>
131
+            <div>{{ breakRuleDoEvent[row.doEvent] }}</div>
132 132
           </template>
133 133
         </Table>
134 134
       </div>
@@ -140,7 +140,7 @@
140 140
 </template>
141 141
 
142 142
 <script>
143
-import { doEventInfo } from "@/utils";
143
+import { breakRuleDoEvent } from "@/utils";
144 144
 import ControlWs from "@/utils/ControlWs";
145 145
 let controlWs = new ControlWs();
146 146
 import ControlWSMsg from "@/utils/ControlWSMsg";
@@ -152,7 +152,7 @@ import {
152 152
 export default {
153 153
   data() {
154 154
     return {
155
-      doEventInfo,
155
+      breakRuleDoEvent,
156 156
       userInfo: {},
157 157
       // ws连接后回发信息
158 158
       wsEnterInfo: {
@@ -163,7 +163,7 @@ export default {
163 163
       },
164 164
       searchForm: {
165 165
         name: "",
166
-        // 是否处理:0否 1是
166
+        // 是否处理:0否 1是 -1全部
167 167
         handled: 0,
168 168
         page: 1,
169 169
         size: 10,
@@ -393,6 +393,7 @@ export default {
393 393
       device_manager_detail_vd({
394 394
         rtype: this.powerParams.rtype,
395 395
         objectid: this.powerParams.objectid,
396
+        handled: this.searchForm.handled,
396 397
         size: 20,
397 398
         name: row.sn
398 399
       }).then((data) => {

+ 3
- 4
src/views/schoolSection/log/violatingDevice.vue 查看文件

@@ -42,7 +42,7 @@
42 42
     <div class="table_wrap">
43 43
       <Table :columns="columns" :data="searchForm.list">
44 44
         <template slot-scope="{ row }" slot="doEventSlot">
45
-          <div>{{ doEventInfo[row.doEvent] }}</div>
45
+          <div>{{ breakRuleDoEvent[row.doEvent] }}</div>
46 46
         </template>
47 47
         <template slot-scope="{ row }" slot="noticedSlot">
48 48
           <div class="action_list">
@@ -98,7 +98,7 @@
98 98
 </template>
99 99
 
100 100
 <script>
101
-import { dateFormat, doEventInfo, breakRuleDoEvent } from "@/utils";
101
+import { dateFormat, breakRuleDoEvent } from "@/utils";
102 102
 import { exportToExcel } from "@/utils/exportToExcel";
103 103
 import {
104 104
   logdoperate_list_violate,
@@ -107,7 +107,6 @@ import {
107 107
 export default {
108 108
   data() {
109 109
     return {
110
-      doEventInfo,
111 110
       breakRuleDoEvent,
112 111
       searchForm: {
113 112
         dataRange: [],
@@ -290,7 +289,7 @@ export default {
290 289
                     登录名: item.loginname,
291 290
                     姓名: item.username,
292 291
                     设备号: item.sn,
293
-                    事件: this.doEventInfo[item.doEvent],
292
+                    事件: this.breakRuleDoEvent[item.doEvent],
294 293
                     通知: item.noticed === 1 ? "是" : "否",
295 294
                     锁定: item.locked === 1 ? "是" : "否",
296 295
                     重置: item.reseted === 1 ? "是" : "否",

Loading…
取消
儲存