Compare commits
5 Commits
prod-26-03
...
aa5b724bed
| Author | SHA1 | Date | |
|---|---|---|---|
| aa5b724bed | |||
| ca99e068cf | |||
| aafd7ffdb5 | |||
| 112f42669c | |||
| 9bf8e1253d |
@@ -54,7 +54,7 @@ export function userFeedback(data){
|
||||
data
|
||||
})
|
||||
}
|
||||
//二手拖车信息擦亮
|
||||
//擦亮
|
||||
export function usedCarPolish(data){
|
||||
return request({
|
||||
url: `/toc-user/car-app/usedCarPolish/${data}`,
|
||||
|
||||
@@ -153,12 +153,17 @@ export default {
|
||||
if (this.notifyList.length >= this.total) {
|
||||
this.finished = true;
|
||||
}
|
||||
} else {
|
||||
// 未开票不需要分页,直接标记加载完成
|
||||
this.loading = false;
|
||||
this.finished = true;
|
||||
}
|
||||
},
|
||||
async changeTabHandler() {
|
||||
this.pageNum = 1;
|
||||
this.notifyList = [];
|
||||
this.checkList = [];
|
||||
this.finished = false;
|
||||
if (this.active == 1) { // 全部, 需要分页
|
||||
this.status = '';
|
||||
this.dispatchAppSearchInvoiced = '';
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<div class="infoWrap fontColor">
|
||||
<div class="leftTitle">
|
||||
<div class="leftItem">工单编号:</div>
|
||||
<div class="leftItem">合同:</div>
|
||||
<div class="leftItem" v-if="!([7,9,11,12].includes(Number(queryType)))">合同:</div>
|
||||
<template v-if="orderDetailInfo.contractParentId == 110">
|
||||
<div class="leftItem">机构名称:</div>
|
||||
<div class="leftItem">销售人员:</div>
|
||||
@@ -23,16 +23,16 @@
|
||||
<span id="copyText">{{orderDetailInfo.orderCode}}</span>
|
||||
<img @click="copyText" src="@/assets/copy.png" style="width: 35px;height: 15px;margin-left: 10px"/>
|
||||
</div>
|
||||
<div class="rightItem">{{ orderDetailInfo.contractName }}</div>
|
||||
<div class="rightItem" v-if="!([7,9,11,12].includes(Number(queryType)))">{{ orderDetailInfo.contractName }}</div>
|
||||
<template v-if="orderDetailInfo.contractParentId == 110">
|
||||
<div class="rightItem">{{ orderDetailInfo.organizeName }}</div>
|
||||
<div class="rightItem">{{ orderDetailInfo.saleName }}</div>
|
||||
<div class="rightItem">{{ orderDetailInfo.driverPhone ? orderDetailInfo.driverPhone : ' '}}</div>
|
||||
</template>
|
||||
<div class="rightItem">{{ orderDetailInfo.contractSettleType?.label }}</div>
|
||||
<div class="rightItem">{{ maskName(orderDetailInfo.userName) }}</div>
|
||||
<div class="rightItem">{{ [7,9,11,12].includes(Number(queryType)) ? maskName(orderDetailInfo.userName) : orderDetailInfo.userName }}</div>
|
||||
<div class="rightItem">{{ maskPhone(orderDetailInfo.userPhone) }}</div>
|
||||
<div class="rightItem">{{ orderDetailInfo.plateNumber }}</div>
|
||||
<div class="rightItem">{{ [7,9,11,12].includes(Number(queryType)) ? maskPlate(orderDetailInfo.plateNumber) : orderDetailInfo.plateNumber }}</div>
|
||||
<!-- <div class="rightItem" >理想智动LXA6500SHEVM理想智动LXA6500SHEVM</div>-->
|
||||
<div class="rightItem" >{{orderDetailInfo.model}}{{ orderDetailInfo.brand }}</div>
|
||||
|
||||
@@ -153,7 +153,7 @@ export default {
|
||||
this.$nextTick(() => {
|
||||
this.initMap();
|
||||
});
|
||||
|
||||
console.log('queryType', this.queryType)
|
||||
},
|
||||
methods:{
|
||||
async getConfigByCodeHandler() {
|
||||
@@ -276,6 +276,11 @@ export default {
|
||||
if (str.length <= 7) return str;
|
||||
return str.slice(0, 3) + '*'.repeat(str.length - 7) + str.slice(-4);
|
||||
},
|
||||
maskPlate(plate) {
|
||||
if (!plate) return '';
|
||||
if (plate.length <= 2) return plate;
|
||||
return plate.slice(0, 1) + '*'.repeat(plate.length - 2) + plate.slice(-1);
|
||||
},
|
||||
async getDriverPoi(){
|
||||
let res=await showVehiclePositionInfo({
|
||||
userOrderId:this.userOrderId,
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<img class="mine" src="@/assets/secondHandCar/mine.png" @click="goMine" />
|
||||
<el-input
|
||||
@blur="getList"
|
||||
placeholder="请输入"
|
||||
placeholder="牌照|车辆类型|落板|排放|品牌|描述|底座|刹车|自营"
|
||||
v-model.trim="topSearch">
|
||||
<img slot="suffix" class="search" src="@/assets/secondHandCar/search.png"/>
|
||||
</el-input>
|
||||
@@ -99,6 +99,11 @@
|
||||
></i>
|
||||
</template>
|
||||
</el-input>
|
||||
<div class="customSel wantSourceSel" @click.stop="toggleWantSource">
|
||||
<img v-if="wantSource === 1" class="checkIcon" src="@/assets/secondHandCar/checked.png" />
|
||||
<img v-else class="checkIcon" src="@/assets/secondHandCar/uncheck.png" />
|
||||
<span :class="{'has-price': wantSource === 1}">想要的车源</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contentWrap" v-show="!show">
|
||||
<van-pull-refresh v-model="isLoading" @refresh="onRefresh" style="min-height:85vh">
|
||||
@@ -223,6 +228,7 @@ export default {
|
||||
showDatePicker: false,
|
||||
areaShow:false,
|
||||
isClearing:false,
|
||||
wantSource: 0,
|
||||
minDate: new Date(1970, 0, 1), // 设置最小可选日期(1970年1月1日)
|
||||
maxDate: new Date(2099, 11, 31) // 设置最大可选日期(2099年12月31日)
|
||||
}
|
||||
@@ -267,6 +273,10 @@ export default {
|
||||
this.setSearchVal();
|
||||
this.getList()
|
||||
},
|
||||
wantSource(){
|
||||
this.setSearchVal();
|
||||
this.getList()
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.getSearchVal();
|
||||
@@ -281,6 +291,9 @@ export default {
|
||||
});
|
||||
},
|
||||
methods:{
|
||||
toggleWantSource(){
|
||||
this.wantSource = this.wantSource === 1 ? 0 : 1;
|
||||
},
|
||||
confirmHandle(val){
|
||||
if(val[0].name.includes('市')){
|
||||
this.areaName=val[0].name
|
||||
@@ -356,6 +369,7 @@ export default {
|
||||
sessionStorage.setItem('dateVal',this.dateVal);
|
||||
sessionStorage.setItem('brandModel',this.brandModel);
|
||||
sessionStorage.setItem('underpanBrand',this.underpanBrand);
|
||||
sessionStorage.setItem('wantSource',String(this.wantSource));
|
||||
},
|
||||
getSearchVal(){
|
||||
this.activeTab = Number(sessionStorage.getItem('indexActiveTab')) || 0;
|
||||
@@ -371,6 +385,7 @@ export default {
|
||||
this.dateVal=sessionStorage.getItem('dateVal') || '';
|
||||
this.brandModel=sessionStorage.getItem('brandModel') || '';
|
||||
this.underpanBrand=sessionStorage.getItem('underpanBrand') || '';
|
||||
this.wantSource=Number(sessionStorage.getItem('wantSource')) || 0;
|
||||
},
|
||||
goMine(){//我的发布
|
||||
this.$router.push({ name: "mineRelease"})
|
||||
@@ -434,6 +449,7 @@ export default {
|
||||
endTime:this.endTime,
|
||||
brandModel:this.brandModel,
|
||||
underpanBrand:this.underpanBrand,
|
||||
wantSource:this.wantSource,
|
||||
})
|
||||
this.total=res.total
|
||||
if(this.pageNum == 1){// 第一页直接赋值
|
||||
@@ -526,6 +542,9 @@ export default {
|
||||
border-radius: 20px;
|
||||
border: 2px solid #264B94;
|
||||
}
|
||||
::v-deep .el-input__inner::placeholder{
|
||||
font-size: 10px;
|
||||
}
|
||||
::v-deep .el-input__suffix{
|
||||
top: 12px;
|
||||
right: 10px;
|
||||
@@ -622,6 +641,22 @@ export default {
|
||||
.has-price{
|
||||
color: #007BE9 !important;
|
||||
}
|
||||
.wantSourceSel{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 3px;
|
||||
width: 68px;
|
||||
cursor: pointer;
|
||||
.checkIcon{
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
}
|
||||
span{
|
||||
font-size: 10px;
|
||||
color: #323233;
|
||||
}
|
||||
}
|
||||
}
|
||||
.contentWrap{
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user