|
|
@ -58,11 +58,12 @@ |
|
|
<span>{{ index + 1 }}.</span> |
|
|
<span>{{ index + 1 }}.</span> |
|
|
<span> {{ getUserName(record) }} </span> |
|
|
<span> {{ getUserName(record) }} </span> |
|
|
<span>{{ record.time }} </span> |
|
|
<span>{{ record.time }} </span> |
|
|
<span>{{ modificationRecords.length-1==index?"填写":"修改记录" }}</span> |
|
|
|
|
|
|
|
|
<span>{{ modificationRecords.length-1==index?"提交":"修改" }}</span> |
|
|
</div> |
|
|
</div> |
|
|
<div v-if = "modificationRecords.length-1!==index"> |
|
|
<div v-if = "modificationRecords.length-1!==index"> |
|
|
<div>原值:{{ record.oldValue }}</div> |
|
|
<div>原值:{{ record.oldValue }}</div> |
|
|
<div>修改值:{{ record.value }}</div> |
|
|
<div>修改值:{{ record.value }}</div> |
|
|
|
|
|
<div v-if="record.reason">备注:{{ record.reason }}</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<!-- 回复记录 --> |
|
|
<!-- 回复记录 --> |
|
|
@ -352,6 +353,9 @@ export default { |
|
|
|
|
|
|
|
|
// 值发生了变化,需要弹出密码输入框 |
|
|
// 值发生了变化,需要弹出密码输入框 |
|
|
const isSame = this.isEqual(this.oldValue, this.inputValue); |
|
|
const isSame = this.isEqual(this.oldValue, this.inputValue); |
|
|
|
|
|
if(isSame){ |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
if (this.oldValue && !isSame && this.templateFillType === "actFill") { |
|
|
if (this.oldValue && !isSame && this.templateFillType === "actFill") { |
|
|
this.$refs.editSignRef.show() |
|
|
this.$refs.editSignRef.show() |
|
|
// this.handleUpdateRecord(); |
|
|
// this.handleUpdateRecord(); |
|
|
@ -376,7 +380,7 @@ export default { |
|
|
...baseInfo, |
|
|
...baseInfo, |
|
|
oldValue: this.oldValue, |
|
|
oldValue: this.oldValue, |
|
|
value: this.inputValue, |
|
|
value: this.inputValue, |
|
|
title: this.oldValue ? "修改记录" : "填写", |
|
|
|
|
|
|
|
|
title: this.oldValue ? "修改" : "提交", |
|
|
time: moment().format("YYYY-MM-DD HH:mm:ss"), |
|
|
time: moment().format("YYYY-MM-DD HH:mm:ss"), |
|
|
} |
|
|
} |
|
|
if (data) { |
|
|
if (data) { |
|
|
|