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/fault.vue | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/src/views/CNAS/resourceDemand/device/component/fault.vue b/src/views/CNAS/resourceDemand/device/component/fault.vue
index 0217efa..f042ae3 100644
--- a/src/views/CNAS/resourceDemand/device/component/fault.vue
+++ b/src/views/CNAS/resourceDemand/device/component/fault.vue
@@ -279,9 +279,7 @@
<script>
import { dateFormat } from '@/utils/date'
import { mapGetters } from "@/utils/store-compat";
-import draftSave from '@/mixins/draftSave'
export default {
- mixins: [draftSave],
props: {
clickNodeVal: {
type: Object,
@@ -409,7 +407,6 @@
}).then(res => {
if (res.code == 200) {
this.$message.success('鎻愪氦鎴愬姛')
- this.draftClear('fault')
this.getTableList(this.clickNodeVal.value)
this.dialogVisible = false
}
@@ -434,11 +431,6 @@
this.form.manufacturer = res.data.manufacturer
this.form.specificationModel = res.data.specificationModel
this.form.managementNumber = res.data.managementNumber
- if (!this.form.id) {
- this.draftRestore('fault', 'form', this.clickNodeVal.value, 'dialogVisible')
- } else if (this.currentStep === 0) {
- this.draftRestore('fault', 'form', this.form.id, 'dialogVisible')
- }
});
// 鑾峰彇璐熻矗浜轰俊鎭�
this.getUserList()
@@ -588,7 +580,6 @@
},
dialogVisible(newVal) {
if (!newVal) {
- this.draftStop('fault')
this.form = {}
this.closeLoading()
this.currentStep = 0 // 姝ラ鏉℃樉绀虹鍑犳
--
Gitblit v1.9.3