客服关闭新加评价状态

test
zhangdi 1 year ago
parent b6c9820f1a
commit 515e28e624
  1. 9
      config/status.js
  2. 2
      pages/submission/records.vue
  3. 82
      pages/submission/recordsdetails.vue

@ -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",
},
]
}

@ -58,7 +58,7 @@
<u-button v-if="item.status == 5" size="mini" :plain="true" style="margin-right:16rpx"
:hair-line="true" type="primary" @click="goPageLocation(item)">查看位置</u-button>
<u-button v-if="item.status == 6" size="mini" :plain="true" style="margin-right:16rpx"
<u-button v-if="item.status == 6||item.status == 20" size="mini" :plain="true" style="margin-right:16rpx"
:hair-line="true" type="primary" @click="openEvaluate(item)">评价</u-button>
</block>
<!-- 客服 -->

@ -138,6 +138,26 @@
</view>
</view>
<!-- 满意度查看 -->
<view class="repair_detail" v-if="detailForm.status == 8">
<view class="repair_title">满意度</view>
<view v-for="(item, index) in questionList" :key="index" class="question-box">
<view class="title">{{ index + 1 }}.{{ item.title }}</view>
<view class="btn">
<view class="uni-px-5 uni-pb-5">
<uni-data-checkbox mode="tag" v-model="item.type"
:localdata="satisfactionList"></uni-data-checkbox>
</view>
</view>
</view>
<view class="detail_item">
<text class="item_left_txt">签字</text>
<view class="item_right_txt video">
<image style="width: 130rpx;height: 140rpx;margin-bottom: 10rpx;"
:src="detailForm.signatureUrl" alt="" />
</view>
</view>
</view>
</view>
@ -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;
}
}
}
}
</style>
Loading…
Cancel
Save