|
|
|
@ -8,7 +8,7 @@ |
|
|
|
|
<uni-easyinput :candidate='candidate' :ejectOpen='ejectOpen' @ejectFn='ejectFn' |
|
|
|
|
:letfText='letfText' confirmType='search' @confirm='seachFn' |
|
|
|
|
placeholder-style="color:#bbbbbb;font-weight: 100;" v-model="seachValue" |
|
|
|
|
:placeholder="letfText=='订单号'? '订单编号':letfText=='司机'?'司机姓名,手机号码':'企业名称,企业编号'" @iconClick="onClick"> |
|
|
|
|
:placeholder="letfText=='订单号'? '订单编号':letfText=='司机'?'司机姓名,手机号码':letfText=='企业'?'企业名称,企业编号':'油站名称'" @iconClick="onClick"> |
|
|
|
|
</uni-easyinput> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -83,7 +83,7 @@ |
|
|
|
|
listData: [], |
|
|
|
|
letfText: '订单号', |
|
|
|
|
seleindex: 0, |
|
|
|
|
candidate: ['企业', '司机','订单号'], |
|
|
|
|
candidate: ['企业', '司机','订单号','油站名称'], |
|
|
|
|
ejectOpen: false, |
|
|
|
|
seachValue: '', |
|
|
|
|
navigation: [{ |
|
|
|
@ -108,7 +108,7 @@ |
|
|
|
|
userName: '', |
|
|
|
|
orderStatus: '', |
|
|
|
|
orderWfStatus: '', |
|
|
|
|
|
|
|
|
|
siteName:'' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
@ -275,15 +275,19 @@ |
|
|
|
|
this.getData.params.userName= '' |
|
|
|
|
this.getData.params.id= '' |
|
|
|
|
this.getData.params.companyName= '' |
|
|
|
|
this.getData.params.siteName= '' |
|
|
|
|
if(this.letfText=='企业'){ |
|
|
|
|
this.getData.params.companyName= this.seachValue |
|
|
|
|
console.log('现在是企业 companyName',this.letfText,) |
|
|
|
|
}else if(this.letfText=='订单号') { |
|
|
|
|
this.getData.params.id= this.seachValue |
|
|
|
|
console.log('现在是订单 id',this.letfText,this.getData.params.id,this.getData.params) |
|
|
|
|
}else{ |
|
|
|
|
}else if(this.letfText=='司机'){ |
|
|
|
|
this.getData.params.userName= this.seachValue |
|
|
|
|
console.log('现在是其他 userName',this.letfText,) |
|
|
|
|
console.log('现在是司机 userName',this.letfText,) |
|
|
|
|
}{ |
|
|
|
|
this.getData.params.siteName= this.seachValue |
|
|
|
|
console.log('现在是其他 siteName',this.letfText,) |
|
|
|
|
} |
|
|
|
|
this.getData.currentPage = 1 |
|
|
|
|
this.getlist() |
|
|
|
|