|
|
|
@ -104,7 +104,7 @@ |
|
|
|
import dayjs from 'dayjs' |
|
|
|
import { mapGetters } from 'vuex' |
|
|
|
import inspectionRecordDialog from '@/views/modules/hengAnShield/inspectionRecord/components/inspectionRecordDialog' |
|
|
|
import { requestPost } from "@/js/dai/request"; |
|
|
|
import { requestPost, requestDelete } from "@/js/dai/request"; |
|
|
|
import { Loading } from 'element-ui' |
|
|
|
|
|
|
|
let loading // 加载动画 |
|
|
|
@ -280,9 +280,8 @@ export default { |
|
|
|
type: "warning" |
|
|
|
}) |
|
|
|
.then(async () => { |
|
|
|
const url = "/actual/base/importantTask/delete" |
|
|
|
let id = [row.id] |
|
|
|
const { data, code, internalMsg } = await requestPost(url, id) |
|
|
|
const url = "/actual/base/residentPatrolRecord/delete/" + row.id |
|
|
|
const { data, code, internalMsg } = await requestDelete(url) |
|
|
|
if (code === 0) { |
|
|
|
this.$message({ |
|
|
|
type: "success", |
|
|
|
|