hejianhao
3 天以前 554f8096e1f384f14b9424f5142d63f90c72a3eb
H5/pages/supervision/supervision-progress.vue
@@ -99,7 +99,8 @@
<script>
   import dayjs from '../../uni_modules/uview-ui/libs/util/dayjs'
   import {
      getComplaintDetail
      getComplaintDetail,
      delProgress
   } from './service'
   export default {
      data() {
@@ -129,7 +130,6 @@
         getComplaintDetail({
            id: this.id
         }).then(res => {
            this.info = {
               ...res.data
            }
@@ -137,7 +137,23 @@
      },
      methods: {
         deleteProgress() {
            delProgress(this.row.id).then(res => {
               uni.showToast({
                  icon: 'none',
                  mask: true,
                  title: '删除成功'
               })
               this.$refs.customPopup.show = false
               setTimeout(() => {
                  getComplaintDetail({
                     id: this.id
                  }).then(res => {
                     this.info = {
                        ...res.data
                     }
                  })
               }, 1500)
            })
         },
         toDelete(item) {
            this.row = item
@@ -145,7 +161,7 @@
         },
         toEdit(item) {
            uni.navigateTo({
               url: `/pages/supervision/edit-supervision-progress?id=${this.id}`
               url: `/pages/supervision/edit-supervision-progress?id=${this.id}&data=${JSON.stringify(item)}`
            })
         },
         callPhone(phoneNumber) {