Compare commits

...

5 Commits

Author SHA1 Message Date
xiaofajia
fe911c6965 有重检、复检项时 创建订单人员才可以修改引车员 2024-12-11 15:44:14 +08:00
xiaofajia
ca2fc2773c 待重检、待复检 2024-12-11 15:18:36 +08:00
xiaofajia
4bb6b0d798 更新 2024-12-11 11:51:02 +08:00
xiaofajia
46204ed702 修改开始检测->选择项目,有问题待确认 2024-12-11 11:46:21 +08:00
xiaofajia
4774df24b2 首页顺序调整、检测详情 图标小一点 字大一点 2024-12-11 10:05:22 +08:00
3 changed files with 44 additions and 26 deletions

View File

@ -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) => {

View File

@ -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;
}

View File

@ -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;