测试bug修改
This commit is contained in:
parent
7096fa1ea2
commit
9310e218d0
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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 },
|
||||||
|
|
|
||||||
|
|
@ -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(() => {});
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue