Commit 74e2bcca authored by 郭晓清's avatar 郭晓清
parents a389e388 7b7b882f
...@@ -186,8 +186,9 @@ ...@@ -186,8 +186,9 @@
tagText() { tagText() {
return this.timeout ? '超' : '剩' return this.timeout ? '超' : '剩'
}, },
timeText() { timeText() {
return this.orderType == 4 ? this.orderData.submissionTime : this.orderData.auditDatetime let time = this.orderType == 4 ? this.orderData.orderFinishDatetime : this.orderData.auditDatetime
return this.$u.timeFormat(time, 'yyyy.mm.dd hh:MM:ss')
}, },
timeTitle() { timeTitle() {
return this.orderType == 4 ? '提交时间:' : '审核时间:' return this.orderType == 4 ? '提交时间:' : '审核时间:'
......
...@@ -507,6 +507,7 @@ ...@@ -507,6 +507,7 @@
// 已派单的时显示拒单按钮 // 已派单的时显示拒单按钮
this.allowRejection = true this.allowRejection = true
this.submitType = "orderAccept" this.submitType = "orderAccept"
this.readMore = false
} else if (orderStatus < 31 && orderBusinessType === '订单池') { } else if (orderStatus < 31 && orderBusinessType === '订单池') {
// 抢单 // 抢单
this.centerButton = "appoint1" this.centerButton = "appoint1"
...@@ -514,6 +515,7 @@ ...@@ -514,6 +515,7 @@
this.showCenterBtn = true this.showCenterBtn = true
this.submitType = "orderGan" this.submitType = "orderGan"
this.showTimeOut=false this.showTimeOut=false
this.readMore = false
} else if (orderStatus === 31 && !this.order.appointmentDatetime) { } else if (orderStatus === 31 && !this.order.appointmentDatetime) {
// 预约 // 预约
this.centerButton = "appoint2" this.centerButton = "appoint2"
...@@ -522,6 +524,7 @@ ...@@ -522,6 +524,7 @@
this.showCenterBtn = true this.showCenterBtn = true
this.showTimeSelect = true this.showTimeSelect = true
this.isAllowDianhuaAndDaohang = true this.isAllowDianhuaAndDaohang = true
this.readMore = true
this.submitType = "workerAppointment" this.submitType = "workerAppointment"
this.loadCalendar() this.loadCalendar()
} else if (orderStatus === 31 && this.order.appointmentDatetime) { } else if (orderStatus === 31 && this.order.appointmentDatetime) {
...@@ -542,6 +545,7 @@ ...@@ -542,6 +545,7 @@
this.allowFeedback = true this.allowFeedback = true
this.showCenterBtn = true this.showCenterBtn = true
this.scenePhoto = true this.scenePhoto = true
this.readMore = true
this.isAllowDianhuaAndDaohang = true this.isAllowDianhuaAndDaohang = true
} else {} } else {}
}, },
...@@ -635,7 +639,7 @@ ...@@ -635,7 +639,7 @@
clickFeedback(){ clickFeedback(){
// 过程反馈 // 过程反馈
uni.navigateTo({ uni.navigateTo({
url: 'pages/order/feedback?orderId='+this.order.orderId+'&categoryId='+this.order.categoryId url: 'pages/order/feedback?orderId='+this.order.orderId+'&categoryId='+this.order.categoryId+'&showGY=' + (this.centerButtonText != '预约' ? '1' : '0')
}) })
}, },
filish(){ filish(){
......
...@@ -75,6 +75,7 @@ export default { ...@@ -75,6 +75,7 @@ export default {
return { return {
orderId: null, orderId: null,
categoryId: null, categoryId: null,
showGY: true, // 非预约进来才显示改约
background: { background: {
backgroundColor: 'none' backgroundColor: 'none'
}, },
...@@ -156,6 +157,7 @@ export default { ...@@ -156,6 +157,7 @@ export default {
if (e) { if (e) {
this.orderId = e.orderId || null; this.orderId = e.orderId || null;
this.categoryId = e.categoryId || null; this.categoryId = e.categoryId || null;
this.showGY = e.showGY == '1'
} }
uni.showLoading({ uni.showLoading({
title: '数据加载中', title: '数据加载中',
...@@ -171,7 +173,18 @@ export default { ...@@ -171,7 +173,18 @@ export default {
let params = { categoryId: self.categoryId }; let params = { categoryId: self.categoryId };
let res = await self.$u.api.feedbackConfig(params); let res = await self.$u.api.feedbackConfig(params);
if (res && res.code == 200) { if (res && res.code == 200) {
self.feedback = res.data;
if (!self.showGY) {
delete res.code['改约']
}
var data = {}
for (var item in res.data) {
if (item != '改约' || self.showGY) {
data[item] = res.data[item]
}
}
self.feedback = data;
self.buildConfig(); self.buildConfig();
} }
uni.hideLoading(); uni.hideLoading();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment