Ver código fonte

学校设备设置管理

gzb
wangzhonglu 9 meses atrás
pai
commit
10c2409508
1 arquivos alterados com 6 adições e 6 exclusões
  1. 6
    6
      src/views/schoolSection/setting/deviceSetting.vue

+ 6
- 6
src/views/schoolSection/setting/deviceSetting.vue Ver arquivo

@@ -222,7 +222,7 @@
222 222
       <Button
223 223
         :disabled="
224 224
           (menuInfo.selected === 1 && !menuInfo.pswDetail.pwid) ||
225
-          (menuInfo.selected === 2 && !menuInfo.setDetail.dsid)
225
+          (menuInfo.selected === 2 && !menuInfo.setDetail.ssid)
226 226
         "
227 227
         style="margin-right: 20px"
228 228
         @click="resetDetail()"
@@ -256,7 +256,7 @@ export default {
256 256
           password: null
257 257
         },
258 258
         setDetail: {
259
-          dsid: null,
259
+          ssid: null,
260 260
           rversion: null,
261 261
           forceBind: 0,
262 262
           // sdcard: 0,
@@ -323,13 +323,13 @@ export default {
323 323
           }
324 324
         });
325 325
       } else if (this.menuInfo.selected === 2) {
326
-        if (!this.menuInfo.setDetail.dsid) {
326
+        if (!this.menuInfo.setDetail.ssid) {
327 327
           return;
328 328
         }
329 329
         schoolSet_delete({
330 330
           rtype: this.powerParams.rtype,
331 331
           objectid: this.powerParams.objectid,
332
-          dsid: this.menuInfo.setDetail.dsid,
332
+          ssid: this.menuInfo.setDetail.ssid,
333 333
           rversion: this.menuInfo.setDetail.rversion
334 334
         }).then((data) => {
335 335
           if (data.code === 0) {
@@ -374,7 +374,7 @@ export default {
374 374
             this.menuInfo.setDetail = data.obj;
375 375
           } else {
376 376
             this.menuInfo.setDetail = {
377
-              dsid: null,
377
+              ssid: null,
378 378
               rversion: null,
379 379
               forceBind: 0,
380 380
               // sdcard: 0,
@@ -449,7 +449,7 @@ export default {
449 449
         rtype: this.powerParams.rtype,
450 450
         objectid: this.powerParams.objectid,
451 451
         schoolid: this.powerParams.objectid,
452
-        dsid: this.menuInfo.setDetail.dsid,
452
+        ssid: this.menuInfo.setDetail.ssid,
453 453
         rversion: this.menuInfo.setDetail.rversion,
454 454
         forceBind: this.menuInfo.setDetail.forceBind,
455 455
         // sdcard: this.menuInfo.setDetail.sdcard,

Carregando…
Cancelar
Salvar