src/views/CNAS/resourceDemand/device/component/borrow.vue
@@ -207,9 +207,7 @@
} from '@/api/cnas/resourceDemand/device.js'
import { selectUserCondition } from "@/api/business/inspectionTask";
import { mapGetters } from "@/utils/store-compat";
import draftSave from '@/mixins/draftSave'
export default {
  mixins: [draftSave],
  props: {
    clickNodeVal: {
      type: Object,
@@ -345,7 +343,6 @@
    },
    dialogVisible(newVal) {
      if (!newVal) {
        this.draftStop('borrow')
        this.form = {}
        this.currentStep = 0 // 步骤条显示第几步
        this.currentStepClick = 0 // 点击步骤条变化
@@ -451,7 +448,6 @@
          saveDeviceBorrow(this.form).then(res => {
            if (res.code == 200) {
              this.$message.success('提交成功')
              this.draftClear('borrow')
              this.dialogVisible = false
              this.refreshTable()
            }
@@ -514,9 +510,6 @@
            this.currentStepClick = i
          }
          console.log(this.currentStepClick)
          if (this.currentStep < 2) {
            this.draftRestore('borrow', 'form', this.form.id, 'dialogVisible')
          }
          this.dialogVisible = true
        }
      })
@@ -539,7 +532,6 @@
      }
      this.form.deviceName = this.clickNodeVal.label
      this.form.deviceId = this.clickNodeVal.value
      this.draftRestore('borrow', 'form', this.clickNodeVal.value, 'dialogVisible')
    },
    //导出
    handleDown() {