From e0428b48d3a7df41de8c1baae980ded6117e8f32 Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Mon, 19 Jan 2026 19:40:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86][upd?= =?UTF-8?q?ate]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Template/HandleFormItem.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/Template/HandleFormItem.vue b/src/components/Template/HandleFormItem.vue index 38d6dad..b6d7bac 100644 --- a/src/components/Template/HandleFormItem.vue +++ b/src/components/Template/HandleFormItem.vue @@ -58,11 +58,12 @@ {{ index + 1 }}. {{ getUserName(record) }} {{ record.time }} - {{ modificationRecords.length-1==index?"填写":"修改记录" }} + {{ modificationRecords.length-1==index?"提交":"修改" }}
原值:{{ record.oldValue }}
修改值:{{ record.value }}
+
备注:{{ record.reason }}
@@ -352,6 +353,9 @@ export default { // 值发生了变化,需要弹出密码输入框 const isSame = this.isEqual(this.oldValue, this.inputValue); + if(isSame){ + return; + } if (this.oldValue && !isSame && this.templateFillType === "actFill") { this.$refs.editSignRef.show() // this.handleUpdateRecord(); @@ -376,7 +380,7 @@ export default { ...baseInfo, oldValue: this.oldValue, value: this.inputValue, - title: this.oldValue ? "修改记录" : "填写", + title: this.oldValue ? "修改" : "提交", time: moment().format("YYYY-MM-DD HH:mm:ss"), } if (data) {