|
@@ -155,16 +155,16 @@ async function getList(type) {
|
|
/**
|
|
/**
|
|
* 1: 查看
|
|
* 1: 查看
|
|
* 2:沟通
|
|
* 2:沟通
|
|
- * 3:上传照片
|
|
|
|
|
|
+ * 3:开始或结束服务
|
|
*/
|
|
*/
|
|
function btnClick(row, type) {
|
|
function btnClick(row, type) {
|
|
- if (type === 1 && row.orderStatus === '2') {
|
|
|
|
|
|
+ if (type === 1) {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: `/pages_classify/pages/order/index?orderId=${row.secondOrderId}`,
|
|
url: `/pages_classify/pages/order/index?orderId=${row.secondOrderId}`,
|
|
})
|
|
})
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- if (type === 1) {
|
|
|
|
|
|
+ if (type === 3) {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: `/pages_classify/pages/handle/index?orderId=${row.secondOrderId}`,
|
|
url: `/pages_classify/pages/handle/index?orderId=${row.secondOrderId}`,
|
|
})
|
|
})
|