src/views/CNAS/resourceDemand/device/component/check.vue
@@ -250,10 +250,8 @@
<script>
import file from '@/utils/file';
import { mapGetters } from "@/utils/store-compat";
import draftSave from '@/mixins/draftSave'
export default {
  components: {},
  mixins: [draftSave],
  props: {
    clickNodeVal: {
      type: Object,
@@ -387,7 +385,6 @@
    // 校准项目维护
    calibrationMaintenance() {
      this.dialogVisible0 = true
      this.draftRestore('checkMaintenanceDia', 'form0', this.clickNodeVal.value, 'dialogVisible0')
      this.getXmsg();
    },
    addCalibrate() {
@@ -406,7 +403,6 @@
          }).then(res => {
            if (res.code == 200) {
              this.$message.success('保存成功')
              this.draftClear('checkMaintenanceDia')
              this.$refs['form0'].resetFields()
              this.getXmsg() // 刷新设备校准参数表格
            }
@@ -451,7 +447,6 @@
            }).then(res => {
              if (res.code == 200) {
                this.$message.success('添加成功')
                this.draftClear('checkAddRecordDia')
                this.dialogVisible1 = false
                this.getTableList(this.clickNodeVal.value)
              }
@@ -467,7 +462,6 @@
      })
    },
    resetcalibrationRecord() {
      this.draftStop('checkAddRecordDia')
      this.$refs.calibrationRecord.resetFields()
    },
    // 附件上传
@@ -524,7 +518,6 @@
    add(type) {
      this.operationType = type
      this.dialogVisible1 = true
      this.draftRestore('checkAddRecordDia', 'calibrationRecord', this.clickNodeVal.value, 'dialogVisible1')
      this.getXmsg()
    },
    // 查看详情