Compare commits
No commits in common. "be40b95d6a225bc779efe7ae5c4f3a5323b039f1" and "919483b1e6b007ed956c121f01b5b41dc939d7e0" have entirely different histories.
be40b95d6a
...
919483b1e6
@ -196,9 +196,8 @@ export default {
|
|||||||
url: '/pages-order/choosePeople/choosePeople?id=' + this.order.id + '&isNei='+isNei
|
url: '/pages-order/choosePeople/choosePeople?id=' + this.order.id + '&isNei='+isNei
|
||||||
})
|
})
|
||||||
}else {
|
}else {
|
||||||
let canOperate = this.order.canOperate?'1':'0'
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages-order/choosePeople/choosePeople?id=' + this.order.id + '&canOperate='+canOperate
|
url: '/pages-order/choosePeople/choosePeople?id=' + this.order.id
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
<view class="userInfo" @click="showUserDetail">
|
<view class="userInfo" @click="showUserDetail">
|
||||||
<text class="userName">{{ userInfo.nickname }}</text>
|
<text class="userName">{{ userInfo.nickname }}</text>
|
||||||
<text class="userType">{{ userInfo.roleNames }}</text>
|
<text class="userType">{{ userInfo.roleNames }}</text>
|
||||||
<text class="userType" v-if="ifLeader">班组长</text>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="msg-box" @click="gotoMsg">
|
<view class="msg-box" @click="gotoMsg">
|
||||||
<image mode="aspectFita" src="@/pages-home/static/msg.png" style="width: 48rpx;height: 48rpx"></image>
|
<image mode="aspectFita" src="@/pages-home/static/msg.png" style="width: 48rpx;height: 48rpx"></image>
|
||||||
@ -230,7 +229,6 @@ export default {
|
|||||||
selectedProj: [],
|
selectedProj: [],
|
||||||
//告知客户的内容
|
//告知客户的内容
|
||||||
tellCusText:"",
|
tellCusText:"",
|
||||||
ifLeader:false,
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(){
|
onLoad(){
|
||||||
@ -252,7 +250,6 @@ export default {
|
|||||||
}else{
|
}else{
|
||||||
//直接取缓存中的用户信息
|
//直接取缓存中的用户信息
|
||||||
this.userInfo = getUserInfo()
|
this.userInfo = getUserInfo()
|
||||||
this.ifLeader = getStrData('ifLeader')
|
|
||||||
this.getNoReadNum()
|
this.getNoReadNum()
|
||||||
this.getNoticeList()
|
this.getNoticeList()
|
||||||
this.onRefresherrefresh()
|
this.onRefresherrefresh()
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</uni-popup>
|
</uni-popup>
|
||||||
<view class="foot">
|
<view class="foot">
|
||||||
<view v-if="isNei" class="submit" @click="openFile">确定选择</view>
|
<view v-if="isNei" class="submit" @click="openFile">确定选择(内返派工)</view>
|
||||||
<view v-else class="submit" @click="submit('0')">确定选择</view>
|
<view v-else class="submit" @click="submit('0')">确定选择</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@ -100,13 +100,7 @@ export default {
|
|||||||
if (data.id) {
|
if (data.id) {
|
||||||
console.log('执行了派单')
|
console.log('执行了派单')
|
||||||
this.ticketId = data.id
|
this.ticketId = data.id
|
||||||
console.log(data.canOperate,103)
|
this.workByTicketId()
|
||||||
console.log(data.canOperate === '1',104)
|
|
||||||
if (data.canOperate === '1'){
|
|
||||||
this.listLeadsAll()
|
|
||||||
} else {
|
|
||||||
this.workByTicketId()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (data.isNei) {
|
if (data.isNei) {
|
||||||
//内返派工
|
//内返派工
|
||||||
@ -137,25 +131,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
/**
|
|
||||||
* 维修班组长修改派工
|
|
||||||
*/
|
|
||||||
listLeadsAll(){
|
|
||||||
request({
|
|
||||||
url: '/admin-api/repair/worker/listLeadsAll',
|
|
||||||
method: 'get',
|
|
||||||
}).then((res) => {
|
|
||||||
this.list = res.data
|
|
||||||
if (this.list.length > 0) {
|
|
||||||
console.log(this.list[0].userId)
|
|
||||||
this.checkedUserId = this.list[0].userId
|
|
||||||
this.checkedUserName = this.list[0].userName
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 内返派工打开上传附件弹窗
|
* 内返派工打开上传附件弹窗
|
||||||
*/
|
*/
|
||||||
|
@ -224,7 +224,6 @@ export function builderOrder(order) {
|
|||||||
userName: order.userName,
|
userName: order.userName,
|
||||||
userPhone: order.userMobile,
|
userPhone: order.userMobile,
|
||||||
counselorName: order.adviserName,
|
counselorName: order.adviserName,
|
||||||
canOperate:order.canOperate,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user