|
@@ -119,7 +119,11 @@ export default {
|
|
|
} else if (record.remark === this.DictCache.VALUE.CUSTOM_TEMPLATE_SB_REMARK.SB_STOP_FORM) {
|
|
|
this.sbInfoStop = true
|
|
|
}
|
|
|
- model.id = record.targetId // 将targetId赋给model,带入history,用作提交
|
|
|
+ if (record.targetId === undefined) {
|
|
|
+ model.id = record.id // 将targetId赋给model,带入history,用作提交
|
|
|
+ } else {
|
|
|
+ model.id = record.targetId // 将targetId赋给model,带入history,用作提交
|
|
|
+ }
|
|
|
const modal = this.$refs.history
|
|
|
model.auditModelKey = record.remark
|
|
|
modal.base(model, this.task.taskId)
|