|
@@ -115,7 +115,7 @@
|
115
|
115
|
<div v-if="row.sn" @click="toView(row)">查看</div>
|
116
|
116
|
<div @click="toStrategy(row)">策略</div>
|
117
|
117
|
<div v-if="row.sn" @click="toPsw(row)">设备密码</div>
|
118
|
|
- <div v-if="row.sn" @click="toUnbind(row)">解除绑定</div>
|
|
118
|
+ <div v-if="row.sn" @click="toRemoveLimit(row)">解除锁定</div>
|
119
|
119
|
</div>
|
120
|
120
|
</template>
|
121
|
121
|
</Table>
|
|
@@ -176,7 +176,7 @@
|
176
|
176
|
class="modal4"
|
177
|
177
|
:mask-closable="false"
|
178
|
178
|
v-model="devicePswInfo.show"
|
179
|
|
- title="设备密码"
|
|
179
|
+ :title="devicePswInfo.username"
|
180
|
180
|
>
|
181
|
181
|
<div class="device_psw">
|
182
|
182
|
<div class="device_psw_title">设备密码</div>
|
|
@@ -626,6 +626,7 @@ export default {
|
626
|
626
|
},
|
627
|
627
|
devicePswInfo: {
|
628
|
628
|
show: false,
|
|
629
|
+ username: null,
|
629
|
630
|
controlPwd: null,
|
630
|
631
|
logoutPwd: null
|
631
|
632
|
},
|
|
@@ -1250,6 +1251,7 @@ export default {
|
1250
|
1251
|
if (data.code === 0) {
|
1251
|
1252
|
this.devicePswInfo = {
|
1252
|
1253
|
show: true,
|
|
1254
|
+ username: row.username,
|
1253
|
1255
|
controlPwd: data.obj.controlPwd,
|
1254
|
1256
|
logoutPwd: data.obj.logoutPwd
|
1255
|
1257
|
};
|
|
@@ -1259,12 +1261,12 @@ export default {
|
1259
|
1261
|
});
|
1260
|
1262
|
},
|
1261
|
1263
|
// 解除绑定
|
1262
|
|
- toUnbind(row) {
|
|
1264
|
+ toRemoveLimit(row) {
|
1263
|
1265
|
this.$Modal.confirm({
|
1264
|
1266
|
title: "提示",
|
1265
|
|
- content: "确定对所选设备进行解除绑定操作吗?",
|
|
1267
|
+ content: "确定要解除锁定吗?",
|
1266
|
1268
|
onOk: () => {
|
1267
|
|
- this.controlRemoveBind([row.sn], [row.userid]);
|
|
1269
|
+ this.controlRemoveLimit([row.sn], [row.userid]);
|
1268
|
1270
|
},
|
1269
|
1271
|
onCancel: () => {}
|
1270
|
1272
|
});
|
|
@@ -1323,7 +1325,7 @@ export default {
|
1323
|
1325
|
}
|
1324
|
1326
|
this.$Modal.confirm({
|
1325
|
1327
|
title: "提示",
|
1326
|
|
- content: "确定对所选设备进行恢复出厂设置操作吗?",
|
|
1328
|
+ content: "确定要恢复出厂设置吗?",
|
1327
|
1329
|
onOk: () => {
|
1328
|
1330
|
this.controlRestoreFactory(snList, useridList);
|
1329
|
1331
|
},
|
|
@@ -1373,7 +1375,7 @@ export default {
|
1373
|
1375
|
}
|
1374
|
1376
|
this.$Modal.confirm({
|
1375
|
1377
|
title: "提示",
|
1376
|
|
- content: "确定对所选设备进行解除锁定操作吗?",
|
|
1378
|
+ content: "确定要解除锁定吗?",
|
1377
|
1379
|
onOk: () => {
|
1378
|
1380
|
this.controlRemoveLimit(snList, useridList);
|
1379
|
1381
|
},
|
|
@@ -1387,7 +1389,7 @@ export default {
|
1387
|
1389
|
}
|
1388
|
1390
|
this.$Modal.confirm({
|
1389
|
1391
|
title: "提示",
|
1390
|
|
- content: "确定对所选设备进行锁定操作吗?",
|
|
1392
|
+ content: "确定要锁定吗?",
|
1391
|
1393
|
onOk: () => {
|
1392
|
1394
|
this.controlLimitedUse(snList, useridList);
|
1393
|
1395
|
},
|
|
@@ -1401,7 +1403,7 @@ export default {
|
1401
|
1403
|
}
|
1402
|
1404
|
this.$Modal.confirm({
|
1403
|
1405
|
title: "提示",
|
1404
|
|
- content: "确定对所选设备进行更新策略操作吗?",
|
|
1406
|
+ content: "确定要更新策略吗?",
|
1405
|
1407
|
onOk: () => {
|
1406
|
1408
|
this.controlUpdateStrategy(snList, useridList);
|
1407
|
1409
|
},
|
|
@@ -1415,7 +1417,7 @@ export default {
|
1415
|
1417
|
}
|
1416
|
1418
|
this.$Modal.confirm({
|
1417
|
1419
|
title: "提示",
|
1418
|
|
- content: "确定对所选设备进行重启设备操作吗?",
|
|
1420
|
+ content: "确定要重启设备吗?",
|
1419
|
1421
|
onOk: () => {
|
1420
|
1422
|
this.controlRebootDevice(snList, useridList);
|
1421
|
1423
|
},
|
|
@@ -1429,7 +1431,7 @@ export default {
|
1429
|
1431
|
}
|
1430
|
1432
|
this.$Modal.confirm({
|
1431
|
1433
|
title: "提示",
|
1432
|
|
- content: "确定对所选设备进行解除绑定操作吗?",
|
|
1434
|
+ content: "确定要解除绑定吗?",
|
1433
|
1435
|
onOk: () => {
|
1434
|
1436
|
this.controlRemoveBind(snList, useridList);
|
1435
|
1437
|
},
|
|
@@ -1444,7 +1446,7 @@ export default {
|
1444
|
1446
|
}
|
1445
|
1447
|
this.$Modal.confirm({
|
1446
|
1448
|
title: "提示",
|
1447
|
|
- content: "确定对所选设备进行解除管控操作吗?",
|
|
1449
|
+ content: "确定要解除管控吗?",
|
1448
|
1450
|
onOk: () => {
|
1449
|
1451
|
this.controlRemoveDevice(snList, useridList);
|
1450
|
1452
|
},
|