From 3e545518ecb0a9743b72d5c139f21134d88142b0 Mon Sep 17 00:00:00 2001 From: douqi <630797947@qq.com> Date: Tue, 21 Mar 2023 09:46:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=98=9F=E9=93=BEOMS=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=96=B0=E5=A2=9E=E6=A0=B9=E6=8D=AE=E6=B2=B9?= =?UTF-8?q?=E7=AB=99=E5=90=8D=E5=AD=97=E8=BF=9B=E8=A1=8C=E5=85=B3=E9=94=AE?= =?UTF-8?q?=E5=AD=97=E6=90=9C=E7=B4=A2=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- orderList/index/index.vue | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/orderList/index/index.vue b/orderList/index/index.vue index 116cb40..149b914 100644 --- a/orderList/index/index.vue +++ b/orderList/index/index.vue @@ -8,7 +8,7 @@ + :placeholder="letfText=='订单号'? '订单编号':letfText=='司机'?'司机姓名,手机号码':letfText=='企业'?'企业名称,企业编号':'油站名称'" @iconClick="onClick"> @@ -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()