|
@ -65,13 +65,13 @@ |
|
|
<!--processStatus: 10待接单/待指派;20待处理;30已完成 --> |
|
|
<!--processStatus: 10待接单/待指派;20待处理;30已完成 --> |
|
|
|
|
|
|
|
|
<van-button size="small" type="info" class="m-left12 rounded-corner m-top5-bottom" |
|
|
<van-button size="small" type="info" class="m-left12 rounded-corner m-top5-bottom" |
|
|
v-if="selfObj.processStatus === 10 && selfObj.source !== 4" @click="showScope = true">接单</van-button> |
|
|
v-if="selfObj.processStatus === 10 && selfObj.source !== 4" @click="handelClickReceive">接单</van-button> |
|
|
<van-button size="small" type="info" class="m-left12 rounded-corner m-top5-bottom" |
|
|
<van-button size="small" type="info" class="m-left12 rounded-corner m-top5-bottom" |
|
|
v-if="selfObj.processStatus === 20 && selfObj.source !== 4 && selfObj.confirmedFlag === 1" |
|
|
v-if="selfObj.processStatus === 20 && selfObj.source !== 4 && selfObj.confirmedFlag === 1" |
|
|
@click="handelClickComplete">完成服务</van-button> |
|
|
@click="handelClickComplete">完成服务</van-button> |
|
|
|
|
|
|
|
|
<van-button size="small" type="info" class="m-left12 rounded-corner m-top5-bottom" |
|
|
<van-button size="small" type="info" class="m-left12 rounded-corner m-top5-bottom" |
|
|
v-if="selfObj.processStatus === 10 && selfObj.source === 4" @click="showRole = true">接单</van-button> |
|
|
v-if="selfObj.processStatus === 10 && selfObj.source === 4" @click="handelClickReceive">接单</van-button> |
|
|
<a :href='`tel:${selfObj.serviceTargetMobile}`' |
|
|
<a :href='`tel:${selfObj.serviceTargetMobile}`' |
|
|
v-if="selfObj.processStatus === 20 && selfObj.source === 4">联系需求人</a> |
|
|
v-if="selfObj.processStatus === 20 && selfObj.source === 4">联系需求人</a> |
|
|
<van-button size="small" type="info" class="m-left12 rounded-corner m-top5-bottom" |
|
|
<van-button size="small" type="info" class="m-left12 rounded-corner m-top5-bottom" |
|
@ -182,7 +182,6 @@ export default { |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
created() { |
|
|
this.getListMyIdentities() |
|
|
|
|
|
this.getServiceScopeTree() |
|
|
this.getServiceScopeTree() |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
@ -348,8 +347,16 @@ export default { |
|
|
this.showPopup = false; |
|
|
this.showPopup = false; |
|
|
this.showEnd = false; |
|
|
this.showEnd = false; |
|
|
}, |
|
|
}, |
|
|
|
|
|
handelClickReceive(){ |
|
|
|
|
|
if(this.source === 4){ |
|
|
|
|
|
this.showRole = true; |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.showScope = true; |
|
|
|
|
|
} |
|
|
|
|
|
this.getListMyIdentities() |
|
|
|
|
|
}, |
|
|
async getListMyIdentities() { |
|
|
async getListMyIdentities() { |
|
|
let { data, code, msg } = await getListMyIdentities() |
|
|
let { data, code, msg } = await getListMyIdentities({serviceAggreId:this.id}) |
|
|
if (code === 0) { |
|
|
if (code === 0) { |
|
|
this.roleList = data; |
|
|
this.roleList = data; |
|
|
} |
|
|
} |
|
|