From a05af088f820deeeaafbc37fd32e31da6dd08803 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Wed, 25 May 2022 14:31:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BB=A1=E6=84=8F=E5=BA=A6=E8=AF=84=E4=BB=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scss/modules/shequzhili/event-info.scss | 93 +++++++++++++------ .../modules/shequzhili/event/cpts/add.vue | 3 + .../shequzhili/event/cpts/event-detail.vue | 79 ++++++++++------ .../shequzhili/event/cpts/process-form.vue | 13 +-- .../modules/shequzhili/event/eventList.vue | 2 +- .../shijianchuli/shijianchulifenxi.vue | 1 + .../shijianfenlei/shijianfenleifenxi.vue | 19 ++-- 7 files changed, 136 insertions(+), 74 deletions(-) diff --git a/src/assets/scss/modules/shequzhili/event-info.scss b/src/assets/scss/modules/shequzhili/event-info.scss index eddc90d5..39f48b60 100644 --- a/src/assets/scss/modules/shequzhili/event-info.scss +++ b/src/assets/scss/modules/shequzhili/event-info.scss @@ -24,29 +24,58 @@ .avatar-uploader { margin: 0 0 0 20px; - /deep/ .el-upload--picture-card{ - width: 100px; - height: 100px; - } - /deep/ .el-upload{ - width: 100px; - height: 100px; - line-height: 100px; - } - /deep/ .el-upload-list--picture-card .el-upload-list__item{ - width: 100px; - height: 100px; - line-height: 100px; - } - /deep/ .el-upload-list--picture-card .el-upload-list__item-thumbnail{ - width: 100px; - height: 100px; - line-height: 100px; - } - /deep/ .avatar{ - width: 100px; - height: 100px; - } + // /deep/ .el-upload--picture-card{ + // width: 100px; + // height: 100px; + // } + // /deep/ .el-upload{ + // width: 100px; + // height: 100px; + // line-height: 100px; + // } + // /deep/ .el-upload-list--picture-card .el-upload-list__item{ + // width: 100px; + // height: 100px; + // line-height: 100px; + // } + // /deep/ .el-upload-list--picture-card .el-upload-list__item-thumbnail{ + // width: 100px; + // height: 100px; + // line-height: 100px; + // } + // /deep/ .avatar{ + // width: 100px; + // height: 100px; + // } + // /deep/ .el-upload-list__item-status-label { + // display: block; + // position: absolute; + // right: -15px; + // top: -6px; + // width: 40px; + // height: 24px; + // background: #13ce66; + // text-align: center; + // -webkit-transform: rotate(45deg); + // transform: rotate(45deg); + // -webkit-box-shadow: 0 0 1pc 1px rgba(0, 0, 0, 0.2); + // box-shadow: 0 0 1pc 1px rgba(0, 0, 0, 0.2); + // } + // /deep/ .el-upload-list__item-actions { + // position: absolute; + // width: 100%; + // height: 100%; + // left: 0; + // top: 0; + // cursor: default; + // text-align: center; + // color: #fff; + // opacity: 0; + // font-size: 20px; + // background-color: rgba(0, 0, 0, 0.5); + // -webkit-transition: opacity .3s; + // transition: opacity .3s; + // } } @@ -206,8 +235,9 @@ } .m-row { - display: flex; + // display: flex; justify-content: space-between; + width:100%; } .m-hint { @@ -404,17 +434,20 @@ } .div-satisfy{ - padding:50px; + padding:10px 0 0; display:flex ; - justify-content: space-around; -text-align: center; + justify-content: flex-start; + text-align: center; + >div{ + margin-left:50px; + } img{ - width:100px; - height:100px; + width:80px; + height:80px; } .tip-satisfy{ text-align: center; - margin-top:20px + margin-top:10px } } diff --git a/src/views/modules/shequzhili/event/cpts/add.vue b/src/views/modules/shequzhili/event/cpts/add.vue index 9dd650e6..6c689aca 100644 --- a/src/views/modules/shequzhili/event/cpts/add.vue +++ b/src/views/modules/shequzhili/event/cpts/add.vue @@ -585,12 +585,15 @@ export default { removePic (file, fileList) { + this.formData.imageList.splice(this.formData.imageList.findIndex(item => item === file.url), 1) this.replayImgList.splice(this.replayImgList.findIndex(item => item.uid === file.uid), 1) + this.hideUploadBtn = fileList.length >= 3; }, // 最多上传3张图,超过时隐藏上传按钮 handleEditChange (file, fileList) { + this.hideUploadBtn = fileList.length >= 3; }, exceedPic () { diff --git a/src/views/modules/shequzhili/event/cpts/event-detail.vue b/src/views/modules/shequzhili/event/cpts/event-detail.vue index 868e6f84..711f9416 100644 --- a/src/views/modules/shequzhili/event/cpts/event-detail.vue +++ b/src/views/modules/shequzhili/event/cpts/event-detail.vue @@ -73,24 +73,51 @@ + +
+ 关闭 + +
+ + +

满意度评价

+
+
+ +
+
+ +
不满意
+
+
+ +
满意
+
+
+ +
非常满意
+
+
+
+ +
- 满意度评价 + 关闭 + 确定
- -
-
- -
不满意
-
-
- -
满意
-
-
- -
非常满意
-
-
关闭 @@ -213,6 +223,11 @@ 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(); @@ -255,6 +270,14 @@ export default { }, clickSatisfy (type) { + if (this.info.satisfactionName) { + return false + } + + this.changeSatisfyType(type) + + }, + changeSatisfyType (type) { if (type === 'bad') { this.selGood = false this.selPerfect = false diff --git a/src/views/modules/shequzhili/event/cpts/process-form.vue b/src/views/modules/shequzhili/event/cpts/process-form.vue index 05efadcc..dcfa39a1 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form.vue @@ -10,10 +10,13 @@ - + + 暂不处理 回复 立项 转服务 + @@ -142,13 +145,11 @@ export default { }, methods: { + handleChangeOperationType (val) { + + }, async getProcessInfo () { this.okflag = false - - // this.categoryList = [] - - // this.categoryList.push(this.selCategoryArray[1]) - if (this.operationType === '0') { this.$refs.ref_process_form_replay.getReplayInfo() if (this.$refs.ref_process_form_replay.okflag) { diff --git a/src/views/modules/shequzhili/event/eventList.vue b/src/views/modules/shequzhili/event/eventList.vue index f333e1d9..6c6621bf 100644 --- a/src/views/modules/shequzhili/event/eventList.vue +++ b/src/views/modules/shequzhili/event/eventList.vue @@ -246,7 +246,7 @@ width="100">