|
@@ -39,7 +39,7 @@
|
|
|
</el-col>
|
|
|
|
|
|
<!--列表-->
|
|
|
- <el-table :data="allocations" :height="tableHeight" highlight-current-row v-loading="listLoading" @selection-change="handleSelectionChange" style="width: 100%;">
|
|
|
+ <el-table :data="allocations" :height="tableHeight" highlight-current-row v-loading="listLoading" style="width: 100%;">
|
|
|
<!-- <el-table-column type="selection" width="50"></el-table-column> -->
|
|
|
<el-table-column type="index" width="60"></el-table-column>
|
|
|
<el-table-column prop="equipmentNo" :label="$t('basic.equipmentNo')" width="180" sortable></el-table-column>
|
|
@@ -470,7 +470,7 @@
|
|
|
openEnable(index) {
|
|
|
this.operateDialogVisible = true;
|
|
|
this.issuedVal.alarmBattery = this.allocations[this.activeIndex].alarmBattery;
|
|
|
- this.issuedVal.alarmDegree = this.allocations[this.activeIndex].alarmDegree;
|
|
|
+ this.issuedVal.alarmDegree = parseInt(this.allocations[this.activeIndex].alarmDegree);
|
|
|
this.activeIndex = index;
|
|
|
},
|
|
|
|
|
@@ -592,6 +592,11 @@
|
|
|
});
|
|
|
},
|
|
|
|
|
|
+ //列表选择
|
|
|
+ handleSelectionChange(val) {
|
|
|
+ this.multipleSelection = val;
|
|
|
+ },
|
|
|
+
|
|
|
//下发云模盒
|
|
|
issued() {
|
|
|
this.issuedVisible = true;
|