测试bug修改
This commit is contained in:
parent
7096fa1ea2
commit
9310e218d0
|
|
@ -824,7 +824,7 @@ export default {
|
|||
},
|
||||
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
handleDelete(row,index) {
|
||||
this.$modal
|
||||
.confirm('是否确认删除所选择的数据项?')
|
||||
.then(() => {
|
||||
|
|
@ -833,12 +833,9 @@ export default {
|
|||
this.deviceType.splice(index, 1)
|
||||
this.propsKey++
|
||||
}
|
||||
})
|
||||
this.equipmentList.forEach((item, index) => {
|
||||
if (item.id == row.id) {
|
||||
this.equipmentList.splice(index, 1)
|
||||
}
|
||||
})
|
||||
})
|
||||
this.equipmentList.splice(index+1, 1)
|
||||
|
||||
})
|
||||
.catch(() => {})
|
||||
// this.equipmentList.splice(row.index, 1)
|
||||
|
|
|
|||
|
|
@ -864,7 +864,7 @@ import {
|
|||
} from "@/api/lease/out";
|
||||
import vueEasyPrint from "vue-easy-print";
|
||||
// import chapter from '../../../../utils/chapter';
|
||||
import printJS from 'print-js';
|
||||
// import printJS from 'print-js';
|
||||
export default {
|
||||
dicts: ["lease_task_status"],
|
||||
components: { vueEasyPrint },
|
||||
|
|
|
|||
|
|
@ -577,7 +577,7 @@ export default {
|
|||
return rejectRepair(taskIds);
|
||||
}).then(() => {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
this.$modal.msgSuccess("驳回成功");
|
||||
}).catch(() => {});
|
||||
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue