選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index.09971ee9.js 21KB

3ヶ月前
1
  1. var Pe=Object.defineProperty,ze=Object.defineProperties;var Ge=Object.getOwnPropertyDescriptors;var fe=Object.getOwnPropertySymbols;var Je=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable;var ve=(f,b,l)=>b in f?Pe(f,b,{enumerable:!0,configurable:!0,writable:!0,value:l}):f[b]=l,O=(f,b)=>{for(var l in b||(b={}))Je.call(b,l)&&ve(f,l,b[l]);if(fe)for(var l of fe(b))Qe.call(b,l)&&ve(f,l,b[l]);return f},q=(f,b)=>ze(f,Ge(b));var I=(f,b,l)=>new Promise((h,E)=>{var U=V=>{try{t(l.next(V))}catch(Y){E(Y)}},Q=V=>{try{t(l.throw(V))}catch(Y){E(Y)}},t=V=>V.done?h(V.value):Promise.resolve(V.value).then(U,Q);t((l=l.apply(f,b)).next())});import{_ as Xe,d as Ze,y as ye,r as v,u as Ke,k as ea,x as aa,O as C,X as ta,o as la,R as ra,f as k,g as m,n as B,w as s,e as r,v as i,c as y,q as _e,F as D,p as _,Y as oa,b as J,Z as na,h as j,M as be,Q as he,E as ke,J as sa,L as da}from"./index.063c96f2.js";import{e as ia,t as ma,l as ua,d as we,v as ge,a as pa,b as ca}from"./orderManage.a645cec0.js";import fa from"./orderDetailDrawer.cfa71f59.js";import va from"./driverAssignmentDialog.353674e9.js";import ya from"./cancelOrderDialog.fa545eb3.js";import _a from"./confirmOrderDialog.37fd440e.js";import ba from"./orderCompletionDialog.11d9f25e.js";import ha from"./confirmBoardingDialog.fb40393c.js";import ka from"./trajectoryDialog.ac524e6b.js";import{u as wa}from"./useExportExc.3fdaa5ef.js";import{u as ga}from"./useTreeSelectData.490a122a.js";import"./uploadAction.b3befe9a.js";import"./editOrderForm.a074e018.js";import"./projectManage.7df007db.js";import"./queryAddressDialog.3e97d318.js";import"./locationTransform.e2d22cb6.js";import"./tiandimap.2ffe4ddf.js";import"./imageWaterUtils.2f29f38d.js";const Ca=f=>(sa("data-v-3cd15e1f"),f=f(),da(),f),Ta=j("\u67E5\u8BE2"),Va=j("\u91CD\u7F6E"),Sa={class:"flex justify-between items-center"},Na=Ca(()=>J("span",null,"\u8BA2\u5355\u5217\u8868",-1)),Oa=j(" \u5BFC\u51FA\u53F8\u673A\u7ED3\u7B97\u8BA2\u5355 "),Ia=j(" \u5BFC\u51FA "),xa=j(" \u5BFC\u51FA\u8F68\u8FF9 "),Da=["onClick"],Fa=["onClick"],Ma=["onClick"],Ba=["onClick"],Ya=["onClick"],qa=["onClick"],$a=["onClick"],Ra=["onClick"],ja=["onClick"],Ea={key:3,class:"text-info"},Ua=["onClick"],La=["onClick"],Ha=Ze({name:"OrderList",beforeRouteEnter(f,b,l){f.meta.activeMenu=f.query.activeMenu,l()}}),Aa=Object.assign(Ha,{props:{state:String},setup(f,{expose:b}){const l=f,h=ye.userStore.userBaseInfo,{cascaderProps:E}=ga(),U=v([]),Q=Ke(),t=ea(),{dictList:V,orderStatusOption:Y}=aa(ye.dictStore),e={orderToBeDistributed:1,ordersToBeAccepted:10,ordersInService:20,realtimePositions:30,ordersCancelled:40,ordersToBeConfirmed:50,confirmedOrders:60,ordersReview:70,orderListInSettlementDoc:80},d=v({confirmStartTime:(e[t.name]||e[l.state])===80&&t.query.times?t.query.times[0]:void 0,confirmEndTime:(e[t.name]||e[l.state])===80&&t.query.times?t.query.times[1]:void 0,companyName:(e[t.name]||e[l.state])===80&&t.query.companyName?t.query.companyName:void 0}),$=v(),L=v(0),Ce=v([{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u8BA2\u5355\u7F16\u53F7",key:"orderNum",prop:"orderNum",minWidth:"170",showOverflowTooltip:e[t.name]!==60},{label:"\u8F66\u724C\u53F7\u7801",key:"carNum",prop:"carNum",hidden:(e[t.name]||e[l.state])===1,width:"100"},{label:"\u7528\u8F66\u65F6\u95F4",key:"useCarTime",prop:"useCarTime",hidden:[30,40].some(a=>a===(e[t.name]||e[l.state])),width:"180"},{label:"\u786E\u8BA4\u4E0A\u8F66\u65F6\u95F4",key:"confirmedBoardingTime",prop:"confirmedBoardingTime",hidden:e[t.name]!==60,width:"180"},{label:"\u7ED3\u675F\u65F6\u95F4",key:"endCarTime",prop:"endCarTime",hidden:[50,60,80].every(a=>a!==(e[t.name]||e[l.state])),width:"180"},{label:"\u8BA2\u5355\u72B6\u6001",key:"orderStatusName",prop:"orderStatusName",hidden:(e[t.name]||e[l.state])!==70,width:"120"},{label:"\u6240\u5C5E\u9879\u76EE",key:"projectName",prop:"projectName",minWidth:"180",showOverflowTooltip:e[t.name]!==60},{label:"\u6240\u5C5E\u4F01\u4E1A",key:"companyName",prop:"companyName",minWidth:"180",showOverflowTooltip:e[t.name]!==60},{label:"\u5DE5\u4F5C\u7C7B\u578B",key:"jobType",prop:"jobType",minWidth:"180",showOverflowTooltip:e[t.name]!==60},{label:"\u8F66\u8F86\u7C7B\u578B",key:"carType",prop:"carType",width:"140"},{label:"\u4E58\u5BA2\u59D3\u540D",key:"passengerName",prop:"passengerName",minWidth:"180",showOverflowTooltip:e[t.name]!==60},{label:"\u53F8\u673A\u59D3\u540D",key:"driverName",prop:"driverName",hidden:(e[t.name]||e[l.state])===1,width:"120"},{label:"\u521B\u5EFA\u65F6\u95F4",key:"createOn",prop:"createOn",width:"180"},{label:"\u8BA2\u5355\u8D77\u6B62\u65F6\u95F4",key:"passengerConfirmTime",render:a=>{var n;return C("span",`${a.createOn}-${(n=a.endCarTime)!=null?n:""}`)},hidden:(e[t.name]||e[l.state])!==70,width:"325"},{label:"\u7ED3\u7B97\u65B9\u5F0F",key:"settlementPeriod",render:a=>C("span",a.settlementPeriod===1?"\u5468\u7ED3":"\u6708\u7ED3"),hidden:(e[t.name]||e[l.state])!==70,width:"120"},{label:"\u6240\u5C5E\u533A\u57DF",key:"boardingRegion",prop:"boardingRegion",hidden:(e[t.name]||e[l.state])!==70,minWidth:"220",showOverflowTooltip:!0},{label:"\u5728\u7EBF\u72B6\u6001",key:"carOnlineStatus",render:a=>C("span",a.carOnlineStatus?"\u5728\u7EBF":"\u4E0D\u5728\u7EBF"),hidden:(e[t.name]||e[l.state])!==30,width:"120"},{label:"\u6700\u8FD1\u5728\u7EBF\u65F6\u95F4",key:"lastOnlineTime",prop:"lastOnlineTime",hidden:(e[t.name]||e[l.state])!==30,width:"180"},{label:"\u6700\u8FD1\u5728\u7EBF\u4F4D\u7F6E",key:"lastOnlineAddress",prop:"lastOnlineAddress",hidden:(e[t.name]||e[l.state])!==30,minWidth:"180",showOverflowTooltip:!0},{label:"\u79DF\u8F66\u8D39\uFF08\u5143\uFF09",key:"carFee",render:a=>C("span",a.carFee||"-"),hidden:[50,60,80].every(a=>a!==(e[t.name]||e[l.state])),width:"140"},{label:"\u4E2A\u4EBA\u79DF\u8F66\u8D39\uFF08\u5143\uFF09",key:"carFeeByDriver",render:a=>C("span",a.carFeeByDriver&&a.carFeeByDriver!=="0.00"?a.carFeeByDriver:"-"),hidden:(e[t.name]||e[l.state])!==80,width:"160"},{label:"\u8F66\u673A\u8F68\u8FF9\u91CC\u7A0B\uFF08\u5343\u7C73\uFF09",key:"gpsMileage",prop:"gpsMileage",hidden:[50,60,80].every(a=>a!==(e[t.name]||e[l.state])),width:"180"},{label:"\u91CC\u7A0B\u8D39\u7528\uFF08\u5143\uFF09",key:"fuelFee",prop:"fuelFee",hidden:[50,60,80].every(a=>a!==(e[t.name]||e[l.state])),width:"140"},{label:"\u505C\u8F66\u8D39\uFF08\u5143\uFF09",key:"parkingFee",render:a=>C("span",a.parkingFee||"-"),hidden:[50,60,80].every(a=>a!==(e[t.name]||e[l.state])),width:"140"},{label:"\u9AD8\u901F\u8D39\uFF08\u5143\uFF09",key:"expresswayFee",render:a=>C("span",a.expresswayFee||"-"),hidden:[50,60,80].every(a=>a!==(e[t.name]||e[l.state])),width:"140"},{label:"\u8D85\u65F6\u8D39\uFF08\u5143\uFF09",key:"workingOvertimeFee",render:a=>C("span",a.workingOvertimeFee||"-"),hidden:[50,60,80].every(a=>a!==(e[t.name]||e[l.state])),width:"140"},{label:"\u591C\u73ED\u8D39\uFF08\u5143\uFF09",key:"nightWorkFee",render:a=>C("span",a.nightWorkFee||"-"),hidden:[50,60,80].every(a=>a!==(e[t.name]||e[l.state])),width:"140"},{label:"\u4E0B\u53BF\u8865\u8D34\uFF08\u5143\uFF09",key:"countySubsidyFee",render:a=>C("span",a.countySubsidyFee||"-"),hidden:[50,60,80].every(a=>a!==(e[t.name]||e[l.state])),width:"140"},{label:"\u9644\u52A0\u8D39\uFF08\u5143\uFF09",key:"surcharge",render:a=>C("span",a.surcharge||"-"),hidden:[50,60,80].every(a=>a!==(e[t.name]||e[l.state])),width:"140"},{label:"\u5176\u4ED6\u8D39\u7528\uFF08\u5143\uFF09",key:"otherCost",render:a=>C("span",a.otherCost||"-"),hidden:[50,60,80].every(a=>a!==(e[t.name]||e[l.state])),width:"140"},{label:"\u64CD\u4F5C",key:"action",slot:"action",width:"200",fixed:"right"}]),X=v([]),H=v({}),w=(...n)=>I(this,[...n],function*(a=$.value.pageParams){var c,p,u,S,N,F,W,P,x,z,G,R;if(t.query.settlementId){const M=yield ma(q(O(q(O({},a),{settlementId:t.query.settlementId}),d.value),{startTime:(c=d.value.times)==null?void 0:c[0],endTime:(p=d.value.times)==null?void 0:p[1],createStartTime:(u=d.value.createTimes)==null?void 0:u[0],createEndTime:(S=d.value.createTimes)==null?void 0:S[1]}));L.value=M.data.total,X.value=M.data.records}else{H.value=q(O({},d.value),{startTime:(N=d.value.times)==null?void 0:N[0],endTime:(F=d.value.times)==null?void 0:F[1],times:void 0,createStartTime:(W=d.value.createTimes)==null?void 0:W[0],createEndTime:(P=d.value.createTimes)==null?void 0:P[1],createTimes:void 0,confirmed:t.query.isOrder?!0:void 0,projectId:t.query.isOrder?t.query.projectId:void 0,gpsMileage:t.query.isOrder?30:void 0,orderTimeMin:(x=d.value.orderTime)==null?void 0:x[0],orderTimeMax:(z=d.value.orderTime)==null?void 0:z[1],orderTime:void 0,regionCode:(R=(G=d.value)==null?void 0:G.regionCode)==null?void 0:R.at(-1)});const M=yield ua(e[t.name]||e[l.state],q(O(O({},H.value),a),{pageSize:l.state==="ordersToBeConfirmed"?5:a.pageSize}));L.value=M.data.total,X.value=M.data.records}}),Te=()=>{$.value.pageParams.pageNumber=1,w()},Ve=()=>{d.value={confirmStartTime:(e[t.name]||e[l.state])===80&&t.query.times?t.query.times[0]:void 0,confirmEndTime:(e[t.name]||e[l.state])===80&&t.query.times?t.query.times[1]:void 0,companyName:(e[t.name]||e[l.state])===80&&t.query.companyName?t.query.companyName:void 0},$.value.pageParams.pageNumber=1,$.value.pageParams.pageSize=10,w()},{exportLoading:Se,exportData:oe}=wa(),g=v(),ne=v(),A=v(!1),se=v(!1),Z=(a,n)=>I(this,null,function*(){ne.value=a;const c=yield we({orderNum:a.orderNum});c.data.basicInfo.projectId=a.projectId,c.data.basicInfo.companyId=a.companyId,c.data.basicInfo.regionId=a.regionId,c.data.carAndDriverInfo.driverId=a.driverId,c.data.carAndDriverInfo.carTypeDictValue=a.carTypeCode,g.value=c.data,se.value=n,A.value=!0}),Ne=()=>{A.value=!1,Z(ne.value)},K=v(!1),de=v(!1),ie=(a,n)=>I(this,null,function*(){g.value=a,de.value=n,K.value=!0}),Oe=a=>{K.value=!1,a&&w()},ee=v(!1),Ie=a=>I(this,null,function*(){g.value=a,ee.value=!0}),xe=a=>{ee.value=!1,a&&w()},ae=v(!1),De=a=>I(this,null,function*(){const n=yield we({orderNum:a.orderNum});g.value=n.data,ae.value=!0}),Fe=a=>{ae.value=!1,a&&w()},te=v(!1),Me=a=>I(this,null,function*(){g.value=a,te.value=!0}),Be=a=>{te.value=!1,a&&w()},le=v(!1),Ye=a=>I(this,null,function*(){g.value=a,le.value=!0}),qe=a=>{le.value=!1,a&&w()},$e=a=>{Q.push({name:"trackPlayback",query:{orderId:a.id}})},Re=({orderStatus:a})=>{const n=e[l.state],c=e[t.name];return(c||n)===10||(c||n)===70&&a!=="IS_CANCEL"&&h.role==="super_admin"},me=v(!1),je=()=>{var p;const{settlementId:a}=t.query,n=a?pa:ca,c=a?{settlementId:a}:q(O({},H.value),{orderStatus:(e[t.name]||e[l.state])!==70?(e[t.name]||e[l.state])===80||(p=Y.value.find(u=>u.id===(e[t.name]||e[l.state])))==null?void 0:p.key:d.value.orderStatus,type:(e[t.name]||e[l.state])===30?2:[10,20,40,70].some(u=>u===e[t.name]||e[l.state])?1:(e[t.name]||e[l.state])===1?4:void 0});oe(()=>n(O({},c)),me)},re=v(!1),Ee=()=>{re.value=!0},Ue=a=>{re.value=!1};function Le(a){const n=be(a.useCarTime),c=be(),p=c.isSame(n,"month"),u=n.isSame(c.subtract(1,"month"),"month");return p||u}ta("orderDetail",{detailVisible:A,rowData:g,editOrder:se,close:a=>{A.value=!1,a&&w()}}),la(()=>I(this,null,function*(){(e[t.name]||e[l.state])===70&&(U.value=(yield ra()).data),yield w()})),b({total:L});function He(a){he.confirm("\u786E\u5B9A\u53D6\u6D88\u4F5C\u5E9F\u6B64\u8BA2\u5355\u5417?").then(()=>{ge({isSettlementFee:!0,orderId:a.id}).then(()=>{w(),ke.success("\u53D6\u6D88\u4F5C\u5E9F\u6210\u529F")})}).catch(()=>{}),w()}function Ae(a){he.confirm("\u786E\u5B9A\u8981\u4F5C\u5E9F\u6B64\u8BA2\u5355\u5417?").then(()=>{ge({isSettlementFee:!1,orderId:a.id}).then(()=>{w(),ke.success("\u4F5C\u5E9F\u6210\u529F")})}).catch(()=>{})}return(a,n)=>{const c=k("el-date-picker"),p=k("el-form-item"),u=k("el-col"),S=k("el-input"),N=k("el-option"),F=k("el-select"),W=k("el-cascader"),P=k("el-input-number"),x=k("el-button"),z=k("el-row"),G=k("el-form"),R=k("el-card"),M=k("table-list"),We=k("views");return m(),B(We,null,{default:s(()=>[l.state!=="ordersToBeConfirmed"?(m(),B(R,{key:0,shadow:"never",class:"search myCard mb-16"},{default:s(()=>[r(G,{"label-suffix":":",model:d.value,size:"small"},{default:s(()=>[r(z,{gutter:16},{default:s(()=>[r(u,{span:12},{default:s(()=>[r(p,{label:"\u7528\u8F66\u65F6\u95F4"},{default:s(()=>[r(c,{modelValue:d.value.times,"onUpdate:modelValue":n[0]||(n[0]=o=>d.value.times=o),format:"YYYY-MM-DD HH:mm","value-format":"YYYY-MM-DD HH:mm",type:"datetimerange","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4"},null,8,["modelValue"])]),_:1})]),_:1}),r(u,{span:12,class:"mb-16"},{default:s(()=>[r(p,{label:"\u521B\u5EFA\u65F6\u95F4"},{default:s(()=>[r(c,{modelValue:d.value.createTimes,"onUpdate:modelValue":n[1]||(n[1]=o=>d.value.createTimes=o),format:"YYYY-MM-DD HH:mm","value-format":"YYYY-MM-DD HH:mm",type:"datetimerange","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4"},null,8,["modelValue"])]),_:1})]),_:1}),r(u,{span:6},{default:s(()=>[r(p,{label:"\u8BA2\u5355\u7F16\u53F7"},{default:s(()=>[r(S,{modelValue:d.value.orderNum,"onUpdate:modelValue":n[2]||(n[2]=o=>d.value.orderNum=o),maxlength:"16",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),r(u,{span:6},{default:s(()=>[r(p,{label:"\u6240\u5C5E\u9879\u76EE"},{default:s(()=>[r(S,{modelValue:d.value.projectName,"onUpdate:modelValue":n[3]||(n[3]=o=>d.value.projectName=o),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),r(u,{span:6},{default:s(()=>[r(p,{label:"\u6240\u5C5E\u4F01\u4E1A"},{default:s(()=>[r(S,{modelValue:d.value.companyName,"onUpdate:modelValue":n[4]||(n[4]=o=>d.value.companyName=o),readonly:i(t).name==="orderListInSettlementDoc",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue","readonly"])]),_:1})]),_:1}),r(u,{span:6,class:"mb-16"},{default:s(()=>[r(p,{label:"\u8F66\u8F86\u7C7B\u578B"},{default:s(()=>[r(F,{modelValue:d.value.carType,"onUpdate:modelValue":n[5]||(n[5]=o=>d.value.carType=o),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",clearable:!0},{default:s(()=>[(m(!0),y(D,null,_e(i(V).find(o=>o.dictType==="car_type").dictData,o=>(m(),B(N,{key:o.id,label:o.dictLabel,value:o.dictValue},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),r(u,{span:6},{default:s(()=>[r(p,{label:"\u4E58\u5BA2\u59D3\u540D"},{default:s(()=>[r(S,{modelValue:d.value.passengerName,"onUpdate:modelValue":n[6]||(n[6]=o=>d.value.passengerName=o),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),(e[i(t).name]||e[l.state])!==1?(m(),y(D,{key:0},[r(u,{span:6},{default:s(()=>[r(p,{label:"\u53F8\u673A\u59D3\u540D"},{default:s(()=>[r(S,{modelValue:d.value.driverName,"onUpdate:modelValue":n[7]||(n[7]=o=>d.value.driverName=o),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),r(u,{span:6,class:"mb-16"},{default:s(()=>[r(p,{label:"\u8F66\u724C\u53F7\u7801"},{default:s(()=>[r(S,{modelValue:d.value.carNum,"onUpdate:modelValue":n[8]||(n[8]=o=>d.value.carNum=o),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e[i(t).name]===60?(m(),B(u,{key:0,span:6,class:"mb-16"},{default:s(()=>[r(p,{label:"\u662F\u5426\u4F5C\u5E9F"},{default:s(()=>[r(F,{modelValue:d.value.isSettlementFee,"onUpdate:modelValue":n[9]||(n[9]=o=>d.value.isSettlementFee=o),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",clearable:!0},{default:s(()=>[r(N,{key:"true",label:"\u5426",value:"true"}),r(N,{key:"true",label:"\u662F",value:"false"})]),_:1},8,["modelValue"])]),_:1})]),_:1})):_("",!0)],64)):_("",!0),(e[i(t).name]||e[l.state])===70?(m(),y(D,{key:1},[r(u,{span:6},{default:s(()=>[r(p,{label:"\u8BA2\u5355\u72B6\u6001"},{default:s(()=>[r(F,{modelValue:d.value.orderStatus,"onUpdate:modelValue":n[10]||(n[10]=o=>d.value.orderStatus=o),clearable:"",placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:s(()=>[(m(!0),y(D,null,_e(i(Y),o=>(m(),B(N,{key:o.key,label:o.value,value:o.key},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),r(u,{span:8},{default:s(()=>[r(p,{label:"\u8BA2\u5355\u65F6\u95F4"},{default:s(()=>[r(c,{modelValue:d.value.orderTime,"onUpdate:modelValue":n[11]||(n[11]=o=>d.value.orderTime=o),format:"YYYY-MM-DD HH:mm","value-format":"YYYY-MM-DD HH:mm",type:"datetimerange","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4"},null,8,["modelValue"])]),_:1})]),_:1}),r(u,{span:4},{default:s(()=>[r(p,{label:"\u7ED3\u7B97\u65B9\u5F0F"},{default:s(()=>[r(F,{modelValue:d.value.settlementPeriod,"onUpdate:modelValue":n[12]||(n[12]=o=>d.value.settlementPeriod=o),clearable:"",placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:s(()=>[r(N,{label:"\u6708\u7ED3",value:2}),r(N,{label:"\u5468\u7ED3",value:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),r(u,{span:4},{default:s(()=>[r(p,{label:"\u6240\u5C5E\u533A\u57DF"},{default:s(()=>[r(W,{modelValue:d.value.regionCode,"onUpdate:modelValue":n[13]||(n[13]=o=>d.value.regionCode=o),props:i(E),options:U.value,clearable:"",class:"w-full"},null,8,["modelValue","props","options"])]),_:1})]),_:1}),r(u,{span:4},{default:s(()=>[r(p,{label:"\u8D85\u65F6\u65F6\u957F"},{default:s(()=>[r(P,{modelValue:d.value.overTime,"onUpdate:modelValue":n[14]||(n[14]=o=>d.value.overTime=o),controls:!1,placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})],64)):_("",!0),r(u,{span:(e[i(t).name]||e[l.state])===70?4:24},{default:s(()=>[r(p,{class:"btn"},{default:s(()=>[r(x,{type:"primary",onClick:Te},{default:s(()=>[Ta]),_:1}),r(x,{type:"info",onClick:Ve},{default:s(()=>[Va]),_:1})]),_:1})]),_:1},8,["span"])]),_:1})]),_:1},8,["model"])]),_:1})):_("",!0),r(R,{shadow:"never",class:na(l.state!=="ordersToBeConfirmed"?"":"noCardStyle")},oa({default:s(()=>[r(M,{ref_key:"tableListRef",ref:$,column:Ce.value,data:X.value,total:L.value,pagination:l.state!=="ordersToBeConfirmed","empty-temp":l.state!=="ordersToBeConfirmed",border:e[i(t).name]===60,onGetTableData:w},{action:s(({scope:o})=>{var ue,pe,ce;return[J("a",{class:"text-primary",onClick:T=>Z(o.row)},"\u8BE6\u60C5",8,Da),Re(o.row)?(m(),y("a",{key:0,class:"text-danger",onClick:T=>Ie(o.row)},"\u53D6\u6D88\u8BA2\u5355",8,Fa)):(m(),y(D,{key:1},[(e[i(t).name]||e[l.state])!==40&&(e[i(t).name]||e[l.state])!==1?(m(),y("a",{key:0,class:"text-primary",onClick:T=>$e(o.row)},"\u8F68\u8FF9",8,Ma)):_("",!0),(e[i(t).name]||e[l.state])===50?(m(),y("a",{key:1,class:"text-primary",onClick:T=>De(o.row)},"\u786E\u8BA4\u8BA2\u5355",8,Ba)):(e[i(t).name]||e[l.state])===1&&((ue=i(h))==null?void 0:ue.role)==="super_admin"?(m(),y("a",{key:2,class:"text-primary",onClick:T=>ie(o.row)},"\u5206\u914D\u53F8\u673A",8,Ya)):_("",!0)],64)),(e[i(t).name]||e[l.state])===70&&["super_admin","project_manager"].includes((pe=i(h))==null?void 0:pe.role)?(m(),y(D,{key:2},[["super_admin"].includes((ce=i(h))==null?void 0:ce.role)?(m(),y(D,{key:0},[o.row.orderStatus==="TO_BE_ORDER"||o.row.orderStatus==="WAITING_FOR_CAR"?(m(),y("a",{key:0,class:"text-primary",onClick:T=>ie(o.row,!0)},"\u4FEE\u6539\u53F8\u673A",8,qa)):_("",!0),o.row.orderStatus==="TO_BE_CONFIRM"||o.row.orderStatus==="CONFIRM"?(m(),y("a",{key:1,class:"text-primary",onClick:T=>Z(o.row,!0)},"\u4FEE\u6539",8,$a)):_("",!0)],64)):_("",!0),o.row.orderStatus==="WAITING_FOR_CAR"&&(i(h).role==="project_manager"||i(h).role==="regional_general_manager"||i(h).role==="enterprise_admin"||i(h).role==="super_admin")?(m(),y("a",{key:1,class:"text-primary",onClick:T=>Me(o.row)},"\u786E\u8BA4\u4E0A\u8F66",8,Ra)):_("",!0),o.row.orderStatus==="ON_SERVICE"&&(i(h).role==="project_manager"||i(h).role==="regional_general_manager"||i(h).role==="enterprise_admin"||i(h).role==="super_admin")?(m(),y("a",{key:2,class:"text-primary",onClick:T=>Ye(o.row)},"\u8BA2\u5355\u5B8C\u6210",8,ja)):_("",!0)],64)):_("",!0),!o.row.isSettlementFee&&e[i(t).name]===60?(m(),y("a",Ea,"\u5DF2\u4F5C\u5E9F")):_("",!0),e[i(t).name]===60&&Le(o.row)?(m(),y(D,{key:4},[o.row.isSettlementFee?(m(),y("a",{key:0,class:"text-danger",onClick:T=>Ae(o.row)},"\u4F5C\u5E9F",8,Ua)):_("",!0),o.row.isSettlementFee?_("",!0):(m(),y("a",{key:1,class:"text-primary",onClick:T=>He(o.row)},"\u64A4\u9500\u4F5C\u5E9F",8,La))],64)):_("",!0)]}),_:1},8,["column","data","total","pagination","empty-temp","border"])]),_:2},[l.state!=="ordersToBeConfirmed"?{name:"header",fn:s(()=>[J("div",Sa,[Na,J("div",null,[(e[i(t).name]||e[l.state])===70?(m(),B(x,{key:0,loading:i(Se),type:"primary",plain:"",icon:"Download",size:"small",onClick:n[15]||(n[15]=o=>i(oe)(()=>i(ia)(O({},H.value))))},{default:s(()=>[Oa]),_:1},8,["loading"])):_("",!0),r(x,{loading:me.value,type:"primary",plain:"",icon:"Download",size:"small",onClick:je},{default:s(()=>[Ia]),_:1},8,["loading"]),(e[i(t).name]||e[l.state])===60?(m(),B(x,{key:1,type:"primary",plain:"",icon:"Download",size:"small",onClick:Ee},{default:s(()=>[xa]),_:1})):_("",!0)])])]),key:"0"}:void 0]),1032,["class"]),r(fa,{onUpdateInfo:Ne}),r(va,{visible:K.value,data:g.value,"is-edit-driver":de.value,onClose:Oe},null,8,["visible","data","is-edit-driver"]),r(ya,{visible:ee.value,data:g.value,onClose:xe},null,8,["visible","data"]),r(_a,{visible:ae.value,data:g.value,onClose:Fe},null,8,["visible","data"]),r(ha,{visible:te.value,data:g.value,onClose:Be},null,8,["visible","data"]),r(ba,{visible:le.value,data:g.value,onClose:qe},null,8,["visible","data"]),r(ka,{visible:re.value,onClose:Ue},null,8,["visible"])]),_:1})}}}),mt=Xe(Aa,[["__scopeId","data-v-3cd15e1f"]]);export{mt as default};