|
@@ -471,11 +471,13 @@
|
|
// 全选事件
|
|
// 全选事件
|
|
allChoose(e) {
|
|
allChoose(e) {
|
|
let chooseItem = e.detail.value;
|
|
let chooseItem = e.detail.value;
|
|
|
|
+
|
|
// 全选
|
|
// 全选
|
|
if (chooseItem[0] == 'all') {
|
|
if (chooseItem[0] == 'all') {
|
|
this.allChecked = true;
|
|
this.allChecked = true;
|
|
|
|
+
|
|
for (let item of this.newDeviceManage) {
|
|
for (let item of this.newDeviceManage) {
|
|
- let itemVal = String(item.id);
|
|
|
|
|
|
+ let itemVal = String(item.owner_code);
|
|
if (!this.checkedArr.includes(itemVal)) {
|
|
if (!this.checkedArr.includes(itemVal)) {
|
|
this.checkedArr.push(itemVal);
|
|
this.checkedArr.push(itemVal);
|
|
}
|
|
}
|