测试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 this.$modal
.confirm('是否确认删除所选择的数据项?') .confirm('是否确认删除所选择的数据项?')
.then(() => { .then(() => {
@ -833,12 +833,9 @@ export default {
this.deviceType.splice(index, 1) this.deviceType.splice(index, 1)
this.propsKey++ this.propsKey++
} }
}) })
this.equipmentList.forEach((item, index) => { this.equipmentList.splice(index+1, 1)
if (item.id == row.id) {
this.equipmentList.splice(index, 1)
}
})
}) })
.catch(() => {}) .catch(() => {})
// this.equipmentList.splice(row.index, 1) // this.equipmentList.splice(row.index, 1)

View File

@ -864,7 +864,7 @@ import {
} from "@/api/lease/out"; } from "@/api/lease/out";
import vueEasyPrint from "vue-easy-print"; import vueEasyPrint from "vue-easy-print";
// import chapter from '../../../../utils/chapter'; // import chapter from '../../../../utils/chapter';
import printJS from 'print-js'; // import printJS from 'print-js';
export default { export default {
dicts: ["lease_task_status"], dicts: ["lease_task_status"],
components: { vueEasyPrint }, components: { vueEasyPrint },

View File

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