Browse Source

fix:巡检记录bug修改

featrue-lingshan
LL 2 months ago
parent
commit
d42c1951af
  1. 7
      src/views/modules/hengAnShield/inspectionRecord/index.vue

7
src/views/modules/hengAnShield/inspectionRecord/index.vue

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

Loading…
Cancel
Save