From 26c567eaca2b9655320ee5f380331ecd09789b82 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Fri, 26 Jul 2024 17:07:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=BC=80=E5=8F=91,=E8=A1=A8=E5=8D=95=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scss/modules/shequzhili/event-info.scss | 14 +- src/js/columns/constants/index.js | 59 +- .../shequzhili/event/cpts/event-detail.vue | 231 +++--- .../shequzhili/event/cpts/event-info.vue | 306 +++----- .../event/cpts/process-form-assign.vue | 347 +++++++++ ...-form-issue.vue => process-form-check.vue} | 99 +-- .../event/cpts/process-form-complete.vue | 388 ++++++++++ ...replay.vue => process-form-contact-no.vue} | 28 +- ...y-end.vue => process-form-contact-yes.vue} | 14 +- .../event/cpts/process-form-demand.vue | 725 ------------------ ...designate.vue => process-form-process.vue} | 10 +- .../event/cpts/process-form-project.vue | 667 ---------------- .../shequzhili/event/cpts/process-form.vue | 192 +++-- .../modules/shequzhili/event/eventList.vue | 39 +- 14 files changed, 1226 insertions(+), 1893 deletions(-) create mode 100644 src/views/modules/shequzhili/event/cpts/process-form-assign.vue rename src/views/modules/shequzhili/event/cpts/{process-form-issue.vue => process-form-check.vue} (63%) create mode 100644 src/views/modules/shequzhili/event/cpts/process-form-complete.vue rename src/views/modules/shequzhili/event/cpts/{process-form-replay.vue => process-form-contact-no.vue} (89%) rename src/views/modules/shequzhili/event/cpts/{process-form-replay-end.vue => process-form-contact-yes.vue} (95%) delete mode 100644 src/views/modules/shequzhili/event/cpts/process-form-demand.vue rename src/views/modules/shequzhili/event/cpts/{process-form-designate.vue => process-form-process.vue} (97%) delete mode 100644 src/views/modules/shequzhili/event/cpts/process-form-project.vue diff --git a/src/assets/scss/modules/shequzhili/event-info.scss b/src/assets/scss/modules/shequzhili/event-info.scss index f4a97f58d..72fd63f78 100644 --- a/src/assets/scss/modules/shequzhili/event-info.scss +++ b/src/assets/scss/modules/shequzhili/event-info.scss @@ -159,8 +159,17 @@ margin-left: 20px; } } +.flex{ + display: flex; + flex-flow: wrap; + width: 100%; + .item{ + margin-right: 10px; + } +} + .cell-width-1{ - width: 250px + width: 210px } .cell-width-long{ width: 450px @@ -176,6 +185,9 @@ margin-left: 10px; width: 150px; } +.item_width_4 { + width: 140px; +} .process-form{ margin-top:20px; diff --git a/src/js/columns/constants/index.js b/src/js/columns/constants/index.js index 2fb8f7966..94aa54166 100644 --- a/src/js/columns/constants/index.js +++ b/src/js/columns/constants/index.js @@ -115,4 +115,61 @@ export const completeList = [ label: '已完成并取消风险标记', value: 2 } -] \ No newline at end of file +] +export const nonComplianceType = [ + { + label: '已进入信访程序', + value: 0 + }, + { + label: '已进入诉讼、仲裁、纪检监察、行政、复议政府信息公开等程序', + value: 1 + }, + { + label: '不符合法律、法规、规章及政策规定', + value: 2 + }, + { + label: '涉及国家秘密、工作秘密、商业秘密、个人隐私', + value: 3 + }, + { + label: '违反社会工序良俗等其他情况', + value: 4 + } +] +export const satisfactionType = [ + { + label: '满意', + value: 2 + }, + { + label: '基本满意', + value: 1 + }, + { + label: '不满意', + value: 0 + } +] +export const noSatisfactionType = [ + { + label: '未回复', + value: 0 + }, { + label: '服务态度差', + value: 1 + }, + { + label: '推诿扯皮', + value: 2 + }, + { + label: '处理不及时', + value: 3 + }, + { + label: '其他', + value: 4 + } +] \ No newline at end of file diff --git a/src/views/modules/shequzhili/event/cpts/event-detail.vue b/src/views/modules/shequzhili/event/cpts/event-detail.vue index ec10ab525..e58f9b7d3 100644 --- a/src/views/modules/shequzhili/event/cpts/event-detail.vue +++ b/src/views/modules/shequzhili/event/cpts/event-detail.vue @@ -1,110 +1,87 @@ @@ -134,6 +111,7 @@ function iniData() { demandUserId: "", demandUserName: "", demandUserMobile: "", + banliyaoqiu: "" }, satisfyLevel: "", //满意度评价 @@ -193,13 +171,14 @@ export default { this.user = this.$store.state.user; if (this.eventId) { this.info = JSON.parse(JSON.stringify(this.eventDetailData)); - - //如果已经评价过,进行回显 - // if (this.info.status === 'closed_case' && this.info.satisfactionName) { - // this.changeSatisfyType(this.info.satisfaction) - // } } - // this.getApiData(); + this.$EventBus.$on('handelInputEventContent', ({ type, value }) => { + if (type === 'opinion') { + this.demandForm.content = value + } else if (type === 'banliyaoqiu') { + this.demandForm.banliyaoqiu = value + } + }) }, methods: { @@ -260,6 +239,55 @@ export default { .m-info { padding-left: 0px !important; + + .flex { + display: flex; + flex-direction: column; + background-color: #ebedf0; + padding: 0 1px 1px 0; + box-sizing: border-box; + + .item { + display: flex; + justify-content: space-around; + width: 100%; + min-height: 30px; + line-height: 30px; + padding: 0; + + &>div { + background-color: #fff; + min-width: 25%; + margin-left: 1px; + margin-top: 1px; + text-indent: 1em; + display: flex; + align-items: center; + } + + &:nth-child(4) { + margin-right: 1px; + } + + .border-right { + position: relative; + + &::after { + content: ''; + width: 1px; + height: 29px; + background: #ebedf0; + position: absolute; + right: 3px; + top: 0; + } + } + + .flex-1 { + flex: 1; + } + } + } } .m-info-prop { @@ -280,4 +308,3 @@ export default { } } - diff --git a/src/views/modules/shequzhili/event/cpts/event-info.vue b/src/views/modules/shequzhili/event/cpts/event-info.vue index 115d72770..08b9f900f 100644 --- a/src/views/modules/shequzhili/event/cpts/event-info.vue +++ b/src/views/modules/shequzhili/event/cpts/event-info.vue @@ -1,33 +1,8 @@