|
@@ -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,
|