--no commit message
Showing
1 changed file
with
11 additions
and
0 deletions
| ... | @@ -485,8 +485,19 @@ | ... | @@ -485,8 +485,19 @@ |
| 485 | // this.taskList =this.formData.allCommentList; | 485 | // this.taskList =this.formData.allCommentList; |
| 486 | // 处理数据之后赋值 | 486 | // 处理数据之后赋值 |
| 487 | this.taskCommentList = this.taskList; | 487 | this.taskCommentList = this.taskList; |
| 488 | this.taskCommentList=this.taskCommentList.sort(this.sortDownDate) | ||
| 488 | }, | 489 | }, |
| 490 | /** | ||
| 491 | * 时间排序函数 | ||
| 492 | * @description: formatDate | ||
| 493 | * @param {*} row | ||
| 494 | * @param {*} column | ||
| 495 | * @author: renchao | ||
| 496 | */ | ||
| 489 | 497 | ||
| 498 | sortDownDate(a, b) { | ||
| 499 | return Date.parse(a.createTime) - Date.parse(b.createTime); | ||
| 500 | }, | ||
| 490 | // 设置流程图元素状态 | 501 | // 设置流程图元素状态 |
| 491 | /** | 502 | /** |
| 492 | * @description: 设置流程图元素状态 | 503 | * @description: 设置流程图元素状态 | ... | ... |
-
Please register or sign in to post a comment