This commit is contained in:
PQZ 2024-11-04 18:44:04 +08:00
parent 63ecb2f3b7
commit 40d96cec3b
2 changed files with 35 additions and 9 deletions

View File

@ -62,11 +62,15 @@
</view>
<view @click="projectDis" v-if="order.ticketsStatus == '05' && userInfo.roleCodes.includes('repair_staff') && ifLeader && order.canOperate" class="btn pg">
<!--维修班组长且当前施工人是本班组内的人可以重新派工-->
重新派工
修改派工
</view>
<view @click="projectDis" v-if="order.ticketsStatus == '05' && (userInfo.roleCodes.includes('service_advisor') || userInfo.roleCodes.includes('general_inspection'))" class="btn pg">
<!--服务顾问和总检可以重新派工-->
重新派工
<view @click="projectDis" v-if="order.ticketsStatus == '05' && userInfo.roleCodes.includes('service_advisor') " class="btn pg">
<!--修改派工-->
修改派工
</view>
<view @click="projectDis" v-if="order.ticketsStatus == '05' && userInfo.roleCodes.includes('general_inspection')" class="btn pg">
<!--内返派工-->
内返派工
</view>
<view @click="openFile(order.id)" v-if="order.ticketsStatus == '05' && order.ticketsWorkStatus=='01' && roleCanJd" class="btn qc">
接单

View File

@ -261,13 +261,13 @@
</view>
<view v-else>
<view class="formItem">
<view class="formLabel">姓名</view>
<view class="formLabel">服务顾问姓名</view>
<view class="formContainer">
<input placeholder="请填写联系人姓名" v-model="callServiceInfo.name" type="text"/>
</view>
</view>
<view class="formItem">
<view class="formLabel">手机号</view>
<view class="formLabel">服务顾问手机号</view>
<view class="formContainer">
<input placeholder="请填写联系人联系方式" v-model="callServiceInfo.tel" type="number"/>
</view>
@ -276,6 +276,12 @@
</view>
</view>
</uni-popup>
<view >
<u-modal :show="show" :title="title" confirmText="电话" cancelText="短信" showCancelButton
@cancel="message" @confirm="phone " closeOnClickOverlay @close="show = false">
客户{{ ticketInfo.userName }}{{ ticketInfo.userMobile }}
</u-modal>
</view>
</view>
</template>
@ -293,6 +299,9 @@ export default {
},
data() {
return {
show:false,
title:'通知客户',
linkContent:'请选择通知客户方式',
//
direction: 'vertical',
horizontal: 'right',
@ -701,9 +710,8 @@ export default {
url: '/pages-repair/apply/applyForm?ticketId='+this.ticketId
})
}else if("callCus"==e.item.code){
//
this.ifCallCus = true
this.$refs.popup.open("bottom")
this.show = true
}
// uni.showModal({
// title: '',
@ -717,6 +725,20 @@ export default {
// }
// })
},
message(){
this.show = false
// //
this.ifCallCus = true
this.$refs.popup.open("bottom")
},
phone(){
uni.makePhoneCall({
phoneNumber: this.ticketInfo.userMobile
});
},
/**
* 维修照片是否授权给客户看管理
*/