|
|
@ -67,12 +67,18 @@ |
|
|
|
}) |
|
|
|
} |
|
|
|
plus.push.addEventListener("click", function (data) { |
|
|
|
// 0或者2是维修工单 |
|
|
|
if(data.payload.status == 0 || data.payload.status == 2){ |
|
|
|
// 0接单1报修人确认2是维修工单验证 |
|
|
|
if(data.payload.status == 0 || data.payload.status == 1 || data.payload.status == 2){ |
|
|
|
uni.navigateTo({ |
|
|
|
url: (`/pages/repairOrder/detail?type=${data.payload.type}&number=${data.payload.number}`) |
|
|
|
}) |
|
|
|
} |
|
|
|
// // 1报修申请人确认 |
|
|
|
// if(data.payload.status == 1){ |
|
|
|
// uni.navigateTo({ |
|
|
|
// url: (`/pages/repairOrder/detail?type=${data.payload.type}&number=${data.payload.number}`) |
|
|
|
// }) |
|
|
|
// } |
|
|
|
}, false); |
|
|
|
uni.getPushClientId({ |
|
|
|
success: (res) => { |
|
|
|