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/borrow.vue | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/src/views/CNAS/resourceDemand/device/component/borrow.vue b/src/views/CNAS/resourceDemand/device/component/borrow.vue
index ce3326a..90f69da 100644
--- a/src/views/CNAS/resourceDemand/device/component/borrow.vue
+++ b/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() {
--
Gitblit v1.9.3