diff --git a/config/status.js b/config/status.js index f9545d5..e8ad900 100644 --- a/config/status.js +++ b/config/status.js @@ -32,7 +32,7 @@ export const tabList = { }, { name: "待评价", - key: "6", + key: "6,20", }, { name: "待付款", @@ -66,7 +66,7 @@ export const tabList = { }, { name: "维修完成", - key: "6", + key: "6,20", }, { name: "待付款", @@ -100,7 +100,7 @@ export const tabList = { }, { name: "维修完成", - key: "6", + key: "6,20", }, { name: "待付款", @@ -110,6 +110,7 @@ export const tabList = { name: "已完成", key: "8,9", }, + ], '4': [ { @@ -138,7 +139,7 @@ export const tabList = { }, { name: "维修完成", - key: "6,7,8,9", + key: "6,7,8,9,20", }, ] } diff --git a/pages/submission/records.vue b/pages/submission/records.vue index 5a3566f..6c36539 100644 --- a/pages/submission/records.vue +++ b/pages/submission/records.vue @@ -58,7 +58,7 @@ 查看位置 - 评价 diff --git a/pages/submission/recordsdetails.vue b/pages/submission/recordsdetails.vue index 832a889..9b64faf 100644 --- a/pages/submission/recordsdetails.vue +++ b/pages/submission/recordsdetails.vue @@ -138,6 +138,26 @@ + + + 满意度 + + {{ index + 1 }}.{{ item.title }} + + + + + + + + 签字: + + + + + @@ -170,6 +190,30 @@ export default { materialTable: [],//物料数据 }, imageSrc: '',//图片路径 + questionList: [ + { + title: '您对本次维修的质量方面满意吗?', + type: null, + }, + { + title: '您对本次维修的安全方面满意吗?', + type: null, + }, + { + title: '您对本次维修的时效方面满意吗?', + type: null, + } + ], + satisfactionList: [ + { + text: '满意', + value: 1 + }, + { + text: '不满意', + value: 0 + } + ], } }, onLoad(options) { @@ -208,6 +252,11 @@ export default { this.repairDetails.reportPeople = this.detailForm.repairPersonName //填报人 this.repairDetails.deviceName = this.detailForm.deviceName //填报人 + + // 满意度查看 + this.questionList[0].type = this.detailForm.isOkQuality + this.questionList[1].type = this.detailForm.isOkSecure + this.questionList[2].type = this.detailForm.isOkValidity } }) }, @@ -560,5 +609,38 @@ export default { text-align: center; } } + + .question-box { + margin-bottom: 32rpx; + padding-left: 32rpx; + padding-right: 32rpx; + .title { + line-height: 60rpx; + color: rgba(108, 108, 108, 1); + font-size: 28rpx; + padding-bottom: 16rpx; + } + + .btn { + display: flex; + justify-content: space-between; + + text { + width: 48%; + line-height: 60rpx; + border-radius: 8rpx; + background-color: rgba(239, 239, 239, 1); + color: rgba(79, 79, 79, 1); + font-size: 28rpx; + text-align: center; + } + + .active { + background-color: #4f4f4f; + opacity: 0.5; + color: #fff; + } + } + } } \ No newline at end of file