Browse Source

学校设备设置管理

gzb
wangzhonglu 9 months ago
parent
commit
10c2409508
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      src/views/schoolSection/setting/deviceSetting.vue

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

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

Loading…
Cancel
Save