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