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 @@