更新
This commit is contained in:
parent
77c48e04f7
commit
58b4fc5fd1
@ -14,6 +14,8 @@
|
|||||||
<headersVue :titles="title" style="position: static !important;">
|
<headersVue :titles="title" style="position: static !important;">
|
||||||
<u-icon name="arrow-left" color="#fff" size="18"></u-icon>
|
<u-icon name="arrow-left" color="#fff" size="18"></u-icon>
|
||||||
</headersVue>
|
</headersVue>
|
||||||
|
<u-loading-page :loading="isLoading" style="z-index: 3"></u-loading-page>
|
||||||
|
|
||||||
|
|
||||||
<view class="mub">
|
<view class="mub">
|
||||||
<view class="top-ail">
|
<view class="top-ail">
|
||||||
@ -143,6 +145,16 @@
|
|||||||
<input type="text" v-model="nickname" placeholder="请输入引车员">
|
<input type="text" v-model="nickname" placeholder="请输入引车员">
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="list-box">
|
||||||
|
<view class="l-left" @click="showMeetMan = true">
|
||||||
|
<text style="color: red;font-weight: bold;text-align: center;">*</text>
|
||||||
|
接车员
|
||||||
|
<text class="xixi">点击选择</text>
|
||||||
|
</view>
|
||||||
|
<view class="l-right">
|
||||||
|
<input type="text" v-model="meetName" placeholder="请输入接车员">
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
<!-- <view class="list-box">-->
|
<!-- <view class="list-box">-->
|
||||||
<!-- <view class="l-left">是否补录</view>-->
|
<!-- <view class="l-left">是否补录</view>-->
|
||||||
@ -204,6 +216,9 @@
|
|||||||
<u-picker :show="showLeadMan" :columns="leadManList" :defaultIndex="defaultIndex" @confirm="confirmLeadMan"
|
<u-picker :show="showLeadMan" :columns="leadManList" :defaultIndex="defaultIndex" @confirm="confirmLeadMan"
|
||||||
@cancel="cancelLeadMan"
|
@cancel="cancelLeadMan"
|
||||||
keyName="nickname"></u-picker>
|
keyName="nickname"></u-picker>
|
||||||
|
<u-picker :show="showMeetMan" :columns="meetManList" :defaultIndex="defaultIndex" @confirm="confirmMeetMan"
|
||||||
|
@cancel="showMeetMan = false"
|
||||||
|
keyName="nickname"></u-picker>
|
||||||
<u-datetime-picker
|
<u-datetime-picker
|
||||||
:show="showRegisterDate"
|
:show="showRegisterDate"
|
||||||
v-model="carRegisterDate"
|
v-model="carRegisterDate"
|
||||||
@ -263,11 +278,13 @@ export default {
|
|||||||
showzhi: false,
|
showzhi: false,
|
||||||
showRecord: false,
|
showRecord: false,
|
||||||
showLeadMan: false,
|
showLeadMan: false,
|
||||||
|
showMeetMan: false,
|
||||||
skuId: 0,
|
skuId: 0,
|
||||||
inspectionWorkNodes: [],
|
inspectionWorkNodes: [],
|
||||||
defaultIndex: [0],
|
defaultIndex: [0],
|
||||||
kehuDefaultIndex: [0],
|
kehuDefaultIndex: [0],
|
||||||
goodsDefaultIndex: [0, 0],
|
goodsDefaultIndex: [0, 0],
|
||||||
|
meetName:'',
|
||||||
columns: [],
|
columns: [],
|
||||||
options: [],
|
options: [],
|
||||||
nature: [],
|
nature: [],
|
||||||
@ -276,6 +293,7 @@ export default {
|
|||||||
columnData: [],
|
columnData: [],
|
||||||
xinlist: [],
|
xinlist: [],
|
||||||
zhilist: [],
|
zhilist: [],
|
||||||
|
isLoading:false,
|
||||||
recordTime: Number(new Date()),
|
recordTime: Number(new Date()),
|
||||||
baseUrl: this.$baseImageUrl,
|
baseUrl: this.$baseImageUrl,
|
||||||
goodsId: '',
|
goodsId: '',
|
||||||
@ -294,17 +312,22 @@ export default {
|
|||||||
customerData: [],
|
customerData: [],
|
||||||
inspectionWorkNodeStr: "",
|
inspectionWorkNodeStr: "",
|
||||||
leadManId: undefined,
|
leadManId: undefined,
|
||||||
|
meetManId: undefined,
|
||||||
leadManList: [],
|
leadManList: [],
|
||||||
|
meetManList: [],
|
||||||
isInsert: true,
|
isInsert: true,
|
||||||
inspectionId: undefined,
|
inspectionId: undefined,
|
||||||
xinDefaultIndex: [0],
|
xinDefaultIndex: [0],
|
||||||
recordTimeStr: '',
|
recordTimeStr: '',
|
||||||
carRegisterDate: '',
|
carRegisterDate: '',
|
||||||
|
appointmentId: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
async onLoad(options) {
|
||||||
this.getinitialize()
|
this.isLoading = true
|
||||||
this.getLeadeMan()
|
await this.getinitialize()
|
||||||
|
await this.getLeadeMan()
|
||||||
|
await this.getMeetMan()
|
||||||
uni.$on('selectProject', (data) => {
|
uni.$on('selectProject', (data) => {
|
||||||
this.inspectionWorkNodes = data
|
this.inspectionWorkNodes = data
|
||||||
for (var i = 0; i < this.inspectionWorkNodes.length; i++) {
|
for (var i = 0; i < this.inspectionWorkNodes.length; i++) {
|
||||||
@ -316,8 +339,14 @@ export default {
|
|||||||
this.isInsert = false
|
this.isInsert = false
|
||||||
this.inspectionId = options.inspectionInfoId
|
this.inspectionId = options.inspectionInfoId
|
||||||
this.title = '修改线下订单'
|
this.title = '修改线下订单'
|
||||||
this.getInspectionInfo()
|
await this.getInspectionInfo()
|
||||||
}
|
}
|
||||||
|
//判断是否是预约记录进来的
|
||||||
|
if (options.appointmentId) {
|
||||||
|
this.appointmentId = options.appointmentId
|
||||||
|
await this.getAppointmentDetail()
|
||||||
|
}
|
||||||
|
this.isLoading = false
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
|
||||||
@ -391,6 +420,11 @@ export default {
|
|||||||
this.leadManId = e.value[0].id
|
this.leadManId = e.value[0].id
|
||||||
this.showLeadMan = false
|
this.showLeadMan = false
|
||||||
},
|
},
|
||||||
|
confirmMeetMan(e) {
|
||||||
|
this.meetName = e.value[0].nickname
|
||||||
|
this.meetManId = e.value[0].id
|
||||||
|
this.showMeetMan = false
|
||||||
|
},
|
||||||
confirmRecord(e) {
|
confirmRecord(e) {
|
||||||
//将时间戳转换
|
//将时间戳转换
|
||||||
this.recordTime = e.value
|
this.recordTime = e.value
|
||||||
@ -436,6 +470,60 @@ export default {
|
|||||||
cancelRecord() {
|
cancelRecord() {
|
||||||
this.showRecord = false
|
this.showRecord = false
|
||||||
},
|
},
|
||||||
|
/*获取预约记录详情*/
|
||||||
|
async getAppointmentDetail() {
|
||||||
|
let res = await request({
|
||||||
|
url: `/inspection/appointment/${this.appointmentId}`,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
//客户姓名
|
||||||
|
this.buyName = res.data.buyName
|
||||||
|
this.buyPhone = res.data.buyPhoneNum
|
||||||
|
//车牌
|
||||||
|
this.carNum = res.data.carNo
|
||||||
|
//车辆性质
|
||||||
|
this.carNature = res.data.carNature
|
||||||
|
//车辆品牌
|
||||||
|
this.carModel = res.data.carModel
|
||||||
|
//车辆识别代码
|
||||||
|
this.carIdNo = res.data.carIdNo
|
||||||
|
//skuid
|
||||||
|
this.skuId = res.data.skuId
|
||||||
|
//goodsId
|
||||||
|
this.goodsId = res.data.goodsId
|
||||||
|
this.goodstext = this.findItemById(this.columnData, this.skuId).label
|
||||||
|
//触发change变化的方法
|
||||||
|
// 模拟change事件
|
||||||
|
const mockEvent = {
|
||||||
|
columnIndex: 0, // 假设是第一列发生变化
|
||||||
|
index: this.findGroupById(this.columnData, this.skuId).index, // 选择的索引
|
||||||
|
picker: this.$refs.uPicker // 选择器实例
|
||||||
|
};
|
||||||
|
this.changeHandler(mockEvent);
|
||||||
|
//根据goodsId找出对应的索引位置
|
||||||
|
this.goodsDefaultIndex = [this.goodsone[0].findIndex(item => item.value === this.goodsId),this.$refs.uPicker.getColumnValues(1).findIndex(item => item.value == this.skuId)]
|
||||||
|
},
|
||||||
|
findItemById(data, id) {
|
||||||
|
for (const group of data) {
|
||||||
|
for (const item of group) {
|
||||||
|
if (item.value === id) {
|
||||||
|
return item; // 找到匹配的对象后返回
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null; // 如果没有找到,返回 null
|
||||||
|
},
|
||||||
|
findGroupById(data, id) {
|
||||||
|
for (let index = 0; index < data.length; index++) {
|
||||||
|
const group = data[index];
|
||||||
|
for (const item of group) {
|
||||||
|
if (item.value === id) {
|
||||||
|
return { group, index }; // 返回组和对应的索引
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null; // 如果没有找到,返回 null
|
||||||
|
},
|
||||||
/*获取引车员信息*/
|
/*获取引车员信息*/
|
||||||
getLeadeMan() {
|
getLeadeMan() {
|
||||||
request({
|
request({
|
||||||
@ -448,6 +536,18 @@ export default {
|
|||||||
this.leadManList.push(res.data)
|
this.leadManList.push(res.data)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
/*获取接车员信息*/
|
||||||
|
getMeetMan() {
|
||||||
|
request({
|
||||||
|
url: '/system/role/getUsersByRoleCode',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
code: "jcjchc"
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.meetManList.push(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
confirmsnature(e) {
|
confirmsnature(e) {
|
||||||
this.naturetext = e.value[0].label
|
this.naturetext = e.value[0].label
|
||||||
|
@ -122,11 +122,18 @@
|
|||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="box_" v-for="(item,index) in goodsList" :key="index" v-else>
|
<view class="box_" v-for="(item,index) in goodsList" :key="index" v-else>
|
||||||
|
<view style="display: flex;justify-content: space-between;">
|
||||||
<view class="box_ds">
|
<view class="box_ds">
|
||||||
<view class="box_title">{{ item.goodsTitle }}</view>
|
<view class="box_title">{{ item.goodsTitle }}</view>
|
||||||
<u-tag :text="item.skuName" plain size="mini" style=" height: 44rpx; "></u-tag>
|
<u-tag :text="item.skuName" plain size="mini" style=" height: 44rpx; "></u-tag>
|
||||||
<!-- <image src="/static/imgs/ns.png" mode=""></image>-->
|
<!-- <image src="/static/imgs/ns.png" mode=""></image>-->
|
||||||
</view>
|
</view>
|
||||||
|
<view style="color:#3c9cff;" @click="goAddOrder(item)" v-if="!item.orderId">
|
||||||
|
转订单
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
|
||||||
<view class="box_bd">
|
<view class="box_bd">
|
||||||
<view class="box_ds">
|
<view class="box_ds">
|
||||||
<image src="/static/imgs/car.png" style="width: 36rpx; height: 36rpx; " mode=""></image>
|
<image src="/static/imgs/car.png" style="width: 36rpx; height: 36rpx; " mode=""></image>
|
||||||
@ -278,21 +285,37 @@ export default {
|
|||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/manage/internalManagement'
|
url: '/pages/manage/internalManagement'
|
||||||
})
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
|
},
|
||||||
|
goAddOrder(data){
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/pages/index/Neworder?appointmentId=${data.id}`
|
||||||
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
|
},
|
||||||
|
clearMyInterval() {
|
||||||
|
if (this.timer) {
|
||||||
|
clearInterval(this.timer);
|
||||||
|
this.timer = null;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
goordermanage() {
|
goordermanage() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/index/ordermanage'
|
url: '/pages/index/ordermanage'
|
||||||
})
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
},
|
},
|
||||||
goNotice() {
|
goNotice() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/xiaoxi/notice'
|
url: '/pages/xiaoxi/notice'
|
||||||
})
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
},
|
},
|
||||||
goordercount() {
|
goordercount() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/index/neworderStatistic'
|
url: '/pages/index/neworderStatistic'
|
||||||
})
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
},
|
},
|
||||||
goback() {
|
goback() {
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
@ -301,21 +324,25 @@ export default {
|
|||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/order/order'
|
url: '/pages/order/order'
|
||||||
})
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
},
|
},
|
||||||
coupon() {
|
coupon() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/coupon/coupon'
|
url: '/pages/coupon/coupon'
|
||||||
})
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
},
|
},
|
||||||
gocode() {
|
gocode() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pages/my/rwm",
|
url: "/pages/my/rwm",
|
||||||
})
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
},
|
},
|
||||||
gohomecar() {
|
gohomecar() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pages/index/homecar",
|
url: "/pages/index/homecar",
|
||||||
})
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
},
|
},
|
||||||
goPresent() {
|
goPresent() {
|
||||||
if (!this.present?.filePath) {
|
if (!this.present?.filePath) {
|
||||||
@ -346,21 +373,25 @@ export default {
|
|||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/Tollannouncement/Tollannouncement'
|
url: '/pages/Tollannouncement/Tollannouncement'
|
||||||
})
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
},
|
},
|
||||||
goemployees() {
|
goemployees() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/index/countEmployees'
|
url: '/pages/index/countEmployees'
|
||||||
})
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
},
|
},
|
||||||
goneworderStatistic() {
|
goneworderStatistic() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/index/orderStatistics'
|
url: '/pages/index/orderStatistics'
|
||||||
})
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
},
|
},
|
||||||
gobusiness() {
|
gobusiness() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/statistics/business'
|
url: '/pages/statistics/business'
|
||||||
})
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
},
|
},
|
||||||
gettel(num) {
|
gettel(num) {
|
||||||
const value = num.buyPhoneNum
|
const value = num.buyPhoneNum
|
||||||
@ -372,6 +403,7 @@ export default {
|
|||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/index/UserInfo'
|
url: '/pages/index/UserInfo'
|
||||||
})
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
},
|
},
|
||||||
avatarErr(err) {
|
avatarErr(err) {
|
||||||
console.log('err', err)
|
console.log('err', err)
|
||||||
@ -381,6 +413,7 @@ export default {
|
|||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/xiaoxi/xiaoxi?index=1'
|
url: '/pages/xiaoxi/xiaoxi?index=1'
|
||||||
})
|
})
|
||||||
|
this.clearMyInterval()
|
||||||
},
|
},
|
||||||
getUserInfo() {
|
getUserInfo() {
|
||||||
let roleNames = getStorageWithExpiry("roleNames")
|
let roleNames = getStorageWithExpiry("roleNames")
|
||||||
|
@ -19,8 +19,9 @@
|
|||||||
<scroll-view scroll-x="true" style="width: 100%;">
|
<scroll-view scroll-x="true" style="width: 100%;">
|
||||||
<view style="display: flex; align-items: center; white-space: nowrap;">
|
<view style="display: flex; align-items: center; white-space: nowrap;">
|
||||||
<view class="tap-box" v-for="(item, index) in tapList" :key="index" @click="tapqh(index)">
|
<view class="tap-box" v-for="(item, index) in tapList" :key="index" @click="tapqh(index)">
|
||||||
<view class="xhuihui" :class="{'xzhei': tapindex == index}" style="white-space: nowrap;margin-right: 0.5rem">
|
<view class="xhuihui" :class="{'xzhei': tapindex == index}"
|
||||||
{{ item.text }}{{ countMap.length !== 0 ? ('(' + countMap.get(index + "") + ')') : '' }}
|
style="white-space: nowrap;margin-right: 0.5rem">
|
||||||
|
{{ item.text }}{{ countMap.length !== 0 ? ('(' + countMap.get(index + 1 + "") + ')') : '' }}
|
||||||
</view>
|
</view>
|
||||||
<view class="gang" v-if="tapindex == index"></view>
|
<view class="gang" v-if="tapindex == index"></view>
|
||||||
</view>
|
</view>
|
||||||
@ -57,6 +58,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="">
|
<view class="">
|
||||||
|
<view v-if="isShowClient">
|
||||||
<view class="on-input">
|
<view class="on-input">
|
||||||
<uni-icons type="person" color="#999999" size="16"></uni-icons>
|
<uni-icons type="person" color="#999999" size="16"></uni-icons>
|
||||||
<text>客户:</text>
|
<text>客户:</text>
|
||||||
@ -67,11 +69,6 @@
|
|||||||
<text>电话:</text>
|
<text>电话:</text>
|
||||||
<text>{{ item.buyPhone }}</text>
|
<text>{{ item.buyPhone }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="on-input">
|
|
||||||
<uni-icons type="map" color="#999999" size="16"></uni-icons>
|
|
||||||
<text>车牌号:</text>
|
|
||||||
<text>{{ item.carNum }}</text>
|
|
||||||
</view>
|
|
||||||
<view class="on-input">
|
<view class="on-input">
|
||||||
<uni-icons type="map" color="#999999" size="16"></uni-icons>
|
<uni-icons type="map" color="#999999" size="16"></uni-icons>
|
||||||
<text>客户来源:</text>
|
<text>客户来源:</text>
|
||||||
@ -82,6 +79,12 @@
|
|||||||
<text>代办人电话:</text>
|
<text>代办人电话:</text>
|
||||||
<text>{{ item.otherPhone }}</text>
|
<text>{{ item.otherPhone }}</text>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="on-input">
|
||||||
|
<uni-icons type="map" color="#999999" size="16"></uni-icons>
|
||||||
|
<text>车牌号:</text>
|
||||||
|
<text>{{ item.carNum }}</text>
|
||||||
|
</view>
|
||||||
<view class="on-input" v-if="item.nodeNames">
|
<view class="on-input" v-if="item.nodeNames">
|
||||||
<uni-icons type="more" color="#999999" size="16"></uni-icons>
|
<uni-icons type="more" color="#999999" size="16"></uni-icons>
|
||||||
<text class="single-line">检测内容:</text>
|
<text class="single-line">检测内容:</text>
|
||||||
@ -89,10 +92,12 @@
|
|||||||
</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="beginButtonShow.includes(tapindex)" @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="cancelButtonShow.includes(tapindex)" @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>
|
||||||
@ -132,6 +137,7 @@ import {type} from "../../uni_modules/uni-forms/components/uni-forms/utils";
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
isShowClient: false,
|
||||||
msgSocket: this.$msgSocket,
|
msgSocket: this.$msgSocket,
|
||||||
imgurl: this.$imgeUrl,
|
imgurl: this.$imgeUrl,
|
||||||
baseUrl: this.$baseUrl,
|
baseUrl: this.$baseUrl,
|
||||||
@ -139,6 +145,7 @@ export default {
|
|||||||
partnerId: uni.getStorageSync("partnerId"),
|
partnerId: uni.getStorageSync("partnerId"),
|
||||||
goodsTitle: '',
|
goodsTitle: '',
|
||||||
tapindex: 0,
|
tapindex: 0,
|
||||||
|
tapValue: 1,
|
||||||
isExamine: false,
|
isExamine: false,
|
||||||
msg: '1',
|
msg: '1',
|
||||||
carNum: '',
|
carNum: '',
|
||||||
@ -168,23 +175,27 @@ export default {
|
|||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
text: "待检测",
|
text: "待检测",
|
||||||
value: "2"
|
value: "1"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
text: "检测中",
|
text: "检测中",
|
||||||
value: "3",
|
value: "2",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "待重检",
|
text: "待重检",
|
||||||
value: "4",
|
value: "3",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "待复检",
|
text: "待复检",
|
||||||
value: "5",
|
value: "4",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "已完成",
|
text: "已完成",
|
||||||
|
value: "5",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: "待接车",
|
||||||
value: "6",
|
value: "6",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@ -194,8 +205,8 @@ export default {
|
|||||||
workNodeId: null,
|
workNodeId: null,
|
||||||
id: null
|
id: null
|
||||||
},
|
},
|
||||||
beginButtonShow: [1, 3, 4],
|
beginButtonShow: [0, 2, 3],
|
||||||
cancelButtonShow: [2],
|
cancelButtonShow: [1],
|
||||||
countMap: []
|
countMap: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -318,7 +329,7 @@ export default {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
partnerId: this.partnerId,
|
partnerId: this.partnerId,
|
||||||
status: this.tapindex,
|
status: this.tapValue,
|
||||||
carNum: this.carNum,
|
carNum: this.carNum,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
pageNum: this.pageNum,
|
pageNum: this.pageNum,
|
||||||
@ -406,6 +417,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
tapqh(index) {
|
tapqh(index) {
|
||||||
|
//如果是待接车
|
||||||
|
if (this.tapList[index].value == '6') {
|
||||||
|
}
|
||||||
|
this.tapValue = this.tapList[index].value
|
||||||
this.tapindex = index
|
this.tapindex = index
|
||||||
this.infoDatas = []
|
this.infoDatas = []
|
||||||
this.pageNum = 1
|
this.pageNum = 1
|
||||||
@ -681,6 +696,7 @@ export default {
|
|||||||
border-radius: 20rpx; /* 椭圆效果 */
|
border-radius: 20rpx; /* 椭圆效果 */
|
||||||
white-space: nowrap; /* 确保文本不换行 */
|
white-space: nowrap; /* 确保文本不换行 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon1 {
|
.icon1 {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 56rpx;
|
width: 56rpx;
|
||||||
|
Loading…
Reference in New Issue
Block a user