Pārlūkot izejas kodu

禁止选中

gzb
wangzhonglu pirms 9 mēnešiem
vecāks
revīzija
0f5de64316

+ 3
- 3
src/api/setting.js Parādīt failu

@@ -62,15 +62,15 @@ export const password_delete = (data) => setRequest("password/delete", data);
62 62
 /**
63 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 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 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 75
  * 8.3.3 设备管理-获取
76 76
  */

+ 5
- 0
src/assets/less/common.less Parādīt failu

@@ -11,6 +11,11 @@ body,
11 11
   font-family: "Microsoft YaHei", "微软雅黑" !important;
12 12
   color: #253a70;
13 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 19
   user-select: none;
15 20
   background: #ffff;
16 21
   box-sizing: border-box;

+ 5
- 0
src/components/ImgPreview/ImgPreview.vue Parādīt failu

@@ -408,6 +408,11 @@ export default {
408 408
   bottom: 0;
409 409
   left: 0;
410 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 416
   user-select: none;
412 417
   overflow: hidden;
413 418
   .image_preview {

+ 54
- 54
src/views/schoolSection/setting/deviceSetting.vue Parādīt failu

@@ -36,11 +36,11 @@
36 36
       <div class="require">
37 37
         限制使用时长后,客户端使用时间到了设备提醒休息,默认允许使用30分钟,这里你可以自行设置(可设置范围20~120分钟)。
38 38
       </div>
39
-      <div class="require">
39
+      <!-- <div class="require">
40 40
         限制安装来源功能开启后,只允许安装<span style="color: #339dff"
41 41
           >云鸽</span
42 42
         >商店内的应用(该功能仅对华为设备生效)。
43
-      </div>
43
+      </div> -->
44 44
     </div>
45 45
     <div class="form_box" v-if="menuInfo.selected === 1">
46 46
       <Form :label-width="80">
@@ -240,9 +240,9 @@ import {
240 240
   password_detail,
241 241
   password_edit,
242 242
   password_delete,
243
-  deviceSet_detail,
244
-  deviceSet_edit,
245
-  deviceSet_delete
243
+  schoolSet_detail,
244
+  schoolSet_edit,
245
+  schoolSet_delete
246 246
 } from "@/api/setting";
247 247
 export default {
248 248
   data() {
@@ -258,31 +258,31 @@ export default {
258 258
         setDetail: {
259 259
           dsid: null,
260 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 283
           remindDuration: 1,
284 284
           duration: 30
285
-          // otg: 1
285
+          // otg: 0
286 286
         }
287 287
       }
288 288
     };
@@ -326,7 +326,7 @@ export default {
326 326
         if (!this.menuInfo.setDetail.dsid) {
327 327
           return;
328 328
         }
329
-        deviceSet_delete({
329
+        schoolSet_delete({
330 330
           rtype: this.powerParams.rtype,
331 331
           objectid: this.powerParams.objectid,
332 332
           dsid: this.menuInfo.setDetail.dsid,
@@ -364,7 +364,7 @@ export default {
364 364
       });
365 365
     },
366 366
     getSetDetail() {
367
-      deviceSet_detail({
367
+      schoolSet_detail({
368 368
         rtype: this.powerParams.rtype,
369 369
         objectid: this.powerParams.objectid,
370 370
         schoolid: this.powerParams.objectid
@@ -376,31 +376,31 @@ export default {
376 376
             this.menuInfo.setDetail = {
377 377
               dsid: null,
378 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 401
               remindDuration: 1,
402 402
               duration: 30
403
-              // otg: 1
403
+              // otg: 0
404 404
             };
405 405
           }
406 406
         } else {
@@ -445,7 +445,7 @@ export default {
445 445
       });
446 446
     },
447 447
     saveSetDetail() {
448
-      deviceSet_edit({
448
+      schoolSet_edit({
449 449
         rtype: this.powerParams.rtype,
450 450
         objectid: this.powerParams.objectid,
451 451
         schoolid: this.powerParams.objectid,

Notiek ielāde…
Atcelt
Saglabāt