From c90a11a9cb61f8c212b7de886dca739974fa1f50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B2=E6=A0=91=E9=80=9A?= <1976590620@qq.com> Date: Wed, 11 Dec 2019 16:09:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 8 +- .../events/issue-process-detail-view.vue | 509 +++++++++--------- .../modules/events/item-deal-detail-view.vue | 281 ++++++---- 3 files changed, 440 insertions(+), 358 deletions(-) diff --git a/src/App.vue b/src/App.vue index ad994acc..4f277314 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,9 +5,9 @@ diff --git a/src/views/modules/events/item-deal-detail-view.vue b/src/views/modules/events/item-deal-detail-view.vue index f86a7c23..80e3c0a0 100644 --- a/src/views/modules/events/item-deal-detail-view.vue +++ b/src/views/modules/events/item-deal-detail-view.vue @@ -3,8 +3,10 @@
议题详情
- - + +
{{dataForm.itemContent}}
- +
{{dataForm.groupName}}
- +
{{dataForm.distributeTime}}
- +
{{dataForm.nickName}}
- +
{{dataForm.mobile}}
- +
{{dataForm.categoryName}}
@@ -36,7 +44,8 @@ 反对 {{dataForm.opposeNum}} - 查看评论 + 查看评论
@@ -47,14 +56,13 @@
处理进展
- -
-
+ +
+
{{item.type === 'project' ? '项目': item.type === 'issue' || item.type === 'issue-project' ? '议题' : ''}}
[{{item | formatState}}] {{item.createdTime}}
@@ -66,15 +74,17 @@
处理部门:{{item.handlerDept}}
-
+
被吹哨部门:
- - {{ csDept.deptName }}
-
+ + {{ csDept.deptName }}
+
-
处理意见: {{item.advice}}
+
处理意见: {{item.advice}}
处理操作
- - - - + + + + - - - - - - - - + + + + + + + + - - + + - -
+ +
  非常满意 @@ -130,35 +158,68 @@
- {{ $t('confirm') }} - 返回 - + {{ $t('confirm') }} + 返回 +
- - - - - - - - + + + + + + + + - +
@@ -367,7 +428,7 @@ export default { this.dataForm.handleCategory = handleResultDTO.processResult } } - }).catch(() => {}) + }).catch(() => { }) }, deleteComment (val) { this.$http['post']('/events/item/deleteComment', { commentIds: [val] }).then(({ data: res }) => { @@ -382,7 +443,7 @@ export default { this.getCommentList() } }) - }).catch(() => {}) + }).catch(() => { }) }, pageSizeChangeHandleNew (val) { this.pageIndex = 1 @@ -394,7 +455,7 @@ export default { this.getCommentList() }, getCommentList () { - this.$http.get('/events/item/comments', { params: { id: this.dataForm.id, order: this.order, orderField: this.orderField, page: this.pageIndex, limit: this.limitVal } + this.$http.get('/events/item/comments', { params: { id: this.dataForm.id, order: this.order, orderField: this.orderField, page: this.pageIndex, limit: this.limitVal } }).then(({ data: res }) => { if (res.code !== 0) { this.commentsDTOs = [] @@ -403,7 +464,7 @@ export default { } this.commentsDTOs = res.data.list this.total = res.data.total - }).catch(() => {}) + }).catch(() => { }) }, // 表单提交 dataFormSubmitHandle: debounce(function () { @@ -447,24 +508,24 @@ export default { } else { this.postDataForm.evaluateDeptDTOS = [] } - this.isAble =true + this.isAble = true this.$http['post']( '/events/item/itemHandleSubmit', this.postDataForm).then(({ data: res }) => { - this.isAble =false - if (res.code !== 0) { - return this.$message.error(res.msg) - } - this.$message({ - message: this.$t('prompt.success'), - type: 'success', - duration: 500, - onClose: () => { - this.visible = false - this.$emit('refreshDataList') + this.isAble = false + if (res.code !== 0) { + return this.$message.error(res.msg) } - }) - this.$parent.selectComponent = 'ItemDeal' - }).catch(() => {}) + this.$message({ + message: this.$t('prompt.success'), + type: 'success', + duration: 500, + onClose: () => { + this.visible = false + this.$emit('refreshDataList') + } + }) + this.$parent.selectComponent = 'ItemDeal' + }).catch(() => { }) }, 1000, { 'leading': true, 'trailing': false }) } @@ -472,21 +533,21 @@ export default {