测试bug修改

This commit is contained in:
zzyuan 2024-12-25 18:22:44 +08:00
parent 7096fa1ea2
commit 9310e218d0
3 changed files with 6 additions and 9 deletions

View File

@ -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)

View File

@ -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 },

View File

@ -577,7 +577,7 @@ export default {
return rejectRepair(taskIds);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
this.$modal.msgSuccess("驳回成功");
}).catch(() => {});
},