src/views/CNAS/resourceDemand/device/component/management.vue
@@ -27,7 +27,7 @@
        </el-form>
      </div>
      <div>
        <el-button size="small" type="primary" @click="openAdd2">新增</el-button>
        <el-button size="small" type="primary" @click="dialogVisible2 = true">新增</el-button>
        <el-button size="small" type="primary" @click="handleDownOne">导出</el-button>
      </div>
    </div>
@@ -426,7 +426,6 @@
import { selectUserCondition } from "@/api/business/inspectionTask";
import dayjs from 'dayjs'
import { selectQualifiedSupplierManagementPage } from '@/api/cnas/externalService/supplierManage/supplierManage'
import draftSave from '@/mixins/draftSave'
export default {
   props: {
      clickNodeVal: {
@@ -440,7 +439,6 @@
      limsTable,
      dataAcquisitionConfig,
   },
   mixins: [draftSave],
   data() {
      return {
         dateFormat: 'yyyy-MM-dd',
@@ -770,14 +768,7 @@
            })
         })
      },
      openAdd2() {
         this.dialogVisible2 = true
         this.$nextTick(() => {
            this.draftRestore('managementAdd', 'formData2', '', 'dialogVisible2')
         })
      },
      handleClose() {
         this.draftStop('management')
         this.formData = {
            authorizedPerson: []
         }
@@ -790,7 +781,6 @@
         this.upLoad = false;
      },
      handleClose2() {
         this.draftStop('managementAdd')
         this.formData = {
            authorizedPerson: []
         }
@@ -834,7 +824,6 @@
               this.formData[key] = `${this.formData[key]} 00:00:00`
            }
         })
         this.draftRestore('management', 'formData', this.formData.id, 'dialogVisible')
      },
      beforeUpload(file) {
         if (file.size > 1024 * 1024 * 10) {
@@ -929,7 +918,6 @@
            this.$message.success('修改成功')
            this.upLoad = false
            this.refreshTable('page')
            this.draftClear('management')
            this.dialogVisible = false
         }).catch(e => {
            this.$message.error('修改失败')
@@ -973,7 +961,6 @@
            this.$message.success('提交成功')
            this.upLoad2 = false
            this.refreshTable('page')
            this.draftClear('managementAdd')
            this.dialogVisible2 = false
            this.formData2 = {
               imageUpload: '',