From f21946644df41d6cf4da65ddba7808b23965f104 Mon Sep 17 00:00:00 2001 From: wuhongjian Date: Thu, 23 Jun 2022 21:16:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E8=AE=BA=E5=8A=9F=E8=83=BD=E5=BC=80?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/modules/activiti/demo/comments.vue | 114 ++++++++++++++++++ .../views/modules/activiti/my-todo-task.vue | 45 +++---- front/src/api/demandCenter.js | 14 +++ .../src/views/demandCenter/demandDetails.vue | 23 ++-- 4 files changed, 167 insertions(+), 29 deletions(-) create mode 100644 back/src/views/modules/activiti/demo/comments.vue diff --git a/back/src/views/modules/activiti/demo/comments.vue b/back/src/views/modules/activiti/demo/comments.vue new file mode 100644 index 00000000..dc18fb61 --- /dev/null +++ b/back/src/views/modules/activiti/demo/comments.vue @@ -0,0 +1,114 @@ + + + + diff --git a/back/src/views/modules/activiti/my-todo-task.vue b/back/src/views/modules/activiti/my-todo-task.vue index 29bff2c0..d9c0482b 100644 --- a/back/src/views/modules/activiti/my-todo-task.vue +++ b/back/src/views/modules/activiti/my-todo-task.vue @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2022-04-27 19:34:30 * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-04-28 19:26:07 + * @LastEditTime: 2022-06-23 21:08:01 * @Description: 告诉大家这是什么 --> @@ -62,7 +63,8 @@ (scope.row.params && scope.row.params.resourceDTO && scope.row.params.resourceDTO.name) || - (scope.row.params && scope.row.params.undercarriageReason) + (scope.row.params && scope.row.params.undercarriageReason)|| + (scope.row.params && scope.row.params.comment) }} @@ -126,41 +128,42 @@ diff --git a/front/src/api/demandCenter.js b/front/src/api/demandCenter.js index 21fdb8fb..75d5dd37 100644 --- a/front/src/api/demandCenter.js +++ b/front/src/api/demandCenter.js @@ -1,3 +1,10 @@ +/* + * @Author: hisense.wuhongjian + * @Date: 2022-06-14 09:43:30 + * @LastEditors: hisense.wuhongjian + * @LastEditTime: 2022-06-23 20:04:39 + * @Description: 告诉大家这是什么 + */ import request from '@/utils/request' export function demandComment(data) { @@ -7,6 +14,13 @@ export function demandComment(data) { data, }) } +export function demandCommentApply(data) { + return request({ + url: '/comment/center/apply', + method: 'post', + data, + }) +} export function demandCommentPage(params) { return request({ diff --git a/front/src/views/demandCenter/demandDetails.vue b/front/src/views/demandCenter/demandDetails.vue index 56dada22..cbf6ca70 100644 --- a/front/src/views/demandCenter/demandDetails.vue +++ b/front/src/views/demandCenter/demandDetails.vue @@ -186,15 +186,14 @@