This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
<view class="repair-info">建立时间:{{ item.createTime }}</view>
|
||||
<view class="repair-info">工单类型:{{ item.typeName }}</view>
|
||||
<view class="repair-info">报事位置:{{ item.location }}</view>
|
||||
<view v-if="getStatusLabel(item.status) === '已结束'" class="repair-eval-btn eval-btn-right">服务评价</view>
|
||||
<view v-if="getStatusLabel(item.status) === '已结束'" class="repair-eval-btn eval-btn-right" @click.stop="goTEvaluate(item)">服务评价</view>
|
||||
</view>
|
||||
|
||||
<!-- 加载提示 -->
|
||||
@@ -138,7 +138,7 @@
|
||||
pageNum: this.pageNum,
|
||||
pageSize: this.pageSize
|
||||
};
|
||||
let res = await this.$u.api.getOrderList(params);
|
||||
let res = await this.$u.api.getOrderList2(params);
|
||||
if (res.code == '200') {
|
||||
const rows = res.rows || [];
|
||||
if (reset) {
|
||||
@@ -212,10 +212,10 @@
|
||||
};
|
||||
return statusMap[status] || '';
|
||||
},
|
||||
goTEvaluate() {
|
||||
const detailItemStr = encodeURIComponent(JSON.stringify(this.detailItem));
|
||||
goTEvaluate(item) {
|
||||
const itemStr = encodeURIComponent(JSON.stringify(item));
|
||||
uni.navigateTo({
|
||||
url: `/pages/sys/user/myRepair/repairEvaluate?detailItem=${detailItemStr}`
|
||||
url: "/pages/sys/user/myRepair/repairEvaluate?item=" + itemStr
|
||||
});
|
||||
},
|
||||
handleScroll(e) {
|
||||
|
Reference in New Issue
Block a user