Compare commits
5 Commits
685698063a
...
fe911c6965
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe911c6965 | ||
|
|
ca2fc2773c | ||
|
|
4bb6b0d798 | ||
|
|
46204ed702 | ||
|
|
4774df24b2 |
@ -84,7 +84,7 @@
|
||||
<view class="list-box">
|
||||
<view class="l-left">代办人手机号</view>
|
||||
<view class="l-right">
|
||||
<input type="text" v-model="otherPhone" placeholder="请输入品牌型号">
|
||||
<input type="text" v-model="otherPhone" placeholder="请输入代办人手机号">
|
||||
</view>
|
||||
</view>
|
||||
<view class="list-box">
|
||||
@ -129,7 +129,6 @@
|
||||
<view class="l-right">
|
||||
<input type="text" v-model="nickname" placeholder="请输入引车员">
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<!-- <view class="list-box">-->
|
||||
@ -543,7 +542,8 @@ export default {
|
||||
skuId: this.skuId,
|
||||
carNature: this.carNature,
|
||||
inspectionWorkNodes: this.inspectionWorkNodes,
|
||||
leadManId: this.leadManId
|
||||
leadManId: this.leadManId,
|
||||
status: '2',
|
||||
}
|
||||
|
||||
let res = await request({
|
||||
@ -597,6 +597,7 @@ export default {
|
||||
this.skuId = res.data.skuId
|
||||
this.carNature = res.data.carNature
|
||||
this.leadManId = res.data.leadManId
|
||||
this.otherPhone = res.data.otherPhone
|
||||
setTimeout(() => {
|
||||
let result = this.leadManList
|
||||
.map((subArray, subArrayIndex) => {
|
||||
|
||||
@ -53,7 +53,7 @@
|
||||
<view class="h_title"> 引车员</view>
|
||||
<view class="h_name">{{ detailData.leadManName }}</view>
|
||||
</view>
|
||||
<view class="h-two-r" @tap="selectLeadMan">
|
||||
<view v-if="isChangeLeadMan" class="h-two-r" @tap="selectLeadMan">
|
||||
<image src="../..//static/imgs/t_.png" mode=""></image>
|
||||
<text>更换引车员</text>
|
||||
</view>
|
||||
@ -167,7 +167,7 @@
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="annniu" v-if="detailData.status&&detailData.status == 0&&workNodeStatus == 1"
|
||||
<view class="annniu" v-if="detailData.status&&(detailData.status == 0 || detailData.status == 2)&&workNodeStatus == 1"
|
||||
@click="hge = true;getProject()">
|
||||
<view class="">结束检测</view>
|
||||
</view>
|
||||
@ -357,7 +357,8 @@ export default {
|
||||
text: '退办理',
|
||||
value: "0"
|
||||
},
|
||||
]
|
||||
],
|
||||
isChangeLeadMan: false,
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
@ -367,7 +368,9 @@ export default {
|
||||
if (this.workNodeStatus == '1') {
|
||||
this.isExamines()
|
||||
}
|
||||
|
||||
if (this.inspectionInfoId){
|
||||
this.judgeUpdateLeadMan()
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
this.getindex()
|
||||
@ -379,6 +382,14 @@ export default {
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
judgeUpdateLeadMan(){
|
||||
request({
|
||||
url: '/system/info/judgeUpdateLeadMan?id=' + this.inspectionInfoId,
|
||||
method: 'get'
|
||||
}).then(res => {
|
||||
this.isChangeLeadMan = res.data
|
||||
})
|
||||
},
|
||||
chooseBank(e) {
|
||||
this.receivablesAccount = e.value[0]
|
||||
this.bankShow = false
|
||||
@ -559,7 +570,8 @@ export default {
|
||||
const workNodes = []
|
||||
this.csId.forEach(item => {
|
||||
let a = {
|
||||
id: item
|
||||
id: item,
|
||||
status: "3"
|
||||
}
|
||||
workNodes.push(a)
|
||||
})
|
||||
@ -1311,8 +1323,8 @@ image {
|
||||
}
|
||||
|
||||
.step-circle {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(to right, #F1F1F1, #858899);
|
||||
box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.3);
|
||||
@ -1330,8 +1342,8 @@ image {
|
||||
}
|
||||
|
||||
.step-content {
|
||||
font-size: 14px;
|
||||
line-height: 24px; /* 与图标高度对齐 */
|
||||
font-size: 16px;
|
||||
line-height: 20px; /* 与图标高度对齐 */
|
||||
color: #333;
|
||||
}
|
||||
|
||||
|
||||
@ -80,10 +80,10 @@
|
||||
</view>
|
||||
<view class="bottom-di">
|
||||
<view class="button-container">
|
||||
<u-button class="button" v-if="item.workNodeStatus === '0'" @click="orderTakingBefore(item)" size="10">
|
||||
<u-button class="button" v-if="beginButtonShow.includes(tapindex)" @click="orderTakingBefore(item)" size="10">
|
||||
开始检测
|
||||
</u-button>
|
||||
<u-button class="button" v-if="item.workNodeStatus === '1'" @click="cancelAnOrder(item)" size="10">
|
||||
<u-button class="button" v-if="cancelButtonShow.includes(tapindex)" @click="cancelAnOrder(item)" size="10">
|
||||
取消接单
|
||||
</u-button>
|
||||
<u-button class="button" @click="godetails(item)" size="10">查看详情</u-button>
|
||||
@ -184,6 +184,8 @@ export default {
|
||||
workNodeId: null,
|
||||
id: null
|
||||
},
|
||||
beginButtonShow: [1, 3, 4],
|
||||
cancelButtonShow: [2],
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
@ -232,18 +234,21 @@ export default {
|
||||
id: item.id
|
||||
}
|
||||
let res = await request({
|
||||
url: '/partnerOwn/partner/inspectionDetail',
|
||||
url: `/system/info/getWorkNodeByIdAndNow?id=${item.id}&status=${(this.tapindex === 4 ? "3" : "0")}${(this.tapindex === 3 ? "&flag=false" : "")}`,
|
||||
method: 'get',
|
||||
params: {
|
||||
inspectionInfoId: item.id
|
||||
}
|
||||
})
|
||||
this.chooseWorkNodes = [res.data.workNodes.map(i => {
|
||||
return {
|
||||
label: i.projectName,
|
||||
value: i.id
|
||||
}
|
||||
})]
|
||||
if (res.data){
|
||||
this.chooseWorkNodes = [Object.keys(res.data).map(key => ({
|
||||
value: key,
|
||||
label: res.data[key]
|
||||
}))]
|
||||
}
|
||||
// this.chooseWorkNodes = [res.data.map(i => {
|
||||
// return {
|
||||
// label: i.projectName,
|
||||
// value: i.id
|
||||
// }
|
||||
// })]
|
||||
this.show = true
|
||||
},
|
||||
msgInfo() {
|
||||
@ -331,7 +336,7 @@ export default {
|
||||
icon: 'none'
|
||||
})
|
||||
// this.tapindex = 1
|
||||
this.getList()
|
||||
this.godetails({id: data.id, workNodeId: data.workNodeId, workNodeStatus: 1})
|
||||
}
|
||||
})
|
||||
},
|
||||
@ -383,7 +388,7 @@ export default {
|
||||
|
||||
.sshi {
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
bottom: 90rpx;
|
||||
right: 20px;
|
||||
width: 115px;
|
||||
height: 115px;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user