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