This commit is contained in:
xyc 2025-05-07 16:06:58 +08:00
parent 3b0d932b39
commit 1c1ee3b00e
11 changed files with 333 additions and 216 deletions

View File

@ -1,51 +1,51 @@
<template>
<view>
<u-popup :show="show" @close="cancel">
<view class="title">{{ popupTitle }}</view>
<view style="padding: 20rpx;">
<u-search v-if="showSearch" @custom="search" @search="search" :placeholder="placeholder"
v-model="keyword"></u-search>
<u-gap v-if="showSearch" height="15"></u-gap>
<scroll-view :scroll-top="scrollTop" scroll-y="true" class="scroll-Y" @scrolltolower="$emit('lower')">
<view>
<u-popup :show="show" @close="cancel">
<view class="title">{{ popupTitle }}</view>
<view style="padding: 20rpx;">
<u-search v-if="showSearch" @custom="search" @search="search" :placeholder="placeholder"
v-model="keyword"></u-search>
<u-gap v-if="showSearch" height="15"></u-gap>
<scroll-view :scroll-top="scrollTop" scroll-y="true" class="scroll-Y" @scrolltolower="$emit('lower')">
<!--单选-->
<u-radio-group v-if="type == 'radio'" :borderBottom="true" iconPlacement="right" placement="column"
@change="groupChange" v-model="radioValue">
<u-radio :customStyle="{marginBottom: '12px'}" v-for="(item, index) in dataLists" :key="index"
:label="item[name]" :name="index">
</u-radio>
</u-radio-group>
<!--单选-->
<u-radio-group v-if="type == 'radio'" :borderBottom="true" iconPlacement="right" placement="column"
@change="groupChange" v-model="radioValue">
<u-radio :customStyle="{marginBottom: '12px'}" v-for="(item, index) in dataLists" :key="index"
:label="item[name]" :name="index">
</u-radio>
</u-radio-group>
<!--多选-->
<u-checkbox-group v-if="type == 'checkbox'" :borderBottom="true" placement="column"
iconPlacement="right" @change="checkboxChange" v-model="checkboxValue">
<u-checkbox :customStyle="{marginBottom: '12px',paddingBottom:'12px'}"
v-for="(item, index) in dataLists" :key="index" :label="item[name]" :name="index">
</u-checkbox>
</u-checkbox-group>
<!--多选-->
<u-checkbox-group v-if="type == 'checkbox'" :borderBottom="true" placement="column"
iconPlacement="right" @change="checkboxChange" v-model="checkboxValue">
<u-checkbox :customStyle="{marginBottom: '12px',paddingBottom:'12px'}"
v-for="(item, index) in dataLists" :key="index" :label="item[name]" :name="index">
</u-checkbox>
</u-checkbox-group>
</scroll-view>
<u-gap height="45"></u-gap>
<view class="bottons">
<u-row>
<u-col customStyle="padding:0 10rpx 20rpx 20rpx" span="6">
<u-button @click="cancel">取消</u-button>
</u-col>
<u-col customStyle="padding:0 20rpx 20rpx 10rpx" span="6">
<u-button @click="submit" type="primary" throttleTime="1000"
:disabled="(JSON.stringify(radioData) === '{}') && (checkboxData.length === 0)">确认
</u-button>
</u-col>
</u-row>
</view>
</view>
</u-popup>
</scroll-view>
<u-gap height="45"></u-gap>
<view class="bottons">
<u-row>
<u-col customStyle="padding:0 10rpx 20rpx 20rpx" span="6">
<u-button @click="cancel">取消</u-button>
</u-col>
<u-col customStyle="padding:0 20rpx 20rpx 10rpx" span="6">
<u-button @click="submit" type="primary" throttleTime="1000"
:disabled="(JSON.stringify(radioData) === '{}') && (checkboxData.length === 0)">确认
</u-button>
</u-col>
</u-row>
</view>
</view>
</u-popup>
</view>
</view>
</template>
<script>
/**
/**
* 公共选择下拉框基于uview支持下拉加载列表搜索单选多选
* @author qianziyu
* @description 弹出层选择器基于uview中u-popup实现
@ -63,119 +63,119 @@
* @example <common-select :show="show" :popupTitle="popupTitle" @cancel="show=false" @search="selectSearch" name="cworkStationName" @submit="onsubmit"
:dataLists="dataLists" placeholder="输入工站名称搜索"></common-select>
*/
export default {
name: "qianziyu-select",
props: {
dataLists: {
default: {},
type: Array
},
name: {
default: 'name',
},
show: {
default: false,
type: Boolean
},
type: {
default: 'radio',
type: String
},
showSearch: {
default: true,
type: Boolean
},
popupTitle: {
default: '列表选择',
type: String
},
placeholder: {
default: '请输入搜索内容'
},
checkboxData: { // prop
default: () => [], //
type: Array
}
},
data() {
return {
keyword: '',
scrollTop: 0,
checkboxValue: [],
radioData: {},
radioValue: '',
// checkboxData: this.checkboxData, // checkboxData
};
},
watch: {
checkboxData(newVal) {
// checkboxData checkboxValue使
this.checkboxValue = newVal.map(item => {
return this.dataLists.findIndex(listItem => listItem[this.name] === item[this.name]);
});
}
},
methods: {
checkboxChange(n) {
const newCheckboxData = [];
n.forEach(key => {
newCheckboxData.push(this.dataLists[key]);
});
this.$emit('update:checkboxData', newCheckboxData); // checkboxData
},
//
groupChange(n) {
this.radioData = this.dataLists[n]
},
//
search() {
this.$emit('search', this.keyword)
},
//
cancel() {
this.$emit('cancel')
},
//
submit() {
if (this.type == 'radio') {
if (JSON.stringify(this.radioData) == '{}') {
uni.$u.toast('请选择数据')
return;
}
this.$emit('submit', this.radioData)
} else if (this.type == 'checkbox') {
if (this.checkboxData.length == 0) {
uni.$u.toast('请选择数据')
return;
}
this.$emit('submit', this.checkboxData)
}
}
}
}
export default {
name: "qianziyu-select",
props: {
dataLists: {
default: {},
type: Array
},
name: {
default: 'name',
},
show: {
default: false,
type: Boolean
},
type: {
default: 'radio',
type: String
},
showSearch: {
default: true,
type: Boolean
},
popupTitle: {
default: '列表选择',
type: String
},
placeholder: {
default: '请输入搜索内容'
},
checkboxData: { // prop
default: () => [], //
type: Array
}
},
data() {
return {
keyword: '',
scrollTop: 0,
checkboxValue: [],
radioData: {},
radioValue: '',
// checkboxData: this.checkboxData, // checkboxData
};
},
watch: {
checkboxData(newVal) {
// checkboxData checkboxValue使
this.checkboxValue = newVal.map(item => {
return this.dataLists.findIndex(listItem => listItem[this.name] === item[this.name]);
});
}
},
methods: {
checkboxChange(n) {
const newCheckboxData = [];
n.forEach(key => {
newCheckboxData.push(this.dataLists[key]);
});
this.$emit('update:checkboxData', newCheckboxData); // checkboxData
},
//
groupChange(n) {
this.radioData = this.dataLists[n]
},
//
search() {
this.$emit('search', this.keyword)
},
//
cancel() {
this.$emit('cancel')
},
//
submit() {
if (this.type == 'radio') {
if (JSON.stringify(this.radioData) == '{}') {
uni.$u.toast('请选择数据')
return;
}
this.$emit('submit', this.radioData)
} else if (this.type == 'checkbox') {
if (this.checkboxData.length == 0) {
uni.$u.toast('请选择数据')
return;
}
this.$emit('submit', this.checkboxData)
}
}
}
}
</script>
<style lang="scss" scoped>
.u-popup {
.title {
border-bottom: 1px solid #f7f7f7;
padding: 20rpx;
text-align: center;
font-weight: bold;
}
}
.u-popup {
.title {
border-bottom: 1px solid #f7f7f7;
padding: 20rpx;
text-align: center;
font-weight: bold;
}
}
.scroll-Y {
height: 650rpx;
}
.scroll-Y {
height: 650rpx;
}
.bottons {
background-color: white;
position: fixed;
left: 0;
bottom: 0;
right: 0;
bottom: constant(safe-area-inset-bottom);
bottom: env(safe-area-inset-bottom);
}
.bottons {
background-color: white;
position: fixed;
left: 0;
bottom: 0;
right: 0;
bottom: constant(safe-area-inset-bottom);
bottom: env(safe-area-inset-bottom);
}
</style>

View File

@ -61,9 +61,14 @@
deep: true,
},
methods: {
dianyidain() {
dianyidain(msg) {
// console.log('dianyidain');
innerAudioContext.src = 'https://www.nuoyunr.com/lananRsc/rescue/msgV.mp3';
console.log('消息内容', msg);
let src = 'https://www.nuoyunr.com/lananRsc/rescue/msgV.mp3'
if (msg == '客户即将到店') {
src = "https://www.nuoyunr.com/lananRsc/rescue/inspection.mp3"
}
innerAudioContext.src = src;
//
const playCount = 3;
let currentCount = 0;
@ -93,7 +98,7 @@
this.msgSocket.onMessage(res => {
console.log("发出提示音");
this.dianyidain()
this.dianyidain(res.data)
})
}

View File

@ -40,7 +40,8 @@
export default {
data() {
return {
msgSocket: null,
msgSocket: this.$msgSocket,
nowPageInterval: null,
aindex: 1,
chuan: 0,
arr: [{
@ -66,8 +67,22 @@
},
mounted() {
this.msgSocket = this.$msgSocket,
this.aindex = this.msg
if (!this.nowPageInterval) {
this.nowPageInterval = setInterval(() => {
const newSocket = this.$msgSocket;
if (this.msgSocket !== newSocket) {
this.msgSocket = newSocket;
this.msgInfo();
}
}, 30000);
}
this.aindex = this.msg;
},
onUnload() {
if (this.nowPageInterval) {
clearInterval(this.nowPageInterval);
this.nowPageInterval = null;
}
},
watch: {
msgSocket(newVal, oldVal) {
@ -78,8 +93,13 @@
},
methods: {
dianyidain() {
innerAudioContext.src = 'https://www.nuoyunr.com/lananRsc/rescue/msgV.mp3';
dianyidain(msg) {
console.log('消息内容', msg);
let src = 'https://www.nuoyunr.com/lananRsc/rescue/msgV.mp3'
if (msg == '客户即将到店') {
src = "https://www.nuoyunr.com/lananRsc/rescue/inspection.mp3"
}
innerAudioContext.src = src;
//
const playCount = 3;
let currentCount = 0;
@ -110,8 +130,8 @@
console.log('消息回调启动成功')
this.msgSocket.onMessage(res => {
console.log("发出提示音");
this.dianyidain()
console.log(res.data);
this.dianyidain(res.data)
})
}

View File

@ -149,7 +149,7 @@
<input type="text" v-model="nickname" placeholder="请输入引车员">
</view>
</view>
<view class="list-box">
<!-- <view class="list-box">
<view class="l-left" @click="showMeetMan = true">
接车员
<text class="xixi">点击选择</text>
@ -157,7 +157,7 @@
<view class="l-right">
<input type="text" v-model="meetName" placeholder="请输入接车员">
</view>
</view>
</view> -->
<!-- <view class="list-box">-->
<!-- <view class="l-left">是否补录</view>-->
@ -202,8 +202,12 @@
<view class="dlanniu" @click="edit()" v-else>
<text>确认修改</text>
</view>
<u-picker :show="show" :columns="columns" :defaultIndex="kehuDefaultIndex" @confirm="confirms"
@cancel="cancels" keyName="label"></u-picker>
<!-- <u-picker :show="show" :columns="columns" :defaultIndex="kehuDefaultIndex" @confirm="confirms"
@cancel="cancels" keyName="label"></u-picker> -->
<qianziyu-select :show="show" name="label" @search="getCustomerSource" :dataLists="columns"
:showSearch=true @cancel="cancels" :checkboxData="driverLicenseTypeArr" @submit="confirms"
@update:checkboxData="driverLicenseTypeArr = $event">
</qianziyu-select>
<u-picker :show="showgoods" ref="uPicker" :columns="goodsone" :defaultIndex="goodsDefaultIndex"
@confirm="confirmgoods" @cancel="cancelgoods" @change="changeHandler" keyName="label"></u-picker>
@ -265,6 +269,7 @@
title: '新增线下订单',
customerSource: '',
buyName: '',
driverLicenseTypeArr: [],
nickname: '',
buyPhone: '',
userAddress: '',
@ -315,6 +320,7 @@
unitName: '',
kehui: '',
naturetext: '',
selectCustomerSource: {},
customerData: [],
inspectionWorkNodeStr: "",
leadManId: undefined,
@ -410,7 +416,7 @@
}
},
confirms(e) {
this.customerSource = e.value[0].label
this.customerSource = e.label
this.show = false
},
cancels() {
@ -644,12 +650,23 @@
cancelgoods() {
this.showgoods = false
},
async getCustomerSource(searchValue) {
console.log('搜索内容', searchValue);
let res = await request({
url: '/partnerOwn/partner/getCustomerSource',
method: 'get',
params: {
searchValue: searchValue
}
})
this.columns = res.data
},
async getinitialize() {
let res = await request({
url: '/partnerOwn/partner/getCustomerSource',
method: 'get',
})
this.columns.push(res.data)
this.columns = res.data
let rescar = await request({
url: '/rescue/dict/data/type/car_nature',
method: 'get',

View File

@ -5,18 +5,15 @@
</headersVue>
<view class="content">
<!-- 顶部选择区域 -->
<view class="top_">
<!-- <view class="top_">
<view class="select-container" @click="showDropdown">
<view class="select-text">
{{ queryStr != null ? queryStr : '请选择工作内容' }}
</view>
<!-- 下拉箭头 -->
<u-icon style="margin-left: 10rpx;" name="arrow-down" size="18" color="#8D90A6"></u-icon>
</view>
<!-- 清除按钮 -->
<u-icon v-if="queryStr" name="close-circle" color="#8D90A6" size="18" @click="clearSelection"></u-icon>
</view>
</view> -->
<!-- 列表区域 -->
<view class="list_">

View File

@ -136,8 +136,12 @@
<text>接车</text>
</view>
<u-picker :show="show" :columns="columns" :defaultIndex="kehuDefaultIndex" @confirm="confirms"
@cancel="cancels" keyName="label"></u-picker>
<!-- <u-picker :show="show" :columns="columns" :defaultIndex="kehuDefaultIndex" @confirm="confirms"
@cancel="cancels" keyName="label"></u-picker> -->
<qianziyu-select :show="show" name="label" @search="getCustomerSource" :dataLists="columns"
:showSearch=true @cancel="cancels" :checkboxData="driverLicenseTypeArr" @submit="confirms"
@update:checkboxData="driverLicenseTypeArr = $event">
</qianziyu-select>
<u-picker :show="showgoods" ref="uPicker" :columns="goodsone" :defaultIndex="goodsDefaultIndex"
@confirm="confirmgoods" @cancel="cancelgoods" @change="changeHandler" keyName="label"></u-picker>
@ -209,7 +213,7 @@
showRecord: false,
showLeadMan: false,
showMeetMan: false,
skuId: 0,
skuId: undefined,
inspectionWorkNodes: [],
defaultIndex: [0],
kehuDefaultIndex: [0],
@ -284,6 +288,17 @@
})
}
},
async getCustomerSource(searchValue) {
console.log('搜索内容', searchValue);
let res = await request({
url: '/partnerOwn/partner/getCustomerSource',
method: 'get',
params: {
searchValue: searchValue
}
})
this.columns = res.data
},
async afterRead(event) {
// multiple true , file
let lists = [].concat(event.file)
@ -353,7 +368,7 @@
}
},
confirms(e) {
this.customerSource = e.value[0].label
this.customerSource = e.label
this.show = false
},
cancels() {
@ -472,7 +487,7 @@
url: '/partnerOwn/partner/getCustomerSource',
method: 'get',
})
this.columns.push(res.data)
this.columns = (res.data)
let rescar = await request({
url: '/rescue/dict/data/type/car_nature',
method: 'get',

View File

@ -33,6 +33,11 @@
</view>
</view>
<view class="jg_top" style="padding: 30rpx;">{{ dateStr || '' }} {{ week || '' }} {{ time || '' }}</view>
<view style="padding:0 30rpx; display: flex; justify-content: flex-end;" @click="showMore = !showMore">
<view v-if="!showMore" style="display: flex;">展开<u-icon name="arrow-down"></u-icon></view>
<view v-else style="display: flex;">收起<u-icon name="arrow-up"></u-icon></view>
</view>
<view class="three_" @click="goordercount">
<view class="three_box1">
<view class="">当日订单</view>
@ -47,6 +52,25 @@
<view class="num_">{{ threenum.jxzNum }}</view>
</view>
</view>
<view class="three_" v-if="showMore">
<view class="three_box1">
<view class="">年审</view>
<view class="num_">{{ threenum.nsNum }}</view>
</view>
<view class="three_box2">
<view class="">上户</view>
<view class="num_">{{ threenum.shNum }}</view>
</view>
<view class="three_box3">
<view class="">非定检</view>
<view class="num_">{{ threenum.fdjNum }}</view>
</view>
<view class="three_box4">
<view class="">双燃料</view>
<view class="num_">{{ threenum.srlNum }}</view>
</view>
</view>
<view class="hang_"></view>
<view class="jg_box">
@ -187,7 +211,7 @@
<view style="padding: 50rpx;">
<view class="title_">选择日期</view>
<view class="example-body" style="margin-top: 30rpx;">
<uni-datetime-picker v-model="range" type="daterange" @maskClick="maskClick" />
<uni-datetime-picker v-model="range" type="daterange" />
</view>
<view style="margin-top: 30rpx;">
<u-button text="确定" style="width: 50%;" type="primary" @click="screenTime()"></u-button>
@ -218,6 +242,7 @@
msg: "1",
List: [],
show: false,
showMore: false,
status: 'loading',
warnMsg: [],
chuan: '',
@ -265,7 +290,6 @@
// this.actList = ["1", "1", "1", "1", "1", ]
// this.status = "nomore"
this.partnerId = uni.getStorageSync('partnerId')
this.$startSocketConnect(uni.getStorageSync('userId'))
this.getUserInfo()
this.getindex()
// this.getwarnMsglist()
@ -297,7 +321,7 @@
},
onLoad() {
this.partnerId = uni.getStorageSync('partnerId')
// this.$startSocketConnect(uni.getStorageSync('userId'))
this.$startSocketConnect(uni.getStorageSync('userId'))
this.getUserInfo()
this.getindex()
// this.getwarnMsglist()
@ -811,7 +835,8 @@
padding: 30rpx;
display: flex;
align-items: center;
justify-content: space-between;
// justify-content: space-between;
justify-content: center;
}
.jg_box {
@ -829,6 +854,7 @@
.three_box1 {
width: 216rpx;
height: 116rpx;
margin: 0 10rpx;
background-image: url('/static/imgs/t1.png');
background-size: 100% 100%;
box-sizing: border-box;
@ -843,6 +869,7 @@
height: 116rpx;
background-image: url('/static/imgs/t2.png');
background-size: 100% 100%;
margin: 0 10rpx;
box-sizing: border-box;
padding: 14rpx 18rpx;
font-size: 24rpx;
@ -853,6 +880,19 @@
width: 216rpx;
height: 116rpx;
background-image: url('/static/imgs/t3.png');
margin: 0 10rpx;
background-size: 100% 100%;
box-sizing: border-box;
padding: 14rpx 18rpx;
font-size: 24rpx;
color: #101A3E;
}
.three_box4 {
width: 216rpx;
margin: 0 10rpx;
height: 116rpx;
background-image: url('/static/imgs/t3.png');
background-size: 100% 100%;
box-sizing: border-box;
padding: 14rpx 18rpx;

View File

@ -158,25 +158,29 @@
<view class="dlanniu" @click="edit()" v-else>
<text>确认修改</text>
</view>
<u-picker :show="show" :columns="columns" :defaultIndex="kehuDefaultIndex" @confirm="confirms"
@cancel="cancels" keyName="label"></u-picker>
<<!-- u-picker :show="show" :columns="columns" :defaultIndex="kehuDefaultIndex" @confirm="confirms"
@cancel="cancels" keyName="label"></u-picker> -->
<qianziyu-select :show="show" name="label" @search="getCustomerSource" :dataLists="columns"
:showSearch=true @cancel="cancels" @submit="confirms">
</qianziyu-select>
<u-picker :show="showgoods" ref="uPicker" :columns="goodsone" :defaultIndex="goodsDefaultIndex"
@confirm="confirmgoods" @cancel="cancelgoods" @change="changeHandler" keyName="label"></u-picker>
<u-picker :show="showgoods" ref="uPicker" :columns="goodsone" :defaultIndex="goodsDefaultIndex"
@confirm="confirmgoods" @cancel="cancelgoods" @change="changeHandler"
keyName="label"></u-picker>
<u-picker :show="shownature" :columns="nature" @confirm="confirmsnature" @cancel="cancelsnature"
keyName="label"></u-picker>
<u-picker :show="shownature" :columns="nature" @confirm="confirmsnature" @cancel="cancelsnature"
keyName="label"></u-picker>
<u-picker :show="showxin" :columns="xinlist" :defaultIndex="xinDefaultIndex" @confirm="confirmxin"
@cancel="cancelxin" keyName="label"></u-picker>
<u-picker :show="showzhi" :columns="zhilist" @confirm="confirmzhi" @cancel="cancelzhi"
keyName="label"></u-picker>
<u-picker :show="showLeadMan" :columns="leadManList" :defaultIndex="defaultIndex"
@confirm="confirmLeadMan" @cancel="cancelLeadMan" keyName="nickname"></u-picker>
<u-datetime-picker :show="showRecord" v-model="recordTime" :formatter="formatter" @cancel="cancelRecord"
@confirm="confirmRecord" mode="datetime"></u-datetime-picker>
<u-datetime-picker :show="showRegisterDate" v-model="carRegisterDate" mode="date"
@cancel="showRegisterDate = false" @confirm="confirmRegisterDate"></u-datetime-picker>
<u-picker :show="showxin" :columns="xinlist" :defaultIndex="xinDefaultIndex" @confirm="confirmxin"
@cancel="cancelxin" keyName="label"></u-picker>
<u-picker :show="showzhi" :columns="zhilist" @confirm="confirmzhi" @cancel="cancelzhi"
keyName="label"></u-picker>
<u-picker :show="showLeadMan" :columns="leadManList" :defaultIndex="defaultIndex"
@confirm="confirmLeadMan" @cancel="cancelLeadMan" keyName="nickname"></u-picker>
<u-datetime-picker :show="showRecord" v-model="recordTime" :formatter="formatter"
@cancel="cancelRecord" @confirm="confirmRecord" mode="datetime"></u-datetime-picker>
<u-datetime-picker :show="showRegisterDate" v-model="carRegisterDate" mode="date"
@cancel="showRegisterDate = false" @confirm="confirmRegisterDate"></u-datetime-picker>
</view>
</view>
@ -297,6 +301,17 @@
})
}
},
async getCustomerSource(searchValue) {
console.log('搜索内容', searchValue);
let res = await request({
url: '/partnerOwn/partner/getCustomerSource',
method: 'get',
params: {
searchValue: searchValue
}
})
this.columns = res.data
},
confirmRegisterDate(e) {
//
this.carRegisterDateStr = formatDate(e.value)
@ -337,7 +352,7 @@
}
},
confirms(e) {
this.customerSource = e.value[0].label
this.customerSource = e.label
this.show = false
},
cancels() {
@ -433,7 +448,7 @@
url: '/partnerOwn/partner/getCustomerSource',
method: 'get',
})
this.columns.push(res.data)
this.columns = (res.data)
let rescar = await request({
url: '/rescue/dict/data/type/car_nature',
method: 'get',

View File

@ -42,6 +42,10 @@
<text>检测类型</text>
<text>{{ detailData.goodsName }}</text>
</view>
<view class="dis-hui">
<text>检测次数</text>
<text>{{ detailData.infoCount }}</text>
</view>
<view class="dis-hui" v-if="roleSelect == 'shop'">
<text></text>
<text>{{ detailData.goodsPrice / 100 }}</text>

View File

@ -108,9 +108,9 @@
<text>+ 接车</text>
</view> -->
<view class="lanniu-container">
<view class="lanniu" @click="gogogo">
<!-- <view class="lanniu" @click="gogogo">
<text>添加线下订单</text>
</view>
</view> -->
<view class="lanniu" @click="gogogoMeetCarOrder">
<text>接车</text>
</view>
@ -225,9 +225,10 @@
},
submitException(data) {
console.log('取消异常', data);
let this_ = this
uni.showModal({
title: '提示',
content: '确认删除该条信息吗?',
content: '确认消除该条异常吗?',
success: function(res) {
if (res.confirm) {
//
@ -239,8 +240,9 @@
},
method: 'post'
})
} else {
//
this_.onRefresherrefresh()
} else {
return
}
}

View File

@ -275,6 +275,11 @@
// text: "",
// value: "1"
// },
{
text: "接车转订单",
value: "8",
},
{
text: "待审核重检",
value: "7",
@ -283,10 +288,6 @@
text: "待检测",
value: "1"
},
{
text: "接车转订单",
value: "8",
},
{
text: "待接车",
value: "6",
@ -522,19 +523,20 @@
this.csId.forEach(item => {
let a = {
id: item,
status: "3"
status: 2
}
workNodes.push(a)
})
inspectionInfo.workNodes = workNodes
await request({
url: '/system/info/recheck',
method: 'post',
data: inspectionInfo
})
this.onRefresherrefresh()
this.closehge()
return
status = 2
// await request({
// url: '/system/info/recheck',
// method: 'post',
// data: inspectionInfo
// })
// this.onRefresherrefresh()
// this.closehge()
// return
} else if (this.isExamine && this.tbindex == 2 && this.isRetrial == 2) {
//
//