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/state.vue | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/src/views/CNAS/resourceDemand/device/component/state.vue b/src/views/CNAS/resourceDemand/device/component/state.vue
index 884b9ad..15f53ba 100644
--- a/src/views/CNAS/resourceDemand/device/component/state.vue
+++ b/src/views/CNAS/resourceDemand/device/component/state.vue
@@ -242,9 +242,7 @@
import { selectUserCondition } from "@/api/business/inspectionTask";
import { dateFormat } from '@/utils/date'
import { mapGetters } from "@/utils/store-compat";
-import draftSave from '@/mixins/draftSave'
export default {
- mixins: [draftSave],
props: {
clickNodeVal: {
type: Object,
@@ -367,7 +365,6 @@
if (res.code == 200) {
this.$message.success('鎻愪氦鎴愬姛')
this.getDeviceStatePage(this.clickNodeVal.value)
- this.draftClear('deviceState')
this.dialogVisible = false
this.closeLoading()
}
@@ -396,9 +393,6 @@
this.form.managementNumber = res.data.managementNumber
this.$nextTick(() => {
this.$refs['form'].clearValidate()
- if (!this.form.stateId) {
- this.draftRestore('deviceState', 'form', '', 'dialogVisible')
- }
})
});
// 鑾峰彇璐熻矗浜轰俊鎭�
@@ -420,9 +414,6 @@
this.currentStepClick = this.currentStep === 4 ? 0 : this.currentStep
this.$nextTick(() => {
this.$refs['form'].clearValidate()
- if (this.currentStep === 0) {
- this.draftRestore('deviceState', 'form', this.form.stateId, 'dialogVisible')
- }
})
this.dialogVisible = true
},
@@ -498,7 +489,6 @@
},
dialogVisible(newVal) {
if (!newVal) {
- this.draftStop('deviceState')
this.form = {
}
this.closeLoading()
--
Gitblit v1.9.3