Browse Source

禁止选中

gzb
wangzhonglu 9 months ago
parent
commit
0f5de64316

+ 3
- 3
src/api/setting.js View File

62
 /**
62
 /**
63
  * 8.3.2.1 设备设置管理-详情
63
  * 8.3.2.1 设备设置管理-详情
64
  */
64
  */
65
-export const deviceSet_detail = (data) => setRequest("deviceSet/detail", data);
65
+export const schoolSet_detail = (data) => setRequest("schoolSet/detail", data);
66
 /**
66
 /**
67
  * 8.3.2.2 设备设置管理-保存
67
  * 8.3.2.2 设备设置管理-保存
68
  */
68
  */
69
-export const deviceSet_edit = (data) => setRequest("deviceSet/edit", data);
69
+export const schoolSet_edit = (data) => setRequest("schoolSet/edit", data);
70
 /**
70
 /**
71
  * 8.3.2.3 设备设置管理-重置
71
  * 8.3.2.3 设备设置管理-重置
72
  */
72
  */
73
-export const deviceSet_delete = (data) => setRequest("deviceSet/delete", data);
73
+export const schoolSet_delete = (data) => setRequest("schoolSet/delete", data);
74
 /**
74
 /**
75
  * 8.3.3 设备管理-获取
75
  * 8.3.3 设备管理-获取
76
  */
76
  */

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

11
   font-family: "Microsoft YaHei", "微软雅黑" !important;
11
   font-family: "Microsoft YaHei", "微软雅黑" !important;
12
   color: #253a70;
12
   color: #253a70;
13
   font-size: 14px;
13
   font-size: 14px;
14
+  -webkit-touch-callout: none;
15
+  -webkit-user-select: none;
16
+  -khtml-user-select: none;
17
+  -moz-user-select: none;
18
+  -ms-user-select: none;
14
   user-select: none;
19
   user-select: none;
15
   background: #ffff;
20
   background: #ffff;
16
   box-sizing: border-box;
21
   box-sizing: border-box;

+ 5
- 0
src/components/ImgPreview/ImgPreview.vue View File

408
   bottom: 0;
408
   bottom: 0;
409
   left: 0;
409
   left: 0;
410
   z-index: 9999;
410
   z-index: 9999;
411
+  -webkit-touch-callout: none;
412
+  -webkit-user-select: none;
413
+  -khtml-user-select: none;
414
+  -moz-user-select: none;
415
+  -ms-user-select: none;
411
   user-select: none;
416
   user-select: none;
412
   overflow: hidden;
417
   overflow: hidden;
413
   .image_preview {
418
   .image_preview {

+ 54
- 54
src/views/schoolSection/setting/deviceSetting.vue View File

36
       <div class="require">
36
       <div class="require">
37
         限制使用时长后,客户端使用时间到了设备提醒休息,默认允许使用30分钟,这里你可以自行设置(可设置范围20~120分钟)。
37
         限制使用时长后,客户端使用时间到了设备提醒休息,默认允许使用30分钟,这里你可以自行设置(可设置范围20~120分钟)。
38
       </div>
38
       </div>
39
-      <div class="require">
39
+      <!-- <div class="require">
40
         限制安装来源功能开启后,只允许安装<span style="color: #339dff"
40
         限制安装来源功能开启后,只允许安装<span style="color: #339dff"
41
           >云鸽</span
41
           >云鸽</span
42
         >商店内的应用(该功能仅对华为设备生效)。
42
         >商店内的应用(该功能仅对华为设备生效)。
43
-      </div>
43
+      </div> -->
44
     </div>
44
     </div>
45
     <div class="form_box" v-if="menuInfo.selected === 1">
45
     <div class="form_box" v-if="menuInfo.selected === 1">
46
       <Form :label-width="80">
46
       <Form :label-width="80">
240
   password_detail,
240
   password_detail,
241
   password_edit,
241
   password_edit,
242
   password_delete,
242
   password_delete,
243
-  deviceSet_detail,
244
-  deviceSet_edit,
245
-  deviceSet_delete
243
+  schoolSet_detail,
244
+  schoolSet_edit,
245
+  schoolSet_delete
246
 } from "@/api/setting";
246
 } from "@/api/setting";
247
 export default {
247
 export default {
248
   data() {
248
   data() {
258
         setDetail: {
258
         setDetail: {
259
           dsid: null,
259
           dsid: null,
260
           rversion: null,
260
           rversion: null,
261
-          forceBind: 1,
262
-          // sdcard: 1,
263
-          simcard: 1,
264
-          // dataFlow: 1,
265
-          logout: 1,
266
-          cleanup: 1,
267
-          accelerate: 1,
268
-          // gesturePwd: 1,
269
-          // wifiAdvanced: 1,
270
-          screenshots: 1,
271
-          // clientAdmin: 1,
272
-          rotateSetting: 1,
273
-          gallery: 1,
274
-          camera: 1,
275
-          alarmClock: 1,
276
-          calendar: 1,
277
-          protectedEyes: 1,
278
-          // installStore: 1,
279
-          changePwd: 1,
280
-          schoolClass: 1,
281
-          // gps: 1,
282
-          // privacyStatement: 1,
261
+          forceBind: 0,
262
+          // sdcard: 0,
263
+          simcard: 0,
264
+          // dataFlow: 0,
265
+          logout: 0,
266
+          cleanup: 0,
267
+          accelerate: 0,
268
+          // gesturePwd: 0,
269
+          // wifiAdvanced: 0,
270
+          screenshots: 0,
271
+          // clientAdmin: 0,
272
+          rotateSetting: 0,
273
+          gallery: 0,
274
+          camera: 0,
275
+          alarmClock: 0,
276
+          calendar: 0,
277
+          protectedEyes: 0,
278
+          // installStore: 0,
279
+          changePwd: 0,
280
+          schoolClass: 0,
281
+          // gps: 0,
282
+          // privacyStatement: 0,
283
           remindDuration: 1,
283
           remindDuration: 1,
284
           duration: 30
284
           duration: 30
285
-          // otg: 1
285
+          // otg: 0
286
         }
286
         }
287
       }
287
       }
288
     };
288
     };
326
         if (!this.menuInfo.setDetail.dsid) {
326
         if (!this.menuInfo.setDetail.dsid) {
327
           return;
327
           return;
328
         }
328
         }
329
-        deviceSet_delete({
329
+        schoolSet_delete({
330
           rtype: this.powerParams.rtype,
330
           rtype: this.powerParams.rtype,
331
           objectid: this.powerParams.objectid,
331
           objectid: this.powerParams.objectid,
332
           dsid: this.menuInfo.setDetail.dsid,
332
           dsid: this.menuInfo.setDetail.dsid,
364
       });
364
       });
365
     },
365
     },
366
     getSetDetail() {
366
     getSetDetail() {
367
-      deviceSet_detail({
367
+      schoolSet_detail({
368
         rtype: this.powerParams.rtype,
368
         rtype: this.powerParams.rtype,
369
         objectid: this.powerParams.objectid,
369
         objectid: this.powerParams.objectid,
370
         schoolid: this.powerParams.objectid
370
         schoolid: this.powerParams.objectid
376
             this.menuInfo.setDetail = {
376
             this.menuInfo.setDetail = {
377
               dsid: null,
377
               dsid: null,
378
               rversion: null,
378
               rversion: null,
379
-              forceBind: 1,
380
-              // sdcard: 1,
381
-              simcard: 1,
382
-              // dataFlow: 1,
383
-              logout: 1,
384
-              cleanup: 1,
385
-              accelerate: 1,
386
-              // gesturePwd: 1,
387
-              // wifiAdvanced: 1,
388
-              screenshots: 1,
389
-              // clientAdmin: 1,
390
-              rotateSetting: 1,
391
-              gallery: 1,
392
-              camera: 1,
393
-              alarmClock: 1,
394
-              calendar: 1,
395
-              protectedEyes: 1,
396
-              // installStore: 1,
397
-              changePwd: 1,
398
-              schoolClass: 1,
399
-              // gps: 1,
400
-              // privacyStatement: 1,
379
+              forceBind: 0,
380
+              // sdcard: 0,
381
+              simcard: 0,
382
+              // dataFlow: 0,
383
+              logout: 0,
384
+              cleanup: 0,
385
+              accelerate: 0,
386
+              // gesturePwd: 0,
387
+              // wifiAdvanced: 0,
388
+              screenshots: 0,
389
+              // clientAdmin: 0,
390
+              rotateSetting: 0,
391
+              gallery: 0,
392
+              camera: 0,
393
+              alarmClock: 0,
394
+              calendar: 0,
395
+              protectedEyes: 0,
396
+              // installStore: 0,
397
+              changePwd: 0,
398
+              schoolClass: 0,
399
+              // gps: 0,
400
+              // privacyStatement: 0,
401
               remindDuration: 1,
401
               remindDuration: 1,
402
               duration: 30
402
               duration: 30
403
-              // otg: 1
403
+              // otg: 0
404
             };
404
             };
405
           }
405
           }
406
         } else {
406
         } else {
445
       });
445
       });
446
     },
446
     },
447
     saveSetDetail() {
447
     saveSetDetail() {
448
-      deviceSet_edit({
448
+      schoolSet_edit({
449
         rtype: this.powerParams.rtype,
449
         rtype: this.powerParams.rtype,
450
         objectid: this.powerParams.objectid,
450
         objectid: this.powerParams.objectid,
451
         schoolid: this.powerParams.objectid,
451
         schoolid: this.powerParams.objectid,

Loading…
Cancel
Save