zhaowei
2025-07-11 5e9fb57f959d6cccbb3a3c56d0ccdd241855ad06
src/views/eam/maintenance/EamInspectionOrderList.vue
@@ -98,7 +98,7 @@
              </a-menu-item>
              <a-menu-item>
                <a-popconfirm title="确定作废吗?" @confirm="() => handleOrReceive(record.id)">
                <a-popconfirm title="确定作废吗?" @confirm="() => handleAbolish(record.id)">
                  <a>作废</a>
                </a-popconfirm>
              </a-menu-item>
@@ -219,7 +219,7 @@
            dataIndex: 'operateTime'
          },
          {
            title: '管理员确认',
            title: '维修工',
            align: 'center',
            dataIndex: 'confirmUser_dictText'
          },
@@ -269,8 +269,6 @@
      }
    },
    methods: {
      initDictConfig() {
      },
      //详情
      handleDetail: function(record) {
        this.selectInspectionOrderXqData = Object.assign({}, record)
@@ -280,6 +278,7 @@
        this.$refs.modalFormXq.getAllApproveData(record)
        this.$refs.modalFormXq.getBasicInformation({ ...record, dataId: record.id })
      },
      handleInspection(id) {
        var that = this
        this.loading = true
@@ -301,11 +300,8 @@
            }
          })
      },
      handleOrReceive(id) {
        if (!this.url.cancelInspectionOrder) {
          this.$message.error('请设置url.cancelInspectionOrder!')
          return
        }
      handleAbolish(id) {
        var that = this
        getAction(that.url.cancelInspectionOrder, { id: id }).then((res) => {
          if (res.success) {