From 5a5495cdeef4716cc20473f7929d386ee99a6285 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期五, 16 十月 2026 16:16:56 +0800
Subject: [PATCH] 撤回设备模块其他标签页的草稿自动保存,仅保留设备核查计划标签页:核查计划主页面、核查录入弹窗、核查记录弹窗、新增年计划弹窗 4 处保留编辑退出自动保存/恢复,其余 21 个组件恢复原状; management.vue(数采配置旧弹窗)与 calibration.vue(被注释导出按钮)仅保留此前已报备的死代码清理,草稿接线一并移除
---
src/views/CNAS/resourceDemand/device/component/equipmentCalibrationPlan.vue | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/src/views/CNAS/resourceDemand/device/component/equipmentCalibrationPlan.vue b/src/views/CNAS/resourceDemand/device/component/equipmentCalibrationPlan.vue
index 49898a7..1bb40cf 100644
--- a/src/views/CNAS/resourceDemand/device/component/equipmentCalibrationPlan.vue
+++ b/src/views/CNAS/resourceDemand/device/component/equipmentCalibrationPlan.vue
@@ -229,12 +229,10 @@
} from '@/api/cnas/resourceDemand/device.js'
import { selectUserCondition } from "@/api/performance/class";
import { mapGetters } from "@/utils/store-compat";
-import draftSave from '@/mixins/draftSave'
export default {
name: "equipment-calibration-plan",
// import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢�
components: { AddVerificationYearPlanDia, AddYearPlanDia },
- mixins: [draftSave],
props: {
clickNodeVal: {
type: Object,
@@ -461,9 +459,6 @@
if (this.operationType !== 'add') {
this.$nextTick(() => {
this.form = this.HaveJson(row)
- if (this.operationType !== 'view') {
- this.draftRestore('equipmentCalibrationPlan', 'form', this.form.planDetailId, 'dialogVisible')
- }
})
} else {
this.form = {
@@ -478,7 +473,6 @@
planId: this.currentRow.planId,
planDetailId: '',
}
- this.draftRestore('equipmentCalibrationPlan', 'form', this.form.planId, 'dialogVisible')
}
},
// 鎻愪氦琛ㄥ崟
@@ -490,7 +484,6 @@
addDeviceCalibrationPlanDetail(this.form).then(res => {
if (res.code == 200) {
this.$message.success('鏂板鎴愬姛')
- this.draftClear('equipmentCalibrationPlan')
this.dialogVisible = false
this.getYearTableData()
}
@@ -503,7 +496,6 @@
updateDeviceCalibrationPlanDetail(this.form).then(res => {
if (res.code == 200) {
this.$message.success('鏂板鎴愬姛')
- this.draftClear('equipmentCalibrationPlan')
this.dialogVisible = false
this.getYearTableData()
}
@@ -558,7 +550,6 @@
})
},
resetForm() {
- this.draftStop('equipmentCalibrationPlan')
this.$refs.modelForm.resetFields();
this.dialogVisible = false
},
--
Gitblit v1.9.3