正在显示
1 个修改的文件
包含
3 行增加
和
2 行删除
| @@ -169,6 +169,7 @@ export default { | @@ -169,6 +169,7 @@ export default { | ||
| 169 | yanRen: this.userInfo().realname, | 169 | yanRen: this.userInfo().realname, |
| 170 | yanTime: new Date(), | 170 | yanTime: new Date(), |
| 171 | originalYanResult: item.yanResult, // 添加一个 originalYanResult 属性保存页面加载时的值 | 171 | originalYanResult: item.yanResult, // 添加一个 originalYanResult 属性保存页面加载时的值 |
| 172 | + jiazaitime:item.yanTime | ||
| 172 | })) | 173 | })) |
| 173 | } | 174 | } |
| 174 | }) | 175 | }) |
| @@ -196,8 +197,8 @@ export default { | @@ -196,8 +197,8 @@ export default { | ||
| 196 | } | 197 | } |
| 197 | }else if(record.modified2){ | 198 | }else if(record.modified2){ |
| 198 | // 若只有 notes 字段被修改,则只更新 notes 字段 | 199 | // 若只有 notes 字段被修改,则只更新 notes 字段 |
| 199 | - const updatedRecord = Object.assign({}, record, { notes: record.notes }) | ||
| 200 | - console.log("备注:",updatedRecord) | 200 | + const updatedRecord = Object.assign({}, record, { notes: record.notes,yanTime:record.jiazaitime }) |
| 201 | + console.log("备注:",record) | ||
| 201 | acc.push(updatedRecord) | 202 | acc.push(updatedRecord) |
| 202 | } | 203 | } |
| 203 | return acc | 204 | return acc |
-
请 注册 或 登录 后发表评论