Commit d22a0f28 authored by 刘用法's avatar 刘用法
parents 78356bd1 7df00d8b
...@@ -48,7 +48,7 @@ let orderApiFun = function(vm){ ...@@ -48,7 +48,7 @@ let orderApiFun = function(vm){
/** /**
* 查询工单操作记录列表接口 * 查询工单操作记录列表接口
*/ */
let listOrderRecord = async (params = {}) => await vm.$u.get('/wxh-worker-rest/rest/order/record/'+ vm.vuex_token+'/listOrderRecord/'+params.orderId, params); let listOrderRecord = async (params = {}) => await vm.$u.get('/wxh-worker-rest/rest/order/record/'+ vm.vuex_token+'/listOrderRecord/V2/'+params.orderId, params);
/** /**
* 接单 * 接单
......
...@@ -90,7 +90,10 @@ ...@@ -90,7 +90,10 @@
</view> </view>
<view v-show="record.operationType==='报备' || record.operationType==='改约'"> <view v-show="record.operationType==='报备' || record.operationType==='改约'">
<text>{{record.operationType==='报备' ? '下次联系时间:' : '改约时间:'}}</text> <text>{{record.operationType==='报备' ? '下次联系时间:' : '改约时间:'}}</text>
<text style="color: #2272FF;">{{record.orderRecordRemark}}</text> <text style="color: #2272FF;">{{
record.operationType==='报备' && record.orderRecordRemark && record.orderRecordRemark.length>1?
record.orderRecordRemark.substring(record.orderRecordRemark.indexOf(':')+1,record.orderRecordRemark.length)
:record.orderRecordRemark}}</text>
</view> </view>
</view> </view>
</view> </view>
...@@ -345,13 +348,15 @@ ...@@ -345,13 +348,15 @@
contactTime() { contactTime() {
let self = this let self = this
var data={} var data={}
self.$u.api.contactTime(data,this.order.orderId).then((res)=>{ if(this.submitType === "workerAppointment"){
if (res.code == 200) { self.$u.api.contactTime(data,this.order.orderId).then((res)=>{
console.log("===", res.data) if (res.code == 200) {
} else { console.log("===", res.data)
console.log(res.message); } else {
} console.log(res.message);
}) }
})
}
}, },
handleClickRight(active) { handleClickRight(active) {
this.scenePhoto ? this.scenePhotoClick() : this.take() this.scenePhoto ? this.scenePhotoClick() : this.take()
......
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