@@ -1 +1 @@ | |||
var y=(m,u,o)=>new Promise((_,a)=>{var f=t=>{try{r(o.next(t))}catch(l){a(l)}},c=t=>{try{r(o.throw(t))}catch(l){a(l)}},r=t=>t.done?_(t.value):Promise.resolve(t.value).then(f,c);r((o=o.apply(m,u)).next())});import{l as V}from"./driverFile.7b683d21.js";import{_ as M,d as T,r as g,f as d,g as w,n as B,w as n,e as i,h as k,M as D,i as L}from"./index.56ad3315.js";const h=k(" \u5173\u95ED "),j=k(" \u4FDD\u5B58 "),E=T({name:"askForLeaveDialog"}),F=Object.assign(E,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(m,{emit:u}){const o=m,{proxy:_}=L(),a=g({times:[]}),f=g(),c=g({times:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BF7\u5047\u65F6\u95F4",trigger:"blur"}]}),r=s=>s.getTime()<new Date().getTime()-24*60*60*1e3,t=()=>{f.value.validate(s=>y(this,null,function*(){if(s){const{times:e}=a.value,p={id:o.data.userId,leaveState:"LEAVE",leaveStartTime:e.length?D(e[0]).format("YYYY-MM-DD"):void 0,leaveEndTime:e.length?D(e[1]).format("YYYY-MM-DD"):void 0,times:void 0};yield V(p),_.$message.success("\u8BF7\u5047\u6210\u529F\uFF01"),l(!0)}}))},l=s=>{a.value={times:[]},u("close",s)};return(s,e)=>{const p=d("el-date-picker"),x=d("el-form-item"),Y=d("el-form"),b=d("el-button"),C=d("el-dialog");return w(),B(C,{"model-value":m.visible,title:"\u8BF7\u5047","destroy-on-close":"",onClose:e[2]||(e[2]=v=>u("close"))},{footer:n(()=>[i(b,{type:"info",size:"small",onClick:e[1]||(e[1]=v=>l(!1))},{default:n(()=>[h]),_:1}),i(b,{type:"primary",size:"small",onClick:t},{default:n(()=>[j]),_:1})]),default:n(()=>[i(Y,{ref_key:"formRef",ref:f,model:a.value,rules:c.value,"label-suffix":":",class:"formBox"},{default:n(()=>[i(x,{label:"\u8BF7\u5047\u65F6\u95F4",prop:"times"},{default:n(()=>[i(p,{modelValue:a.value.times,"onUpdate:modelValue":e[0]||(e[0]=v=>a.value.times=v),type:"daterange","range-separator":"\u81F3","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4","disabled-date":r},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["model-value"])}}}),z=M(F,[["__scopeId","data-v-ef7b43cd"]]);export{z as default}; | |||
var y=(m,u,o)=>new Promise((_,a)=>{var f=t=>{try{r(o.next(t))}catch(l){a(l)}},c=t=>{try{r(o.throw(t))}catch(l){a(l)}},r=t=>t.done?_(t.value):Promise.resolve(t.value).then(f,c);r((o=o.apply(m,u)).next())});import{l as V}from"./driverFile.1a4908ec.js";import{_ as M,d as T,r as g,f as d,g as w,n as B,w as n,e as i,h as k,M as D,i as L}from"./index.4f7e0e83.js";const h=k(" \u5173\u95ED "),j=k(" \u4FDD\u5B58 "),E=T({name:"askForLeaveDialog"}),F=Object.assign(E,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(m,{emit:u}){const o=m,{proxy:_}=L(),a=g({times:[]}),f=g(),c=g({times:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BF7\u5047\u65F6\u95F4",trigger:"blur"}]}),r=s=>s.getTime()<new Date().getTime()-24*60*60*1e3,t=()=>{f.value.validate(s=>y(this,null,function*(){if(s){const{times:e}=a.value,p={id:o.data.userId,leaveState:"LEAVE",leaveStartTime:e.length?D(e[0]).format("YYYY-MM-DD"):void 0,leaveEndTime:e.length?D(e[1]).format("YYYY-MM-DD"):void 0,times:void 0};yield V(p),_.$message.success("\u8BF7\u5047\u6210\u529F\uFF01"),l(!0)}}))},l=s=>{a.value={times:[]},u("close",s)};return(s,e)=>{const p=d("el-date-picker"),x=d("el-form-item"),Y=d("el-form"),b=d("el-button"),C=d("el-dialog");return w(),B(C,{"model-value":m.visible,title:"\u8BF7\u5047","destroy-on-close":"",onClose:e[2]||(e[2]=v=>u("close"))},{footer:n(()=>[i(b,{type:"info",size:"small",onClick:e[1]||(e[1]=v=>l(!1))},{default:n(()=>[h]),_:1}),i(b,{type:"primary",size:"small",onClick:t},{default:n(()=>[j]),_:1})]),default:n(()=>[i(Y,{ref_key:"formRef",ref:f,model:a.value,rules:c.value,"label-suffix":":",class:"formBox"},{default:n(()=>[i(x,{label:"\u8BF7\u5047\u65F6\u95F4",prop:"times"},{default:n(()=>[i(p,{modelValue:a.value.times,"onUpdate:modelValue":e[0]||(e[0]=v=>a.value.times=v),type:"daterange","range-separator":"\u81F3","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4","disabled-date":r},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["model-value"])}}}),z=M(F,[["__scopeId","data-v-ef7b43cd"]]);export{z as default}; |
@@ -1 +1 @@ | |||
import{d as P,f as c,g as n,c as o,e as a,w as e,h as i,t as s,v,M as g,b as _,F as y,q as x,n as k,p as Y}from"./index.56ad3315.js";const N={class:"basicInfo"},B={class:"flex"},C={key:0,class:"mt-8"},F={class:"image-slot"},M={key:1},V={key:0,class:"mt-8"},R={class:"image-slot"},j=P({name:"basicInfo"}),I=Object.assign(j,{props:{detailData:{type:Object,default:()=>{}}},setup(t){return(S,T)=>{const l=c("el-form-item"),d=c("el-col"),D=c("Picture"),b=c("el-icon"),h=c("el-image"),w=c("el-row");return n(),o("div",N,[a(w,{gutter:30},{default:e(()=>[a(d,{span:12},{default:e(()=>[a(l,{label:"\u59D3\u540D"},{default:e(()=>[i(s(t.detailData.realName),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u624B\u673A\u53F7"},{default:e(()=>[i(s(t.detailData.phone),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u6240\u5C5E\u4F01\u4E1A"},{default:e(()=>[i(s(t.detailData.companyName),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u6CE8\u518C\u5730\u533A"},{default:e(()=>[i(s(t.detailData.driveRegionName||"-"),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u8EAB\u4EFD\u8BC1\u53F7"},{default:e(()=>[i(s(t.detailData.idCard||"-"),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u6027\u522B"},{default:e(()=>[i(s({1:"\u7537",2:"\u5973"}[t.detailData.gender]||"-"),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u51FA\u751F\u65E5\u671F"},{default:e(()=>[i(s(t.detailData.birthDate?v(g)(t.detailData.birthDate).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u5E74\u9F84"},{default:e(()=>[i(s(t.detailData.age||"-"),1)]),_:1})]),_:1}),a(d,{span:24},{default:e(()=>[a(l,{label:"\u73B0\u4F4F\u5730\u5740"},{default:e(()=>[i(s(t.detailData.address||"-"),1)]),_:1})]),_:1}),a(d,{span:8},{default:e(()=>[_("div",B,[a(l,{label:"\u8EAB\u4EFD\u8BC1\u7167\u7247"},{default:e(()=>{var r;return[(r=t.detailData)!=null&&r.cardPhotoFront?(n(),o("div",C,[(n(!0),o(y,null,x(t.detailData.cardPhotoFront,(f,u)=>(n(),k(h,{key:u,class:"imgBox mr-8",src:f.url,"initial-index":u,"preview-src-list":t.detailData.cardPhotoFront.map(m=>m.url),fit:"cover"},{error:e(()=>[_("div",F,[a(b,null,{default:e(()=>[a(D)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(n(),o("span",M,"-"))]}),_:1}),a(l,{class:"ml-40"},{default:e(()=>{var r;return[(r=t.detailData)!=null&&r.cardPhotoReverse?(n(),o("div",V,[(n(!0),o(y,null,x(t.detailData.cardPhotoReverse,(f,u)=>(n(),k(h,{key:u,class:"imgBox mr-8",src:f.url,"initial-index":u,"preview-src-list":t.detailData.cardPhotoReverse.map(m=>m.url),fit:"cover"},{error:e(()=>[_("div",R,[a(b,null,{default:e(()=>[a(D)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):Y("",!0)]}),_:1})])]),_:1}),a(d,{span:8},{default:e(()=>[a(l,{label:"\u8EAB\u4EFD\u8BC1\u6709\u6548\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[i(s(t.detailData.cardStartTime?v(g)(t.detailData.cardStartTime).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),a(d,{span:8},{default:e(()=>[a(l,{label:"\u6709\u6548\u671F\u9650"},{default:e(()=>[i(s({0:"\u957F\u671F",10:"10\u5E74",20:"20\u5E74"}[t.detailData.cardValidity]||"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{I as default}; | |||
import{d as P,f as c,g as n,c as o,e as a,w as e,h as i,t as s,v,M as g,b as _,F as y,q as x,n as k,p as Y}from"./index.4f7e0e83.js";const N={class:"basicInfo"},B={class:"flex"},C={key:0,class:"mt-8"},F={class:"image-slot"},M={key:1},V={key:0,class:"mt-8"},R={class:"image-slot"},j=P({name:"basicInfo"}),I=Object.assign(j,{props:{detailData:{type:Object,default:()=>{}}},setup(t){return(S,T)=>{const l=c("el-form-item"),d=c("el-col"),D=c("Picture"),b=c("el-icon"),h=c("el-image"),w=c("el-row");return n(),o("div",N,[a(w,{gutter:30},{default:e(()=>[a(d,{span:12},{default:e(()=>[a(l,{label:"\u59D3\u540D"},{default:e(()=>[i(s(t.detailData.realName),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u624B\u673A\u53F7"},{default:e(()=>[i(s(t.detailData.phone),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u6240\u5C5E\u4F01\u4E1A"},{default:e(()=>[i(s(t.detailData.companyName),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u6CE8\u518C\u5730\u533A"},{default:e(()=>[i(s(t.detailData.driveRegionName||"-"),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u8EAB\u4EFD\u8BC1\u53F7"},{default:e(()=>[i(s(t.detailData.idCard||"-"),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u6027\u522B"},{default:e(()=>[i(s({1:"\u7537",2:"\u5973"}[t.detailData.gender]||"-"),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u51FA\u751F\u65E5\u671F"},{default:e(()=>[i(s(t.detailData.birthDate?v(g)(t.detailData.birthDate).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u5E74\u9F84"},{default:e(()=>[i(s(t.detailData.age||"-"),1)]),_:1})]),_:1}),a(d,{span:24},{default:e(()=>[a(l,{label:"\u73B0\u4F4F\u5730\u5740"},{default:e(()=>[i(s(t.detailData.address||"-"),1)]),_:1})]),_:1}),a(d,{span:8},{default:e(()=>[_("div",B,[a(l,{label:"\u8EAB\u4EFD\u8BC1\u7167\u7247"},{default:e(()=>{var r;return[(r=t.detailData)!=null&&r.cardPhotoFront?(n(),o("div",C,[(n(!0),o(y,null,x(t.detailData.cardPhotoFront,(f,u)=>(n(),k(h,{key:u,class:"imgBox mr-8",src:f.url,"initial-index":u,"preview-src-list":t.detailData.cardPhotoFront.map(m=>m.url),fit:"cover"},{error:e(()=>[_("div",F,[a(b,null,{default:e(()=>[a(D)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(n(),o("span",M,"-"))]}),_:1}),a(l,{class:"ml-40"},{default:e(()=>{var r;return[(r=t.detailData)!=null&&r.cardPhotoReverse?(n(),o("div",V,[(n(!0),o(y,null,x(t.detailData.cardPhotoReverse,(f,u)=>(n(),k(h,{key:u,class:"imgBox mr-8",src:f.url,"initial-index":u,"preview-src-list":t.detailData.cardPhotoReverse.map(m=>m.url),fit:"cover"},{error:e(()=>[_("div",R,[a(b,null,{default:e(()=>[a(D)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):Y("",!0)]}),_:1})])]),_:1}),a(d,{span:8},{default:e(()=>[a(l,{label:"\u8EAB\u4EFD\u8BC1\u6709\u6548\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[i(s(t.detailData.cardStartTime?v(g)(t.detailData.cardStartTime).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),a(d,{span:8},{default:e(()=>[a(l,{label:"\u6709\u6548\u671F\u9650"},{default:e(()=>[i(s({0:"\u957F\u671F",10:"10\u5E74",20:"20\u5E74"}[t.detailData.cardValidity]||"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{I as default}; |
@@ -1 +1 @@ | |||
var z=Object.defineProperty,B=Object.defineProperties;var U=Object.getOwnPropertyDescriptors;var F=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var w=(o,l,e)=>l in o?z(o,l,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[l]=e,C=(o,l)=>{for(var e in l||(l={}))$.call(l,e)&&w(o,e,l[e]);if(F)for(var e of F(l))N.call(l,e)&&w(o,e,l[e]);return o},V=(o,l)=>B(o,U(l));var v=(o,l,e)=>new Promise((b,f)=>{var u=i=>{try{p(e.next(i))}catch(r){f(r)}},t=i=>{try{p(e.throw(i))}catch(r){f(r)}},p=i=>i.done?b(i.value):Promise.resolve(i.value).then(u,t);p((e=e.apply(o,l)).next())});import{i as O}from"./orderManage.83f936be.js";import{h as q,a as S,f as D}from"./uploadAction.9c148b89.js";import{d as I,y as M,r as h,z as T,f as d,g as A,n as E,w as s,e as c,v as g,h as x,b as G,i as H}from"./index.56ad3315.js";const J=x("\u4E0A\u4F20\u9644\u4EF6"),K=G("div",{class:"el-upload__tip"},"\u652F\u6301.pdf,.doc,.docx,.png,.jpg,.gif\u683C\u5F0F,\u4E0D\u8D85\u8FC72MB\u6587\u4EF6,\u6700\u591A10\u4E2A\u6587\u4EF6",-1),L=x(" \u63D0\u4EA4 "),P=x(" \u5173\u95ED "),Q=I({name:"cancelOrderDialog"}),ee=Object.assign(Q,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(o,{emit:l}){const e=o,{proxy:b}=H(),f=M.dictStore.uploadUrl,u=h(),t=h({cancelFile:[]}),p={cancelReason:[{required:!0,message:"\u8BF7\u8F93\u5165\u53D6\u6D88\u539F\u56E0",trigger:"blur"}]},i=r=>v(this,null,function*(){!r||(yield r.validate(a=>v(this,null,function*(){var m;a&&(yield O(V(C({},t.value),{cancelFile:(m=t.value.cancelFile)!=null&&m.length?t.value.cancelFile.map(_=>_.response.data.id).join(","):void 0})),b.$message.success("\u53D6\u6D88\u6210\u529F\uFF01"),l("close",!0))})))});return T(()=>e.visible,r=>v(this,null,function*(){var a;r?(a=e.data)!=null&&a.id&&(t.value.id=e.data.id):u.value.resetFields()})),(r,a)=>{const m=d("el-input"),_=d("el-form-item"),y=d("el-button"),R=d("el-upload"),j=d("el-form"),k=d("el-dialog");return A(),E(k,{"model-value":o.visible,title:"\u53D6\u6D88\u8BA2\u5355",width:"560px","destroy-on-close":"",onClose:a[4]||(a[4]=n=>l("close"))},{footer:s(()=>[c(y,{type:"primary",size:"small",onClick:a[2]||(a[2]=n=>i(u.value))},{default:s(()=>[L]),_:1}),c(y,{type:"info",size:"small",onClick:a[3]||(a[3]=n=>l("close"))},{default:s(()=>[P]),_:1})]),default:s(()=>[c(j,{ref_key:"formRef",ref:u,model:t.value,rules:p,"label-width":"90px","label-suffix":":",size:"small"},{default:s(()=>[c(_,{label:"\u53D6\u6D88\u539F\u56E0",prop:"cancelReason"},{default:s(()=>[c(m,{modelValue:t.value.cancelReason,"onUpdate:modelValue":a[0]||(a[0]=n=>t.value.cancelReason=n),type:"textarea",placeholder:"\u8BF7\u8F93\u5165",maxlength:"200"},null,8,["modelValue"])]),_:1}),c(_,{label:"\u9644\u4EF6",prop:"cancelFile"},{default:s(()=>[c(R,{"file-list":t.value.cancelFile,"onUpdate:file-list":a[1]||(a[1]=n=>t.value.cancelFile=n),class:"w-full",action:g(f),limit:10,"on-success":n=>g(q)(n,t.value.cancelFile),"on-error":g(S),"before-upload":n=>g(D)(n,{types:["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/msword","application/pdf","image/jpeg","image/png","image/gif"],size:2048}),multiple:""},{tip:s(()=>[K]),default:s(()=>[c(y,{type:"primary"},{default:s(()=>[J]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}});export{ee as default}; | |||
var z=Object.defineProperty,B=Object.defineProperties;var U=Object.getOwnPropertyDescriptors;var F=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var w=(o,l,e)=>l in o?z(o,l,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[l]=e,C=(o,l)=>{for(var e in l||(l={}))$.call(l,e)&&w(o,e,l[e]);if(F)for(var e of F(l))N.call(l,e)&&w(o,e,l[e]);return o},V=(o,l)=>B(o,U(l));var v=(o,l,e)=>new Promise((b,f)=>{var u=i=>{try{p(e.next(i))}catch(r){f(r)}},t=i=>{try{p(e.throw(i))}catch(r){f(r)}},p=i=>i.done?b(i.value):Promise.resolve(i.value).then(u,t);p((e=e.apply(o,l)).next())});import{i as O}from"./orderManage.5273c92c.js";import{h as q,a as S,f as D}from"./uploadAction.b5d31dfd.js";import{d as I,y as M,r as h,z as T,f as d,g as A,n as E,w as s,e as c,v as g,h as x,b as G,i as H}from"./index.4f7e0e83.js";const J=x("\u4E0A\u4F20\u9644\u4EF6"),K=G("div",{class:"el-upload__tip"},"\u652F\u6301.pdf,.doc,.docx,.png,.jpg,.gif\u683C\u5F0F,\u4E0D\u8D85\u8FC72MB\u6587\u4EF6,\u6700\u591A10\u4E2A\u6587\u4EF6",-1),L=x(" \u63D0\u4EA4 "),P=x(" \u5173\u95ED "),Q=I({name:"cancelOrderDialog"}),ee=Object.assign(Q,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(o,{emit:l}){const e=o,{proxy:b}=H(),f=M.dictStore.uploadUrl,u=h(),t=h({cancelFile:[]}),p={cancelReason:[{required:!0,message:"\u8BF7\u8F93\u5165\u53D6\u6D88\u539F\u56E0",trigger:"blur"}]},i=r=>v(this,null,function*(){!r||(yield r.validate(a=>v(this,null,function*(){var m;a&&(yield O(V(C({},t.value),{cancelFile:(m=t.value.cancelFile)!=null&&m.length?t.value.cancelFile.map(_=>_.response.data.id).join(","):void 0})),b.$message.success("\u53D6\u6D88\u6210\u529F\uFF01"),l("close",!0))})))});return T(()=>e.visible,r=>v(this,null,function*(){var a;r?(a=e.data)!=null&&a.id&&(t.value.id=e.data.id):u.value.resetFields()})),(r,a)=>{const m=d("el-input"),_=d("el-form-item"),y=d("el-button"),R=d("el-upload"),j=d("el-form"),k=d("el-dialog");return A(),E(k,{"model-value":o.visible,title:"\u53D6\u6D88\u8BA2\u5355",width:"560px","destroy-on-close":"",onClose:a[4]||(a[4]=n=>l("close"))},{footer:s(()=>[c(y,{type:"primary",size:"small",onClick:a[2]||(a[2]=n=>i(u.value))},{default:s(()=>[L]),_:1}),c(y,{type:"info",size:"small",onClick:a[3]||(a[3]=n=>l("close"))},{default:s(()=>[P]),_:1})]),default:s(()=>[c(j,{ref_key:"formRef",ref:u,model:t.value,rules:p,"label-width":"90px","label-suffix":":",size:"small"},{default:s(()=>[c(_,{label:"\u53D6\u6D88\u539F\u56E0",prop:"cancelReason"},{default:s(()=>[c(m,{modelValue:t.value.cancelReason,"onUpdate:modelValue":a[0]||(a[0]=n=>t.value.cancelReason=n),type:"textarea",placeholder:"\u8BF7\u8F93\u5165",maxlength:"200"},null,8,["modelValue"])]),_:1}),c(_,{label:"\u9644\u4EF6",prop:"cancelFile"},{default:s(()=>[c(R,{"file-list":t.value.cancelFile,"onUpdate:file-list":a[1]||(a[1]=n=>t.value.cancelFile=n),class:"w-full",action:g(f),limit:10,"on-success":n=>g(q)(n,t.value.cancelFile),"on-error":g(S),"before-upload":n=>g(D)(n,{types:["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/msword","application/pdf","image/jpeg","image/png","image/gif"],size:2048}),multiple:""},{tip:s(()=>[K]),default:s(()=>[c(y,{type:"primary"},{default:s(()=>[J]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}});export{ee as default}; |
@@ -1 +1 @@ | |||
import{N as t}from"./index.56ad3315.js";const e=s=>t.get("/api/v1/car/list",{params:s}),o=s=>t.post("/api/v1/car/save",s),p=s=>t.delete("/api/v1/car/delete",{data:s});export{p as d,e as l,o as s}; | |||
import{N as t}from"./index.4f7e0e83.js";const e=s=>t.get("/api/v1/car/list",{params:s}),o=s=>t.post("/api/v1/car/save",s),p=s=>t.delete("/api/v1/car/delete",{data:s});export{p as d,e as l,o as s}; |
@@ -1 +1 @@ | |||
var N=Object.defineProperty,q=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var C=(t,e,a)=>e in t?N(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,I=(t,e)=>{for(var a in e||(e={}))M.call(e,a)&&C(t,a,e[a]);if(x)for(var a of x(e))$.call(e,a)&&C(t,a,e[a]);return t},k=(t,e)=>q(t,L(e));var g=(t,e,a)=>new Promise((f,s)=>{var c=o=>{try{i(a.next(o))}catch(r){s(r)}},p=o=>{try{i(a.throw(o))}catch(r){s(r)}},i=o=>o.done?f(o.value):Promise.resolve(o.value).then(c,p);i((a=a.apply(t,e)).next())});import{d as j,a as F}from"./driverFile.7b683d21.js";import{_ as O,d as R,r as _,z as h,f as m,g as b,n as A,w as d,e as u,c as E,q as S,F as T,h as w,i as U}from"./index.56ad3315.js";const G=w(" \u5173\u95ED "),H=w(" \u4FDD\u5B58 "),J=R({name:"carManagementDialog"}),K=Object.assign(J,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(t,{emit:e}){const a=t,{proxy:f}=U(),s=_({}),c=_(),p=_({driverAdminId:[{required:!0,message:"\u8BF7\u9009\u62E9\u8F66\u8F86\u7BA1\u7406\u5458",trigger:"blur"}]}),i=_([]),o=()=>{c.value.validate(r=>g(this,null,function*(){var l;if(r){const v=k(I({},s.value),{driverId:(l=a.data)==null?void 0:l.driverId});yield F(v),f.$message.success("\u8BBE\u7F6E\u6210\u529F\uFF01"),e("close",!0)}}))};return h(()=>a.visible,r=>g(this,null,function*(){var l;r?i.value=(l=(yield j({pageNumber:1,pageSize:999999})).data)==null?void 0:l.records:s.value={}})),(r,l)=>{const v=m("el-option"),B=m("el-select"),D=m("el-form-item"),V=m("el-form"),y=m("el-button"),z=m("el-dialog");return b(),A(z,{"model-value":t.visible,title:"\u8BBE\u7F6E\u8F66\u7BA1\u5458","destroy-on-close":"",onClose:l[2]||(l[2]=n=>e("close"))},{footer:d(()=>[u(y,{type:"info",size:"small",onClick:l[1]||(l[1]=n=>e("close"))},{default:d(()=>[G]),_:1}),u(y,{type:"primary",size:"small",onClick:o},{default:d(()=>[H]),_:1})]),default:d(()=>[u(V,{ref_key:"formRef",ref:c,model:s.value,rules:p.value,"label-suffix":":",class:"formBox"},{default:d(()=>[u(D,{label:"\u8F66\u8F86\u7BA1\u7406\u5458",prop:"driverAdminId"},{default:d(()=>[u(B,{modelValue:s.value.driverAdminId,"onUpdate:modelValue":l[0]||(l[0]=n=>s.value.driverAdminId=n),class:"m-2",placeholder:"\u8BF7\u9009\u62E9"},{default:d(()=>[(b(!0),E(T,null,S(i.value,n=>(b(),A(v,{key:n.id,label:n.realName,value:n.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["model-value"])}}}),X=O(K,[["__scopeId","data-v-95556051"]]);export{X as default}; | |||
var N=Object.defineProperty,q=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var C=(t,e,a)=>e in t?N(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,I=(t,e)=>{for(var a in e||(e={}))M.call(e,a)&&C(t,a,e[a]);if(x)for(var a of x(e))$.call(e,a)&&C(t,a,e[a]);return t},k=(t,e)=>q(t,L(e));var g=(t,e,a)=>new Promise((f,s)=>{var c=o=>{try{i(a.next(o))}catch(r){s(r)}},p=o=>{try{i(a.throw(o))}catch(r){s(r)}},i=o=>o.done?f(o.value):Promise.resolve(o.value).then(c,p);i((a=a.apply(t,e)).next())});import{d as j,a as F}from"./driverFile.1a4908ec.js";import{_ as O,d as R,r as _,z as h,f as m,g as b,n as A,w as d,e as u,c as E,q as S,F as T,h as w,i as U}from"./index.4f7e0e83.js";const G=w(" \u5173\u95ED "),H=w(" \u4FDD\u5B58 "),J=R({name:"carManagementDialog"}),K=Object.assign(J,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(t,{emit:e}){const a=t,{proxy:f}=U(),s=_({}),c=_(),p=_({driverAdminId:[{required:!0,message:"\u8BF7\u9009\u62E9\u8F66\u8F86\u7BA1\u7406\u5458",trigger:"blur"}]}),i=_([]),o=()=>{c.value.validate(r=>g(this,null,function*(){var l;if(r){const v=k(I({},s.value),{driverId:(l=a.data)==null?void 0:l.driverId});yield F(v),f.$message.success("\u8BBE\u7F6E\u6210\u529F\uFF01"),e("close",!0)}}))};return h(()=>a.visible,r=>g(this,null,function*(){var l;r?i.value=(l=(yield j({pageNumber:1,pageSize:999999})).data)==null?void 0:l.records:s.value={}})),(r,l)=>{const v=m("el-option"),B=m("el-select"),D=m("el-form-item"),V=m("el-form"),y=m("el-button"),z=m("el-dialog");return b(),A(z,{"model-value":t.visible,title:"\u8BBE\u7F6E\u8F66\u7BA1\u5458","destroy-on-close":"",onClose:l[2]||(l[2]=n=>e("close"))},{footer:d(()=>[u(y,{type:"info",size:"small",onClick:l[1]||(l[1]=n=>e("close"))},{default:d(()=>[G]),_:1}),u(y,{type:"primary",size:"small",onClick:o},{default:d(()=>[H]),_:1})]),default:d(()=>[u(V,{ref_key:"formRef",ref:c,model:s.value,rules:p.value,"label-suffix":":",class:"formBox"},{default:d(()=>[u(D,{label:"\u8F66\u8F86\u7BA1\u7406\u5458",prop:"driverAdminId"},{default:d(()=>[u(B,{modelValue:s.value.driverAdminId,"onUpdate:modelValue":l[0]||(l[0]=n=>s.value.driverAdminId=n),class:"m-2",placeholder:"\u8BF7\u9009\u62E9"},{default:d(()=>[(b(!0),E(T,null,S(i.value,n=>(b(),A(v,{key:n.id,label:n.realName,value:n.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["model-value"])}}}),X=O(K,[["__scopeId","data-v-95556051"]]);export{X as default}; |
@@ -1 +1 @@ | |||
var R=Object.defineProperty,q=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var w=(e,a,t)=>a in e?R(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,g=(e,a)=>{for(var t in a||(a={}))N.call(a,t)&&w(e,t,a[t]);if(k)for(var t of k(a))S.call(a,t)&&w(e,t,a[t]);return e},x=(e,a)=>q(e,F(a));var f=(e,a,t)=>new Promise((p,i)=>{var n=l=>{try{m(t.next(l))}catch(s){i(s)}},_=l=>{try{m(t.throw(l))}catch(s){i(s)}},m=l=>l.done?p(l.value):Promise.resolve(l.value).then(n,_);m((t=t.apply(e,a)).next())});import{N as D,d as T,r as h,z as I,f as d,g as z,n as L,w as r,e as c,c as M,q as P,h as v,t as U,F as A,i as E}from"./index.56ad3315.js";const Y=e=>D.get("/api/v1/loginDeviceChangeRecord/page",{params:e}),G=e=>D.put("/api/v1/loginDeviceChangeRecord/process",e),H=v(" \u63D0\u4EA4 "),J=v(" \u5173\u95ED "),K=T({name:"changeDialog"}),Q=Object.assign(K,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(e,{emit:a}){const t=e,{proxy:p}=E(),i=h(),n=h({}),_={status:[{required:!0,message:"\u8BF7\u9009\u62E9\u5904\u7406\u72B6\u6001",trigger:"change"}]},m={2:"\u62D2\u7EDD",3:"\u5141\u8BB8"},l=s=>f(this,null,function*(){!s||(yield s.validate(o=>f(this,null,function*(){o&&(yield G(x(g({},n.value),{username:void 0})),p.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),a("close",!0))})))});return I(()=>t.visible,s=>f(this,null,function*(){var o;s?(o=t.data)!=null&&o.id&&(n.value=g({},t.data)):(n.value={},i.value.resetFields())})),(s,o)=>{var y;const O=d("el-radio"),V=d("el-radio-group"),$=d("el-form-item"),j=d("el-form"),b=d("el-button"),B=d("el-dialog");return z(),L(B,{"model-value":e.visible,title:`\u5904\u7406-${(y=e.data)==null?void 0:y.username}`,width:"560px","destroy-on-close":"",onClose:o[3]||(o[3]=u=>a("close"))},{footer:r(()=>[c(b,{type:"primary",size:"small",onClick:o[1]||(o[1]=u=>l(i.value))},{default:r(()=>[H]),_:1}),c(b,{type:"info",size:"small",onClick:o[2]||(o[2]=u=>a("close"))},{default:r(()=>[J]),_:1})]),default:r(()=>[c(j,{ref_key:"formRef",ref:i,model:n.value,rules:_,"label-width":"90px","label-suffix":":",size:"small"},{default:r(()=>[c($,{label:"\u5904\u7406",prop:"status"},{default:r(()=>[c(V,{modelValue:n.value.status,"onUpdate:modelValue":o[0]||(o[0]=u=>n.value.status=u)},{default:r(()=>[(z(),M(A,null,P(m,(u,C)=>c(O,{key:C,label:C},{default:r(()=>[v(U(u),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"])}}}),Z=Object.freeze(Object.defineProperty({__proto__:null,default:Q},Symbol.toStringTag,{value:"Module"}));export{Q as _,Z as c,Y as l}; | |||
var R=Object.defineProperty,q=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var w=(e,a,t)=>a in e?R(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,g=(e,a)=>{for(var t in a||(a={}))N.call(a,t)&&w(e,t,a[t]);if(k)for(var t of k(a))S.call(a,t)&&w(e,t,a[t]);return e},x=(e,a)=>q(e,F(a));var f=(e,a,t)=>new Promise((p,i)=>{var n=l=>{try{m(t.next(l))}catch(s){i(s)}},_=l=>{try{m(t.throw(l))}catch(s){i(s)}},m=l=>l.done?p(l.value):Promise.resolve(l.value).then(n,_);m((t=t.apply(e,a)).next())});import{N as D,d as T,r as h,z as I,f as d,g as z,n as L,w as r,e as c,c as M,q as P,h as v,t as U,F as A,i as E}from"./index.4f7e0e83.js";const Y=e=>D.get("/api/v1/loginDeviceChangeRecord/page",{params:e}),G=e=>D.put("/api/v1/loginDeviceChangeRecord/process",e),H=v(" \u63D0\u4EA4 "),J=v(" \u5173\u95ED "),K=T({name:"changeDialog"}),Q=Object.assign(K,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(e,{emit:a}){const t=e,{proxy:p}=E(),i=h(),n=h({}),_={status:[{required:!0,message:"\u8BF7\u9009\u62E9\u5904\u7406\u72B6\u6001",trigger:"change"}]},m={2:"\u62D2\u7EDD",3:"\u5141\u8BB8"},l=s=>f(this,null,function*(){!s||(yield s.validate(o=>f(this,null,function*(){o&&(yield G(x(g({},n.value),{username:void 0})),p.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),a("close",!0))})))});return I(()=>t.visible,s=>f(this,null,function*(){var o;s?(o=t.data)!=null&&o.id&&(n.value=g({},t.data)):(n.value={},i.value.resetFields())})),(s,o)=>{var y;const O=d("el-radio"),V=d("el-radio-group"),$=d("el-form-item"),j=d("el-form"),b=d("el-button"),B=d("el-dialog");return z(),L(B,{"model-value":e.visible,title:`\u5904\u7406-${(y=e.data)==null?void 0:y.username}`,width:"560px","destroy-on-close":"",onClose:o[3]||(o[3]=u=>a("close"))},{footer:r(()=>[c(b,{type:"primary",size:"small",onClick:o[1]||(o[1]=u=>l(i.value))},{default:r(()=>[H]),_:1}),c(b,{type:"info",size:"small",onClick:o[2]||(o[2]=u=>a("close"))},{default:r(()=>[J]),_:1})]),default:r(()=>[c(j,{ref_key:"formRef",ref:i,model:n.value,rules:_,"label-width":"90px","label-suffix":":",size:"small"},{default:r(()=>[c($,{label:"\u5904\u7406",prop:"status"},{default:r(()=>[c(V,{modelValue:n.value.status,"onUpdate:modelValue":o[0]||(o[0]=u=>n.value.status=u)},{default:r(()=>[(z(),M(A,null,P(m,(u,C)=>c(O,{key:C,label:C},{default:r(()=>[v(U(u),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"])}}}),Z=Object.freeze(Object.defineProperty({__proto__:null,default:Q},Symbol.toStringTag,{value:"Module"}));export{Q as _,Z as c,Y as l}; |
@@ -1 +1 @@ | |||
var z=Object.defineProperty,I=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var w=(t,o,l)=>o in t?z(t,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):t[o]=l,V=(t,o)=>{for(var l in o||(o={}))O.call(o,l)&&w(t,l,o[l]);if(x)for(var l of x(o))R.call(o,l)&&w(t,l,o[l]);return t},P=(t,o)=>I(t,B(o));var v=(t,o,l)=>new Promise((b,m)=>{var a=d=>{try{g(l.next(d))}catch(i){m(i)}},y=d=>{try{g(l.throw(d))}catch(i){m(i)}},g=d=>d.done?b(d.value):Promise.resolve(d.value).then(a,y);g((l=l.apply(t,o)).next())});import{d as T,s as j}from"./companyManage.4f2ff780.js";import{u as A}from"./useTreeSelectData.f80dc3c9.js";import{d as D,r as _,z as h,R as F,f as c,g as S,n as G,w as s,e as r,v as H,h as $,i as J}from"./index.56ad3315.js";const K=$(" \u63D0\u4EA4 "),L=$(" \u5173\u95ED "),M=D({name:"companyDialog"}),Z=Object.assign(M,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(t,{emit:o}){const l=t,{proxy:b}=J(),m=_(),a=_({}),y={companyName:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F01\u4E1A\u540D\u79F0",trigger:"blur"}],regionCode:[{required:!0,message:"\u8BF7\u9009\u62E9\u6240\u5C5E\u533A\u57DF",trigger:"change"}],contacts:[{required:!0,message:"\u8BF7\u8F93\u5165\u8054\u7CFB\u4EBA",trigger:"blur"}],contactsNo:[{required:!0,pattern:/^1[3456789]\d{9}$/,message:"\u624B\u673A\u53F7\u7801\u683C\u5F0F\u4E0D\u6B63\u786E",trigger:"blur"}],legalPerson:[{required:!0,message:"\u8BF7\u8F93\u5165\u6CD5\u4EBA",trigger:"blur"}],legalPersonContactsNo:[{required:!0,pattern:/^1[3456789]\d{9}$/,message:"\u624B\u673A\u53F7\u7801\u683C\u5F0F\u4E0D\u6B63\u786E",trigger:"blur"}]},g=f=>v(this,null,function*(){!f||(yield f.validate(e=>v(this,null,function*(){var u;e&&(yield j(P(V({},a.value),{regionCode:Array.isArray(a.value.regionCode)?(u=a.value.regionCode)==null?void 0:u.at(-1):[a.value.regionCode].at(-1)})),b.$message.success(`${l.data&&l.data.id?"\u7F16\u8F91":"\u65B0\u589E"}\u6210\u529F\uFF01`),o("close",!0))})))}),{cascaderProps:d}=A(),i=_([]);return h(()=>l.visible,f=>v(this,null,function*(){var e;if(f){if(i.value=(yield F()).data,(e=l.data)!=null&&e.companyId){const u=yield T(l.data.companyId);a.value=V({},u.data)}}else a.value={},m.value.resetFields()})),(f,e)=>{var N;const u=c("el-input"),p=c("el-form-item"),q=c("el-cascader"),U=c("el-form"),C=c("el-button"),k=c("el-dialog");return S(),G(k,{"model-value":t.visible,title:`${(N=t.data)!=null&&N.companyId?"\u7F16\u8F91":"\u65B0\u589E"}\u4F01\u4E1A`,width:"560px","destroy-on-close":"",onClose:e[8]||(e[8]=n=>o("close"))},{footer:s(()=>[r(C,{type:"primary",size:"small",onClick:e[6]||(e[6]=n=>g(m.value))},{default:s(()=>[K]),_:1}),r(C,{type:"info",size:"small",onClick:e[7]||(e[7]=n=>o("close"))},{default:s(()=>[L]),_:1})]),default:s(()=>[r(U,{ref_key:"formRef",ref:m,model:a.value,rules:y,"label-width":"90px","label-suffix":":",size:"small"},{default:s(()=>[r(p,{label:"\u4F01\u4E1A\u540D\u79F0",prop:"companyName"},{default:s(()=>[r(u,{modelValue:a.value.companyName,"onUpdate:modelValue":e[0]||(e[0]=n=>a.value.companyName=n),placeholder:"\u8BF7\u8F93\u5165",maxlength:"10"},null,8,["modelValue"])]),_:1}),r(p,{label:"\u6240\u5C5E\u533A\u57DF",prop:"regionCode"},{default:s(()=>[r(q,{modelValue:a.value.regionCode,"onUpdate:modelValue":e[1]||(e[1]=n=>a.value.regionCode=n),props:H(d),options:i.value,clearable:"",class:"w-full"},null,8,["modelValue","props","options"])]),_:1}),r(p,{label:"\u8054\u7CFB\u4EBA",prop:"contacts"},{default:s(()=>[r(u,{modelValue:a.value.contacts,"onUpdate:modelValue":e[2]||(e[2]=n=>a.value.contacts=n),placeholder:"\u8BF7\u8F93\u5165",maxlength:"10"},null,8,["modelValue"])]),_:1}),r(p,{label:"\u624B\u673A\u53F7\u7801",prop:"contactsNo"},{default:s(()=>[r(u,{modelValue:a.value.contactsNo,"onUpdate:modelValue":e[3]||(e[3]=n=>a.value.contactsNo=n),maxlength:"11",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1}),r(p,{label:"\u6CD5\u4EBA",prop:"legalPerson"},{default:s(()=>[r(u,{modelValue:a.value.legalPerson,"onUpdate:modelValue":e[4]||(e[4]=n=>a.value.legalPerson=n),placeholder:"\u8BF7\u8F93\u5165",maxlength:"10"},null,8,["modelValue"])]),_:1}),r(p,{label:"\u624B\u673A\u53F7\u7801",prop:"legalPersonContactsNo"},{default:s(()=>[r(u,{modelValue:a.value.legalPersonContactsNo,"onUpdate:modelValue":e[5]||(e[5]=n=>a.value.legalPersonContactsNo=n),maxlength:"11",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"])}}});export{Z as default}; | |||
var z=Object.defineProperty,I=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var w=(t,o,l)=>o in t?z(t,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):t[o]=l,V=(t,o)=>{for(var l in o||(o={}))O.call(o,l)&&w(t,l,o[l]);if(x)for(var l of x(o))R.call(o,l)&&w(t,l,o[l]);return t},P=(t,o)=>I(t,B(o));var v=(t,o,l)=>new Promise((b,m)=>{var a=d=>{try{g(l.next(d))}catch(i){m(i)}},y=d=>{try{g(l.throw(d))}catch(i){m(i)}},g=d=>d.done?b(d.value):Promise.resolve(d.value).then(a,y);g((l=l.apply(t,o)).next())});import{d as T,s as j}from"./companyManage.d5b374b7.js";import{u as A}from"./useTreeSelectData.509ad0fb.js";import{d as D,r as _,z as h,R as F,f as c,g as S,n as G,w as s,e as r,v as H,h as $,i as J}from"./index.4f7e0e83.js";const K=$(" \u63D0\u4EA4 "),L=$(" \u5173\u95ED "),M=D({name:"companyDialog"}),Z=Object.assign(M,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(t,{emit:o}){const l=t,{proxy:b}=J(),m=_(),a=_({}),y={companyName:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F01\u4E1A\u540D\u79F0",trigger:"blur"}],regionCode:[{required:!0,message:"\u8BF7\u9009\u62E9\u6240\u5C5E\u533A\u57DF",trigger:"change"}],contacts:[{required:!0,message:"\u8BF7\u8F93\u5165\u8054\u7CFB\u4EBA",trigger:"blur"}],contactsNo:[{required:!0,pattern:/^1[3456789]\d{9}$/,message:"\u624B\u673A\u53F7\u7801\u683C\u5F0F\u4E0D\u6B63\u786E",trigger:"blur"}],legalPerson:[{required:!0,message:"\u8BF7\u8F93\u5165\u6CD5\u4EBA",trigger:"blur"}],legalPersonContactsNo:[{required:!0,pattern:/^1[3456789]\d{9}$/,message:"\u624B\u673A\u53F7\u7801\u683C\u5F0F\u4E0D\u6B63\u786E",trigger:"blur"}]},g=f=>v(this,null,function*(){!f||(yield f.validate(e=>v(this,null,function*(){var u;e&&(yield j(P(V({},a.value),{regionCode:Array.isArray(a.value.regionCode)?(u=a.value.regionCode)==null?void 0:u.at(-1):[a.value.regionCode].at(-1)})),b.$message.success(`${l.data&&l.data.id?"\u7F16\u8F91":"\u65B0\u589E"}\u6210\u529F\uFF01`),o("close",!0))})))}),{cascaderProps:d}=A(),i=_([]);return h(()=>l.visible,f=>v(this,null,function*(){var e;if(f){if(i.value=(yield F()).data,(e=l.data)!=null&&e.companyId){const u=yield T(l.data.companyId);a.value=V({},u.data)}}else a.value={},m.value.resetFields()})),(f,e)=>{var N;const u=c("el-input"),p=c("el-form-item"),q=c("el-cascader"),U=c("el-form"),C=c("el-button"),k=c("el-dialog");return S(),G(k,{"model-value":t.visible,title:`${(N=t.data)!=null&&N.companyId?"\u7F16\u8F91":"\u65B0\u589E"}\u4F01\u4E1A`,width:"560px","destroy-on-close":"",onClose:e[8]||(e[8]=n=>o("close"))},{footer:s(()=>[r(C,{type:"primary",size:"small",onClick:e[6]||(e[6]=n=>g(m.value))},{default:s(()=>[K]),_:1}),r(C,{type:"info",size:"small",onClick:e[7]||(e[7]=n=>o("close"))},{default:s(()=>[L]),_:1})]),default:s(()=>[r(U,{ref_key:"formRef",ref:m,model:a.value,rules:y,"label-width":"90px","label-suffix":":",size:"small"},{default:s(()=>[r(p,{label:"\u4F01\u4E1A\u540D\u79F0",prop:"companyName"},{default:s(()=>[r(u,{modelValue:a.value.companyName,"onUpdate:modelValue":e[0]||(e[0]=n=>a.value.companyName=n),placeholder:"\u8BF7\u8F93\u5165",maxlength:"10"},null,8,["modelValue"])]),_:1}),r(p,{label:"\u6240\u5C5E\u533A\u57DF",prop:"regionCode"},{default:s(()=>[r(q,{modelValue:a.value.regionCode,"onUpdate:modelValue":e[1]||(e[1]=n=>a.value.regionCode=n),props:H(d),options:i.value,clearable:"",class:"w-full"},null,8,["modelValue","props","options"])]),_:1}),r(p,{label:"\u8054\u7CFB\u4EBA",prop:"contacts"},{default:s(()=>[r(u,{modelValue:a.value.contacts,"onUpdate:modelValue":e[2]||(e[2]=n=>a.value.contacts=n),placeholder:"\u8BF7\u8F93\u5165",maxlength:"10"},null,8,["modelValue"])]),_:1}),r(p,{label:"\u624B\u673A\u53F7\u7801",prop:"contactsNo"},{default:s(()=>[r(u,{modelValue:a.value.contactsNo,"onUpdate:modelValue":e[3]||(e[3]=n=>a.value.contactsNo=n),maxlength:"11",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1}),r(p,{label:"\u6CD5\u4EBA",prop:"legalPerson"},{default:s(()=>[r(u,{modelValue:a.value.legalPerson,"onUpdate:modelValue":e[4]||(e[4]=n=>a.value.legalPerson=n),placeholder:"\u8BF7\u8F93\u5165",maxlength:"10"},null,8,["modelValue"])]),_:1}),r(p,{label:"\u624B\u673A\u53F7\u7801",prop:"legalPersonContactsNo"},{default:s(()=>[r(u,{modelValue:a.value.legalPersonContactsNo,"onUpdate:modelValue":e[5]||(e[5]=n=>a.value.legalPersonContactsNo=n),maxlength:"11",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"])}}});export{Z as default}; |
@@ -1 +1 @@ | |||
import{N as s}from"./index.56ad3315.js";const o=a=>s.post("/api/v1/company/list",a),p=a=>s.post("/api/v1/company/save",a),e=a=>s.post(`/api/v1/company/detail/${a}`),i=a=>s.delete("/api/v1/company/del",{data:a});export{i as a,e as d,o as l,p as s}; | |||
import{N as s}from"./index.4f7e0e83.js";const o=a=>s.post("/api/v1/company/list",a),p=a=>s.post("/api/v1/company/save",a),e=a=>s.post(`/api/v1/company/detail/${a}`),i=a=>s.delete("/api/v1/company/del",{data:a});export{i as a,e as d,o as l,p as s}; |
@@ -1 +1 @@ | |||
var $=Object.defineProperty,q=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var x=(o,l,e)=>l in o?$(o,l,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[l]=e,w=(o,l)=>{for(var e in l||(l={}))O.call(l,e)&&x(o,e,l[e]);if(M)for(var e of M(l))P.call(l,e)&&x(o,e,l[e]);return o},L=(o,l)=>q(o,N(l));var p=(o,l,e)=>new Promise((_,g)=>{var c=d=>{try{m(e.next(d))}catch(u){g(u)}},s=d=>{try{m(e.throw(d))}catch(u){g(u)}},m=d=>d.done?_(d.value):Promise.resolve(d.value).then(c,s);m((e=e.apply(o,l)).next())});import{m as R}from"./orderManage.83f936be.js";import{h as S,a as D,f as T,b as A}from"./uploadAction.9c148b89.js";import{d as E,y as G,r as C,z as H,f as r,g as J,n as K,w as a,e as i,v as f,b as V,h as k,i as Q}from"./index.56ad3315.js";const W=V("span",{class:"text-info"},"\u5343\u7C73",-1),X=V("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1),Y=k(" \u63D0\u4EA4 "),Z=k(" \u5173\u95ED "),ee=E({name:"confirmBoardingDialog"}),se=Object.assign(ee,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(o,{emit:l}){const e=o,{proxy:_}=Q(),g=G.dictStore.uploadUrl,c=C(),s=C({beginMileageImgIdList:[]}),m={beginMileage:[{required:!0,message:"\u8BF7\u8F93\u5165\u603B\u91CC\u7A0B\u6570",trigger:"blur"}],beginMileageImgIdList:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u91CC\u7A0B\u56FE\u7247",trigger:"blur"}]},d=u=>p(this,null,function*(){!u||(yield u.validate(t=>p(this,null,function*(){if(t){const{beginMileageImgIdList:b}=s.value;yield R(L(w({},s.value),{beginMileageImgIdList:A(b)})),_.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),l("close",!0)}})))});return H(()=>e.visible,u=>p(this,null,function*(){var t;u?e.data&&(s.value.orderId=(t=e.data)==null?void 0:t.id):(s.value={},c.value.resetFields())})),(u,t)=>{const b=r("el-input-number"),v=r("el-form-item"),I=r("el-col"),z=r("Plus"),B=r("el-icon"),F=r("el-upload"),h=r("el-row"),j=r("el-form"),y=r("el-button"),U=r("el-dialog");return J(),K(U,{"model-value":o.visible,title:"\u786E\u8BA4\u4E0A\u8F66",width:"840px","destroy-on-close":"",onClose:t[4]||(t[4]=n=>l("close"))},{footer:a(()=>[i(y,{type:"primary",size:"small",onClick:t[2]||(t[2]=n=>d(c.value))},{default:a(()=>[Y]),_:1}),i(y,{type:"info",size:"small",onClick:t[3]||(t[3]=n=>l("close"))},{default:a(()=>[Z]),_:1})]),default:a(()=>[i(j,{ref_key:"formRef",ref:c,model:s.value,rules:m,"label-width":"90px","label-suffix":":",size:"small"},{default:a(()=>[i(h,{gutter:30},{default:a(()=>[i(I,{span:12},{default:a(()=>[i(v,{label:"\u603B\u91CC\u7A0B\u6570",prop:"beginMileage"},{default:a(()=>[i(b,{modelValue:s.value.beginMileage,"onUpdate:modelValue":t[0]||(t[0]=n=>s.value.beginMileage=n),controls:!1,placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8",min:0},null,8,["modelValue"]),W]),_:1})]),_:1}),i(I,{span:24},{default:a(()=>[i(v,{label:"\u91CC\u7A0B\u56FE\u7247",prop:"beginMileageImgIdList"},{default:a(()=>[i(F,{"file-list":s.value.beginMileageImgIdList,"onUpdate:file-list":t[1]||(t[1]=n=>s.value.beginMileageImgIdList=n),class:"picture-card",action:f(g),"list-type":"picture-card",limit:10,"on-success":n=>f(S)(n,s.value.beginMileageImgIdList),"on-error":f(D),"before-upload":n=>f(T)(n,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:a(()=>[X]),default:a(()=>[i(B,{class:"avatar-uploader-icon"},{default:a(()=>[i(z)]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}});export{se as default}; | |||
var $=Object.defineProperty,q=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var x=(o,l,e)=>l in o?$(o,l,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[l]=e,w=(o,l)=>{for(var e in l||(l={}))O.call(l,e)&&x(o,e,l[e]);if(M)for(var e of M(l))P.call(l,e)&&x(o,e,l[e]);return o},L=(o,l)=>q(o,N(l));var p=(o,l,e)=>new Promise((_,g)=>{var c=d=>{try{m(e.next(d))}catch(u){g(u)}},s=d=>{try{m(e.throw(d))}catch(u){g(u)}},m=d=>d.done?_(d.value):Promise.resolve(d.value).then(c,s);m((e=e.apply(o,l)).next())});import{m as R}from"./orderManage.5273c92c.js";import{h as S,a as D,f as T,b as A}from"./uploadAction.b5d31dfd.js";import{d as E,y as G,r as C,z as H,f as r,g as J,n as K,w as a,e as i,v as f,b as V,h as k,i as Q}from"./index.4f7e0e83.js";const W=V("span",{class:"text-info"},"\u5343\u7C73",-1),X=V("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1),Y=k(" \u63D0\u4EA4 "),Z=k(" \u5173\u95ED "),ee=E({name:"confirmBoardingDialog"}),se=Object.assign(ee,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(o,{emit:l}){const e=o,{proxy:_}=Q(),g=G.dictStore.uploadUrl,c=C(),s=C({beginMileageImgIdList:[]}),m={beginMileage:[{required:!0,message:"\u8BF7\u8F93\u5165\u603B\u91CC\u7A0B\u6570",trigger:"blur"}],beginMileageImgIdList:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u91CC\u7A0B\u56FE\u7247",trigger:"blur"}]},d=u=>p(this,null,function*(){!u||(yield u.validate(t=>p(this,null,function*(){if(t){const{beginMileageImgIdList:b}=s.value;yield R(L(w({},s.value),{beginMileageImgIdList:A(b)})),_.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),l("close",!0)}})))});return H(()=>e.visible,u=>p(this,null,function*(){var t;u?e.data&&(s.value.orderId=(t=e.data)==null?void 0:t.id):(s.value={},c.value.resetFields())})),(u,t)=>{const b=r("el-input-number"),v=r("el-form-item"),I=r("el-col"),z=r("Plus"),B=r("el-icon"),F=r("el-upload"),h=r("el-row"),j=r("el-form"),y=r("el-button"),U=r("el-dialog");return J(),K(U,{"model-value":o.visible,title:"\u786E\u8BA4\u4E0A\u8F66",width:"840px","destroy-on-close":"",onClose:t[4]||(t[4]=n=>l("close"))},{footer:a(()=>[i(y,{type:"primary",size:"small",onClick:t[2]||(t[2]=n=>d(c.value))},{default:a(()=>[Y]),_:1}),i(y,{type:"info",size:"small",onClick:t[3]||(t[3]=n=>l("close"))},{default:a(()=>[Z]),_:1})]),default:a(()=>[i(j,{ref_key:"formRef",ref:c,model:s.value,rules:m,"label-width":"90px","label-suffix":":",size:"small"},{default:a(()=>[i(h,{gutter:30},{default:a(()=>[i(I,{span:12},{default:a(()=>[i(v,{label:"\u603B\u91CC\u7A0B\u6570",prop:"beginMileage"},{default:a(()=>[i(b,{modelValue:s.value.beginMileage,"onUpdate:modelValue":t[0]||(t[0]=n=>s.value.beginMileage=n),controls:!1,placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8",min:0},null,8,["modelValue"]),W]),_:1})]),_:1}),i(I,{span:24},{default:a(()=>[i(v,{label:"\u91CC\u7A0B\u56FE\u7247",prop:"beginMileageImgIdList"},{default:a(()=>[i(F,{"file-list":s.value.beginMileageImgIdList,"onUpdate:file-list":t[1]||(t[1]=n=>s.value.beginMileageImgIdList=n),class:"picture-card",action:f(g),"list-type":"picture-card",limit:10,"on-success":n=>f(S)(n,s.value.beginMileageImgIdList),"on-error":f(D),"before-upload":n=>f(T)(n,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:a(()=>[X]),default:a(()=>[i(B,{class:"avatar-uploader-icon"},{default:a(()=>[i(z)]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}});export{se as default}; |
@@ -1 +1 @@ | |||
var G=Object.defineProperty,P=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var M=(t,a,e)=>a in t?G(t,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[a]=e,$=(t,a)=>{for(var e in a||(a={}))U.call(a,e)&&M(t,e,a[e]);if(L)for(var e of L(a))q.call(a,e)&&M(t,e,a[e]);return t},D=(t,a)=>P(t,R(a));var h=(t,a,e)=>new Promise((j,I)=>{var l=o=>{try{i(e.next(o))}catch(v){I(v)}},_=o=>{try{i(e.throw(o))}catch(v){I(v)}},i=o=>o.done?j(o.value):Promise.resolve(o.value).then(l,_);i((e=e.apply(t,a)).next())});import{N as T,d as A,y as Y,r as w,z as H,f as C,g as J,n as K,w as d,e as r,v as F,h as V,b as Q,i as W}from"./index.56ad3315.js";import{h as X,a as Z,f as ee}from"./uploadAction.9c148b89.js";const te={1:"/api/v1/settlement/accept",2:"/api/v1/settlement/on/pay",3:"/api/v1/settlement/on/invoicing",4:"/api/v1/settlement/invoicing"},ce=(t,a)=>T.get(te[t],{params:a}),ae=t=>T.put("/api/v1/settlement",t),re=t=>T.get("/api/v1/settlement/export",{params:t,responseType:"blob"}),_e=t=>T.post("api/v1/settlement/last/month",t),le=V("\u4E0A\u4F20\u9644\u4EF6"),ie=Q("div",{class:"el-upload__tip"},"\u8BF7\u4E0A\u4F20\u53CC\u65B9\u7B7E\u5B57\u76D6\u7AE0\u7684\u7ED3\u7B97\u5355\u626B\u63CF\u4EF6\uFF0C\u652F\u6301.pdf,.png,.jpg,.gif\u683C\u5F0F\uFF0C\u4E0D\u8D85\u8FC72MB",-1),ne=V(" \u63D0\u4EA4 "),oe=V(" \u5173\u95ED "),se=A({name:"confirmDialog"}),de=Object.assign(se,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(t,{emit:a}){const e=t,{proxy:j}=W(),I=Y.dictStore.uploadUrl,l={TO_BE_CONFIRM:{title:"\u786E\u8BA4\u7ED3\u7B97\u5355",formLabel:"\u53CC\u65B9\u7B7E\u5B57\u76D6\u7AE0\u7684\u7ED3\u7B97\u5355",field:"examineFile",nextState:"TO_BE_PAY"},TO_BE_PAY:{title:"\u786E\u8BA4\u6536\u6B3E",formLabel:"\u6536\u6B3E\u8BC1\u660E",field:"collectionFile",nextState:"TO_BE_INVOICING"},TO_BE_INVOICING:{title:"\u786E\u8BA4\u5F00\u7968",formLabel:"\u53D1\u7968",field:"invoiceFile",nextState:"INVOICING"}},_=w(),i=w({}),o=w({}),v=x=>h(this,null,function*(){!x||(yield x.validate(n=>h(this,null,function*(){var s,f,m,c,N,g,b,u;if(n){const S=D($({},i.value),{examineStatus:(f=l[(s=e==null?void 0:e.data)==null?void 0:s.examineStatus])==null?void 0:f.nextState});S[(c=l[(m=e==null?void 0:e.data)==null?void 0:m.examineStatus])==null?void 0:c.field]=i.value[(g=l[(N=e==null?void 0:e.data)==null?void 0:N.examineStatus])==null?void 0:g.field].length?i.value[(u=l[(b=e==null?void 0:e.data)==null?void 0:b.examineStatus])==null?void 0:u.field].map(B=>B.response.data.id).join(","):void 0,yield ae(S),j.$message.success("\u786E\u8BA4\u6210\u529F\uFF01"),a("close",!0)}})))});return H(()=>e.visible,x=>h(this,null,function*(){var n,s,f,m,c;x?(n=e.data)!=null&&n.id&&(i.value.id=e.data.id,i.value[(f=l[(s=e==null?void 0:e.data)==null?void 0:s.examineStatus])==null?void 0:f.field]=[],o.value[(c=l[(m=e==null?void 0:e.data)==null?void 0:m.examineStatus])==null?void 0:c.field]=[{required:!0,message:"\u8BF7\u4E0A\u4F20\u6587\u4EF6",trigger:"change"}]):_.value.resetFields()})),(x,n)=>{var g,b;const s=C("el-button"),f=C("el-upload"),m=C("el-form-item"),c=C("el-form"),N=C("el-dialog");return J(),K(N,{"model-value":t.visible,title:(b=l[(g=e==null?void 0:e.data)==null?void 0:g.examineStatus])==null?void 0:b.title,width:"560px","destroy-on-close":"",onClose:n[3]||(n[3]=u=>a("close"))},{footer:d(()=>[r(s,{type:"primary",size:"small",onClick:n[1]||(n[1]=u=>v(_.value))},{default:d(()=>[ne]),_:1}),r(s,{type:"info",size:"small",onClick:n[2]||(n[2]=u=>a("close"))},{default:d(()=>[oe]),_:1})]),default:d(()=>[r(c,{ref_key:"formRef",ref:_,model:i.value,rules:o.value,"label-suffix":":",size:"small"},{default:d(()=>{var u,S,B,z;return[r(m,{label:(S=l[(u=e==null?void 0:e.data)==null?void 0:u.examineStatus])==null?void 0:S.formLabel,prop:(z=l[(B=e==null?void 0:e.data)==null?void 0:B.examineStatus])==null?void 0:z.field},{default:d(()=>{var E,k;return[r(f,{"file-list":i.value[(k=l[(E=e==null?void 0:e.data)==null?void 0:E.examineStatus])==null?void 0:k.field],"onUpdate:file-list":n[0]||(n[0]=p=>{var y,O;return i.value[(O=l[(y=e==null?void 0:e.data)==null?void 0:y.examineStatus])==null?void 0:O.field]=p}),class:"w-full",action:F(I),limit:10,"on-success":p=>{var y,O;return F(X)(p,i.value[(O=l[(y=e==null?void 0:e.data)==null?void 0:y.examineStatus])==null?void 0:O.field],!0)},"on-error":F(Z),"before-upload":p=>F(ee)(p,{types:["application/pdf","image/jpeg","image/png","image/gif"],size:2048})},{tip:d(()=>[ie]),default:d(()=>[r(s,{type:"primary"},{default:d(()=>[le]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]}),_:1},8,["label","prop"])]}),_:1},8,["model","rules"])]),_:1},8,["model-value","title"])}}}),ve=Object.freeze(Object.defineProperty({__proto__:null,default:de},Symbol.toStringTag,{value:"Module"}));export{de as _,_e as a,ve as c,re as e,ce as l}; | |||
var G=Object.defineProperty,P=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var M=(t,a,e)=>a in t?G(t,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[a]=e,$=(t,a)=>{for(var e in a||(a={}))U.call(a,e)&&M(t,e,a[e]);if(L)for(var e of L(a))q.call(a,e)&&M(t,e,a[e]);return t},D=(t,a)=>P(t,R(a));var h=(t,a,e)=>new Promise((j,I)=>{var l=o=>{try{i(e.next(o))}catch(v){I(v)}},_=o=>{try{i(e.throw(o))}catch(v){I(v)}},i=o=>o.done?j(o.value):Promise.resolve(o.value).then(l,_);i((e=e.apply(t,a)).next())});import{N as T,d as A,y as Y,r as w,z as H,f as C,g as J,n as K,w as d,e as r,v as F,h as V,b as Q,i as W}from"./index.4f7e0e83.js";import{h as X,a as Z,f as ee}from"./uploadAction.b5d31dfd.js";const te={1:"/api/v1/settlement/accept",2:"/api/v1/settlement/on/pay",3:"/api/v1/settlement/on/invoicing",4:"/api/v1/settlement/invoicing"},ce=(t,a)=>T.get(te[t],{params:a}),ae=t=>T.put("/api/v1/settlement",t),re=t=>T.get("/api/v1/settlement/export",{params:t,responseType:"blob"}),_e=t=>T.post("api/v1/settlement/last/month",t),le=V("\u4E0A\u4F20\u9644\u4EF6"),ie=Q("div",{class:"el-upload__tip"},"\u8BF7\u4E0A\u4F20\u53CC\u65B9\u7B7E\u5B57\u76D6\u7AE0\u7684\u7ED3\u7B97\u5355\u626B\u63CF\u4EF6\uFF0C\u652F\u6301.pdf,.png,.jpg,.gif\u683C\u5F0F\uFF0C\u4E0D\u8D85\u8FC72MB",-1),ne=V(" \u63D0\u4EA4 "),oe=V(" \u5173\u95ED "),se=A({name:"confirmDialog"}),de=Object.assign(se,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(t,{emit:a}){const e=t,{proxy:j}=W(),I=Y.dictStore.uploadUrl,l={TO_BE_CONFIRM:{title:"\u786E\u8BA4\u7ED3\u7B97\u5355",formLabel:"\u53CC\u65B9\u7B7E\u5B57\u76D6\u7AE0\u7684\u7ED3\u7B97\u5355",field:"examineFile",nextState:"TO_BE_PAY"},TO_BE_PAY:{title:"\u786E\u8BA4\u6536\u6B3E",formLabel:"\u6536\u6B3E\u8BC1\u660E",field:"collectionFile",nextState:"TO_BE_INVOICING"},TO_BE_INVOICING:{title:"\u786E\u8BA4\u5F00\u7968",formLabel:"\u53D1\u7968",field:"invoiceFile",nextState:"INVOICING"}},_=w(),i=w({}),o=w({}),v=x=>h(this,null,function*(){!x||(yield x.validate(n=>h(this,null,function*(){var s,f,m,c,N,g,b,u;if(n){const S=D($({},i.value),{examineStatus:(f=l[(s=e==null?void 0:e.data)==null?void 0:s.examineStatus])==null?void 0:f.nextState});S[(c=l[(m=e==null?void 0:e.data)==null?void 0:m.examineStatus])==null?void 0:c.field]=i.value[(g=l[(N=e==null?void 0:e.data)==null?void 0:N.examineStatus])==null?void 0:g.field].length?i.value[(u=l[(b=e==null?void 0:e.data)==null?void 0:b.examineStatus])==null?void 0:u.field].map(B=>B.response.data.id).join(","):void 0,yield ae(S),j.$message.success("\u786E\u8BA4\u6210\u529F\uFF01"),a("close",!0)}})))});return H(()=>e.visible,x=>h(this,null,function*(){var n,s,f,m,c;x?(n=e.data)!=null&&n.id&&(i.value.id=e.data.id,i.value[(f=l[(s=e==null?void 0:e.data)==null?void 0:s.examineStatus])==null?void 0:f.field]=[],o.value[(c=l[(m=e==null?void 0:e.data)==null?void 0:m.examineStatus])==null?void 0:c.field]=[{required:!0,message:"\u8BF7\u4E0A\u4F20\u6587\u4EF6",trigger:"change"}]):_.value.resetFields()})),(x,n)=>{var g,b;const s=C("el-button"),f=C("el-upload"),m=C("el-form-item"),c=C("el-form"),N=C("el-dialog");return J(),K(N,{"model-value":t.visible,title:(b=l[(g=e==null?void 0:e.data)==null?void 0:g.examineStatus])==null?void 0:b.title,width:"560px","destroy-on-close":"",onClose:n[3]||(n[3]=u=>a("close"))},{footer:d(()=>[r(s,{type:"primary",size:"small",onClick:n[1]||(n[1]=u=>v(_.value))},{default:d(()=>[ne]),_:1}),r(s,{type:"info",size:"small",onClick:n[2]||(n[2]=u=>a("close"))},{default:d(()=>[oe]),_:1})]),default:d(()=>[r(c,{ref_key:"formRef",ref:_,model:i.value,rules:o.value,"label-suffix":":",size:"small"},{default:d(()=>{var u,S,B,z;return[r(m,{label:(S=l[(u=e==null?void 0:e.data)==null?void 0:u.examineStatus])==null?void 0:S.formLabel,prop:(z=l[(B=e==null?void 0:e.data)==null?void 0:B.examineStatus])==null?void 0:z.field},{default:d(()=>{var E,k;return[r(f,{"file-list":i.value[(k=l[(E=e==null?void 0:e.data)==null?void 0:E.examineStatus])==null?void 0:k.field],"onUpdate:file-list":n[0]||(n[0]=p=>{var y,O;return i.value[(O=l[(y=e==null?void 0:e.data)==null?void 0:y.examineStatus])==null?void 0:O.field]=p}),class:"w-full",action:F(I),limit:10,"on-success":p=>{var y,O;return F(X)(p,i.value[(O=l[(y=e==null?void 0:e.data)==null?void 0:y.examineStatus])==null?void 0:O.field],!0)},"on-error":F(Z),"before-upload":p=>F(ee)(p,{types:["application/pdf","image/jpeg","image/png","image/gif"],size:2048})},{tip:d(()=>[ie]),default:d(()=>[r(s,{type:"primary"},{default:d(()=>[le]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]}),_:1},8,["label","prop"])]}),_:1},8,["model","rules"])]),_:1},8,["model-value","title"])}}}),ve=Object.freeze(Object.defineProperty({__proto__:null,default:de},Symbol.toStringTag,{value:"Module"}));export{de as _,_e as a,ve as c,re as e,ce as l}; |
@@ -1 +1 @@ | |||
var U=Object.defineProperty;var V=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var z=(r,o,l)=>o in r?U(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,I=(r,o)=>{for(var l in o||(o={}))W.call(o,l)&&z(r,l,o[l]);if(V)for(var l of V(o))A.call(o,l)&&z(r,l,o[l]);return r};var y=(r,o,l)=>new Promise((h,u)=>{var N=n=>{try{s(l.next(n))}catch(_){u(_)}},d=n=>{try{s(l.throw(n))}catch(_){u(_)}},s=n=>n.done?h(n.value):Promise.resolve(n.value).then(N,d);s((l=l.apply(r,o)).next())});import{p as E}from"./orderManage.83f936be.js";import{d as G,a as T,r as b,z as S,f as m,g as H,c as J,e as a,w as t,b as K,F as M,h as g,A as Q,i as X}from"./index.56ad3315.js";const Y=g(" \u5BFC\u51FA "),Z=g(" \u5173\u95ED "),ee=g("\u67E5\u8BE2"),ae=g("\u91CD\u7F6E"),te=g(" \u786E\u5B9A "),le=g(" \u5173\u95ED "),oe=G({name:"downDialog"}),ie=Object.assign(oe,{props:{visible:{type:Boolean,default:!1,required:!0}},emits:["close"],setup(r,{emit:o}){const l=r,{proxy:h}=X(),u=T({realName:void 0}),N=b(),d=b({}),s=T({visible:!1,rowData:void 0}),n=b(),_=b(0),$=[{type:"radio",width:"55",key:"projectId"},{label:"\u9879\u76EE\u540D\u79F0",key:"projectName",prop:"projectName",minWidth:"180",showOverflowTooltip:!0},{label:"\u6240\u5C5E\u4F01\u4E1A",key:"companyName",prop:"companyName",minWidth:"150",showOverflowTooltip:!0},{label:"\u6240\u5C5E\u533A\u57DF",key:"regionDisplayName",prop:"regionDisplayName",width:"150"},{label:"\u521B\u5EFA\u65F6\u95F4",key:"createTime",prop:"createTime",width:"170"}],x=b([]),k=i=>y(this,null,function*(){var c,v;yield Q(),i=n.value.pageParams;const e=yield E(I(I({},i),u));x.value=e.data.records,_.value=e.data.total,(c=s.rowData)!=null&&c.length&&((v=x.value)==null||v.forEach(w=>{var j;((j=s==null?void 0:s.rowData)==null?void 0:j.map(C=>C.projectId)).includes(w.projectId)&&n.value.setRadio(w.projectId)}))}),R=()=>{k()},B=()=>{u.projectName=void 0,n.value.pageParams.pageNumber=1,n.value.pageParams.pageSize=10,k()},F=i=>{const{projectName:e,projectId:c}=i;d.value={projectName:e,projectId:c}},D=()=>y(this,null,function*(){s.rowData=[{projectId:d.value.projectId,projectName:d.value.projectName}],s.visible=!0,yield k()}),L=b(!1),O=i=>y(this,null,function*(){!i||(yield i.validate(e=>y(this,null,function*(){e&&(h.$message.success("\u5BFC\u51FA\u6210\u529F\uFF01"),o("close",!0))})))});return S(()=>l.visible,i=>y(this,null,function*(){i||(d.value={})})),(i,e)=>{const c=m("el-input"),v=m("el-form-item"),w=m("el-form"),f=m("el-button"),j=m("el-dialog"),C=m("el-col"),q=m("el-row"),P=m("table-list");return H(),J(M,null,[a(j,{"model-value":r.visible,title:"\u5BFC\u51FA",width:"560px","destroy-on-close":"",onClose:e[3]||(e[3]=p=>o("close"))},{footer:t(()=>[a(f,{type:"primary",size:"small",loading:L.value,onClick:e[1]||(e[1]=p=>O(N.value))},{default:t(()=>[Y]),_:1},8,["loading"]),a(f,{type:"info",size:"small",onClick:e[2]||(e[2]=p=>o("close"))},{default:t(()=>[Z]),_:1})]),default:t(()=>[a(w,{ref_key:"formRef",ref:N,model:d.value,"label-width":"90px","label-suffix":":",size:"small"},{default:t(()=>[a(v,{label:"\u9009\u62E9\u9879\u76EE",prop:"projectName",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE",trigger:"change"}]},{default:t(()=>[a(c,{modelValue:d.value.projectName,"onUpdate:modelValue":e[0]||(e[0]=p=>d.value.projectName=p),placeholder:"\u8BF7\u9009\u62E9",readonly:"",style:{cursor:"pointer"},onClick:D},{append:t(()=>[K("a",{onClick:D},"\u6DFB\u52A0")]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"]),a(j,{"model-value":s.visible,title:"\u9009\u62E9\u9879\u76EE",width:"840px","destroy-on-close":"",onClose:e[7]||(e[7]=p=>s.visible=!1)},{footer:t(()=>[a(f,{type:"primary",size:"small",onClick:e[5]||(e[5]=p=>s.visible=!1)},{default:t(()=>[te]),_:1}),a(f,{type:"info",size:"small",onClick:e[6]||(e[6]=p=>s.visible=!1)},{default:t(()=>[le]),_:1})]),default:t(()=>[a(w,{"label-suffix":":",model:u,size:"small"},{default:t(()=>[a(q,{gutter:16},{default:t(()=>[a(C,{span:8},{default:t(()=>[a(v,{label:"\u9879\u76EE\u540D\u79F0"},{default:t(()=>[a(c,{modelValue:u.projectName,"onUpdate:modelValue":e[4]||(e[4]=p=>u.projectName=p),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(C,{span:8},{default:t(()=>[a(v,null,{default:t(()=>[a(f,{type:"primary",onClick:R},{default:t(()=>[ee]),_:1}),a(f,{type:"info",onClick:B},{default:t(()=>[ae]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),a(P,{ref_key:"tableListRef",ref:n,column:$,data:x.value,total:_.value,"row-key":"projectId",onGetTableData:k,onRadioChange:F},null,8,["data","total"])]),_:1},8,["model-value"])],64)}}});export{ie as default}; | |||
var U=Object.defineProperty;var V=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var z=(r,o,l)=>o in r?U(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,I=(r,o)=>{for(var l in o||(o={}))W.call(o,l)&&z(r,l,o[l]);if(V)for(var l of V(o))A.call(o,l)&&z(r,l,o[l]);return r};var y=(r,o,l)=>new Promise((h,u)=>{var N=n=>{try{s(l.next(n))}catch(_){u(_)}},d=n=>{try{s(l.throw(n))}catch(_){u(_)}},s=n=>n.done?h(n.value):Promise.resolve(n.value).then(N,d);s((l=l.apply(r,o)).next())});import{p as E}from"./orderManage.5273c92c.js";import{d as G,a as T,r as b,z as S,f as m,g as H,c as J,e as a,w as t,b as K,F as M,h as g,A as Q,i as X}from"./index.4f7e0e83.js";const Y=g(" \u5BFC\u51FA "),Z=g(" \u5173\u95ED "),ee=g("\u67E5\u8BE2"),ae=g("\u91CD\u7F6E"),te=g(" \u786E\u5B9A "),le=g(" \u5173\u95ED "),oe=G({name:"downDialog"}),ie=Object.assign(oe,{props:{visible:{type:Boolean,default:!1,required:!0}},emits:["close"],setup(r,{emit:o}){const l=r,{proxy:h}=X(),u=T({realName:void 0}),N=b(),d=b({}),s=T({visible:!1,rowData:void 0}),n=b(),_=b(0),$=[{type:"radio",width:"55",key:"projectId"},{label:"\u9879\u76EE\u540D\u79F0",key:"projectName",prop:"projectName",minWidth:"180",showOverflowTooltip:!0},{label:"\u6240\u5C5E\u4F01\u4E1A",key:"companyName",prop:"companyName",minWidth:"150",showOverflowTooltip:!0},{label:"\u6240\u5C5E\u533A\u57DF",key:"regionDisplayName",prop:"regionDisplayName",width:"150"},{label:"\u521B\u5EFA\u65F6\u95F4",key:"createTime",prop:"createTime",width:"170"}],x=b([]),k=i=>y(this,null,function*(){var c,v;yield Q(),i=n.value.pageParams;const e=yield E(I(I({},i),u));x.value=e.data.records,_.value=e.data.total,(c=s.rowData)!=null&&c.length&&((v=x.value)==null||v.forEach(w=>{var j;((j=s==null?void 0:s.rowData)==null?void 0:j.map(C=>C.projectId)).includes(w.projectId)&&n.value.setRadio(w.projectId)}))}),R=()=>{k()},B=()=>{u.projectName=void 0,n.value.pageParams.pageNumber=1,n.value.pageParams.pageSize=10,k()},F=i=>{const{projectName:e,projectId:c}=i;d.value={projectName:e,projectId:c}},D=()=>y(this,null,function*(){s.rowData=[{projectId:d.value.projectId,projectName:d.value.projectName}],s.visible=!0,yield k()}),L=b(!1),O=i=>y(this,null,function*(){!i||(yield i.validate(e=>y(this,null,function*(){e&&(h.$message.success("\u5BFC\u51FA\u6210\u529F\uFF01"),o("close",!0))})))});return S(()=>l.visible,i=>y(this,null,function*(){i||(d.value={})})),(i,e)=>{const c=m("el-input"),v=m("el-form-item"),w=m("el-form"),f=m("el-button"),j=m("el-dialog"),C=m("el-col"),q=m("el-row"),P=m("table-list");return H(),J(M,null,[a(j,{"model-value":r.visible,title:"\u5BFC\u51FA",width:"560px","destroy-on-close":"",onClose:e[3]||(e[3]=p=>o("close"))},{footer:t(()=>[a(f,{type:"primary",size:"small",loading:L.value,onClick:e[1]||(e[1]=p=>O(N.value))},{default:t(()=>[Y]),_:1},8,["loading"]),a(f,{type:"info",size:"small",onClick:e[2]||(e[2]=p=>o("close"))},{default:t(()=>[Z]),_:1})]),default:t(()=>[a(w,{ref_key:"formRef",ref:N,model:d.value,"label-width":"90px","label-suffix":":",size:"small"},{default:t(()=>[a(v,{label:"\u9009\u62E9\u9879\u76EE",prop:"projectName",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE",trigger:"change"}]},{default:t(()=>[a(c,{modelValue:d.value.projectName,"onUpdate:modelValue":e[0]||(e[0]=p=>d.value.projectName=p),placeholder:"\u8BF7\u9009\u62E9",readonly:"",style:{cursor:"pointer"},onClick:D},{append:t(()=>[K("a",{onClick:D},"\u6DFB\u52A0")]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"]),a(j,{"model-value":s.visible,title:"\u9009\u62E9\u9879\u76EE",width:"840px","destroy-on-close":"",onClose:e[7]||(e[7]=p=>s.visible=!1)},{footer:t(()=>[a(f,{type:"primary",size:"small",onClick:e[5]||(e[5]=p=>s.visible=!1)},{default:t(()=>[te]),_:1}),a(f,{type:"info",size:"small",onClick:e[6]||(e[6]=p=>s.visible=!1)},{default:t(()=>[le]),_:1})]),default:t(()=>[a(w,{"label-suffix":":",model:u,size:"small"},{default:t(()=>[a(q,{gutter:16},{default:t(()=>[a(C,{span:8},{default:t(()=>[a(v,{label:"\u9879\u76EE\u540D\u79F0"},{default:t(()=>[a(c,{modelValue:u.projectName,"onUpdate:modelValue":e[4]||(e[4]=p=>u.projectName=p),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(C,{span:8},{default:t(()=>[a(v,null,{default:t(()=>[a(f,{type:"primary",onClick:R},{default:t(()=>[ee]),_:1}),a(f,{type:"info",onClick:B},{default:t(()=>[ae]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),a(P,{ref_key:"tableListRef",ref:n,column:$,data:x.value,total:_.value,"row-key":"projectId",onGetTableData:k,onRadioChange:F},null,8,["data","total"])]),_:1},8,["model-value"])],64)}}});export{ie as default}; |
@@ -1 +1 @@ | |||
import{N as e}from"./index.56ad3315.js";const r=i=>e.get("/api/v1/user-info/driver/all",{params:i}),t=i=>e.get(`/api/v1/user-info/driver/detail/${i}`),a=i=>e.post("/api/v1/user-info/driver/leave",i),o=i=>e.get("/api/v1/user-info/driver/admin",{params:i}),v=i=>e.post("/api/v1/user-info/driver/admin",i),d=i=>e.post("/api/v1/user-info/driver/setJobType",i);export{v as a,t as b,r as c,o as d,a as l,d as s}; | |||
import{N as e}from"./index.4f7e0e83.js";const r=i=>e.get("/api/v1/user-info/driver/all",{params:i}),t=i=>e.get(`/api/v1/user-info/driver/detail/${i}`),a=i=>e.post("/api/v1/user-info/driver/leave",i),o=i=>e.get("/api/v1/user-info/driver/admin",{params:i}),v=i=>e.post("/api/v1/user-info/driver/admin",i),d=i=>e.post("/api/v1/user-info/driver/setJobType",i);export{v as a,t as b,r as c,o as d,a as l,d as s}; |
@@ -1 +1 @@ | |||
import{N as a}from"./index.56ad3315.js";const s=i=>a.post("/api/v1/driver-info/all",i),o=i=>a.get(`/api/v1/driver-info/detail/${i}`),r=i=>a.post("/api/v1/driver-info/save",i),e=i=>a.post("/api/v1/driver-info/audit",i);export{e as a,o as d,s as l,r as s}; | |||
import{N as a}from"./index.4f7e0e83.js";const s=i=>a.post("/api/v1/driver-info/all",i),o=i=>a.get(`/api/v1/driver-info/detail/${i}`),r=i=>a.post("/api/v1/driver-info/save",i),e=i=>a.post("/api/v1/driver-info/audit",i);export{e as a,o as d,s as l,r as s}; |
@@ -1 +1 @@ | |||
import{h as y,a as b,f as P}from"./uploadAction.9c148b89.js";import{d as R,y as T,s as U,f as s,g as i,c as p,e as o,w as l,v as e,F as x,q as B,b as u,n as V}from"./index.56ad3315.js";const C={class:"driverlicenseInfo"},S={class:"flex"},j=["src"],M=u("div",{class:"el-upload__tip text-center"}," \u6B63\u9762\u7167\u7247 ",-1),O=["src"],z=u("div",{class:"el-upload__tip text-center"}," \u53CD\u9762\u7167\u7247 ",-1),A=R({name:"driverlicenseInfo"}),N=Object.assign(A,{props:{formData:{type:Object,default:()=>{}}},emits:["updata:formData"],setup(F,{emit:k}){const w=F,D=["C1","C2","C3","A1","A2","B1","B2"],f=T.dictStore.uploadUrl,r=U({get(){return w.formData},set(_){k("updata:formData",_)}});return(_,a)=>{const d=s("el-option"),m=s("el-select"),n=s("el-form-item"),c=s("el-col"),v=s("el-row"),h=s("Plus"),g=s("el-icon"),L=s("el-upload"),Y=s("el-date-picker");return i(),p("div",C,[o(v,{gutter:30},{default:l(()=>[o(c,{span:12},{default:l(()=>[o(n,{label:"\u51C6\u9A7E\u8F66\u578B",prop:"driverLicenseType"},{default:l(()=>[o(m,{modelValue:e(r).driverLicenseType,"onUpdate:modelValue":a[0]||(a[0]=t=>e(r).driverLicenseType=t),placeholder:"\u8BF7\u9009\u62E9\u51C6\u9A7E\u8F66\u578B",class:"w-full"},{default:l(()=>[(i(),p(x,null,B(D,t=>o(d,{key:t,label:t,value:t},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),o(v,{gutter:30},{default:l(()=>[o(c,{span:8},{default:l(()=>[u("div",S,[o(n,{label:"\u9A7E\u9A76\u8BC1\u7167\u7247",prop:"driverLicensePhotoFront"},{default:l(()=>[o(L,{"file-list":e(r).driverLicensePhotoFront,"onUpdate:file-list":a[1]||(a[1]=t=>e(r).driverLicensePhotoFront=t),class:"avatar-uploader",action:e(f),"show-file-list":!1,"on-success":t=>e(y)(t,e(r).driverLicensePhotoFront,!0),"on-error":e(b),"before-upload":t=>e(P)(t,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[M]),default:l(()=>[e(r).driverLicensePhotoFront&&e(r).driverLicensePhotoFront.length?(i(),p("img",{key:0,src:e(r).driverLicensePhotoFront[0].url,width:"80",height:"80",class:"avatar"},null,8,j)):(i(),V(g,{key:1,class:"avatar-uploader-icon"},{default:l(()=>[o(h)]),_:1}))]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1}),o(n,{prop:"driverLicensePhotoReverse",class:"ml-40"},{default:l(()=>[o(L,{"file-list":e(r).driverLicensePhotoReverse,"onUpdate:file-list":a[2]||(a[2]=t=>e(r).driverLicensePhotoReverse=t),class:"avatar-uploader",action:e(f),"show-file-list":!1,"on-success":t=>e(y)(t,e(r).driverLicensePhotoReverse,!0),"on-error":e(b),"before-upload":t=>e(P)(t,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[z]),default:l(()=>[e(r).driverLicensePhotoReverse&&e(r).driverLicensePhotoReverse.length?(i(),p("img",{key:0,src:e(r).driverLicensePhotoReverse[0].url,width:"80",height:"80",class:"avatar"},null,8,O)):(i(),V(g,{key:1,class:"avatar-uploader-icon"},{default:l(()=>[o(h)]),_:1}))]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})])]),_:1}),o(c,{span:8},{default:l(()=>[o(n,{label:"\u9A7E\u9A76\u8BC1\u6709\u6548\u5F00\u59CB\u65E5\u671F",prop:"driverLicenseStartTime"},{default:l(()=>[o(Y,{modelValue:e(r).driverLicenseStartTime,"onUpdate:modelValue":a[3]||(a[3]=t=>e(r).driverLicenseStartTime=t),type:"date",placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1}),o(c,{span:8},{default:l(()=>[o(n,{label:"\u6709\u6548\u671F\u9650",prop:"driverLicenseValidity"},{default:l(()=>[o(m,{modelValue:e(r).driverLicenseValidity,"onUpdate:modelValue":a[4]||(a[4]=t=>e(r).driverLicenseValidity=t),placeholder:"\u8BF7\u9009\u62E9\u6709\u6548\u671F\u9650",class:"w-full"},{default:l(()=>[o(d,{label:"6\u5E74",value:6}),o(d,{label:"10\u5E74",value:10}),o(d,{label:"\u957F\u671F",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})])}}});export{N as default}; | |||
import{h as y,a as b,f as P}from"./uploadAction.b5d31dfd.js";import{d as R,y as T,s as U,f as s,g as i,c as p,e as o,w as l,v as e,F as x,q as B,b as u,n as V}from"./index.4f7e0e83.js";const C={class:"driverlicenseInfo"},S={class:"flex"},j=["src"],M=u("div",{class:"el-upload__tip text-center"}," \u6B63\u9762\u7167\u7247 ",-1),O=["src"],z=u("div",{class:"el-upload__tip text-center"}," \u53CD\u9762\u7167\u7247 ",-1),A=R({name:"driverlicenseInfo"}),N=Object.assign(A,{props:{formData:{type:Object,default:()=>{}}},emits:["updata:formData"],setup(F,{emit:k}){const w=F,D=["C1","C2","C3","A1","A2","B1","B2"],f=T.dictStore.uploadUrl,r=U({get(){return w.formData},set(_){k("updata:formData",_)}});return(_,a)=>{const d=s("el-option"),m=s("el-select"),n=s("el-form-item"),c=s("el-col"),v=s("el-row"),h=s("Plus"),g=s("el-icon"),L=s("el-upload"),Y=s("el-date-picker");return i(),p("div",C,[o(v,{gutter:30},{default:l(()=>[o(c,{span:12},{default:l(()=>[o(n,{label:"\u51C6\u9A7E\u8F66\u578B",prop:"driverLicenseType"},{default:l(()=>[o(m,{modelValue:e(r).driverLicenseType,"onUpdate:modelValue":a[0]||(a[0]=t=>e(r).driverLicenseType=t),placeholder:"\u8BF7\u9009\u62E9\u51C6\u9A7E\u8F66\u578B",class:"w-full"},{default:l(()=>[(i(),p(x,null,B(D,t=>o(d,{key:t,label:t,value:t},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),o(v,{gutter:30},{default:l(()=>[o(c,{span:8},{default:l(()=>[u("div",S,[o(n,{label:"\u9A7E\u9A76\u8BC1\u7167\u7247",prop:"driverLicensePhotoFront"},{default:l(()=>[o(L,{"file-list":e(r).driverLicensePhotoFront,"onUpdate:file-list":a[1]||(a[1]=t=>e(r).driverLicensePhotoFront=t),class:"avatar-uploader",action:e(f),"show-file-list":!1,"on-success":t=>e(y)(t,e(r).driverLicensePhotoFront,!0),"on-error":e(b),"before-upload":t=>e(P)(t,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[M]),default:l(()=>[e(r).driverLicensePhotoFront&&e(r).driverLicensePhotoFront.length?(i(),p("img",{key:0,src:e(r).driverLicensePhotoFront[0].url,width:"80",height:"80",class:"avatar"},null,8,j)):(i(),V(g,{key:1,class:"avatar-uploader-icon"},{default:l(()=>[o(h)]),_:1}))]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1}),o(n,{prop:"driverLicensePhotoReverse",class:"ml-40"},{default:l(()=>[o(L,{"file-list":e(r).driverLicensePhotoReverse,"onUpdate:file-list":a[2]||(a[2]=t=>e(r).driverLicensePhotoReverse=t),class:"avatar-uploader",action:e(f),"show-file-list":!1,"on-success":t=>e(y)(t,e(r).driverLicensePhotoReverse,!0),"on-error":e(b),"before-upload":t=>e(P)(t,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[z]),default:l(()=>[e(r).driverLicensePhotoReverse&&e(r).driverLicensePhotoReverse.length?(i(),p("img",{key:0,src:e(r).driverLicensePhotoReverse[0].url,width:"80",height:"80",class:"avatar"},null,8,O)):(i(),V(g,{key:1,class:"avatar-uploader-icon"},{default:l(()=>[o(h)]),_:1}))]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})])]),_:1}),o(c,{span:8},{default:l(()=>[o(n,{label:"\u9A7E\u9A76\u8BC1\u6709\u6548\u5F00\u59CB\u65E5\u671F",prop:"driverLicenseStartTime"},{default:l(()=>[o(Y,{modelValue:e(r).driverLicenseStartTime,"onUpdate:modelValue":a[3]||(a[3]=t=>e(r).driverLicenseStartTime=t),type:"date",placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1}),o(c,{span:8},{default:l(()=>[o(n,{label:"\u6709\u6548\u671F\u9650",prop:"driverLicenseValidity"},{default:l(()=>[o(m,{modelValue:e(r).driverLicenseValidity,"onUpdate:modelValue":a[4]||(a[4]=t=>e(r).driverLicenseValidity=t),placeholder:"\u8BF7\u9009\u62E9\u6709\u6548\u671F\u9650",class:"w-full"},{default:l(()=>[o(d,{label:"6\u5E74",value:6}),o(d,{label:"10\u5E74",value:10}),o(d,{label:"\u957F\u671F",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})])}}});export{N as default}; |
@@ -1 +1 @@ | |||
import{d as x,f as s,g as i,c as l,e,w as t,h as _,t as m,b as f,F as p,q as L,n as y,p as k,v as w,M as P}from"./index.56ad3315.js";const b={class:"driverlicenseInfo"},B={class:"flex"},F={key:0,class:"mt-8"},V={class:"image-slot"},C={key:1},N={key:0,class:"mt-8"},T={class:"image-slot"},Y=x({name:"driverlicenseInfo"}),S=Object.assign(Y,{props:{detailData:{type:Object,default:()=>{}}},setup(a){return(j,M)=>{const r=s("el-form-item"),c=s("el-col"),v=s("el-row"),h=s("Picture"),D=s("el-icon"),g=s("el-image");return i(),l("div",b,[e(v,{gutter:30},{default:t(()=>[e(c,{span:12},{default:t(()=>[e(r,{label:"\u51C6\u9A7E\u8F66\u578B"},{default:t(()=>[_(m(a.detailData.driverLicenseType||"-"),1)]),_:1})]),_:1})]),_:1}),e(v,{gutter:30},{default:t(()=>[e(c,{span:8},{default:t(()=>[f("div",B,[e(r,{label:"\u9A7E\u9A76\u8BC1\u7167\u7247"},{default:t(()=>{var n;return[(n=a.detailData)!=null&&n.driverLicensePhotoFront?(i(),l("div",F,[(i(!0),l(p,null,L(a.detailData.driverLicensePhotoFront,(d,o)=>(i(),y(g,{key:o,class:"imgBox mr-8",src:d.url,"initial-index":o,"preview-src-list":a.detailData.driverLicensePhotoFront.map(u=>u.url),fit:"cover"},{error:t(()=>[f("div",V,[e(D,null,{default:t(()=>[e(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(i(),l("span",C,"-"))]}),_:1}),e(r,{class:"ml-40"},{default:t(()=>{var n;return[(n=a.detailData)!=null&&n.driverLicensePhotoReverse?(i(),l("div",N,[(i(!0),l(p,null,L(a.detailData.driverLicensePhotoReverse,(d,o)=>(i(),y(g,{key:o,class:"imgBox mr-8",src:d.url,"initial-index":o,"preview-src-list":a.detailData.driverLicensePhotoReverse.map(u=>u.url),fit:"cover"},{error:t(()=>[f("div",T,[e(D,null,{default:t(()=>[e(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):k("",!0)]}),_:1})])]),_:1}),e(c,{span:8},{default:t(()=>[e(r,{label:"\u9A7E\u9A76\u8BC1\u6709\u6548\u5F00\u59CB\u65E5\u671F"},{default:t(()=>[_(m(a.detailData.driverLicenseStartTime?w(P)(a.detailData.driverLicenseStartTime).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),e(c,{span:8},{default:t(()=>[e(r,{label:"\u6709\u6548\u671F\u9650"},{default:t(()=>[_(m({0:"\u957F\u671F",6:"6\u5E74",10:"10\u5E74"}[a.detailData.driverLicenseValidity]||"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{S as default}; | |||
import{d as x,f as s,g as i,c as l,e,w as t,h as _,t as m,b as f,F as p,q as L,n as y,p as k,v as w,M as P}from"./index.4f7e0e83.js";const b={class:"driverlicenseInfo"},B={class:"flex"},F={key:0,class:"mt-8"},V={class:"image-slot"},C={key:1},N={key:0,class:"mt-8"},T={class:"image-slot"},Y=x({name:"driverlicenseInfo"}),S=Object.assign(Y,{props:{detailData:{type:Object,default:()=>{}}},setup(a){return(j,M)=>{const r=s("el-form-item"),c=s("el-col"),v=s("el-row"),h=s("Picture"),D=s("el-icon"),g=s("el-image");return i(),l("div",b,[e(v,{gutter:30},{default:t(()=>[e(c,{span:12},{default:t(()=>[e(r,{label:"\u51C6\u9A7E\u8F66\u578B"},{default:t(()=>[_(m(a.detailData.driverLicenseType||"-"),1)]),_:1})]),_:1})]),_:1}),e(v,{gutter:30},{default:t(()=>[e(c,{span:8},{default:t(()=>[f("div",B,[e(r,{label:"\u9A7E\u9A76\u8BC1\u7167\u7247"},{default:t(()=>{var n;return[(n=a.detailData)!=null&&n.driverLicensePhotoFront?(i(),l("div",F,[(i(!0),l(p,null,L(a.detailData.driverLicensePhotoFront,(d,o)=>(i(),y(g,{key:o,class:"imgBox mr-8",src:d.url,"initial-index":o,"preview-src-list":a.detailData.driverLicensePhotoFront.map(u=>u.url),fit:"cover"},{error:t(()=>[f("div",V,[e(D,null,{default:t(()=>[e(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(i(),l("span",C,"-"))]}),_:1}),e(r,{class:"ml-40"},{default:t(()=>{var n;return[(n=a.detailData)!=null&&n.driverLicensePhotoReverse?(i(),l("div",N,[(i(!0),l(p,null,L(a.detailData.driverLicensePhotoReverse,(d,o)=>(i(),y(g,{key:o,class:"imgBox mr-8",src:d.url,"initial-index":o,"preview-src-list":a.detailData.driverLicensePhotoReverse.map(u=>u.url),fit:"cover"},{error:t(()=>[f("div",T,[e(D,null,{default:t(()=>[e(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):k("",!0)]}),_:1})])]),_:1}),e(c,{span:8},{default:t(()=>[e(r,{label:"\u9A7E\u9A76\u8BC1\u6709\u6548\u5F00\u59CB\u65E5\u671F"},{default:t(()=>[_(m(a.detailData.driverLicenseStartTime?w(P)(a.detailData.driverLicenseStartTime).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),e(c,{span:8},{default:t(()=>[e(r,{label:"\u6709\u6548\u671F\u9650"},{default:t(()=>[_(m({0:"\u957F\u671F",6:"6\u5E74",10:"10\u5E74"}[a.detailData.driverLicenseValidity]||"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{S as default}; |
@@ -1 +1 @@ | |||
import{d as w,f as _,g as i,c as l,e,w as t,h as P,t as h,b as u,F as g,q as D,n as y,p as b,v as p,M as B}from"./index.56ad3315.js";const A={class:"drivinglicenseInfo"},L={class:"flex"},V={key:0,class:"mt-8"},F={class:"image-slot"},N={key:1},C={key:0,class:"mt-8"},Y={class:"image-slot"},j={class:"flex"},M={key:0,class:"mt-8"},R={class:"image-slot"},I={key:1},O={class:"flex"},T={key:0,class:"mt-8"},q={class:"image-slot"},E={key:1},S={key:0},z={key:1},G=w({name:"drivinglicenseInfo"}),Q=Object.assign(G,{props:{detailData:{type:Object,default:()=>{}}},setup(a){return(H,J)=>{const d=_("el-form-item"),r=_("el-col"),x=_("el-row"),m=_("Picture"),f=_("el-icon"),v=_("el-image");return i(),l("div",A,[e(x,{gutter:30},{default:t(()=>[e(r,{span:12},{default:t(()=>[e(d,{label:"\u8F66\u724C\u53F7"},{default:t(()=>[P(h(a.detailData.carNo||"-"),1)]),_:1})]),_:1}),e(r,{span:12},{default:t(()=>[e(d,{label:"\u8F66\u8F86\u7C7B\u578B"},{default:t(()=>[P(h(a.detailData.vehicleType||"-"),1)]),_:1})]),_:1})]),_:1}),e(x,{gutter:30},{default:t(()=>[e(r,{span:12},{default:t(()=>[u("div",L,[e(d,{label:"\u884C\u9A76\u8BC1\u7167\u7247"},{default:t(()=>{var s;return[(s=a.detailData)!=null&&s.drivingLicensePhotoFront?(i(),l("div",V,[(i(!0),l(g,null,D(a.detailData.drivingLicensePhotoFront,(n,o)=>(i(),y(v,{key:o,class:"imgBox mr-8",src:n.url,"initial-index":o,"preview-src-list":a.detailData.drivingLicensePhotoFront.map(c=>c.url),fit:"cover"},{error:t(()=>[u("div",F,[e(f,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(i(),l("span",N,"-"))]}),_:1}),e(d,{class:"ml-40"},{default:t(()=>{var s;return[(s=a.detailData)!=null&&s.drivingLicensePhotoReverse?(i(),l("div",C,[(i(!0),l(g,null,D(a.detailData.drivingLicensePhotoReverse,(n,o)=>(i(),y(v,{key:o,class:"imgBox mr-8",src:n.url,"initial-index":o,"preview-src-list":a.detailData.drivingLicensePhotoReverse.map(c=>c.url),fit:"cover"},{error:t(()=>[u("div",Y,[e(f,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):b("",!0)]}),_:1})])]),_:1}),e(r,{span:12},{default:t(()=>[u("div",j,[e(d,{label:"\u8F66\u8F86\u7167\u7247"},{default:t(()=>{var s,n;return[(n=(s=a.detailData)==null?void 0:s.carPhoto)!=null&&n.length?(i(),l("div",M,[(i(!0),l(g,null,D(a.detailData.carPhoto,(o,c)=>(i(),y(v,{key:c,class:"imgBox mr-8",src:o.url,"initial-index":c,"preview-src-list":a.detailData.carPhoto.map(k=>k.url),fit:"cover"},{error:t(()=>[u("div",R,[e(f,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(i(),l("span",I,"-"))]}),_:1})])]),_:1}),e(r,{span:8},{default:t(()=>[u("div",O,[e(d,{label:"\u5E74\u5BA1\u4FE1\u606F"},{default:t(()=>{var s,n;return[(n=(s=a.detailData)==null?void 0:s.annualAuditPhoto)!=null&&n.length?(i(),l("div",T,[(i(!0),l(g,null,D(a.detailData.annualAuditPhoto,(o,c)=>(i(),y(v,{key:c,class:"imgBox mr-8",src:o.url,"initial-index":c,"preview-src-list":a.detailData.annualAuditPhoto.map(k=>k.url),fit:"cover"},{error:t(()=>[u("div",q,[e(f,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(i(),l("span",E,"-"))]}),_:1})])]),_:1}),e(r,{span:8},{default:t(()=>[e(d,{label:"\u5E74\u5BA1\u901A\u8FC7\u65E5\u671F"},{default:t(()=>[P(h(a.detailData.annualAuditPass?p(B)(a.detailData.annualAuditPass).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),e(r,{span:8},{default:t(()=>[e(d,{label:"\u6709\u6548\u671F\u9650"},{default:t(()=>[a.detailData.annualAuditValidity?(i(),l("span",S,h(a.detailData.annualAuditValidity)+"\u5E74 ",1)):(i(),l("span",z,"-"))]),_:1})]),_:1})]),_:1})])}}});export{Q as default}; | |||
import{d as w,f as _,g as i,c as l,e,w as t,h as P,t as h,b as u,F as g,q as D,n as y,p as b,v as p,M as B}from"./index.4f7e0e83.js";const A={class:"drivinglicenseInfo"},L={class:"flex"},V={key:0,class:"mt-8"},F={class:"image-slot"},N={key:1},C={key:0,class:"mt-8"},Y={class:"image-slot"},j={class:"flex"},M={key:0,class:"mt-8"},R={class:"image-slot"},I={key:1},O={class:"flex"},T={key:0,class:"mt-8"},q={class:"image-slot"},E={key:1},S={key:0},z={key:1},G=w({name:"drivinglicenseInfo"}),Q=Object.assign(G,{props:{detailData:{type:Object,default:()=>{}}},setup(a){return(H,J)=>{const d=_("el-form-item"),r=_("el-col"),x=_("el-row"),m=_("Picture"),f=_("el-icon"),v=_("el-image");return i(),l("div",A,[e(x,{gutter:30},{default:t(()=>[e(r,{span:12},{default:t(()=>[e(d,{label:"\u8F66\u724C\u53F7"},{default:t(()=>[P(h(a.detailData.carNo||"-"),1)]),_:1})]),_:1}),e(r,{span:12},{default:t(()=>[e(d,{label:"\u8F66\u8F86\u7C7B\u578B"},{default:t(()=>[P(h(a.detailData.vehicleType||"-"),1)]),_:1})]),_:1})]),_:1}),e(x,{gutter:30},{default:t(()=>[e(r,{span:12},{default:t(()=>[u("div",L,[e(d,{label:"\u884C\u9A76\u8BC1\u7167\u7247"},{default:t(()=>{var s;return[(s=a.detailData)!=null&&s.drivingLicensePhotoFront?(i(),l("div",V,[(i(!0),l(g,null,D(a.detailData.drivingLicensePhotoFront,(n,o)=>(i(),y(v,{key:o,class:"imgBox mr-8",src:n.url,"initial-index":o,"preview-src-list":a.detailData.drivingLicensePhotoFront.map(c=>c.url),fit:"cover"},{error:t(()=>[u("div",F,[e(f,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(i(),l("span",N,"-"))]}),_:1}),e(d,{class:"ml-40"},{default:t(()=>{var s;return[(s=a.detailData)!=null&&s.drivingLicensePhotoReverse?(i(),l("div",C,[(i(!0),l(g,null,D(a.detailData.drivingLicensePhotoReverse,(n,o)=>(i(),y(v,{key:o,class:"imgBox mr-8",src:n.url,"initial-index":o,"preview-src-list":a.detailData.drivingLicensePhotoReverse.map(c=>c.url),fit:"cover"},{error:t(()=>[u("div",Y,[e(f,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):b("",!0)]}),_:1})])]),_:1}),e(r,{span:12},{default:t(()=>[u("div",j,[e(d,{label:"\u8F66\u8F86\u7167\u7247"},{default:t(()=>{var s,n;return[(n=(s=a.detailData)==null?void 0:s.carPhoto)!=null&&n.length?(i(),l("div",M,[(i(!0),l(g,null,D(a.detailData.carPhoto,(o,c)=>(i(),y(v,{key:c,class:"imgBox mr-8",src:o.url,"initial-index":c,"preview-src-list":a.detailData.carPhoto.map(k=>k.url),fit:"cover"},{error:t(()=>[u("div",R,[e(f,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(i(),l("span",I,"-"))]}),_:1})])]),_:1}),e(r,{span:8},{default:t(()=>[u("div",O,[e(d,{label:"\u5E74\u5BA1\u4FE1\u606F"},{default:t(()=>{var s,n;return[(n=(s=a.detailData)==null?void 0:s.annualAuditPhoto)!=null&&n.length?(i(),l("div",T,[(i(!0),l(g,null,D(a.detailData.annualAuditPhoto,(o,c)=>(i(),y(v,{key:c,class:"imgBox mr-8",src:o.url,"initial-index":c,"preview-src-list":a.detailData.annualAuditPhoto.map(k=>k.url),fit:"cover"},{error:t(()=>[u("div",q,[e(f,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(i(),l("span",E,"-"))]}),_:1})])]),_:1}),e(r,{span:8},{default:t(()=>[e(d,{label:"\u5E74\u5BA1\u901A\u8FC7\u65E5\u671F"},{default:t(()=>[P(h(a.detailData.annualAuditPass?p(B)(a.detailData.annualAuditPass).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),e(r,{span:8},{default:t(()=>[e(d,{label:"\u6709\u6548\u671F\u9650"},{default:t(()=>[a.detailData.annualAuditValidity?(i(),l("span",S,h(a.detailData.annualAuditValidity)+"\u5E74 ",1)):(i(),l("span",z,"-"))]),_:1})]),_:1})]),_:1})])}}});export{Q as default}; |
@@ -1 +1 @@ | |||
import{d as k,f as r,g as a,c as l,e,w as t,F as g,q as D,n as v,b as x,h as P,t as y,v as w,M as b}from"./index.56ad3315.js";const B={class:"equipmentInfo"},V={key:0,class:"mt-8"},Y={class:"image-slot"},j={key:1},q={key:0,class:"mt-8"},C={class:"image-slot"},K={key:1},M={key:0,class:"mt-8"},N={class:"image-slot"},F={key:1},I={key:0},O={key:1},E=k({name:"equipmentInfo"}),z=Object.assign(E,{props:{detailData:{type:Object,default:()=>{}}},setup(i){return(L,S)=>{const m=r("Picture"),h=r("el-icon"),f=r("el-image"),c=r("el-form-item"),d=r("el-col"),p=r("el-row");return a(),l("div",B,[e(p,{gutter:30},{default:t(()=>[e(d,{span:8},{default:t(()=>[e(c,{label:"\u4E09\u811A\u67B6\u7167\u7247"},{default:t(()=>{var s,o;return[(o=(s=i.detailData)==null?void 0:s.tripodPhoto)!=null&&o.length?(a(),l("div",V,[(a(!0),l(g,null,D(i.detailData.tripodPhoto,(u,n)=>(a(),v(f,{key:n,class:"imgBox mr-8",src:u.url,"initial-index":n,"preview-src-list":i.detailData.tripodPhoto.map(_=>_.url),fit:"cover"},{error:t(()=>[x("div",Y,[e(h,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(a(),l("span",j,"-"))]}),_:1})]),_:1}),e(d,{span:8},{default:t(()=>[e(c,{label:"\u533B\u7597\u5305\u7167\u7247"},{default:t(()=>{var s,o;return[(o=(s=i.detailData)==null?void 0:s.medicalKitPhoto)!=null&&o.length?(a(),l("div",q,[(a(!0),l(g,null,D(i.detailData.medicalKitPhoto,(u,n)=>(a(),v(f,{key:n,class:"imgBox mr-8",src:u.url,"initial-index":n,"preview-src-list":i.detailData.medicalKitPhoto.map(_=>_.url),fit:"cover"},{error:t(()=>[x("div",C,[e(h,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(a(),l("span",K,"-"))]}),_:1})]),_:1})]),_:1}),e(p,{gutter:30},{default:t(()=>[e(d,{span:8},{default:t(()=>[e(c,{label:"\u706D\u706B\u5668\u7167\u7247"},{default:t(()=>{var s,o;return[(o=(s=i.detailData)==null?void 0:s.extinguisherPhoto)!=null&&o.length?(a(),l("div",M,[(a(!0),l(g,null,D(i.detailData.extinguisherPhoto,(u,n)=>(a(),v(f,{key:n,class:"imgBox mr-8",src:u.url,"initial-index":n,"preview-src-list":i.detailData.extinguisherPhoto.map(_=>_.url),fit:"cover"},{error:t(()=>[x("div",N,[e(h,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(a(),l("span",F,"-"))]}),_:1})]),_:1}),e(d,{span:8},{default:t(()=>[e(c,{label:"\u706D\u706B\u5668\u751F\u4EA7\u65E5\u671F"},{default:t(()=>[P(y(i.detailData.extinguisherProdDate?w(b)(i.detailData.extinguisherProdDate).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),e(d,{span:8},{default:t(()=>[e(c,{label:"\u6709\u6548\u671F\u9650"},{default:t(()=>[i.detailData.extinguisherValidity?(a(),l("span",I,y(i.detailData.extinguisherValidity)+"\u5E74",1)):(a(),l("span",O,"-"))]),_:1})]),_:1})]),_:1})])}}});export{z as default}; | |||
import{d as k,f as r,g as a,c as l,e,w as t,F as g,q as D,n as v,b as x,h as P,t as y,v as w,M as b}from"./index.4f7e0e83.js";const B={class:"equipmentInfo"},V={key:0,class:"mt-8"},Y={class:"image-slot"},j={key:1},q={key:0,class:"mt-8"},C={class:"image-slot"},K={key:1},M={key:0,class:"mt-8"},N={class:"image-slot"},F={key:1},I={key:0},O={key:1},E=k({name:"equipmentInfo"}),z=Object.assign(E,{props:{detailData:{type:Object,default:()=>{}}},setup(i){return(L,S)=>{const m=r("Picture"),h=r("el-icon"),f=r("el-image"),c=r("el-form-item"),d=r("el-col"),p=r("el-row");return a(),l("div",B,[e(p,{gutter:30},{default:t(()=>[e(d,{span:8},{default:t(()=>[e(c,{label:"\u4E09\u811A\u67B6\u7167\u7247"},{default:t(()=>{var s,o;return[(o=(s=i.detailData)==null?void 0:s.tripodPhoto)!=null&&o.length?(a(),l("div",V,[(a(!0),l(g,null,D(i.detailData.tripodPhoto,(u,n)=>(a(),v(f,{key:n,class:"imgBox mr-8",src:u.url,"initial-index":n,"preview-src-list":i.detailData.tripodPhoto.map(_=>_.url),fit:"cover"},{error:t(()=>[x("div",Y,[e(h,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(a(),l("span",j,"-"))]}),_:1})]),_:1}),e(d,{span:8},{default:t(()=>[e(c,{label:"\u533B\u7597\u5305\u7167\u7247"},{default:t(()=>{var s,o;return[(o=(s=i.detailData)==null?void 0:s.medicalKitPhoto)!=null&&o.length?(a(),l("div",q,[(a(!0),l(g,null,D(i.detailData.medicalKitPhoto,(u,n)=>(a(),v(f,{key:n,class:"imgBox mr-8",src:u.url,"initial-index":n,"preview-src-list":i.detailData.medicalKitPhoto.map(_=>_.url),fit:"cover"},{error:t(()=>[x("div",C,[e(h,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(a(),l("span",K,"-"))]}),_:1})]),_:1})]),_:1}),e(p,{gutter:30},{default:t(()=>[e(d,{span:8},{default:t(()=>[e(c,{label:"\u706D\u706B\u5668\u7167\u7247"},{default:t(()=>{var s,o;return[(o=(s=i.detailData)==null?void 0:s.extinguisherPhoto)!=null&&o.length?(a(),l("div",M,[(a(!0),l(g,null,D(i.detailData.extinguisherPhoto,(u,n)=>(a(),v(f,{key:n,class:"imgBox mr-8",src:u.url,"initial-index":n,"preview-src-list":i.detailData.extinguisherPhoto.map(_=>_.url),fit:"cover"},{error:t(()=>[x("div",N,[e(h,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(a(),l("span",F,"-"))]}),_:1})]),_:1}),e(d,{span:8},{default:t(()=>[e(c,{label:"\u706D\u706B\u5668\u751F\u4EA7\u65E5\u671F"},{default:t(()=>[P(y(i.detailData.extinguisherProdDate?w(b)(i.detailData.extinguisherProdDate).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),e(d,{span:8},{default:t(()=>[e(c,{label:"\u6709\u6548\u671F\u9650"},{default:t(()=>[i.detailData.extinguisherValidity?(a(),l("span",I,y(i.detailData.extinguisherValidity)+"\u5E74",1)):(a(),l("span",O,"-"))]),_:1})]),_:1})]),_:1})])}}});export{z as default}; |
@@ -1 +1 @@ | |||
import{h as f,a as _,f as m}from"./uploadAction.9c148b89.js";import{d as U,y as k,s as w,f as s,g as b,c as x,e as o,w as l,v as t,F,q as K,b as g}from"./index.56ad3315.js";const M={class:"equipmentInfo"},q=g("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1),z=g("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1),B=g("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1),C=U({name:"equipmentInfo"}),N=Object.assign(C,{props:{formData:{type:Object,default:()=>{}}},emits:["updata:formData"],setup(y,{emit:v}){const V=y,p=k.dictStore.uploadUrl,a=w({get(){return V.formData},set(h){v("updata:formData",h)}});return(h,i)=>{const d=s("Plus"),u=s("el-icon"),c=s("el-upload"),n=s("el-form-item"),r=s("el-col"),P=s("el-row"),D=s("el-date-picker"),j=s("el-option"),Y=s("el-select");return b(),x("div",M,[o(P,{gutter:30},{default:l(()=>[o(r,{span:8},{default:l(()=>[o(n,{label:"\u4E09\u811A\u67B6\u7167\u7247",prop:"tripodPhoto"},{default:l(()=>[o(c,{"file-list":t(a).tripodPhoto,"onUpdate:file-list":i[0]||(i[0]=e=>t(a).tripodPhoto=e),class:"picture-card",action:t(p),"list-type":"picture-card",limit:10,"on-success":e=>t(f)(e,t(a).tripodPhoto),"on-error":t(_),"before-upload":e=>t(m)(e,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[q]),default:l(()=>[o(u,{class:"avatar-uploader-icon"},{default:l(()=>[o(d)]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1}),o(r,{span:8},{default:l(()=>[o(n,{label:"\u533B\u7597\u5305\u7167\u7247",prop:"medicalKitPhoto"},{default:l(()=>[o(c,{"file-list":t(a).medicalKitPhoto,"onUpdate:file-list":i[1]||(i[1]=e=>t(a).medicalKitPhoto=e),class:"picture-card",action:t(p),"list-type":"picture-card",limit:10,"on-success":e=>t(f)(e,t(a).medicalKitPhoto),"on-error":t(_),"before-upload":e=>t(m)(e,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[z]),default:l(()=>[o(u,{class:"avatar-uploader-icon"},{default:l(()=>[o(d)]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1})]),_:1}),o(P,{gutter:30},{default:l(()=>[o(r,{span:8},{default:l(()=>[o(n,{label:"\u706D\u706B\u5668\u7167\u7247",prop:"extinguisherPhoto"},{default:l(()=>[o(c,{"file-list":t(a).extinguisherPhoto,"onUpdate:file-list":i[2]||(i[2]=e=>t(a).extinguisherPhoto=e),class:"picture-card",action:t(p),"list-type":"picture-card",limit:10,"on-success":e=>t(f)(e,t(a).extinguisherPhoto),"on-error":t(_),"before-upload":e=>t(m)(e,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[B]),default:l(()=>[o(u,{class:"avatar-uploader-icon"},{default:l(()=>[o(d)]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1}),o(r,{span:8},{default:l(()=>[o(n,{label:"\u706D\u706B\u5668\u751F\u4EA7\u65E5\u671F",prop:"extinguisherProdDate"},{default:l(()=>[o(D,{modelValue:t(a).extinguisherProdDate,"onUpdate:modelValue":i[3]||(i[3]=e=>t(a).extinguisherProdDate=e),type:"date",placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1}),o(r,{span:8},{default:l(()=>[o(n,{label:"\u6709\u6548\u671F\u9650",prop:"extinguisherValidity"},{default:l(()=>[o(Y,{modelValue:t(a).extinguisherValidity,"onUpdate:modelValue":i[4]||(i[4]=e=>t(a).extinguisherValidity=e),placeholder:"\u8BF7\u9009\u62E9\u6709\u6548\u671F\u9650",class:"w-full"},{default:l(()=>[(b(),x(F,null,K(6,e=>o(j,{key:e,label:`${e}\u5E74`,value:e},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})])}}});export{N as default}; | |||
import{h as f,a as _,f as m}from"./uploadAction.b5d31dfd.js";import{d as U,y as k,s as w,f as s,g as b,c as x,e as o,w as l,v as t,F,q as K,b as g}from"./index.4f7e0e83.js";const M={class:"equipmentInfo"},q=g("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1),z=g("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1),B=g("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1),C=U({name:"equipmentInfo"}),N=Object.assign(C,{props:{formData:{type:Object,default:()=>{}}},emits:["updata:formData"],setup(y,{emit:v}){const V=y,p=k.dictStore.uploadUrl,a=w({get(){return V.formData},set(h){v("updata:formData",h)}});return(h,i)=>{const d=s("Plus"),u=s("el-icon"),c=s("el-upload"),n=s("el-form-item"),r=s("el-col"),P=s("el-row"),D=s("el-date-picker"),j=s("el-option"),Y=s("el-select");return b(),x("div",M,[o(P,{gutter:30},{default:l(()=>[o(r,{span:8},{default:l(()=>[o(n,{label:"\u4E09\u811A\u67B6\u7167\u7247",prop:"tripodPhoto"},{default:l(()=>[o(c,{"file-list":t(a).tripodPhoto,"onUpdate:file-list":i[0]||(i[0]=e=>t(a).tripodPhoto=e),class:"picture-card",action:t(p),"list-type":"picture-card",limit:10,"on-success":e=>t(f)(e,t(a).tripodPhoto),"on-error":t(_),"before-upload":e=>t(m)(e,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[q]),default:l(()=>[o(u,{class:"avatar-uploader-icon"},{default:l(()=>[o(d)]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1}),o(r,{span:8},{default:l(()=>[o(n,{label:"\u533B\u7597\u5305\u7167\u7247",prop:"medicalKitPhoto"},{default:l(()=>[o(c,{"file-list":t(a).medicalKitPhoto,"onUpdate:file-list":i[1]||(i[1]=e=>t(a).medicalKitPhoto=e),class:"picture-card",action:t(p),"list-type":"picture-card",limit:10,"on-success":e=>t(f)(e,t(a).medicalKitPhoto),"on-error":t(_),"before-upload":e=>t(m)(e,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[z]),default:l(()=>[o(u,{class:"avatar-uploader-icon"},{default:l(()=>[o(d)]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1})]),_:1}),o(P,{gutter:30},{default:l(()=>[o(r,{span:8},{default:l(()=>[o(n,{label:"\u706D\u706B\u5668\u7167\u7247",prop:"extinguisherPhoto"},{default:l(()=>[o(c,{"file-list":t(a).extinguisherPhoto,"onUpdate:file-list":i[2]||(i[2]=e=>t(a).extinguisherPhoto=e),class:"picture-card",action:t(p),"list-type":"picture-card",limit:10,"on-success":e=>t(f)(e,t(a).extinguisherPhoto),"on-error":t(_),"before-upload":e=>t(m)(e,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[B]),default:l(()=>[o(u,{class:"avatar-uploader-icon"},{default:l(()=>[o(d)]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1}),o(r,{span:8},{default:l(()=>[o(n,{label:"\u706D\u706B\u5668\u751F\u4EA7\u65E5\u671F",prop:"extinguisherProdDate"},{default:l(()=>[o(D,{modelValue:t(a).extinguisherProdDate,"onUpdate:modelValue":i[3]||(i[3]=e=>t(a).extinguisherProdDate=e),type:"date",placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1}),o(r,{span:8},{default:l(()=>[o(n,{label:"\u6709\u6548\u671F\u9650",prop:"extinguisherValidity"},{default:l(()=>[o(Y,{modelValue:t(a).extinguisherValidity,"onUpdate:modelValue":i[4]||(i[4]=e=>t(a).extinguisherValidity=e),placeholder:"\u8BF7\u9009\u62E9\u6709\u6548\u671F\u9650",class:"w-full"},{default:l(()=>[(b(),x(F,null,K(6,e=>o(j,{key:e,label:`${e}\u5E74`,value:e},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})])}}});export{N as default}; |
@@ -1 +1 @@ | |||
var g=(A,h,t)=>new Promise((l,r)=>{var f=o=>{try{e(t.next(o))}catch(c){r(c)}},u=o=>{try{e(t.throw(o))}catch(c){r(c)}},e=o=>o.done?l(o.value):Promise.resolve(o.value).then(f,u);e((t=t.apply(A,h)).next())});import{A as L}from"./index.533b5a53.js";import{u as N}from"./orderManage.83f936be.js";import{d as H,k as I,a1 as P,r as y,o as V,a2 as T,f as k,g as B,c as R,e as i,w as v,b as s,t as _,v as Y,M as w,h as M}from"./index.56ad3315.js";const U={class:"track-playback"},j=s("div",{id:"map",class:"map"},null,-1),z=M("\u64AD\u653E\u8F68\u8FF9"),W=M("\u6682\u505C\u52A8\u753B"),E=M("\u7EE7\u7EED\u52A8\u753B"),F=s("div",{class:"tips"},[s("div",null,"\u51CF\u901F"),s("div",null,"\u52A0\u901F")],-1),O=H({name:"trackPlayback"}),Q=Object.assign(O,{setup(A){const h=I(),t=P(null),l=y(),r=y([]),f=1e4,u=y(50),e=y({}),o=()=>g(this,null,function*(){try{const n=yield N(h.query.orderId);e.value=n.data,r.value=n.data.locusLocationList.map(a=>[a.lng,a.lat]);const d=yield L.load({key:"75043a78a63743c51c18058e73a2a70e",version:"2.0",AMapUI:{version:"1.1",plugins:[]},plugins:[]});t.value=new d.Map("map",{resizeEnable:!0,center:r.value[0],zoom:17}),window.AMapUI.load(["ui/misc/PathSimplifier","lib/$"],function(a,S){if(!a.supportCanvas){alert("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301 Canvas\uFF01");return}const p=new a({iconLabel:"1",iconStyle:"//webapi.amap.com/theme/v1.3/markers/b/mark_r.png",offset:new d.Pixel(-19,-60),getPath(m){return m.path},map:t.value,getHoverTitle:(m,$,b)=>{if(b>=0)return m.name+"\uFF0C\u65F6\u95F4\uFF1A"+w(n.data.locusLocationList[b].gpst).format("YYYY-MM-DD HH:mm")},showPositionPoint:!0,position:r.value[0],zIndex:100,renderOptions:{dirArrowStyle:{stepSpace:35,strokeStyle:"#ffffff",lineWidth:2},pathLineStyle:{strokeStyle:"#28F",lineWidth:6,dirArrowStyle:!0}}});p.setData([{name:n.data.carNo,path:r.value}]),l.value=p.createPathNavigator(0,{speed:f,pathNavigatorStyle:{width:20,height:42,content:a.Render.Canvas.getImageContent("https://a.amap.com/jsapi_demos/static/demo-center-v2/car.png"),autoRotate:!0,pathLinePassedStyle:{lineWidth:6,strokeStyle:"#AF5",dirArrowStyle:!1}}})})}catch(n){console.error(n)}}),c=()=>{l.value.start()},C=()=>{l.value.pause()},x=()=>{l.value.resume()},D=()=>{const n=f*u.value/50;l.value.setSpeed(n)};return V(()=>g(this,null,function*(){yield o()})),T(()=>{t.value&&t.value.destroy()}),(n,d)=>{const a=k("el-button"),S=k("el-slider"),p=k("el-card");return B(),R("div",U,[j,i(p,{class:"input-card"},{default:v(()=>[i(a,{type:"primary",icon:"VideoPlay",onClick:c},{default:v(()=>[z]),_:1}),i(a,{type:"primary",onClick:C},{default:v(()=>[W]),_:1}),i(a,{type:"primary",onClick:x},{default:v(()=>[E]),_:1}),F,i(S,{modelValue:u.value,"onUpdate:modelValue":d[0]||(d[0]=m=>u.value=m),step:1,max:100,onInput:D},null,8,["modelValue"])]),_:1}),i(p,{class:"title-card"},{default:v(()=>[s("div",null,"\u8F66\u724C\u53F7\uFF1A"+_(e.value.carNo),1),s("div",null,"\u7528\u8F66\u65F6\u95F4\uFF1A"+_(Y(w)(e.value.beginTime).format("YYYY-MM-DD HH:mm")),1),s("div",null,"\u7ED3\u675F\u65F6\u95F4\uFF1A"+_(Y(w)(e.value.endTime).format("YYYY-MM-DD HH:mm")),1),s("div",null,"\u53F8\u673A\u59D3\u540D\uFF1A"+_(e.value.driverName),1),s("div",null,"\u8F66\u673A\u8F68\u8FF9\u91CC\u7A0B(km)\uFF1A"+_(e.value.gpsMileage),1)]),_:1})])}}});export{Q as default}; | |||
var g=(A,h,t)=>new Promise((l,r)=>{var f=o=>{try{e(t.next(o))}catch(c){r(c)}},u=o=>{try{e(t.throw(o))}catch(c){r(c)}},e=o=>o.done?l(o.value):Promise.resolve(o.value).then(f,u);e((t=t.apply(A,h)).next())});import{A as L}from"./index.47fabc02.js";import{u as N}from"./orderManage.5273c92c.js";import{d as H,k as I,a1 as P,r as y,o as V,a2 as T,f as k,g as B,c as R,e as i,w as v,b as s,t as _,v as Y,M as w,h as M}from"./index.4f7e0e83.js";const U={class:"track-playback"},j=s("div",{id:"map",class:"map"},null,-1),z=M("\u64AD\u653E\u8F68\u8FF9"),W=M("\u6682\u505C\u52A8\u753B"),E=M("\u7EE7\u7EED\u52A8\u753B"),F=s("div",{class:"tips"},[s("div",null,"\u51CF\u901F"),s("div",null,"\u52A0\u901F")],-1),O=H({name:"trackPlayback"}),Q=Object.assign(O,{setup(A){const h=I(),t=P(null),l=y(),r=y([]),f=1e4,u=y(50),e=y({}),o=()=>g(this,null,function*(){try{const n=yield N(h.query.orderId);e.value=n.data,r.value=n.data.locusLocationList.map(a=>[a.lng,a.lat]);const d=yield L.load({key:"75043a78a63743c51c18058e73a2a70e",version:"2.0",AMapUI:{version:"1.1",plugins:[]},plugins:[]});t.value=new d.Map("map",{resizeEnable:!0,center:r.value[0],zoom:17}),window.AMapUI.load(["ui/misc/PathSimplifier","lib/$"],function(a,S){if(!a.supportCanvas){alert("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301 Canvas\uFF01");return}const p=new a({iconLabel:"1",iconStyle:"//webapi.amap.com/theme/v1.3/markers/b/mark_r.png",offset:new d.Pixel(-19,-60),getPath(m){return m.path},map:t.value,getHoverTitle:(m,$,b)=>{if(b>=0)return m.name+"\uFF0C\u65F6\u95F4\uFF1A"+w(n.data.locusLocationList[b].gpst).format("YYYY-MM-DD HH:mm")},showPositionPoint:!0,position:r.value[0],zIndex:100,renderOptions:{dirArrowStyle:{stepSpace:35,strokeStyle:"#ffffff",lineWidth:2},pathLineStyle:{strokeStyle:"#28F",lineWidth:6,dirArrowStyle:!0}}});p.setData([{name:n.data.carNo,path:r.value}]),l.value=p.createPathNavigator(0,{speed:f,pathNavigatorStyle:{width:20,height:42,content:a.Render.Canvas.getImageContent("https://a.amap.com/jsapi_demos/static/demo-center-v2/car.png"),autoRotate:!0,pathLinePassedStyle:{lineWidth:6,strokeStyle:"#AF5",dirArrowStyle:!1}}})})}catch(n){console.error(n)}}),c=()=>{l.value.start()},C=()=>{l.value.pause()},x=()=>{l.value.resume()},D=()=>{const n=f*u.value/50;l.value.setSpeed(n)};return V(()=>g(this,null,function*(){yield o()})),T(()=>{t.value&&t.value.destroy()}),(n,d)=>{const a=k("el-button"),S=k("el-slider"),p=k("el-card");return B(),R("div",U,[j,i(p,{class:"input-card"},{default:v(()=>[i(a,{type:"primary",icon:"VideoPlay",onClick:c},{default:v(()=>[z]),_:1}),i(a,{type:"primary",onClick:C},{default:v(()=>[W]),_:1}),i(a,{type:"primary",onClick:x},{default:v(()=>[E]),_:1}),F,i(S,{modelValue:u.value,"onUpdate:modelValue":d[0]||(d[0]=m=>u.value=m),step:1,max:100,onInput:D},null,8,["modelValue"])]),_:1}),i(p,{class:"title-card"},{default:v(()=>[s("div",null,"\u8F66\u724C\u53F7\uFF1A"+_(e.value.carNo),1),s("div",null,"\u7528\u8F66\u65F6\u95F4\uFF1A"+_(Y(w)(e.value.beginTime).format("YYYY-MM-DD HH:mm")),1),s("div",null,"\u7ED3\u675F\u65F6\u95F4\uFF1A"+_(Y(w)(e.value.endTime).format("YYYY-MM-DD HH:mm")),1),s("div",null,"\u53F8\u673A\u59D3\u540D\uFF1A"+_(e.value.driverName),1),s("div",null,"\u8F66\u673A\u8F68\u8FF9\u91CC\u7A0B(km)\uFF1A"+_(e.value.gpsMileage),1)]),_:1})])}}});export{Q as default}; |
@@ -1 +1 @@ | |||
var h=(w,s,a)=>new Promise((v,e)=>{var i=t=>{try{d(a.next(t))}catch(r){e(r)}},n=t=>{try{d(a.throw(t))}catch(r){e(r)}},d=t=>t.done?v(t.value):Promise.resolve(t.value).then(i,n);d((a=a.apply(w,s)).next())});import{u as O}from"./orderManage.83f936be.js";import{d as x,k as N,r as y,o as S,a2 as Y,f as M,g as q,c as R,e as u,w as m,b as c,t as _,v as k,M as C,h as g}from"./index.56ad3315.js";const E={class:"track-playback"},F=c("div",{id:"map",class:"map"},null,-1),P=g(" \u64AD\u653E\u8F68\u8FF9 "),B=g("\u6682\u505C\u52A8\u753B"),H=g("\u7EE7\u7EED\u52A8\u753B"),U=x({name:"trackPlayback"}),W=Object.assign(U,{setup(w){let s,a;const v=N(),e=window.TMap,i=y([]),n=y([]),d=1e4,t=y({}),r=y(!1),T=()=>h(this,null,function*(){try{const l=yield O(v.query.orderId);t.value=l.data,i.value=l.data.locusLocationList.map(o=>[o.lat,o.lng]);const p=new e.LatLng(i.value[0][0],i.value[0][1]);a=new e.Map("map",{center:p,zoom:10.5,mapStyleId:"style1"}),a.removeControl(e.constants.DEFAULT_CONTROL_ID.SCALE),a.removeControl(e.constants.DEFAULT_CONTROL_ID.ROTATION),a.removeControl(e.constants.DEFAULT_CONTROL_ID.ZOOM),L()}catch(l){console.error(l)}}),L=()=>{var p;n.value=i.value.map(o=>new e.LatLng(o[0],o[1]));const l=new e.MultiPolyline({map:a,styles:{style_blue:new e.PolylineStyle({color:"#28F",width:6,borderWidth:1,lineCap:"round",showArrow:!0}),style_gray:new e.PolylineStyle({color:"#AF5",width:6,borderWidth:1,lineCap:"round"})},geometries:[{id:"path1",styleId:"style_blue",paths:n.value},{id:"path2",styleId:"style_blue",paths:n.value}]});s=new e.MultiMarker({id:"car",map:a,styles:{"car-down":new e.MarkerStyle({width:48,height:52,anchor:{x:24,y:36},faceTo:"map",rotate:180,src:"https://mapapi.qq.com/web/mapComponents/componentsTest/zyTest/static/model_taxi.png?a=1"}),start:new e.MarkerStyle({anchor:{x:16,y:32},src:"https://mapapi.qq.com/web/miniprogram/demoCenter/images/marker-start.png"}),end:new e.MarkerStyle({src:"https://mapapi.qq.com/web/miniprogram/demoCenter/images/marker-end.png"})},geometries:[{id:"car",styleId:"car-down",position:n.value[0]},{id:"start",styleId:"start",position:n.value[0]},{id:"end",styleId:"end",position:n.value[((p=n.value)==null?void 0:p.length)-1]}]}),s.on("move_ended",function(){r.value=!1}),s.on("move_stopped",function(o){r.value=!1}),s.on("moving",o=>{l.updateGeometries([{id:"path2",styleId:"style_gray",paths:o.car&&o.car.passedLatLngs}])})},b=()=>{s.moveAlong({car:{path:n.value,speed:d}},{autoRotation:!0}),r.value=!0},A=()=>{r.value||b()},D=()=>{s.pauseMove()},I=()=>{s.resumeMove()};return S(()=>h(this,null,function*(){yield T()})),Y(()=>{a&&a.destroy()}),(l,p)=>{const o=M("el-button"),f=M("el-card");return q(),R("div",E,[F,u(f,{class:"input-card"},{default:m(()=>[u(o,{type:"primary",icon:"VideoPlay",onClick:A},{default:m(()=>[P]),_:1}),u(o,{type:"primary",onClick:D},{default:m(()=>[B]),_:1}),u(o,{type:"primary",onClick:I},{default:m(()=>[H]),_:1})]),_:1}),u(f,{class:"title-card"},{default:m(()=>[c("div",null,"\u8F66\u724C\u53F7\uFF1A"+_(t.value.carNo),1),c("div",null," \u7528\u8F66\u65F6\u95F4\uFF1A"+_(k(C)(t.value.beginTime).format("YYYY-MM-DD HH:mm")),1),c("div",null," \u7ED3\u675F\u65F6\u95F4\uFF1A"+_(k(C)(t.value.endTime).format("YYYY-MM-DD HH:mm")),1),c("div",null,"\u53F8\u673A\u59D3\u540D\uFF1A"+_(t.value.driverName),1),c("div",null,"\u8F66\u673A\u8F68\u8FF9\u91CC\u7A0B(km)\uFF1A"+_(t.value.gpsMileage),1)]),_:1})])}}});export{W as default}; | |||
var h=(w,s,a)=>new Promise((v,e)=>{var i=t=>{try{d(a.next(t))}catch(r){e(r)}},n=t=>{try{d(a.throw(t))}catch(r){e(r)}},d=t=>t.done?v(t.value):Promise.resolve(t.value).then(i,n);d((a=a.apply(w,s)).next())});import{u as O}from"./orderManage.5273c92c.js";import{d as x,k as N,r as y,o as S,a2 as Y,f as M,g as q,c as R,e as u,w as m,b as c,t as _,v as k,M as C,h as g}from"./index.4f7e0e83.js";const E={class:"track-playback"},F=c("div",{id:"map",class:"map"},null,-1),P=g(" \u64AD\u653E\u8F68\u8FF9 "),B=g("\u6682\u505C\u52A8\u753B"),H=g("\u7EE7\u7EED\u52A8\u753B"),U=x({name:"trackPlayback"}),W=Object.assign(U,{setup(w){let s,a;const v=N(),e=window.TMap,i=y([]),n=y([]),d=1e4,t=y({}),r=y(!1),T=()=>h(this,null,function*(){try{const l=yield O(v.query.orderId);t.value=l.data,i.value=l.data.locusLocationList.map(o=>[o.lat,o.lng]);const p=new e.LatLng(i.value[0][0],i.value[0][1]);a=new e.Map("map",{center:p,zoom:10.5,mapStyleId:"style1"}),a.removeControl(e.constants.DEFAULT_CONTROL_ID.SCALE),a.removeControl(e.constants.DEFAULT_CONTROL_ID.ROTATION),a.removeControl(e.constants.DEFAULT_CONTROL_ID.ZOOM),L()}catch(l){console.error(l)}}),L=()=>{var p;n.value=i.value.map(o=>new e.LatLng(o[0],o[1]));const l=new e.MultiPolyline({map:a,styles:{style_blue:new e.PolylineStyle({color:"#28F",width:6,borderWidth:1,lineCap:"round",showArrow:!0}),style_gray:new e.PolylineStyle({color:"#AF5",width:6,borderWidth:1,lineCap:"round"})},geometries:[{id:"path1",styleId:"style_blue",paths:n.value},{id:"path2",styleId:"style_blue",paths:n.value}]});s=new e.MultiMarker({id:"car",map:a,styles:{"car-down":new e.MarkerStyle({width:48,height:52,anchor:{x:24,y:36},faceTo:"map",rotate:180,src:"https://mapapi.qq.com/web/mapComponents/componentsTest/zyTest/static/model_taxi.png?a=1"}),start:new e.MarkerStyle({anchor:{x:16,y:32},src:"https://mapapi.qq.com/web/miniprogram/demoCenter/images/marker-start.png"}),end:new e.MarkerStyle({src:"https://mapapi.qq.com/web/miniprogram/demoCenter/images/marker-end.png"})},geometries:[{id:"car",styleId:"car-down",position:n.value[0]},{id:"start",styleId:"start",position:n.value[0]},{id:"end",styleId:"end",position:n.value[((p=n.value)==null?void 0:p.length)-1]}]}),s.on("move_ended",function(){r.value=!1}),s.on("move_stopped",function(o){r.value=!1}),s.on("moving",o=>{l.updateGeometries([{id:"path2",styleId:"style_gray",paths:o.car&&o.car.passedLatLngs}])})},b=()=>{s.moveAlong({car:{path:n.value,speed:d}},{autoRotation:!0}),r.value=!0},A=()=>{r.value||b()},D=()=>{s.pauseMove()},I=()=>{s.resumeMove()};return S(()=>h(this,null,function*(){yield T()})),Y(()=>{a&&a.destroy()}),(l,p)=>{const o=M("el-button"),f=M("el-card");return q(),R("div",E,[F,u(f,{class:"input-card"},{default:m(()=>[u(o,{type:"primary",icon:"VideoPlay",onClick:A},{default:m(()=>[P]),_:1}),u(o,{type:"primary",onClick:D},{default:m(()=>[B]),_:1}),u(o,{type:"primary",onClick:I},{default:m(()=>[H]),_:1})]),_:1}),u(f,{class:"title-card"},{default:m(()=>[c("div",null,"\u8F66\u724C\u53F7\uFF1A"+_(t.value.carNo),1),c("div",null," \u7528\u8F66\u65F6\u95F4\uFF1A"+_(k(C)(t.value.beginTime).format("YYYY-MM-DD HH:mm")),1),c("div",null," \u7ED3\u675F\u65F6\u95F4\uFF1A"+_(k(C)(t.value.endTime).format("YYYY-MM-DD HH:mm")),1),c("div",null,"\u53F8\u673A\u59D3\u540D\uFF1A"+_(t.value.driverName),1),c("div",null,"\u8F66\u673A\u8F68\u8FF9\u91CC\u7A0B(km)\uFF1A"+_(t.value.gpsMileage),1)]),_:1})])}}});export{W as default}; |
@@ -1 +1 @@ | |||
import{_ as r}from"./index.14cc7793.js";import{r as u,o as i,f as g,g as p,c as f,e as l,b as d,w as e,h as a}from"./index.56ad3315.js";import"./locationTransform.e2d22cb6.js";const m=a("\u5F00\u59CB"),h=a("\u6682\u505C"),k=a("\u7ED3\u675F"),V={__name:"index",setup(v){const o=[{lng:116.26802,lat:39.90623},{lng:116.28896,lat:39.90622},{lng:116.30421,lat:39.90625},{lng:116.3155,lat:39.90618},{lng:116.3313,lat:39.90611},{lng:116.34643,lat:39.90583},{lng:116.35033,lat:39.90582},{lng:116.36784,lat:39.90579},{lng:116.36755,lat:39.91449},{lng:116.36755,lat:39.91449},{lng:116.36673,lat:39.93235},{lng:116.36651,lat:39.93924},{lng:116.36172,lat:39.93923},{lng:116.34936,lat:39.93913},{lng:116.33292,lat:39.93697},{lng:116.31955,lat:39.931}],t=u(null);i(()=>{console.log(o),console.log(t.value.initTrack(o))});function s(){t.value.stop()}function c(){t.value.start()}function _(){t.value.pause()}return(x,C)=>{const n=g("el-button");return p(),f("div",null,[l(r,{ref_key:"map",ref:t,style:{height:"400px"}},null,512),d("div",null,[l(n,{onClick:c},{default:e(()=>[m]),_:1}),l(n,{onClick:_},{default:e(()=>[h]),_:1}),l(n,{onClick:s},{default:e(()=>[k]),_:1})])])}}};export{V as default}; | |||
import{_ as r}from"./index.5f2b5408.js";import{r as u,o as i,f as g,g as p,c as f,e as l,b as d,w as e,h as a}from"./index.4f7e0e83.js";import"./locationTransform.e2d22cb6.js";const m=a("\u5F00\u59CB"),h=a("\u6682\u505C"),k=a("\u7ED3\u675F"),V={__name:"index",setup(v){const o=[{lng:116.26802,lat:39.90623},{lng:116.28896,lat:39.90622},{lng:116.30421,lat:39.90625},{lng:116.3155,lat:39.90618},{lng:116.3313,lat:39.90611},{lng:116.34643,lat:39.90583},{lng:116.35033,lat:39.90582},{lng:116.36784,lat:39.90579},{lng:116.36755,lat:39.91449},{lng:116.36755,lat:39.91449},{lng:116.36673,lat:39.93235},{lng:116.36651,lat:39.93924},{lng:116.36172,lat:39.93923},{lng:116.34936,lat:39.93913},{lng:116.33292,lat:39.93697},{lng:116.31955,lat:39.931}],t=u(null);i(()=>{console.log(o),console.log(t.value.initTrack(o))});function s(){t.value.stop()}function c(){t.value.start()}function _(){t.value.pause()}return(x,C)=>{const n=g("el-button");return p(),f("div",null,[l(r,{ref_key:"map",ref:t,style:{height:"400px"}},null,512),d("div",null,[l(n,{onClick:c},{default:e(()=>[m]),_:1}),l(n,{onClick:_},{default:e(()=>[h]),_:1}),l(n,{onClick:s},{default:e(()=>[k]),_:1})])])}}};export{V as default}; |
@@ -1 +1 @@ | |||
var g=(w,c,r)=>new Promise((d,n)=>{var t=s=>{try{u(r.next(s))}catch(e){n(e)}},f=s=>{try{u(r.throw(s))}catch(e){n(e)}},u=s=>s.done?d(s.value):Promise.resolve(s.value).then(t,f);u((r=r.apply(w,c)).next())});import{d as h,r as y,a as k,o as C,c as O,b,e as l,w as i,l as P,f as _,g as R,h as x,i as $,u as z}from"./index.56ad3315.js";const B="/assets/login-logo-title.4cc9ae43.png";const D={class:"login"},F={class:"form"},N=b("img",{src:B,alt:"",class:"logo-title"},null,-1),j=x(" \u767B\u5F55 "),q=x("\u91CD\u7F6E"),A=h({name:"login"}),T=Object.assign(A,{setup(w){const{proxy:c}=$(),r=z(),d=y(!1),n=y(),t=k({loginPlatform:"PC_PLATFORM",username:void 0,password:void 0}),f={username:[{required:!0,message:"\u8BF7\u586B\u5199\u7528\u6237\u540D",trigger:"blur"}],password:[{required:!0,message:"\u8BF7\u586B\u5199\u5BC6\u7801",trigger:"blur"}]},u=e=>g(this,null,function*(){!e||(yield e.validate(o=>g(this,null,function*(){if(o){d.value=!0;const m=new FormData;for(const a in t)Object.hasOwnProperty.call(t,a)&&m.append(a,t[a]);try{yield P(m),c.$message.success("\u767B\u5F55\u6210\u529F\uFF01"),yield r.replace({path:"/home",replace:!0}),c.$message.closeAll()}catch(a){console.log(a)}d.value=!1}})))}),s=e=>{!e||e.resetFields()};return C(()=>{window.addEventListener("keydown",e=>{e.code==="Enter"&&(e.preventDefault(),e.cancel=!0,u(n.value))})}),(e,o)=>{const m=_("el-input"),a=_("el-form-item"),v=_("el-button"),V=_("el-form");return R(),O("div",D,[b("div",F,[N,l(V,{ref_key:"formRef",ref:n,"label-position":"top",model:t,rules:f,size:"large"},{default:i(()=>[l(a,{label:"\u7528\u6237\u540D",prop:"username",style:{"margin-bottom":"24px"}},{default:i(()=>[l(m,{modelValue:t.username,"onUpdate:modelValue":o[0]||(o[0]=p=>t.username=p),placeholder:"\u8BF7\u586B\u5199\u7528\u6237\u540D"},null,8,["modelValue"])]),_:1}),l(a,{label:"\u5BC6\u7801",prop:"password",style:{"margin-bottom":"40px"}},{default:i(()=>[l(m,{modelValue:t.password,"onUpdate:modelValue":o[1]||(o[1]=p=>t.password=p),placeholder:"\u8BF7\u586B\u5199\u5BC6\u7801",type:"password","show-password":""},null,8,["modelValue"])]),_:1}),l(a,{class:"btn"},{default:i(()=>[l(v,{loading:d.value,type:"primary",size:"default",class:"mr-64",onClick:o[2]||(o[2]=p=>u(n.value))},{default:i(()=>[j]),_:1},8,["loading"]),l(v,{size:"default",onClick:o[3]||(o[3]=p=>s(n.value))},{default:i(()=>[q]),_:1})]),_:1})]),_:1},8,["model"])])])}}});export{T as default}; | |||
var g=(w,c,r)=>new Promise((d,n)=>{var t=s=>{try{u(r.next(s))}catch(e){n(e)}},f=s=>{try{u(r.throw(s))}catch(e){n(e)}},u=s=>s.done?d(s.value):Promise.resolve(s.value).then(t,f);u((r=r.apply(w,c)).next())});import{d as h,r as y,a as k,o as C,c as O,b,e as l,w as i,l as P,f as _,g as R,h as x,i as $,u as z}from"./index.4f7e0e83.js";const B="/assets/login-logo-title.4cc9ae43.png";const D={class:"login"},F={class:"form"},N=b("img",{src:B,alt:"",class:"logo-title"},null,-1),j=x(" \u767B\u5F55 "),q=x("\u91CD\u7F6E"),A=h({name:"login"}),T=Object.assign(A,{setup(w){const{proxy:c}=$(),r=z(),d=y(!1),n=y(),t=k({loginPlatform:"PC_PLATFORM",username:void 0,password:void 0}),f={username:[{required:!0,message:"\u8BF7\u586B\u5199\u7528\u6237\u540D",trigger:"blur"}],password:[{required:!0,message:"\u8BF7\u586B\u5199\u5BC6\u7801",trigger:"blur"}]},u=e=>g(this,null,function*(){!e||(yield e.validate(o=>g(this,null,function*(){if(o){d.value=!0;const m=new FormData;for(const a in t)Object.hasOwnProperty.call(t,a)&&m.append(a,t[a]);try{yield P(m),c.$message.success("\u767B\u5F55\u6210\u529F\uFF01"),yield r.replace({path:"/home",replace:!0}),c.$message.closeAll()}catch(a){console.log(a)}d.value=!1}})))}),s=e=>{!e||e.resetFields()};return C(()=>{window.addEventListener("keydown",e=>{e.code==="Enter"&&(e.preventDefault(),e.cancel=!0,u(n.value))})}),(e,o)=>{const m=_("el-input"),a=_("el-form-item"),v=_("el-button"),V=_("el-form");return R(),O("div",D,[b("div",F,[N,l(V,{ref_key:"formRef",ref:n,"label-position":"top",model:t,rules:f,size:"large"},{default:i(()=>[l(a,{label:"\u7528\u6237\u540D",prop:"username",style:{"margin-bottom":"24px"}},{default:i(()=>[l(m,{modelValue:t.username,"onUpdate:modelValue":o[0]||(o[0]=p=>t.username=p),placeholder:"\u8BF7\u586B\u5199\u7528\u6237\u540D"},null,8,["modelValue"])]),_:1}),l(a,{label:"\u5BC6\u7801",prop:"password",style:{"margin-bottom":"40px"}},{default:i(()=>[l(m,{modelValue:t.password,"onUpdate:modelValue":o[1]||(o[1]=p=>t.password=p),placeholder:"\u8BF7\u586B\u5199\u5BC6\u7801",type:"password","show-password":""},null,8,["modelValue"])]),_:1}),l(a,{class:"btn"},{default:i(()=>[l(v,{loading:d.value,type:"primary",size:"default",class:"mr-64",onClick:o[2]||(o[2]=p=>u(n.value))},{default:i(()=>[j]),_:1},8,["loading"]),l(v,{size:"default",onClick:o[3]||(o[3]=p=>s(n.value))},{default:i(()=>[q]),_:1})]),_:1})]),_:1},8,["model"])])])}}});export{T as default}; |
@@ -0,0 +1 @@ | |||
import{u as x}from"./orderManage.5273c92c.js";import{d as Y,k as b,r as d,o as C,V as D,f as _,g as m,c as M,e as t,w as n,n as N,b as s,t as o,v as p,M as v,p as T,h as r}from"./index.4f7e0e83.js";import{_ as V}from"./index.5f2b5408.js";import"./locationTransform.e2d22cb6.js";const B={class:"track-playback"},H=r(" \u64AD\u653E\u8F68\u8FF9 "),A=r("\u6682\u505C\u52A8\u753B"),L=r("\u7EE7\u7EED\u52A8\u753B"),j=Y({name:"trackPlayback"}),z=Object.assign(j,{setup(w){const f=b(),e=d({});C(()=>{k()});const a=d(null);function k(){const c=D.service({fullscreen:!1,text:"\u52A0\u8F7D\u4E2D..."});x(f.query.orderId).then(l=>{e.value=l.data,a.value.initTrack(l.data.locusLocationList),c.close()}).catch(()=>{c.close()})}const y=()=>{a.value.start()},g=()=>{a.value.pause()},h=()=>{a.value.start()};return(c,l)=>{const i=_("el-button"),u=_("el-card");return m(),M("div",B,[t(V,{ref_key:"tiandiTrack",ref:a,class:"map"},null,512),t(u,{class:"input-card"},{default:n(()=>[t(i,{type:"primary",icon:"VideoPlay",onClick:y},{default:n(()=>[H]),_:1}),t(i,{type:"primary",onClick:g},{default:n(()=>[A]),_:1}),t(i,{type:"primary",onClick:h},{default:n(()=>[L]),_:1})]),_:1}),e.value.driverName?(m(),N(u,{key:0,class:"title-card",style:{"z-index":"999"}},{default:n(()=>[s("div",null,"\u8F66\u724C\u53F7\uFF1A"+o(e.value.carNo),1),s("div",null," \u7528\u8F66\u65F6\u95F4\uFF1A"+o(p(v)(e.value.beginTime).format("YYYY-MM-DD HH:mm")),1),s("div",null," \u7ED3\u675F\u65F6\u95F4\uFF1A"+o(p(v)(e.value.endTime).format("YYYY-MM-DD HH:mm")),1),s("div",null,"\u53F8\u673A\u59D3\u540D\uFF1A"+o(e.value.driverName),1),s("div",null,"\u8F66\u673A\u8F68\u8FF9\u91CC\u7A0B(km)\uFF1A"+o(e.value.gpsMileage),1)]),_:1})):T("",!0)])}}});export{z as default}; |
@@ -1 +0,0 @@ | |||
import{g as h}from"./locationTransform.e2d22cb6.js";import{g as _,c as v,b as k}from"./index.56ad3315.js";const y=k("div",{id:"mapDiv",style:{width:"100%",height:"100%"}},null,-1),f=[y],L={name:"TiandiTrack"},P=Object.assign(L,{setup(b,{expose:i}){var r=null,t=null;const c="https://mapapi.qq.com/web/miniprogram/demoCenter/images/marker-start.png",s="https://mapapi.qq.com/web/miniprogram/demoCenter/images/marker-end.png";function l(){r.stop()}function p(){r.start()}function m(){r.pause()}function d(a){var e=new T.TileLayer("https://t4.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=ab2519a9c15768b43c15013661be0c52");t=new T.Map("mapDiv",{layers:[e]}),t.centerAndZoom(new T.LngLat(116.31809,39.92027),12);const n=u(a);t.centerAndZoom(n[0],12),r=new T.CarTrack(t,{interval:5,speed:10,dynamicLine:!1,carstyle:{display:!0,iconUrl:"https://carrental.ningdatech.com/car.png",width:52,height:26},polylinestyle:{color:"#F24D4E",weight:55,opacity:1},Datas:n}),g(n[0],n[n.length-1])}function g(a,e){var n=new T.Marker(a,{icon:new T.Icon({iconUrl:c,iconSize:new T.Point(34,44),iconAnchor:new T.Point(12,31)})});t.addOverLay(n);var o=new T.Marker(e,{icon:new T.Icon({iconUrl:s,iconSize:new T.Point(34,44),iconAnchor:new T.Point(12,31)})});t.addOverLay(o)}i({initTrack:d,start:p,stop:l,pause:m});function u(a){return a.map(function(e,n){const o=h(e.lng,e.lat);var w=new T.LngLat(o[0],o[1]);return w})}return(a,e)=>(_(),v("div",null,f))}});export{P as _}; |
@@ -1 +1 @@ | |||
var P=Object.defineProperty,O=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var V=(o,e,t)=>e in o?P(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,v=(o,e)=>{for(var t in e||(e={}))U.call(e,t)&&V(o,t,e[t]);if(x)for(var t of x(e))z.call(e,t)&&V(o,t,e[t]);return o},Y=(o,e)=>O(o,q(e));var D=(o,e,t)=>new Promise((p,u)=>{var _=s=>{try{m(t.next(s))}catch(r){u(r)}},i=s=>{try{m(t.throw(s))}catch(r){u(r)}},m=s=>s.done?p(s.value):Promise.resolve(s.value).then(_,i);m((t=t.apply(o,e)).next())});import{N as R,d as S,a as I,r as w,O as j,o as E,f as n,g as F,c as G,e as a,w as l,b as h,t as y,h as k}from"./index.56ad3315.js";const W=o=>R.post("/optLog/page",o),$={class:"systemLog"},A=k("\u67E5\u8BE2"),H=k("\u91CD\u7F6E"),J=k("\u65E5\u5FD7\u5217\u8868"),K={class:"px-50 text-info"},Q=S({name:"systemLog"}),ee=Object.assign(Q,{setup(o){const e=I({userName:void 0,times:void 0}),t=w(),p=w(0),u=I([{type:"expand"},{label:"\u7528\u6237\u59D3\u540D",key:"userName",prop:"userName",minWidth:"180",showOverflowTooltip:!0},{label:"IP",key:"requestIp",prop:"requestIp",width:"180"},{label:"IP\u6765\u6E90",key:"regionByIp",prop:"regionByIp",width:"180"},{label:"\u63CF\u8FF0",key:"description",prop:"description",width:"180",showOverflowTooltip:!0},{label:"\u8BF7\u6C42\u8017\u65F6",key:"consumingTime",render:r=>j("span",`${r.consumingTime}ms`),width:"100"},{label:"\u64CD\u4F5C\u65F6\u95F4",key:"startTime",prop:"startTime",width:"180",fixed:"right"}]),_=w([]),i=(...c)=>D(this,[...c],function*(r=t.value.pageParams){const f=yield W(Y(v(v({},r),e),{startTime:e.times&&e.times.length?e.times[0]:void 0,finishTime:e.times&&e.times.length?e.times[1]:void 0}));p.value=f.data.total,_.value=f.data.records}),m=()=>{i()},s=()=>{e.userName=void 0,e.times=void 0,t.value.pageParams.pageNumber=1,t.value.pageParams.pageSize=10,i()};return E(()=>{i()}),(r,c)=>{const f=n("el-input"),b=n("el-form-item"),g=n("el-col"),M=n("el-date-picker"),N=n("el-button"),B=n("el-row"),C=n("el-form"),T=n("el-card"),L=n("table-list");return F(),G("div",$,[a(T,{shadow:"never",class:"search mb-16"},{default:l(()=>[a(C,{"label-suffix":":",model:e,size:"small"},{default:l(()=>[a(B,{gutter:16},{default:l(()=>[a(g,{span:6},{default:l(()=>[a(b,{label:"\u7528\u6237\u59D3\u540D"},{default:l(()=>[a(f,{modelValue:e.userName,"onUpdate:modelValue":c[0]||(c[0]=d=>e.userName=d),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(g,{span:10},{default:l(()=>[a(b,{label:"\u64CD\u4F5C\u65F6\u95F4"},{default:l(()=>[a(M,{modelValue:e.times,"onUpdate:modelValue":c[1]||(c[1]=d=>e.times=d),editable:!1,format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",type:"daterange","unlink-panels":"","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4"},null,8,["modelValue"])]),_:1})]),_:1}),a(g,{span:8},{default:l(()=>[a(b,{class:"btn"},{default:l(()=>[a(N,{type:"primary",onClick:m},{default:l(()=>[A]),_:1}),a(N,{type:"info",onClick:s},{default:l(()=>[H]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(T,{shadow:"never"},{header:l(()=>[J]),default:l(()=>[a(L,{ref_key:"tableListRef",ref:t,column:u,data:_.value,total:p.value,onGetTableData:i},{expand:l(({scope:d})=>[h("div",K,[h("div",null,"\u8BF7\u6C42\u5730\u5740\uFF1A"+y(d.row.requestUri),1),h("div",null,"\u8BF7\u6C42\u65B9\u6CD5\uFF1A"+y(d.row.httpMethod),1),h("div",null,"\u8BF7\u6C42\u53C2\u6570\uFF1A"+y(d.row.params),1)])]),_:1},8,["column","data","total"])]),_:1})])}}});export{ee as default}; | |||
var P=Object.defineProperty,O=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var V=(o,e,t)=>e in o?P(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,v=(o,e)=>{for(var t in e||(e={}))U.call(e,t)&&V(o,t,e[t]);if(x)for(var t of x(e))z.call(e,t)&&V(o,t,e[t]);return o},Y=(o,e)=>O(o,q(e));var D=(o,e,t)=>new Promise((p,u)=>{var _=s=>{try{m(t.next(s))}catch(r){u(r)}},i=s=>{try{m(t.throw(s))}catch(r){u(r)}},m=s=>s.done?p(s.value):Promise.resolve(s.value).then(_,i);m((t=t.apply(o,e)).next())});import{N as R,d as S,a as I,r as w,O as j,o as E,f as n,g as F,c as G,e as a,w as l,b as h,t as y,h as k}from"./index.4f7e0e83.js";const W=o=>R.post("/optLog/page",o),$={class:"systemLog"},A=k("\u67E5\u8BE2"),H=k("\u91CD\u7F6E"),J=k("\u65E5\u5FD7\u5217\u8868"),K={class:"px-50 text-info"},Q=S({name:"systemLog"}),ee=Object.assign(Q,{setup(o){const e=I({userName:void 0,times:void 0}),t=w(),p=w(0),u=I([{type:"expand"},{label:"\u7528\u6237\u59D3\u540D",key:"userName",prop:"userName",minWidth:"180",showOverflowTooltip:!0},{label:"IP",key:"requestIp",prop:"requestIp",width:"180"},{label:"IP\u6765\u6E90",key:"regionByIp",prop:"regionByIp",width:"180"},{label:"\u63CF\u8FF0",key:"description",prop:"description",width:"180",showOverflowTooltip:!0},{label:"\u8BF7\u6C42\u8017\u65F6",key:"consumingTime",render:r=>j("span",`${r.consumingTime}ms`),width:"100"},{label:"\u64CD\u4F5C\u65F6\u95F4",key:"startTime",prop:"startTime",width:"180",fixed:"right"}]),_=w([]),i=(...c)=>D(this,[...c],function*(r=t.value.pageParams){const f=yield W(Y(v(v({},r),e),{startTime:e.times&&e.times.length?e.times[0]:void 0,finishTime:e.times&&e.times.length?e.times[1]:void 0}));p.value=f.data.total,_.value=f.data.records}),m=()=>{i()},s=()=>{e.userName=void 0,e.times=void 0,t.value.pageParams.pageNumber=1,t.value.pageParams.pageSize=10,i()};return E(()=>{i()}),(r,c)=>{const f=n("el-input"),b=n("el-form-item"),g=n("el-col"),M=n("el-date-picker"),N=n("el-button"),B=n("el-row"),C=n("el-form"),T=n("el-card"),L=n("table-list");return F(),G("div",$,[a(T,{shadow:"never",class:"search mb-16"},{default:l(()=>[a(C,{"label-suffix":":",model:e,size:"small"},{default:l(()=>[a(B,{gutter:16},{default:l(()=>[a(g,{span:6},{default:l(()=>[a(b,{label:"\u7528\u6237\u59D3\u540D"},{default:l(()=>[a(f,{modelValue:e.userName,"onUpdate:modelValue":c[0]||(c[0]=d=>e.userName=d),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(g,{span:10},{default:l(()=>[a(b,{label:"\u64CD\u4F5C\u65F6\u95F4"},{default:l(()=>[a(M,{modelValue:e.times,"onUpdate:modelValue":c[1]||(c[1]=d=>e.times=d),editable:!1,format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",type:"daterange","unlink-panels":"","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4"},null,8,["modelValue"])]),_:1})]),_:1}),a(g,{span:8},{default:l(()=>[a(b,{class:"btn"},{default:l(()=>[a(N,{type:"primary",onClick:m},{default:l(()=>[A]),_:1}),a(N,{type:"info",onClick:s},{default:l(()=>[H]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(T,{shadow:"never"},{header:l(()=>[J]),default:l(()=>[a(L,{ref_key:"tableListRef",ref:t,column:u,data:_.value,total:p.value,onGetTableData:i},{expand:l(({scope:d})=>[h("div",K,[h("div",null,"\u8BF7\u6C42\u5730\u5740\uFF1A"+y(d.row.requestUri),1),h("div",null,"\u8BF7\u6C42\u65B9\u6CD5\uFF1A"+y(d.row.httpMethod),1),h("div",null,"\u8BF7\u6C42\u53C2\u6570\uFF1A"+y(d.row.params),1)])]),_:1},8,["column","data","total"])]),_:1})])}}});export{ee as default}; |
@@ -1 +1 @@ | |||
var j=Object.defineProperty;var F=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var D=(n,a,e)=>a in n?j(n,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[a]=e,k=(n,a)=>{for(var e in a||(a={}))L.call(a,e)&&D(n,e,a[e]);if(F)for(var e of F(a))G.call(a,e)&&D(n,e,a[e]);return n};var w=(n,a,e)=>new Promise((d,_)=>{var b=i=>{try{s(e.next(i))}catch(m){_(m)}},p=i=>{try{s(e.throw(i))}catch(m){_(m)}},s=i=>i.done?d(i.value):Promise.resolve(i.value).then(b,p);s((e=e.apply(n,a)).next())});import{_ as I,l as S,d as U}from"./regionDialog.bd6c0520.js";import{d as q,r as g,a as A,o as H,f as r,g as V,c as O,e as o,w as l,b as v,F as J,p as K,h as y,i as Q}from"./index.56ad3315.js";import"./useTreeSelectData.f80dc3c9.js";const X={class:"regionManage"},Y=y("\u67E5\u8BE2"),Z=y("\u91CD\u7F6E"),ee={class:"flex justify-between items-center"},ae=v("span",null,"\u533A\u57DF\u5217\u8868",-1),te=y(" \u65B0\u589E "),oe=["onClick"],le=["onClick"],ne=q({name:"regionManage"}),de=Object.assign(ne,{setup(n){const{proxy:a}=Q(),e=g({}),d=g(),_=g(0),b=[{label:"\u533A\u57DF\u540D\u79F0",key:"regionName",prop:"regionName",minWidth:"180",showOverflowTooltip:!0},{label:"\u9A7E\u9A76\u5458\u51FA\u8F66\u8D39\uFF08\u5143\uFF09",key:"carExpense",prop:"carExpense",width:"160"},{label:"\u6CB9\u5355\u4EF7\uFF08\u5143\uFF09",key:"oilPrice",prop:"oilPrice",width:"120"},{label:"\u521B\u5EFA\u65F6\u95F4",key:"createOn",prop:"createOn",width:"180"},{label:"\u64CD\u4F5C",key:"action",slot:"action",width:"120",fixed:"right"}],p=g([]),s=(...C)=>w(this,[...C],function*(t=d.value.pageParams){const f=yield S(k(k({},t),e.value));_.value=f.data.total,p.value=f.data.records}),i=()=>{s()},m=()=>{e.value={},d.value.pageParams.pageNumber=1,d.value.pageParams.pageSize=10,s()},c=A({visible:!1,rowData:void 0}),E=()=>{c.visible=!0,c.rowData=void 0},$=t=>{c.visible=!0,c.rowData={id:t.id,regionCode:t.regionCode,oilPrice:Number(t.oilPrice),carExpense:Number(t.carExpense),regionCodePath:t.regionCodePath,serviceFeeRate:t.serviceFeeRate,workingOvertimeFee:t.workingOvertimeFee,nightWorkingFee:t.nightWorkFee}},B=t=>{a.$messageBox.confirm("\u662F\u5426\u5220\u9664\u8BE5\u6570\u636E?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>w(this,null,function*(){yield U({id:t.id}),a.$message.success("\u5220\u9664\u6210\u529F\uFF01"),yield s()}))},R=t=>{c.visible=!1,t&&s()};return H(()=>{s()}),(t,C)=>{const f=r("el-input"),x=r("el-form-item"),N=r("el-col"),h=r("el-button"),T=r("el-row"),z=r("el-form"),P=r("el-card"),M=r("table-list");return V(),O("div",X,[o(P,{shadow:"never",class:"search mb-16"},{default:l(()=>[o(z,{"label-suffix":":",model:e.value,size:"small"},{default:l(()=>[o(T,{gutter:16},{default:l(()=>[o(N,{span:6},{default:l(()=>[o(x,{label:"\u533A\u57DF\u540D\u79F0"},{default:l(()=>[o(f,{modelValue:e.value.regionName,"onUpdate:modelValue":C[0]||(C[0]=u=>e.value.regionName=u),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),o(N,{span:18},{default:l(()=>[o(x,{class:"btn"},{default:l(()=>[o(h,{type:"primary",onClick:i},{default:l(()=>[Y]),_:1}),o(h,{type:"info",onClick:m},{default:l(()=>[Z]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),o(P,{shadow:"never"},{header:l(()=>[v("div",ee,[ae,o(h,{type:"primary",icon:"Plus",size:"small",onClick:E},{default:l(()=>[te]),_:1})])]),default:l(()=>[o(M,{ref_key:"tableListRef",ref:d,"row-key":"regionCode",column:b,data:p.value,total:_.value,onGetTableData:s},{action:l(({scope:u})=>[u.row.exists?(V(),O(J,{key:0},[v("a",{class:"text-primary",onClick:W=>$(u.row)},"\u7F16\u8F91",8,oe),v("a",{class:"text-danger",onClick:W=>B(u.row)},"\u5220\u9664",8,le)],64)):K("",!0)]),_:1},8,["data","total"])]),_:1}),o(I,{visible:c.visible,data:c.rowData,onClose:R},null,8,["visible","data"])])}}});export{de as default}; | |||
var j=Object.defineProperty;var F=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var D=(n,a,e)=>a in n?j(n,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[a]=e,k=(n,a)=>{for(var e in a||(a={}))L.call(a,e)&&D(n,e,a[e]);if(F)for(var e of F(a))G.call(a,e)&&D(n,e,a[e]);return n};var w=(n,a,e)=>new Promise((d,_)=>{var b=i=>{try{s(e.next(i))}catch(m){_(m)}},p=i=>{try{s(e.throw(i))}catch(m){_(m)}},s=i=>i.done?d(i.value):Promise.resolve(i.value).then(b,p);s((e=e.apply(n,a)).next())});import{_ as I,l as S,d as U}from"./regionDialog.550b1757.js";import{d as q,r as g,a as A,o as H,f as r,g as V,c as O,e as o,w as l,b as v,F as J,p as K,h as y,i as Q}from"./index.4f7e0e83.js";import"./useTreeSelectData.509ad0fb.js";const X={class:"regionManage"},Y=y("\u67E5\u8BE2"),Z=y("\u91CD\u7F6E"),ee={class:"flex justify-between items-center"},ae=v("span",null,"\u533A\u57DF\u5217\u8868",-1),te=y(" \u65B0\u589E "),oe=["onClick"],le=["onClick"],ne=q({name:"regionManage"}),de=Object.assign(ne,{setup(n){const{proxy:a}=Q(),e=g({}),d=g(),_=g(0),b=[{label:"\u533A\u57DF\u540D\u79F0",key:"regionName",prop:"regionName",minWidth:"180",showOverflowTooltip:!0},{label:"\u9A7E\u9A76\u5458\u51FA\u8F66\u8D39\uFF08\u5143\uFF09",key:"carExpense",prop:"carExpense",width:"160"},{label:"\u6CB9\u5355\u4EF7\uFF08\u5143\uFF09",key:"oilPrice",prop:"oilPrice",width:"120"},{label:"\u521B\u5EFA\u65F6\u95F4",key:"createOn",prop:"createOn",width:"180"},{label:"\u64CD\u4F5C",key:"action",slot:"action",width:"120",fixed:"right"}],p=g([]),s=(...C)=>w(this,[...C],function*(t=d.value.pageParams){const f=yield S(k(k({},t),e.value));_.value=f.data.total,p.value=f.data.records}),i=()=>{s()},m=()=>{e.value={},d.value.pageParams.pageNumber=1,d.value.pageParams.pageSize=10,s()},c=A({visible:!1,rowData:void 0}),E=()=>{c.visible=!0,c.rowData=void 0},$=t=>{c.visible=!0,c.rowData={id:t.id,regionCode:t.regionCode,oilPrice:Number(t.oilPrice),carExpense:Number(t.carExpense),regionCodePath:t.regionCodePath,serviceFeeRate:t.serviceFeeRate,workingOvertimeFee:t.workingOvertimeFee,nightWorkingFee:t.nightWorkFee}},B=t=>{a.$messageBox.confirm("\u662F\u5426\u5220\u9664\u8BE5\u6570\u636E?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>w(this,null,function*(){yield U({id:t.id}),a.$message.success("\u5220\u9664\u6210\u529F\uFF01"),yield s()}))},R=t=>{c.visible=!1,t&&s()};return H(()=>{s()}),(t,C)=>{const f=r("el-input"),x=r("el-form-item"),N=r("el-col"),h=r("el-button"),T=r("el-row"),z=r("el-form"),P=r("el-card"),M=r("table-list");return V(),O("div",X,[o(P,{shadow:"never",class:"search mb-16"},{default:l(()=>[o(z,{"label-suffix":":",model:e.value,size:"small"},{default:l(()=>[o(T,{gutter:16},{default:l(()=>[o(N,{span:6},{default:l(()=>[o(x,{label:"\u533A\u57DF\u540D\u79F0"},{default:l(()=>[o(f,{modelValue:e.value.regionName,"onUpdate:modelValue":C[0]||(C[0]=u=>e.value.regionName=u),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),o(N,{span:18},{default:l(()=>[o(x,{class:"btn"},{default:l(()=>[o(h,{type:"primary",onClick:i},{default:l(()=>[Y]),_:1}),o(h,{type:"info",onClick:m},{default:l(()=>[Z]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),o(P,{shadow:"never"},{header:l(()=>[v("div",ee,[ae,o(h,{type:"primary",icon:"Plus",size:"small",onClick:E},{default:l(()=>[te]),_:1})])]),default:l(()=>[o(M,{ref_key:"tableListRef",ref:d,"row-key":"regionCode",column:b,data:p.value,total:_.value,onGetTableData:s},{action:l(({scope:u})=>[u.row.exists?(V(),O(J,{key:0},[v("a",{class:"text-primary",onClick:W=>$(u.row)},"\u7F16\u8F91",8,oe),v("a",{class:"text-danger",onClick:W=>B(u.row)},"\u5220\u9664",8,le)],64)):K("",!0)]),_:1},8,["data","total"])]),_:1}),o(I,{visible:c.visible,data:c.rowData,onClose:R},null,8,["visible","data"])])}}});export{de as default}; |
@@ -1 +1 @@ | |||
var L=Object.defineProperty,P=Object.defineProperties;var U=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var M=(l,e,t)=>e in l?L(l,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[e]=t,g=(l,e)=>{for(var t in e||(e={}))W.call(e,t)&&M(l,t,e[t]);if(V)for(var t of V(e))z.call(e,t)&&M(l,t,e[t]);return l},Y=(l,e)=>P(l,U(e));var D=(l,e,t)=>new Promise((m,_)=>{var u=n=>{try{c(t.next(n))}catch(i){_(i)}},d=n=>{try{c(t.throw(n))}catch(i){_(i)}},c=n=>n.done?m(n.value):Promise.resolve(n.value).then(u,d);c((t=t.apply(l,e)).next())});import{N as S,d as j,a as O,r as w,o as q,f as s,g as A,c as E,e as a,w as o,b as h,t as y,h as k}from"./index.56ad3315.js";const F=l=>S.get("/api/v1/carAlarm/page",{params:l}),G={class:"systemLog"},H=k("\u67E5\u8BE2"),I=k("\u91CD\u7F6E"),J=k("\u63D0\u9192\u8BB0\u5F55\u5217\u8868"),K={class:"px-50 text-info"},Q=j({name:"deviceReminderRecord"}),$=Object.assign(Q,{setup(l){const e=O({carNo:void 0,times:void 0}),t=w(),m=w(0),_=O([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u8F66\u724C\u53F7",key:"carNo",prop:"carNo",minWidth:"180"},{label:"\u63D0\u9192\u65F6\u95F4",key:"createOn",prop:"createOn",minWidth:"180"},{label:"\u63D0\u9192\u539F\u56E0",key:"alarmReason",prop:"alarmReason",minWidth:"180",showOverflowTooltip:!0}]),u=w([]),d=(...p)=>D(this,[...p],function*(i=t.value.pageParams){const f=yield F(Y(g(g({},i),e),{createOnMin:e.times&&e.times.length?e.times[0]:void 0,createOnMax:e.times&&e.times.length?e.times[1]:void 0,times:void 0}));m.value=f.data.total,u.value=f.data.records}),c=()=>{d()},n=()=>{e.carNo=void 0,e.times=void 0,t.value.pageParams.pageNumber=1,t.value.pageParams.pageSize=10,d()};return q(()=>{d()}),(i,p)=>{const f=s("el-input"),b=s("el-form-item"),v=s("el-col"),R=s("el-date-picker"),x=s("el-button"),C=s("el-row"),T=s("el-form"),N=s("el-card"),B=s("table-list");return A(),E("div",G,[a(N,{shadow:"never",class:"search mb-16"},{default:o(()=>[a(T,{"label-suffix":":",model:e,size:"small"},{default:o(()=>[a(C,{gutter:16},{default:o(()=>[a(v,{span:6},{default:o(()=>[a(b,{label:"\u8F66\u724C\u53F7"},{default:o(()=>[a(f,{modelValue:e.carNo,"onUpdate:modelValue":p[0]||(p[0]=r=>e.carNo=r),maxlength:10,placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(v,{span:10},{default:o(()=>[a(b,{label:"\u63D0\u9192\u65F6\u95F4"},{default:o(()=>[a(R,{modelValue:e.times,"onUpdate:modelValue":p[1]||(p[1]=r=>e.times=r),editable:!1,format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",type:"daterange","unlink-panels":"","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4"},null,8,["modelValue"])]),_:1})]),_:1}),a(v,{span:8},{default:o(()=>[a(b,{class:"btn"},{default:o(()=>[a(x,{type:"primary",onClick:c},{default:o(()=>[H]),_:1}),a(x,{type:"info",onClick:n},{default:o(()=>[I]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(N,{shadow:"never"},{header:o(()=>[J]),default:o(()=>[a(B,{ref_key:"tableListRef",ref:t,column:_,data:u.value,total:m.value,onGetTableData:d},{expand:o(({scope:r})=>[h("div",K,[h("div",null,"\u8BF7\u6C42\u5730\u5740\uFF1A"+y(r.row.requestUri),1),h("div",null,"\u8BF7\u6C42\u65B9\u6CD5\uFF1A"+y(r.row.httpMethod),1),h("div",null,"\u8BF7\u6C42\u53C2\u6570\uFF1A"+y(r.row.params),1)])]),_:1},8,["column","data","total"])]),_:1})])}}});export{$ as default}; | |||
var L=Object.defineProperty,P=Object.defineProperties;var U=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var M=(l,e,t)=>e in l?L(l,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[e]=t,g=(l,e)=>{for(var t in e||(e={}))W.call(e,t)&&M(l,t,e[t]);if(V)for(var t of V(e))z.call(e,t)&&M(l,t,e[t]);return l},Y=(l,e)=>P(l,U(e));var D=(l,e,t)=>new Promise((m,_)=>{var u=n=>{try{c(t.next(n))}catch(i){_(i)}},d=n=>{try{c(t.throw(n))}catch(i){_(i)}},c=n=>n.done?m(n.value):Promise.resolve(n.value).then(u,d);c((t=t.apply(l,e)).next())});import{N as S,d as j,a as O,r as w,o as q,f as s,g as A,c as E,e as a,w as o,b as h,t as y,h as k}from"./index.4f7e0e83.js";const F=l=>S.get("/api/v1/carAlarm/page",{params:l}),G={class:"systemLog"},H=k("\u67E5\u8BE2"),I=k("\u91CD\u7F6E"),J=k("\u63D0\u9192\u8BB0\u5F55\u5217\u8868"),K={class:"px-50 text-info"},Q=j({name:"deviceReminderRecord"}),$=Object.assign(Q,{setup(l){const e=O({carNo:void 0,times:void 0}),t=w(),m=w(0),_=O([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u8F66\u724C\u53F7",key:"carNo",prop:"carNo",minWidth:"180"},{label:"\u63D0\u9192\u65F6\u95F4",key:"createOn",prop:"createOn",minWidth:"180"},{label:"\u63D0\u9192\u539F\u56E0",key:"alarmReason",prop:"alarmReason",minWidth:"180",showOverflowTooltip:!0}]),u=w([]),d=(...p)=>D(this,[...p],function*(i=t.value.pageParams){const f=yield F(Y(g(g({},i),e),{createOnMin:e.times&&e.times.length?e.times[0]:void 0,createOnMax:e.times&&e.times.length?e.times[1]:void 0,times:void 0}));m.value=f.data.total,u.value=f.data.records}),c=()=>{d()},n=()=>{e.carNo=void 0,e.times=void 0,t.value.pageParams.pageNumber=1,t.value.pageParams.pageSize=10,d()};return q(()=>{d()}),(i,p)=>{const f=s("el-input"),b=s("el-form-item"),v=s("el-col"),R=s("el-date-picker"),x=s("el-button"),C=s("el-row"),T=s("el-form"),N=s("el-card"),B=s("table-list");return A(),E("div",G,[a(N,{shadow:"never",class:"search mb-16"},{default:o(()=>[a(T,{"label-suffix":":",model:e,size:"small"},{default:o(()=>[a(C,{gutter:16},{default:o(()=>[a(v,{span:6},{default:o(()=>[a(b,{label:"\u8F66\u724C\u53F7"},{default:o(()=>[a(f,{modelValue:e.carNo,"onUpdate:modelValue":p[0]||(p[0]=r=>e.carNo=r),maxlength:10,placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(v,{span:10},{default:o(()=>[a(b,{label:"\u63D0\u9192\u65F6\u95F4"},{default:o(()=>[a(R,{modelValue:e.times,"onUpdate:modelValue":p[1]||(p[1]=r=>e.times=r),editable:!1,format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",type:"daterange","unlink-panels":"","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4"},null,8,["modelValue"])]),_:1})]),_:1}),a(v,{span:8},{default:o(()=>[a(b,{class:"btn"},{default:o(()=>[a(x,{type:"primary",onClick:c},{default:o(()=>[H]),_:1}),a(x,{type:"info",onClick:n},{default:o(()=>[I]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(N,{shadow:"never"},{header:o(()=>[J]),default:o(()=>[a(B,{ref_key:"tableListRef",ref:t,column:_,data:u.value,total:m.value,onGetTableData:d},{expand:o(({scope:r})=>[h("div",K,[h("div",null,"\u8BF7\u6C42\u5730\u5740\uFF1A"+y(r.row.requestUri),1),h("div",null,"\u8BF7\u6C42\u65B9\u6CD5\uFF1A"+y(r.row.httpMethod),1),h("div",null,"\u8BF7\u6C42\u53C2\u6570\uFF1A"+y(r.row.params),1)])]),_:1},8,["column","data","total"])]),_:1})])}}});export{$ as default}; |
@@ -0,0 +1 @@ | |||
import{g as w}from"./locationTransform.e2d22cb6.js";import{g as _,c as k,b as f}from"./index.4f7e0e83.js";const v=f("div",{id:"mapDiv",style:{width:"100%",height:"100%"}},null,-1),y=[v],L={name:"TiandiTrack"},A=Object.assign(L,{setup(M,{expose:i}){var a=null,e=null;const c="https://mapapi.qq.com/web/miniprogram/demoCenter/images/marker-start.png",s="https://mapapi.qq.com/web/miniprogram/demoCenter/images/marker-end.png";function l(){a.stop()}function p(){a.start()}function m(){a.pause()}function d(t){e=new T.Map("mapDiv"),e.centerAndZoom(new T.LngLat(116.31809,39.92027),12);const n=u(t);e.centerAndZoom(n[0],12),a=new T.CarTrack(e,{interval:5,speed:10,dynamicLine:!1,carstyle:{display:!0,iconUrl:"https://carrental.ningdatech.com/car.png",width:52,height:26},polylinestyle:{color:"#F24D4E",weight:55,opacity:1},Datas:n}),g(n[0],n[n.length-1])}function g(t,n){var o=new T.Marker(t,{icon:new T.Icon({iconUrl:c,iconSize:new T.Point(34,44),iconAnchor:new T.Point(12,31)})});e.addOverLay(o);var r=new T.Marker(n,{icon:new T.Icon({iconUrl:s,iconSize:new T.Point(34,44),iconAnchor:new T.Point(12,31)})});e.addOverLay(r)}i({initTrack:d,start:p,stop:l,pause:m});function u(t){return t.map(function(n,o){const r=w(n.lng,n.lat);var h=new T.LngLat(r[0],r[1]);return h})}return(t,n)=>(_(),k("div",null,y))}});export{A as _}; |
@@ -1 +1 @@ | |||
var G=Object.defineProperty;var S=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var D=(s,l,e)=>l in s?G(s,l,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[l]=e,g=(s,l)=>{for(var e in l||(l={}))L.call(l,e)&&D(s,e,l[e]);if(S)for(var e of S(l))W.call(l,e)&&D(s,e,l[e]);return s};var k=(s,l,e)=>new Promise((b,n)=>{var m=r=>{try{p(e.next(r))}catch(i){n(i)}},v=r=>{try{p(e.throw(r))}catch(i){n(i)}},p=r=>r.done?b(r.value):Promise.resolve(r.value).then(m,v);p((e=e.apply(s,l)).next())});import{d as B,u as F,r as f,U as j,o as z,f as d,g as N,c as E,e as t,w as a,b as C,p as q,h as T,t as H}from"./index.56ad3315.js";import{l as J}from"./driverManage.7d406f6e.js";import K from"./downDialog.05c758e0.js";import"./orderManage.83f936be.js";const Q={class:"driverManage"},X=T("\u67E5\u8BE2"),Y=T("\u91CD\u7F6E"),Z={class:"flex justify-between items-center"},ee=C("span",null,"\u9A7E\u9A76\u5458\u5217\u8868",-1),te=["onClick"],ae=["onClick"],le=["onClick"],oe=B({name:"driverManage"}),ue=Object.assign(oe,{setup(s){const l=F(),e={PASS:"\u6B63\u5E38",REFUSE:"\u5BA1\u6838\u9A73\u56DE",AUDITING:"\u5F85\u5BA1\u6838",NEED_COMPLETE:"\u4FE1\u606F\u5F02\u5E38",OVERTIME:"\u8D85\u671F\u5F02\u5E38"},b={PASS:"success",REFUSE:"danger",AUDITING:"warning",NEED_COMPLETE:"danger",OVERTIME:"danger"},n=f({}),m=f(),v=f(0),p=[{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u9A7E\u9A76\u5458\u59D3\u540D",key:"realName",prop:"realName",minWidth:"180",showOverflowTooltip:!0},{label:"\u6240\u5C5E\u4F01\u4E1A",key:"companyName",prop:"companyName",minWidth:"150",showOverflowTooltip:!0},{label:"\u624B\u673A\u53F7",key:"phone",prop:"phone",width:"180"},{label:"\u8F66\u724C\u53F7\u7801",key:"carNo",prop:"carNo",minWidth:"150",showOverflowTooltip:!0},{label:"\u72B6\u6001",key:"status",slot:"status",width:"100"},{label:"\u4FE1\u606F\u66F4\u65B0\u65F6\u95F4",key:"updateOn",prop:"updateOn",minWidth:"180",showOverflowTooltip:!0},{label:"\u64CD\u4F5C",key:"action",slot:"action",width:"240",fixed:"right"}],r=f([]),i=(...u)=>k(this,[...u],function*(_=m.value.pageParams){const c=yield J(g(g({},_),n.value));v.value=c.data.total,r.value=c.data.records}),P=()=>{m.value.pageParams.pageNumber=1,i()},U=()=>{n.value={},m.value.pageParams.pageNumber=1,m.value.pageParams.pageSize=10,i()},h=(_,u,c)=>{l.push({name:u,query:{userId:_.userId,status:c?_.status:""}})},x=f(!1);return j(()=>{localStorage.getItem("modify")&&(i(),localStorage.removeItem("modify"))}),z(()=>k(this,null,function*(){yield i()})),(_,u)=>{const c=d("el-input"),y=d("el-form-item"),w=d("el-col"),V=d("el-button"),M=d("el-row"),R=d("el-form"),I=d("el-card"),A=d("el-tag"),$=d("table-list");return N(),E("div",Q,[t(I,{shadow:"never",class:"search mb-16"},{default:a(()=>[t(R,{"label-suffix":":",model:n.value,size:"small"},{default:a(()=>[t(M,{gutter:16},{default:a(()=>[t(w,{span:8,class:"mb-16"},{default:a(()=>[t(y,{label:"\u9A7E\u9A76\u5458\u59D3\u540D"},{default:a(()=>[t(c,{modelValue:n.value.realName,"onUpdate:modelValue":u[0]||(u[0]=o=>n.value.realName=o),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(w,{span:8},{default:a(()=>[t(y,{label:"\u624B\u673A\u53F7"},{default:a(()=>[t(c,{modelValue:n.value.mobile,"onUpdate:modelValue":u[1]||(u[1]=o=>n.value.mobile=o),maxlength:"11",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(w,{span:8},{default:a(()=>[t(y,{class:"btn"},{default:a(()=>[t(V,{type:"primary",onClick:P},{default:a(()=>[X]),_:1}),t(V,{type:"info",onClick:U},{default:a(()=>[Y]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(I,{shadow:"never"},{header:a(()=>[C("div",Z,[ee,q("",!0)])]),default:a(()=>[t($,{ref_key:"tableListRef",ref:m,column:p,data:r.value,total:v.value,onGetTableData:i},{status:a(({scope:o})=>[t(A,{type:b[o.row.status],effect:"dark"},{default:a(()=>[T(H(e[o.row.status]),1)]),_:2},1032,["type"])]),action:a(({scope:o})=>[o.row.status==="AUDITING"?(N(),E("a",{key:0,class:"text-primary",onClick:O=>h(o.row,"detail",1)}," \u5BA1\u6838 ",8,te)):(N(),E("a",{key:1,class:"text-primary",onClick:O=>h(o.row,"edit")}," \u7F16\u8F91 ",8,ae)),C("a",{class:"text-primary",onClick:O=>h(o.row,"detail")},"\u8BE6\u60C5",8,le)]),_:1},8,["data","total"])]),_:1}),t(K,{visible:x.value,onClose:u[2]||(u[2]=o=>x.value=!1)},null,8,["visible"])])}}});export{ue as default}; | |||
var G=Object.defineProperty;var S=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var D=(s,l,e)=>l in s?G(s,l,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[l]=e,g=(s,l)=>{for(var e in l||(l={}))L.call(l,e)&&D(s,e,l[e]);if(S)for(var e of S(l))W.call(l,e)&&D(s,e,l[e]);return s};var k=(s,l,e)=>new Promise((b,n)=>{var m=r=>{try{p(e.next(r))}catch(i){n(i)}},v=r=>{try{p(e.throw(r))}catch(i){n(i)}},p=r=>r.done?b(r.value):Promise.resolve(r.value).then(m,v);p((e=e.apply(s,l)).next())});import{d as B,u as F,r as f,U as j,o as z,f as d,g as N,c as E,e as t,w as a,b as C,p as q,h as T,t as H}from"./index.4f7e0e83.js";import{l as J}from"./driverManage.e8cc832b.js";import K from"./downDialog.7e5e4bec.js";import"./orderManage.5273c92c.js";const Q={class:"driverManage"},X=T("\u67E5\u8BE2"),Y=T("\u91CD\u7F6E"),Z={class:"flex justify-between items-center"},ee=C("span",null,"\u9A7E\u9A76\u5458\u5217\u8868",-1),te=["onClick"],ae=["onClick"],le=["onClick"],oe=B({name:"driverManage"}),ue=Object.assign(oe,{setup(s){const l=F(),e={PASS:"\u6B63\u5E38",REFUSE:"\u5BA1\u6838\u9A73\u56DE",AUDITING:"\u5F85\u5BA1\u6838",NEED_COMPLETE:"\u4FE1\u606F\u5F02\u5E38",OVERTIME:"\u8D85\u671F\u5F02\u5E38"},b={PASS:"success",REFUSE:"danger",AUDITING:"warning",NEED_COMPLETE:"danger",OVERTIME:"danger"},n=f({}),m=f(),v=f(0),p=[{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u9A7E\u9A76\u5458\u59D3\u540D",key:"realName",prop:"realName",minWidth:"180",showOverflowTooltip:!0},{label:"\u6240\u5C5E\u4F01\u4E1A",key:"companyName",prop:"companyName",minWidth:"150",showOverflowTooltip:!0},{label:"\u624B\u673A\u53F7",key:"phone",prop:"phone",width:"180"},{label:"\u8F66\u724C\u53F7\u7801",key:"carNo",prop:"carNo",minWidth:"150",showOverflowTooltip:!0},{label:"\u72B6\u6001",key:"status",slot:"status",width:"100"},{label:"\u4FE1\u606F\u66F4\u65B0\u65F6\u95F4",key:"updateOn",prop:"updateOn",minWidth:"180",showOverflowTooltip:!0},{label:"\u64CD\u4F5C",key:"action",slot:"action",width:"240",fixed:"right"}],r=f([]),i=(...u)=>k(this,[...u],function*(_=m.value.pageParams){const c=yield J(g(g({},_),n.value));v.value=c.data.total,r.value=c.data.records}),P=()=>{m.value.pageParams.pageNumber=1,i()},U=()=>{n.value={},m.value.pageParams.pageNumber=1,m.value.pageParams.pageSize=10,i()},h=(_,u,c)=>{l.push({name:u,query:{userId:_.userId,status:c?_.status:""}})},x=f(!1);return j(()=>{localStorage.getItem("modify")&&(i(),localStorage.removeItem("modify"))}),z(()=>k(this,null,function*(){yield i()})),(_,u)=>{const c=d("el-input"),y=d("el-form-item"),w=d("el-col"),V=d("el-button"),M=d("el-row"),R=d("el-form"),I=d("el-card"),A=d("el-tag"),$=d("table-list");return N(),E("div",Q,[t(I,{shadow:"never",class:"search mb-16"},{default:a(()=>[t(R,{"label-suffix":":",model:n.value,size:"small"},{default:a(()=>[t(M,{gutter:16},{default:a(()=>[t(w,{span:8,class:"mb-16"},{default:a(()=>[t(y,{label:"\u9A7E\u9A76\u5458\u59D3\u540D"},{default:a(()=>[t(c,{modelValue:n.value.realName,"onUpdate:modelValue":u[0]||(u[0]=o=>n.value.realName=o),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(w,{span:8},{default:a(()=>[t(y,{label:"\u624B\u673A\u53F7"},{default:a(()=>[t(c,{modelValue:n.value.mobile,"onUpdate:modelValue":u[1]||(u[1]=o=>n.value.mobile=o),maxlength:"11",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(w,{span:8},{default:a(()=>[t(y,{class:"btn"},{default:a(()=>[t(V,{type:"primary",onClick:P},{default:a(()=>[X]),_:1}),t(V,{type:"info",onClick:U},{default:a(()=>[Y]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(I,{shadow:"never"},{header:a(()=>[C("div",Z,[ee,q("",!0)])]),default:a(()=>[t($,{ref_key:"tableListRef",ref:m,column:p,data:r.value,total:v.value,onGetTableData:i},{status:a(({scope:o})=>[t(A,{type:b[o.row.status],effect:"dark"},{default:a(()=>[T(H(e[o.row.status]),1)]),_:2},1032,["type"])]),action:a(({scope:o})=>[o.row.status==="AUDITING"?(N(),E("a",{key:0,class:"text-primary",onClick:O=>h(o.row,"detail",1)}," \u5BA1\u6838 ",8,te)):(N(),E("a",{key:1,class:"text-primary",onClick:O=>h(o.row,"edit")}," \u7F16\u8F91 ",8,ae)),C("a",{class:"text-primary",onClick:O=>h(o.row,"detail")},"\u8BE6\u60C5",8,le)]),_:1},8,["data","total"])]),_:1}),t(K,{visible:x.value,onClose:u[2]||(u[2]=o=>x.value=!1)},null,8,["visible"])])}}});export{ue as default}; |
@@ -1 +1 @@ | |||
var U=Object.defineProperty,$=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var P=(o,e,a)=>e in o?U(o,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[e]=a,x=(o,e)=>{for(var a in e||(e={}))G.call(e,a)&&P(o,a,e[a]);if(D)for(var a of D(e))S.call(e,a)&&P(o,a,e[a]);return o},N=(o,e)=>$(o,E(e));var V=(o,e,a)=>new Promise((f,v)=>{var y=i=>{try{n(a.next(i))}catch(m){v(m)}},b=i=>{try{n(a.throw(i))}catch(m){v(m)}},n=i=>i.done?f(i.value):Promise.resolve(i.value).then(y,b);n((a=a.apply(o,e)).next())});import{_ as A,l as H}from"./changeDialog.7546b141.js";import{d as I,r as h,a as J,o as K,f as s,g as w,c as g,e as t,w as l,F as Q,q as X,h as q,b as W}from"./index.56ad3315.js";const Y={class:"equipmentChange"},Z=q("\u67E5\u8BE2"),ee=q("\u91CD\u7F6E"),ae=W("div",{class:"flex justify-between items-center"},[W("span",null,"\u8BBE\u5907\u53D8\u66F4\u5217\u8868")],-1),te=["onClick"],le={key:1},oe=I({name:"equipmentChange"}),re=Object.assign(oe,{setup(o){const e=h({}),a=h(),f=h(0),v=[{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u7528\u6237\u540D",key:"username",prop:"username",minWidth:"120",showOverflowTooltip:!0},{label:"\u8BBE\u5907\u578B\u53F7",key:"deviceModel",prop:"deviceModel",minWidth:"150"},{label:"\u767B\u5F55\u5E73\u53F0",key:"loginPlatform",prop:"loginPlatform",minWidth:"220",showOverflowTooltip:!0},{label:"\u5904\u7406\u72B6\u6001",key:"statusText",prop:"statusText",minWidth:"100",showOverflowTooltip:!0},{label:"\u521B\u5EFA\u65F6\u95F4",key:"createOn",prop:"createOn",width:"180"},{label:"\u64CD\u4F5C",key:"action",slot:"action",width:"120",fixed:"right"}],y={0:"\u5F85\u5904\u7406",1:"\u5DF2\u5FFD\u7565",2:"\u5DF2\u62D2\u7EDD",3:"\u5DF2\u5141\u8BB8"},b=h([]),n=(...d)=>V(this,[...d],function*(u=a.value.pageParams){var _;const c=yield H(N(x(x({},u),e.value),{regionCode:(_=e.value.regionCode)==null?void 0:_.at(-1)}));f.value=c.data.total,b.value=c.data.records}),i=()=>{n()},m=()=>{e.value={},a.value.pageParams.pageNumber=1,a.value.pageParams.pageSize=10,n()},B=u=>{p.visible=!0;const{id:d,username:c}=u;p.rowData={id:d,username:c}},p=J({visible:!1,rowData:void 0}),F=u=>{p.visible=!1,u&&n()};return K(()=>V(this,null,function*(){yield n()})),(u,d)=>{const c=s("el-input"),_=s("el-form-item"),k=s("el-col"),L=s("el-option"),M=s("el-select"),T=s("el-button"),j=s("el-row"),z=s("el-form"),O=s("el-card"),R=s("table-list");return w(),g("div",Y,[t(O,{shadow:"never",class:"search mb-16"},{default:l(()=>[t(z,{"label-suffix":":",model:e.value,size:"small"},{default:l(()=>[t(j,{gutter:16},{default:l(()=>[t(k,{span:6},{default:l(()=>[t(_,{label:"\u7528\u6237\u540D"},{default:l(()=>[t(c,{modelValue:e.value.username,"onUpdate:modelValue":d[0]||(d[0]=r=>e.value.username=r),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(k,{span:10},{default:l(()=>[t(_,{label:"\u5904\u7406\u72B6\u6001"},{default:l(()=>[t(M,{modelValue:e.value.status,"onUpdate:modelValue":d[1]||(d[1]=r=>e.value.status=r),placeholder:"\u8BF7\u9009\u62E9"},{default:l(()=>[(w(),g(Q,null,X(y,(r,C)=>t(L,{key:C,label:r,value:C},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(k,{span:8},{default:l(()=>[t(_,{class:"btn"},{default:l(()=>[t(T,{type:"primary",onClick:i},{default:l(()=>[Z]),_:1}),t(T,{type:"info",onClick:m},{default:l(()=>[ee]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(O,{shadow:"never"},{header:l(()=>[ae]),default:l(()=>[t(R,{ref_key:"tableListRef",ref:a,column:v,data:b.value,total:f.value,onGetTableData:n},{action:l(({scope:r})=>[r.row.status===0?(w(),g("a",{key:0,class:"text-primary",onClick:C=>B(r.row)}," \u5904\u7406 ",8,te)):(w(),g("span",le,"-"))]),_:1},8,["data","total"])]),_:1}),t(A,{visible:p.visible,data:p.rowData,onClose:F},null,8,["visible","data"])])}}});export{re as default}; | |||
var U=Object.defineProperty,$=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var P=(o,e,a)=>e in o?U(o,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[e]=a,x=(o,e)=>{for(var a in e||(e={}))G.call(e,a)&&P(o,a,e[a]);if(D)for(var a of D(e))S.call(e,a)&&P(o,a,e[a]);return o},N=(o,e)=>$(o,E(e));var V=(o,e,a)=>new Promise((f,v)=>{var y=i=>{try{n(a.next(i))}catch(m){v(m)}},b=i=>{try{n(a.throw(i))}catch(m){v(m)}},n=i=>i.done?f(i.value):Promise.resolve(i.value).then(y,b);n((a=a.apply(o,e)).next())});import{_ as A,l as H}from"./changeDialog.43566dce.js";import{d as I,r as h,a as J,o as K,f as s,g as w,c as g,e as t,w as l,F as Q,q as X,h as q,b as W}from"./index.4f7e0e83.js";const Y={class:"equipmentChange"},Z=q("\u67E5\u8BE2"),ee=q("\u91CD\u7F6E"),ae=W("div",{class:"flex justify-between items-center"},[W("span",null,"\u8BBE\u5907\u53D8\u66F4\u5217\u8868")],-1),te=["onClick"],le={key:1},oe=I({name:"equipmentChange"}),re=Object.assign(oe,{setup(o){const e=h({}),a=h(),f=h(0),v=[{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u7528\u6237\u540D",key:"username",prop:"username",minWidth:"120",showOverflowTooltip:!0},{label:"\u8BBE\u5907\u578B\u53F7",key:"deviceModel",prop:"deviceModel",minWidth:"150"},{label:"\u767B\u5F55\u5E73\u53F0",key:"loginPlatform",prop:"loginPlatform",minWidth:"220",showOverflowTooltip:!0},{label:"\u5904\u7406\u72B6\u6001",key:"statusText",prop:"statusText",minWidth:"100",showOverflowTooltip:!0},{label:"\u521B\u5EFA\u65F6\u95F4",key:"createOn",prop:"createOn",width:"180"},{label:"\u64CD\u4F5C",key:"action",slot:"action",width:"120",fixed:"right"}],y={0:"\u5F85\u5904\u7406",1:"\u5DF2\u5FFD\u7565",2:"\u5DF2\u62D2\u7EDD",3:"\u5DF2\u5141\u8BB8"},b=h([]),n=(...d)=>V(this,[...d],function*(u=a.value.pageParams){var _;const c=yield H(N(x(x({},u),e.value),{regionCode:(_=e.value.regionCode)==null?void 0:_.at(-1)}));f.value=c.data.total,b.value=c.data.records}),i=()=>{n()},m=()=>{e.value={},a.value.pageParams.pageNumber=1,a.value.pageParams.pageSize=10,n()},B=u=>{p.visible=!0;const{id:d,username:c}=u;p.rowData={id:d,username:c}},p=J({visible:!1,rowData:void 0}),F=u=>{p.visible=!1,u&&n()};return K(()=>V(this,null,function*(){yield n()})),(u,d)=>{const c=s("el-input"),_=s("el-form-item"),k=s("el-col"),L=s("el-option"),M=s("el-select"),T=s("el-button"),j=s("el-row"),z=s("el-form"),O=s("el-card"),R=s("table-list");return w(),g("div",Y,[t(O,{shadow:"never",class:"search mb-16"},{default:l(()=>[t(z,{"label-suffix":":",model:e.value,size:"small"},{default:l(()=>[t(j,{gutter:16},{default:l(()=>[t(k,{span:6},{default:l(()=>[t(_,{label:"\u7528\u6237\u540D"},{default:l(()=>[t(c,{modelValue:e.value.username,"onUpdate:modelValue":d[0]||(d[0]=r=>e.value.username=r),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(k,{span:10},{default:l(()=>[t(_,{label:"\u5904\u7406\u72B6\u6001"},{default:l(()=>[t(M,{modelValue:e.value.status,"onUpdate:modelValue":d[1]||(d[1]=r=>e.value.status=r),placeholder:"\u8BF7\u9009\u62E9"},{default:l(()=>[(w(),g(Q,null,X(y,(r,C)=>t(L,{key:C,label:r,value:C},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(k,{span:8},{default:l(()=>[t(_,{class:"btn"},{default:l(()=>[t(T,{type:"primary",onClick:i},{default:l(()=>[Z]),_:1}),t(T,{type:"info",onClick:m},{default:l(()=>[ee]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(O,{shadow:"never"},{header:l(()=>[ae]),default:l(()=>[t(R,{ref_key:"tableListRef",ref:a,column:v,data:b.value,total:f.value,onGetTableData:n},{action:l(({scope:r})=>[r.row.status===0?(w(),g("a",{key:0,class:"text-primary",onClick:C=>B(r.row)}," \u5904\u7406 ",8,te)):(w(),g("span",le,"-"))]),_:1},8,["data","total"])]),_:1}),t(A,{visible:p.visible,data:p.rowData,onClose:F},null,8,["visible","data"])])}}});export{re as default}; |
@@ -0,0 +1 @@ | |||
import e from"./companyHome.3b4619b5.js";import s from"./adminHome.b7015f22.js";import{d as a,y as n,v as p,g as o,n as r}from"./index.4f7e0e83.js";import _ from"./projectManageHome.e3cc9514.js";import"./index.b0dc2dad.js";import"./index.d9594d28.js";import"./orderManage.5273c92c.js";import"./orderDetailDrawer.c960e9d6.js";import"./uploadAction.b5d31dfd.js";import"./editOrderForm.5b797842.js";import"./projectManage.8a8d0c38.js";import"./queryAddressDialog.39a467f8.js";import"./locationTransform.e2d22cb6.js";import"./tiandimap.16f8c665.js";import"./driverAssignmentDialog.46e2c4ff.js";import"./cancelOrderDialog.6c48fb56.js";import"./confirmOrderDialog.7e64669c.js";import"./orderCompletionDialog.e76c7380.js";import"./confirmBoardingDialog.ba10a835.js";import"./trajectoryDialog.52ae6544.js";import"./useExportExc.527b8fdc.js";import"./useTreeSelectData.509ad0fb.js";import"./index.bd4d7aa9.js";import"./confirmDialog.55ad2e2b.js";const c=a({name:"home"}),J=Object.assign(c,{setup(f){const t=n.userStore.userBaseInfo;return(u,l)=>{var m,i;return((m=p(t))==null?void 0:m.role)==="super_admin"?(o(),r(s,{key:0})):((i=p(t))==null?void 0:i.role)==="project_manager"?(o(),r(_,{key:1})):(o(),r(e,{key:2}))}}});export{J as default}; |
@@ -1,4 +1,4 @@ | |||
var re=Object.defineProperty,me=Object.defineProperties;var ce=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var de=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;var P=(e,m,t)=>m in e?re(e,m,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[m]=t,S=(e,m)=>{for(var t in m||(m={}))de.call(m,t)&&P(e,t,m[t]);if(W)for(var t of W(m))ue.call(m,t)&&P(e,t,m[t]);return e},j=(e,m)=>me(e,ce(m));var Y=(e,m,t)=>new Promise((_,y)=>{var s=u=>{try{o(t.next(u))}catch(a){y(a)}},k=u=>{try{o(t.throw(u))}catch(a){y(a)}},o=u=>u.done?_(u.value):Promise.resolve(u.value).then(s,k);o((t=t.apply(e,m)).next())});import{e as ve,_ as be,l as ye,a as he}from"./confirmDialog.2d657d6e.js";import{M as C,d as fe,y as ge,k as _e,u as we,r as v,O as w,o as ke,R as xe,f as b,g,c as F,v as r,n as R,w as p,e as n,F as B,p as D,Y as Fe,b as T,t as Ce,Z as Te,h as V,A as Ne,i as Ye}from"./index.56ad3315.js";import{u as De}from"./useExportExc.9510a555.js";import{u as $e}from"./useTreeSelectData.f80dc3c9.js";import"./uploadAction.9c148b89.js";function Oe(e){let m="",t="\u4EDF\u4F70\u62FE\u4EBF\u4EDF\u4F70\u62FE\u4E07\u4EDF\u4F70\u62FE\u5143\u89D2\u5206";e+="00";const _=e.indexOf(".");_>=0&&(e=e.substring(0,_)+e.substr(_+1,2)),t=t.substr(t.length-e.length);for(let y=0;y<e.length;y++)m+="\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396".substr(e.substr(y,1),1)+t.substr(y,1);return m.replace(/零角零分$/,"\u6574").replace(/零[仟佰拾]/g,"\u96F6").replace(/零{2,}/g,"\u96F6").replace(/零([亿|万])/g,"$1").replace(/零+元/,"\u5143").replace(/亿零{0,3}万/,"\u4EBF").replace(/^元/,"\u96F6\u5143")}const Se=e=>` | |||
var re=Object.defineProperty,me=Object.defineProperties;var ce=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var de=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;var P=(e,m,t)=>m in e?re(e,m,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[m]=t,S=(e,m)=>{for(var t in m||(m={}))de.call(m,t)&&P(e,t,m[t]);if(W)for(var t of W(m))ue.call(m,t)&&P(e,t,m[t]);return e},j=(e,m)=>me(e,ce(m));var Y=(e,m,t)=>new Promise((_,y)=>{var s=u=>{try{o(t.next(u))}catch(a){y(a)}},k=u=>{try{o(t.throw(u))}catch(a){y(a)}},o=u=>u.done?_(u.value):Promise.resolve(u.value).then(s,k);o((t=t.apply(e,m)).next())});import{e as ve,_ as be,l as ye,a as he}from"./confirmDialog.55ad2e2b.js";import{M as C,d as fe,y as ge,k as _e,u as we,r as v,O as w,o as ke,R as xe,f as b,g,c as F,v as r,n as R,w as p,e as n,F as B,p as D,Y as Fe,b as T,t as Ce,Z as Te,h as V,A as Ne,i as Ye}from"./index.4f7e0e83.js";import{u as De}from"./useExportExc.527b8fdc.js";import{u as $e}from"./useTreeSelectData.509ad0fb.js";import"./uploadAction.b5d31dfd.js";function Oe(e){let m="",t="\u4EDF\u4F70\u62FE\u4EBF\u4EDF\u4F70\u62FE\u4E07\u4EDF\u4F70\u62FE\u5143\u89D2\u5206";e+="00";const _=e.indexOf(".");_>=0&&(e=e.substring(0,_)+e.substr(_+1,2)),t=t.substr(t.length-e.length);for(let y=0;y<e.length;y++)m+="\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396".substr(e.substr(y,1),1)+t.substr(y,1);return m.replace(/零角零分$/,"\u6574").replace(/零[仟佰拾]/g,"\u96F6").replace(/零{2,}/g,"\u96F6").replace(/零([亿|万])/g,"$1").replace(/零+元/,"\u5143").replace(/亿零{0,3}万/,"\u4EBF").replace(/^元/,"\u96F6\u5143")}const Se=e=>` | |||
<!DOCTYPE html> | |||
<html lang="en"> | |||
<head> |
@@ -1 +0,0 @@ | |||
import e from"./companyHome.f19011fe.js";import s from"./adminHome.58342e35.js";import{d as a,y as n,v as p,g as o,n as r}from"./index.56ad3315.js";import _ from"./projectManageHome.50e7c51d.js";import"./index.b0dc2dad.js";import"./index.534f4866.js";import"./orderManage.83f936be.js";import"./orderDetailDrawer.1b8f1c55.js";import"./uploadAction.9c148b89.js";import"./editOrderForm.fb3a28c6.js";import"./projectManage.e10fda65.js";import"./queryAddressDialog.5142ebc9.js";import"./locationTransform.e2d22cb6.js";import"./tiandimap.d6d746f3.js";import"./driverAssignmentDialog.e3f14cf5.js";import"./cancelOrderDialog.cea3a391.js";import"./confirmOrderDialog.44793b20.js";import"./orderCompletionDialog.e6c3c100.js";import"./confirmBoardingDialog.11b6636b.js";import"./trajectoryDialog.4b256b2d.js";import"./useExportExc.9510a555.js";import"./useTreeSelectData.f80dc3c9.js";import"./index.be97b39a.js";import"./confirmDialog.2d657d6e.js";const c=a({name:"home"}),J=Object.assign(c,{setup(f){const t=n.userStore.userBaseInfo;return(u,l)=>{var m,i;return((m=p(t))==null?void 0:m.role)==="super_admin"?(o(),r(s,{key:0})):((i=p(t))==null?void 0:i.role)==="project_manager"?(o(),r(_,{key:1})):(o(),r(e,{key:2}))}}});export{J as default}; |
@@ -1 +1 @@ | |||
var S=Object.defineProperty,V=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var I=(n,a,t)=>a in n?S(n,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[a]=t,F=(n,a)=>{for(var t in a||(a={}))A.call(a,t)&&I(n,t,a[t]);if(x)for(var t of x(a))D.call(a,t)&&I(n,t,a[t]);return n},R=(n,a)=>V(n,N(a));var f=(n,a,t)=>new Promise((v,c)=>{var r=d=>{try{_(t.next(d))}catch(e){c(e)}},m=d=>{try{_(t.throw(d))}catch(e){c(e)}},_=d=>d.done?v(d.value):Promise.resolve(d.value).then(r,m);_((t=t.apply(n,a)).next())});import{_ as M,d as T,u as U,k as j,r as g,o as q,f as p,P as K,g as w,c as $,b as L,C as G,n as O,w as l,e as o,v as b,F as Q,p as z,h as y,Q as H,E as J,i as W}from"./index.56ad3315.js";import X from"./basicInfo.5eb467c9.js";import Y from"./paymentInfo.0fdd7398.js";import Z from"./driverlicenseInfo.d40f82c5.js";import ee from"./drivinglicenseInfo.ae54225c.js";import te from"./policyInfo.e0af817a.js";import ae from"./equipmentInfo.12bedd99.js";import{d as oe,a as C}from"./driverManage.7d406f6e.js";import{g as i}from"./uploadAction.9c148b89.js";const ie={class:"detail"},ne={class:"footer"},re=y("\u5BA1\u6838\u901A\u8FC7"),se=y("\u9A73\u56DE"),le=y("\u8FD4 \u56DE"),de=T({name:"detail"}),ce=Object.assign(de,{setup(n){const{proxy:a}=W(),t=U(),v=j(),c=g([]),r=g({}),m=g(!1),_=()=>f(this,null,function*(){m.value=!0;try{const e=(yield oe(v.query.userId)).data;r.value=R(F({},e),{cardPhotoFront:e.cardPhotoFront?yield i([e.cardPhotoFront]):void 0,cardPhotoReverse:e.cardPhotoReverse?yield i([e.cardPhotoReverse]):void 0,driverLicensePhotoFront:e.driverLicensePhotoFront?yield i([e.driverLicensePhotoFront]):void 0,driverLicensePhotoReverse:e.driverLicensePhotoReverse?yield i([e.driverLicensePhotoReverse]):void 0,drivingLicensePhotoFront:e.drivingLicensePhotoFront?yield i([e.drivingLicensePhotoFront]):void 0,drivingLicensePhotoReverse:e.drivingLicensePhotoReverse?yield i([e.drivingLicensePhotoReverse]):void 0,carPhoto:yield i(e.carPhoto),forcedInsurancePhoto:yield i(e.forcedInsurancePhoto),commercialInsurancePhoto:yield i(e.commercialInsurancePhoto),drivingInsurancePhoto:yield i(e.drivingInsurancePhoto),thirdInsurancePhoto:yield i(e.thirdInsurancePhoto),tripodPhoto:yield i(e.tripodPhoto),medicalKitPhoto:yield i(e.medicalKitPhoto),extinguisherPhoto:yield i(e.extinguisherPhoto),annualAuditPhoto:yield i(e.annualAuditPhoto)})}finally{m.value=!1,c.value=["1","2","3","4","5","6"]}}),d=e=>f(this,null,function*(){e==="PASS"?a.$messageBox.confirm("\u60A8\u786E\u8BA4\u5BA1\u6838\u901A\u8FC7\u5417?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>f(this,null,function*(){yield C({id:r.value.id,status:e}),localStorage.setItem("modify",1),a.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),t.go(-1)})):H.prompt("\u8BF7\u8F93\u5165\u9A73\u56DE\u539F\u56E0","\u9A73\u56DE",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",inputPattern:/^.*$/,inputErrorMessage:"\u8BF7\u8F93\u5165\u9A73\u56DE\u539F\u56E0"}).then(u=>f(this,[u],function*({value:s}){if(!s){J({type:"error",message:"\u8BF7\u8F93\u5165\u9A73\u56DE\u539F\u56E0"});return}yield C({id:r.value.id,status:e,rejectReason:s}),localStorage.setItem("modify",1),a.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),t.go(-1)}))});return q(()=>{_()}),(e,s)=>{const u=p("el-collapse-item"),k=p("el-collapse"),B=p("el-form"),P=p("el-button"),E=K("loading");return w(),$("div",ie,[L("div",null,[G((w(),O(B,{"label-suffix":":","label-width":"160","scroll-to-error":"","element-loading-text":"\u52A0\u8F7D\u4E2D..."},{default:l(()=>[o(k,{modelValue:c.value,"onUpdate:modelValue":s[0]||(s[0]=h=>c.value=h),class:"collapse form-collapse"},{default:l(()=>[o(u,{title:"\u57FA\u7840\u4FE1\u606F",name:"1"},{default:l(()=>[o(X,{"detail-data":r.value},null,8,["detail-data"])]),_:1}),o(u,{title:"\u652F\u4ED8\u4FE1\u606F",name:"2"},{default:l(()=>[o(Y,{"detail-data":r.value},null,8,["detail-data"])]),_:1}),o(u,{title:"\u9A7E\u9A76\u8BC1\u4FE1\u606F",name:"3"},{default:l(()=>[o(Z,{"detail-data":r.value},null,8,["detail-data"])]),_:1}),o(u,{title:"\u884C\u9A76\u8BC1\u4FE1\u606F",name:"4"},{default:l(()=>[o(ee,{"detail-data":r.value},null,8,["detail-data"])]),_:1}),o(u,{title:"\u4FDD\u5355\u4FE1\u606F",name:"5"},{default:l(()=>[o(te,{"detail-data":r.value},null,8,["detail-data"])]),_:1}),o(u,{title:"\u8BBE\u5907\u4FE1\u606F",name:"6"},{default:l(()=>[o(ae,{"detail-data":r.value},null,8,["detail-data"])]),_:1})]),_:1},8,["modelValue"])]),_:1})),[[E,m.value]])]),L("div",ne,[b(v).query.status==="AUDITING"?(w(),$(Q,{key:0},[o(P,{type:"primary",onClick:s[1]||(s[1]=h=>d("PASS"))},{default:l(()=>[re]),_:1}),o(P,{type:"danger",onClick:s[2]||(s[2]=h=>d("REFUSE"))},{default:l(()=>[se]),_:1})],64)):z("",!0),o(P,{onClick:s[3]||(s[3]=h=>b(t).go(-1))},{default:l(()=>[le]),_:1})])])}}}),ye=M(ce,[["__scopeId","data-v-f805be1c"]]);export{ye as default}; | |||
var S=Object.defineProperty,V=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var I=(n,a,t)=>a in n?S(n,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[a]=t,F=(n,a)=>{for(var t in a||(a={}))A.call(a,t)&&I(n,t,a[t]);if(x)for(var t of x(a))D.call(a,t)&&I(n,t,a[t]);return n},R=(n,a)=>V(n,N(a));var f=(n,a,t)=>new Promise((v,c)=>{var r=d=>{try{_(t.next(d))}catch(e){c(e)}},m=d=>{try{_(t.throw(d))}catch(e){c(e)}},_=d=>d.done?v(d.value):Promise.resolve(d.value).then(r,m);_((t=t.apply(n,a)).next())});import{_ as M,d as T,u as U,k as j,r as g,o as q,f as p,P as K,g as w,c as $,b as L,C as G,n as O,w as l,e as o,v as b,F as Q,p as z,h as y,Q as H,E as J,i as W}from"./index.4f7e0e83.js";import X from"./basicInfo.8c061b9d.js";import Y from"./paymentInfo.b954f618.js";import Z from"./driverlicenseInfo.e53d9ebc.js";import ee from"./drivinglicenseInfo.db850138.js";import te from"./policyInfo.df522ca9.js";import ae from"./equipmentInfo.481f0e13.js";import{d as oe,a as C}from"./driverManage.e8cc832b.js";import{g as i}from"./uploadAction.b5d31dfd.js";const ie={class:"detail"},ne={class:"footer"},re=y("\u5BA1\u6838\u901A\u8FC7"),se=y("\u9A73\u56DE"),le=y("\u8FD4 \u56DE"),de=T({name:"detail"}),ce=Object.assign(de,{setup(n){const{proxy:a}=W(),t=U(),v=j(),c=g([]),r=g({}),m=g(!1),_=()=>f(this,null,function*(){m.value=!0;try{const e=(yield oe(v.query.userId)).data;r.value=R(F({},e),{cardPhotoFront:e.cardPhotoFront?yield i([e.cardPhotoFront]):void 0,cardPhotoReverse:e.cardPhotoReverse?yield i([e.cardPhotoReverse]):void 0,driverLicensePhotoFront:e.driverLicensePhotoFront?yield i([e.driverLicensePhotoFront]):void 0,driverLicensePhotoReverse:e.driverLicensePhotoReverse?yield i([e.driverLicensePhotoReverse]):void 0,drivingLicensePhotoFront:e.drivingLicensePhotoFront?yield i([e.drivingLicensePhotoFront]):void 0,drivingLicensePhotoReverse:e.drivingLicensePhotoReverse?yield i([e.drivingLicensePhotoReverse]):void 0,carPhoto:yield i(e.carPhoto),forcedInsurancePhoto:yield i(e.forcedInsurancePhoto),commercialInsurancePhoto:yield i(e.commercialInsurancePhoto),drivingInsurancePhoto:yield i(e.drivingInsurancePhoto),thirdInsurancePhoto:yield i(e.thirdInsurancePhoto),tripodPhoto:yield i(e.tripodPhoto),medicalKitPhoto:yield i(e.medicalKitPhoto),extinguisherPhoto:yield i(e.extinguisherPhoto),annualAuditPhoto:yield i(e.annualAuditPhoto)})}finally{m.value=!1,c.value=["1","2","3","4","5","6"]}}),d=e=>f(this,null,function*(){e==="PASS"?a.$messageBox.confirm("\u60A8\u786E\u8BA4\u5BA1\u6838\u901A\u8FC7\u5417?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>f(this,null,function*(){yield C({id:r.value.id,status:e}),localStorage.setItem("modify",1),a.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),t.go(-1)})):H.prompt("\u8BF7\u8F93\u5165\u9A73\u56DE\u539F\u56E0","\u9A73\u56DE",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",inputPattern:/^.*$/,inputErrorMessage:"\u8BF7\u8F93\u5165\u9A73\u56DE\u539F\u56E0"}).then(u=>f(this,[u],function*({value:s}){if(!s){J({type:"error",message:"\u8BF7\u8F93\u5165\u9A73\u56DE\u539F\u56E0"});return}yield C({id:r.value.id,status:e,rejectReason:s}),localStorage.setItem("modify",1),a.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),t.go(-1)}))});return q(()=>{_()}),(e,s)=>{const u=p("el-collapse-item"),k=p("el-collapse"),B=p("el-form"),P=p("el-button"),E=K("loading");return w(),$("div",ie,[L("div",null,[G((w(),O(B,{"label-suffix":":","label-width":"160","scroll-to-error":"","element-loading-text":"\u52A0\u8F7D\u4E2D..."},{default:l(()=>[o(k,{modelValue:c.value,"onUpdate:modelValue":s[0]||(s[0]=h=>c.value=h),class:"collapse form-collapse"},{default:l(()=>[o(u,{title:"\u57FA\u7840\u4FE1\u606F",name:"1"},{default:l(()=>[o(X,{"detail-data":r.value},null,8,["detail-data"])]),_:1}),o(u,{title:"\u652F\u4ED8\u4FE1\u606F",name:"2"},{default:l(()=>[o(Y,{"detail-data":r.value},null,8,["detail-data"])]),_:1}),o(u,{title:"\u9A7E\u9A76\u8BC1\u4FE1\u606F",name:"3"},{default:l(()=>[o(Z,{"detail-data":r.value},null,8,["detail-data"])]),_:1}),o(u,{title:"\u884C\u9A76\u8BC1\u4FE1\u606F",name:"4"},{default:l(()=>[o(ee,{"detail-data":r.value},null,8,["detail-data"])]),_:1}),o(u,{title:"\u4FDD\u5355\u4FE1\u606F",name:"5"},{default:l(()=>[o(te,{"detail-data":r.value},null,8,["detail-data"])]),_:1}),o(u,{title:"\u8BBE\u5907\u4FE1\u606F",name:"6"},{default:l(()=>[o(ae,{"detail-data":r.value},null,8,["detail-data"])]),_:1})]),_:1},8,["modelValue"])]),_:1})),[[E,m.value]])]),L("div",ne,[b(v).query.status==="AUDITING"?(w(),$(Q,{key:0},[o(P,{type:"primary",onClick:s[1]||(s[1]=h=>d("PASS"))},{default:l(()=>[re]),_:1}),o(P,{type:"danger",onClick:s[2]||(s[2]=h=>d("REFUSE"))},{default:l(()=>[se]),_:1})],64)):z("",!0),o(P,{onClick:s[3]||(s[3]=h=>b(t).go(-1))},{default:l(()=>[le]),_:1})])])}}}),ye=M(ce,[["__scopeId","data-v-f805be1c"]]);export{ye as default}; |
@@ -1,4 +1,4 @@ | |||
var Pe=(fe,pe,T)=>new Promise((M,E)=>{var x=r=>{try{e(T.next(r))}catch(s){E(s)}},v=r=>{try{e(T.throw(r))}catch(s){E(s)}},e=r=>r.done?M(r.value):Promise.resolve(r.value).then(x,v);e((T=T.apply(fe,pe)).next())});import{j as _e,d as Oe,r as Re,o as ze,c as Ie,k as Fe,g as Me}from"./index.56ad3315.js";import{d as Ce}from"./uploadAction.9c148b89.js";var Ee={exports:{}};function ke(fe){throw new Error('Could not dynamically require "'+fe+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var xe={exports:{}};/*! | |||
var Pe=(fe,pe,T)=>new Promise((M,E)=>{var x=r=>{try{e(T.next(r))}catch(s){E(s)}},v=r=>{try{e(T.throw(r))}catch(s){E(s)}},e=r=>r.done?M(r.value):Promise.resolve(r.value).then(x,v);e((T=T.apply(fe,pe)).next())});import{j as _e,d as Oe,r as Re,o as ze,c as Ie,k as Fe,g as Me}from"./index.4f7e0e83.js";import{d as Ce}from"./uploadAction.b5d31dfd.js";var Ee={exports:{}};function ke(fe){throw new Error('Could not dynamically require "'+fe+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var xe={exports:{}};/*! | |||
JSZip v3.10.1 - A JavaScript class for generating and reading zip files | |||
<http://stuartk.com/jszip> |
@@ -1 +1 @@ | |||
var U=Object.defineProperty,E=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var V=(l,e,a)=>e in l?U(l,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):l[e]=a,x=(l,e)=>{for(var a in e||(e={}))G.call(e,a)&&V(l,a,e[a]);if(T)for(var a of T(e))q.call(e,a)&&V(l,a,e[a]);return l},$=(l,e)=>E(l,F(e));var h=(l,e,a)=>new Promise((v,s)=>{var m=i=>{try{_(a.next(i))}catch(r){s(r)}},b=i=>{try{_(a.throw(i))}catch(r){s(r)}},_=i=>i.done?v(i.value):Promise.resolve(i.value).then(m,b);_((a=a.apply(l,e)).next())});import{l as A,a as H}from"./companyManage.4f2ff780.js";import{u as J}from"./useTreeSelectData.f80dc3c9.js";import{d as K,r as f,a as Q,o as X,R as Y,f as c,g as Z,c as ee,e as t,w as o,v as ae,b as g,h as D,O as te,i as oe}from"./index.56ad3315.js";import le from"./companyDialog.f07e1f0b.js";const se={class:"companyManage"},ne=D("\u67E5\u8BE2"),ie=D("\u91CD\u7F6E"),re={class:"flex justify-between items-center"},ce=g("span",null,"\u4F01\u4E1A\u5217\u8868",-1),de=D(" \u65B0\u589E\u4F01\u4E1A "),me=["onClick"],pe=["onClick"],ue=K({name:"companyManage"}),ye=Object.assign(ue,{setup(l){const{proxy:e}=oe(),{cascaderProps:a}=J(),v=f([]),s=f({}),m=f(),b=f(0),_=[{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u4F01\u4E1A\u540D\u79F0",key:"companyName",prop:"companyName",minWidth:"180",showOverflowTooltip:!0},{label:"\u6240\u5C5E\u533A\u57DF",key:"regionDisplayName",prop:"regionDisplayName",minWidth:"180",showOverflowTooltip:!0},{label:"\u9879\u76EE\u6570\u91CF",key:"projectCnt",prop:"projectCnt",width:"100"},{label:"\u8054\u7CFB\u4EBA",key:"contacts",render:n=>te("span",`${n.contacts} / ${n.contactsNo}`),minWidth:"220",showOverflowTooltip:!0},{label:"\u521B\u5EFA\u65F6\u95F4",key:"createTime",prop:"createTime",width:"180"},{label:"\u64CD\u4F5C",key:"action",slot:"action",width:"120",fixed:"right"}],i=f([]),r=(...w)=>h(this,[...w],function*(n=m.value.pageParams){var p;const y=yield A($(x(x({},n),s.value),{regionCode:(p=s.value.regionCode)==null?void 0:p.at(-1)}));b.value=y.data.total,i.value=y.data.records}),O=()=>{r()},P=()=>{s.value={},m.value.pageParams.pageNumber=1,m.value.pageParams.pageSize=10,r()},d=Q({visible:!1,rowData:void 0}),j=()=>{d.visible=!0,d.rowData=void 0},B=n=>{d.visible=!0,d.rowData=n},z=n=>{e.$messageBox.confirm("\u662F\u5426\u5220\u9664\u8BE5\u6570\u636E?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>h(this,null,function*(){yield H({id:n.companyId}),e.$message.success("\u5220\u9664\u6210\u529F\uFF01"),yield r()}))},M=n=>{d.visible=!1,n&&r()};return X(()=>h(this,null,function*(){v.value=(yield Y()).data,yield r()})),(n,w)=>{const y=c("el-input"),p=c("el-form-item"),C=c("el-col"),R=c("el-cascader"),k=c("el-button"),W=c("el-row"),I=c("el-form"),N=c("el-card"),L=c("table-list");return Z(),ee("div",se,[t(N,{shadow:"never",class:"search mb-16"},{default:o(()=>[t(I,{"label-suffix":":",model:s.value,size:"small"},{default:o(()=>[t(W,{gutter:16},{default:o(()=>[t(C,{span:6},{default:o(()=>[t(p,{label:"\u4F01\u4E1A\u540D\u79F0"},{default:o(()=>[t(y,{modelValue:s.value.companyName,"onUpdate:modelValue":w[0]||(w[0]=u=>s.value.companyName=u),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(C,{span:10},{default:o(()=>[t(p,{label:"\u6240\u5C5E\u533A\u57DF"},{default:o(()=>[t(R,{modelValue:s.value.regionCode,"onUpdate:modelValue":w[1]||(w[1]=u=>s.value.regionCode=u),props:ae(a),options:v.value,clearable:"",class:"w-full"},null,8,["modelValue","props","options"])]),_:1})]),_:1}),t(C,{span:8},{default:o(()=>[t(p,{class:"btn"},{default:o(()=>[t(k,{type:"primary",onClick:O},{default:o(()=>[ne]),_:1}),t(k,{type:"info",onClick:P},{default:o(()=>[ie]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(N,{shadow:"never"},{header:o(()=>[g("div",re,[ce,t(k,{type:"primary",icon:"Plus",size:"small",onClick:j},{default:o(()=>[de]),_:1})])]),default:o(()=>[t(L,{ref_key:"tableListRef",ref:m,column:_,data:i.value,total:b.value,onGetTableData:r},{action:o(({scope:u})=>[g("a",{class:"text-primary",onClick:S=>B(u.row)},"\u7F16\u8F91",8,me),g("a",{class:"text-danger",onClick:S=>z(u.row)},"\u5220\u9664",8,pe)]),_:1},8,["data","total"])]),_:1}),t(le,{visible:d.visible,data:d.rowData,onClose:M},null,8,["visible","data"])])}}});export{ye as default}; | |||
var U=Object.defineProperty,E=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var V=(l,e,a)=>e in l?U(l,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):l[e]=a,x=(l,e)=>{for(var a in e||(e={}))G.call(e,a)&&V(l,a,e[a]);if(T)for(var a of T(e))q.call(e,a)&&V(l,a,e[a]);return l},$=(l,e)=>E(l,F(e));var h=(l,e,a)=>new Promise((v,s)=>{var m=i=>{try{_(a.next(i))}catch(r){s(r)}},b=i=>{try{_(a.throw(i))}catch(r){s(r)}},_=i=>i.done?v(i.value):Promise.resolve(i.value).then(m,b);_((a=a.apply(l,e)).next())});import{l as A,a as H}from"./companyManage.d5b374b7.js";import{u as J}from"./useTreeSelectData.509ad0fb.js";import{d as K,r as f,a as Q,o as X,R as Y,f as c,g as Z,c as ee,e as t,w as o,v as ae,b as g,h as D,O as te,i as oe}from"./index.4f7e0e83.js";import le from"./companyDialog.99d04a6a.js";const se={class:"companyManage"},ne=D("\u67E5\u8BE2"),ie=D("\u91CD\u7F6E"),re={class:"flex justify-between items-center"},ce=g("span",null,"\u4F01\u4E1A\u5217\u8868",-1),de=D(" \u65B0\u589E\u4F01\u4E1A "),me=["onClick"],pe=["onClick"],ue=K({name:"companyManage"}),ye=Object.assign(ue,{setup(l){const{proxy:e}=oe(),{cascaderProps:a}=J(),v=f([]),s=f({}),m=f(),b=f(0),_=[{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u4F01\u4E1A\u540D\u79F0",key:"companyName",prop:"companyName",minWidth:"180",showOverflowTooltip:!0},{label:"\u6240\u5C5E\u533A\u57DF",key:"regionDisplayName",prop:"regionDisplayName",minWidth:"180",showOverflowTooltip:!0},{label:"\u9879\u76EE\u6570\u91CF",key:"projectCnt",prop:"projectCnt",width:"100"},{label:"\u8054\u7CFB\u4EBA",key:"contacts",render:n=>te("span",`${n.contacts} / ${n.contactsNo}`),minWidth:"220",showOverflowTooltip:!0},{label:"\u521B\u5EFA\u65F6\u95F4",key:"createTime",prop:"createTime",width:"180"},{label:"\u64CD\u4F5C",key:"action",slot:"action",width:"120",fixed:"right"}],i=f([]),r=(...w)=>h(this,[...w],function*(n=m.value.pageParams){var p;const y=yield A($(x(x({},n),s.value),{regionCode:(p=s.value.regionCode)==null?void 0:p.at(-1)}));b.value=y.data.total,i.value=y.data.records}),O=()=>{r()},P=()=>{s.value={},m.value.pageParams.pageNumber=1,m.value.pageParams.pageSize=10,r()},d=Q({visible:!1,rowData:void 0}),j=()=>{d.visible=!0,d.rowData=void 0},B=n=>{d.visible=!0,d.rowData=n},z=n=>{e.$messageBox.confirm("\u662F\u5426\u5220\u9664\u8BE5\u6570\u636E?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>h(this,null,function*(){yield H({id:n.companyId}),e.$message.success("\u5220\u9664\u6210\u529F\uFF01"),yield r()}))},M=n=>{d.visible=!1,n&&r()};return X(()=>h(this,null,function*(){v.value=(yield Y()).data,yield r()})),(n,w)=>{const y=c("el-input"),p=c("el-form-item"),C=c("el-col"),R=c("el-cascader"),k=c("el-button"),W=c("el-row"),I=c("el-form"),N=c("el-card"),L=c("table-list");return Z(),ee("div",se,[t(N,{shadow:"never",class:"search mb-16"},{default:o(()=>[t(I,{"label-suffix":":",model:s.value,size:"small"},{default:o(()=>[t(W,{gutter:16},{default:o(()=>[t(C,{span:6},{default:o(()=>[t(p,{label:"\u4F01\u4E1A\u540D\u79F0"},{default:o(()=>[t(y,{modelValue:s.value.companyName,"onUpdate:modelValue":w[0]||(w[0]=u=>s.value.companyName=u),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(C,{span:10},{default:o(()=>[t(p,{label:"\u6240\u5C5E\u533A\u57DF"},{default:o(()=>[t(R,{modelValue:s.value.regionCode,"onUpdate:modelValue":w[1]||(w[1]=u=>s.value.regionCode=u),props:ae(a),options:v.value,clearable:"",class:"w-full"},null,8,["modelValue","props","options"])]),_:1})]),_:1}),t(C,{span:8},{default:o(()=>[t(p,{class:"btn"},{default:o(()=>[t(k,{type:"primary",onClick:O},{default:o(()=>[ne]),_:1}),t(k,{type:"info",onClick:P},{default:o(()=>[ie]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(N,{shadow:"never"},{header:o(()=>[g("div",re,[ce,t(k,{type:"primary",icon:"Plus",size:"small",onClick:j},{default:o(()=>[de]),_:1})])]),default:o(()=>[t(L,{ref_key:"tableListRef",ref:m,column:_,data:i.value,total:b.value,onGetTableData:r},{action:o(({scope:u})=>[g("a",{class:"text-primary",onClick:S=>B(u.row)},"\u7F16\u8F91",8,me),g("a",{class:"text-danger",onClick:S=>z(u.row)},"\u5220\u9664",8,pe)]),_:1},8,["data","total"])]),_:1}),t(le,{visible:d.visible,data:d.rowData,onClose:M},null,8,["visible","data"])])}}});export{ye as default}; |
@@ -1 +0,0 @@ | |||
import{u as g}from"./orderManage.83f936be.js";import{d as h,k as Y,r as u,o as b,f as d,g as x,c as D,e,w as n,b as o,t as s,v as _,M as m,h as c}from"./index.56ad3315.js";import{_ as M}from"./index.14cc7793.js";import"./locationTransform.e2d22cb6.js";const T={class:"track-playback"},C=c(" \u64AD\u653E\u8F68\u8FF9 "),N=c("\u6682\u505C\u52A8\u753B"),H=c("\u7EE7\u7EED\u52A8\u753B"),V=h({name:"trackPlayback"}),q=Object.assign(V,{setup(A){const p=Y(),a=u({});b(()=>{f()});const t=u(null);function f(){g(p.query.orderId).then(l=>{a.value=l.data,t.value.initTrack(l.data.locusLocationList)})}const v=()=>{t.value.start()},k=()=>{t.value.pause()},y=()=>{t.value.start()};return(l,B)=>{const i=d("el-button"),r=d("el-card");return x(),D("div",T,[e(M,{ref_key:"tiandiTrack",ref:t,class:"map"},null,512),e(r,{class:"input-card"},{default:n(()=>[e(i,{type:"primary",icon:"VideoPlay",onClick:v},{default:n(()=>[C]),_:1}),e(i,{type:"primary",onClick:k},{default:n(()=>[N]),_:1}),e(i,{type:"primary",onClick:y},{default:n(()=>[H]),_:1})]),_:1}),e(r,{class:"title-card",style:{"z-index":"999"}},{default:n(()=>[o("div",null,"\u8F66\u724C\u53F7\uFF1A"+s(a.value.carNo),1),o("div",null," \u7528\u8F66\u65F6\u95F4\uFF1A"+s(_(m)(a.value.beginTime).format("YYYY-MM-DD HH:mm")),1),o("div",null," \u7ED3\u675F\u65F6\u95F4\uFF1A"+s(_(m)(a.value.endTime).format("YYYY-MM-DD HH:mm")),1),o("div",null,"\u53F8\u673A\u59D3\u540D\uFF1A"+s(a.value.driverName),1),o("div",null,"\u8F66\u673A\u8F68\u8FF9\u91CC\u7A0B(km)\uFF1A"+s(a.value.gpsMileage),1)]),_:1})])}}});export{q as default}; |
@@ -1 +1 @@ | |||
import{N as r}from"./index.56ad3315.js";const o={1:"/api/v1/order/toBeDispatched",10:"/api/v1/order/accept",20:"/api/v1/order/service",30:"/api/v1/order/car/address",40:"/api/v1/order/cancel",50:"/api/v1/order/confirm",60:"/api/v1/order/confirm/right",70:"/api/v1/order/all",80:"/api/v1/order/confirm/right"},p=(e,t)=>r.get(o[e],{params:t}),a=e=>r.post("/api/v1/user-info/driver/list",e),i=e=>r.post("/api/v1/order/dispatch",e),d=e=>r.get("/api/v1/order/detail",{params:e}),c=e=>r.put("/api/v1/order/cancel",e),n=e=>r.put("/api/v1/order/applet/manager/complete",e),v=e=>r.get(`/api/v1/order/applet/gps/${e}`),l=e=>r.get("/api/v1/order/export",{params:e,responseType:"blob"}),g=e=>r.get("/api/v1/order/exportSettlementForDriver",{params:e,responseType:"blob"}),m=e=>r.put("/api/v1/order/driver",e),f=e=>r.post("/api/v1/order/address/boardingOrDropOffAddressModify",e),b=e=>r.post(`/api/v1/project/detail/${e}`),y=e=>r.get("/dict/data/option/listByType",{params:e}),j=e=>r.put("/api/v1/order/all",e),x=e=>r.get("/api/v1/project/fee",{params:e}),h=e=>r.get("api/v1/settlement/confirm/order",{params:e}),T=e=>r.get("/api/v1/settlement/export/order",{params:e,responseType:"blob"}),u=e=>r.post("/api/v1/order/admin/complete",e),D=e=>r.post("/api/v1/order/admin/confirmed/boarding",e),O=e=>r.get("/api/v1/project/my/project-page",{params:e}),L=e=>r.get("/api/v1/order/downGpsMapImages",{params:e,responseType:"blob"});export{T as a,l as b,f as c,d,g as e,a as f,m as g,i as h,c as i,n as j,u as k,p as l,D as m,L as n,b as o,O as p,j as q,x as r,y as s,h as t,v as u}; | |||
import{N as r}from"./index.4f7e0e83.js";const o={1:"/api/v1/order/toBeDispatched",10:"/api/v1/order/accept",20:"/api/v1/order/service",30:"/api/v1/order/car/address",40:"/api/v1/order/cancel",50:"/api/v1/order/confirm",60:"/api/v1/order/confirm/right",70:"/api/v1/order/all",80:"/api/v1/order/confirm/right"},p=(e,t)=>r.get(o[e],{params:t}),a=e=>r.post("/api/v1/user-info/driver/list",e),i=e=>r.post("/api/v1/order/dispatch",e),d=e=>r.get("/api/v1/order/detail",{params:e}),c=e=>r.put("/api/v1/order/cancel",e),n=e=>r.put("/api/v1/order/applet/manager/complete",e),v=e=>r.get(`/api/v1/order/applet/gps/${e}`),l=e=>r.get("/api/v1/order/export",{params:e,responseType:"blob"}),g=e=>r.get("/api/v1/order/exportSettlementForDriver",{params:e,responseType:"blob"}),m=e=>r.put("/api/v1/order/driver",e),f=e=>r.post("/api/v1/order/address/boardingOrDropOffAddressModify",e),b=e=>r.post(`/api/v1/project/detail/${e}`),y=e=>r.get("/dict/data/option/listByType",{params:e}),j=e=>r.put("/api/v1/order/all",e),x=e=>r.get("/api/v1/project/fee",{params:e}),h=e=>r.get("api/v1/settlement/confirm/order",{params:e}),T=e=>r.get("/api/v1/settlement/export/order",{params:e,responseType:"blob"}),u=e=>r.post("/api/v1/order/admin/complete",e),D=e=>r.post("/api/v1/order/admin/confirmed/boarding",e),O=e=>r.get("/api/v1/project/my/project-page",{params:e}),L=e=>r.get("/api/v1/order/downGpsMapImages",{params:e,responseType:"blob"});export{T as a,l as b,f as c,d,g as e,a as f,m as g,i as h,c as i,n as j,u as k,p as l,D as m,L as n,b as o,O as p,j as q,x as r,y as s,h as t,v as u}; |
@@ -1 +1 @@ | |||
import{d as i,s as b,f as l,g as k,c as N,e,w as a,v as n}from"./index.56ad3315.js";const V={class:"paymentInfo"},C=i({name:"paymentInfo"}),w=Object.assign(C,{props:{formData:{type:Object,default:()=>{}}},emits:["updata:formData"],setup(u,{emit:_}){const c=u,o=b({get(){return c.formData},set(r){_("updata:formData",r)}});return(r,t)=>{const s=l("el-input"),p=l("el-form-item"),d=l("el-col"),f=l("el-row");return k(),N("div",V,[e(f,{gutter:30},{default:a(()=>[e(d,{span:12},{default:a(()=>[e(p,{label:"\u5F00\u6237\u94F6\u884C",prop:"bankName"},{default:a(()=>[e(s,{modelValue:n(o).bankName,"onUpdate:modelValue":t[0]||(t[0]=m=>n(o).bankName=m),placeholder:"\u8BF7\u8F93\u5165\u5F00\u6237\u94F6\u884C",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:a(()=>[e(p,{label:"\u94F6\u884C\u5361\u53F7",prop:"bankCardNo"},{default:a(()=>[e(s,{modelValue:n(o).bankCardNo,"onUpdate:modelValue":t[1]||(t[1]=m=>n(o).bankCardNo=m),placeholder:"\u8BF7\u8F93\u5165\u94F6\u884C\u5361\u53F7",maxlength:20},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})])}}});export{w as default}; | |||
import{d as i,s as b,f as l,g as k,c as N,e,w as a,v as n}from"./index.4f7e0e83.js";const V={class:"paymentInfo"},C=i({name:"paymentInfo"}),w=Object.assign(C,{props:{formData:{type:Object,default:()=>{}}},emits:["updata:formData"],setup(u,{emit:_}){const c=u,o=b({get(){return c.formData},set(r){_("updata:formData",r)}});return(r,t)=>{const s=l("el-input"),p=l("el-form-item"),d=l("el-col"),f=l("el-row");return k(),N("div",V,[e(f,{gutter:30},{default:a(()=>[e(d,{span:12},{default:a(()=>[e(p,{label:"\u5F00\u6237\u94F6\u884C",prop:"bankName"},{default:a(()=>[e(s,{modelValue:n(o).bankName,"onUpdate:modelValue":t[0]||(t[0]=m=>n(o).bankName=m),placeholder:"\u8BF7\u8F93\u5165\u5F00\u6237\u94F6\u884C",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:a(()=>[e(p,{label:"\u94F6\u884C\u5361\u53F7",prop:"bankCardNo"},{default:a(()=>[e(s,{modelValue:n(o).bankCardNo,"onUpdate:modelValue":t[1]||(t[1]=m=>n(o).bankCardNo=m),placeholder:"\u8BF7\u8F93\u5165\u94F6\u884C\u5361\u53F7",maxlength:20},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})])}}});export{w as default}; |
@@ -1 +1 @@ | |||
import{d,f as a,g as r,c as m,e,w as t,h as s,t as c}from"./index.56ad3315.js";const f={class:"paymentInfo"},p=d({name:"paymentInfo"}),g=Object.assign(p,{props:{detailData:{type:Object,default:()=>{}}},setup(o){return(i,u)=>{const n=a("el-form-item"),l=a("el-col"),_=a("el-row");return r(),m("div",f,[e(_,{gutter:30},{default:t(()=>[e(l,{span:12},{default:t(()=>[e(n,{label:"\u5F00\u6237\u94F6\u884C"},{default:t(()=>[s(c(o.detailData.bankName||"-"),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(n,{label:"\u94F6\u884C\u5361\u53F7"},{default:t(()=>[s(c(o.detailData.bankCardNo||"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{g as default}; | |||
import{d,f as a,g as r,c as m,e,w as t,h as s,t as c}from"./index.4f7e0e83.js";const f={class:"paymentInfo"},p=d({name:"paymentInfo"}),g=Object.assign(p,{props:{detailData:{type:Object,default:()=>{}}},setup(o){return(i,u)=>{const n=a("el-form-item"),l=a("el-col"),_=a("el-row");return r(),m("div",f,[e(_,{gutter:30},{default:t(()=>[e(l,{span:12},{default:t(()=>[e(n,{label:"\u5F00\u6237\u94F6\u884C"},{default:t(()=>[s(c(o.detailData.bankName||"-"),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(n,{label:"\u94F6\u884C\u5361\u53F7"},{default:t(()=>[s(c(o.detailData.bankCardNo||"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{g as default}; |
@@ -1 +1 @@ | |||
import{d as k,f as u,g as s,n as f,w as t,e as a,h as r,t as d,c as b,q as g,F as N}from"./index.56ad3315.js";const w=k({name:"projectDetailDrawer"}),C=Object.assign(w,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(l,{emit:j}){return(x,_)=>{var p;const o=u("el-descriptions-item"),i=u("el-tag"),v=u("el-descriptions"),y=u("el-drawer");return s(),f(y,{"model-value":l.visible,title:`\u9879\u76EE\u540D\u79F0: ${(p=l.data)==null?void 0:p.projectName}`,size:"560px",onClose:_[0]||(_[0]=e=>j("close"))},{default:t(()=>[a(v,{column:2},{default:t(()=>[a(o,{label:"\u9879\u76EE\u7F16\u53F7"},{default:t(()=>{var e;return[r(d((e=l.data)==null?void 0:e.projectNum),1)]}),_:1}),a(o,{label:"\u6240\u5C5E\u4F01\u4E1A"},{default:t(()=>{var e;return[r(d((e=l.data)==null?void 0:e.companyName),1)]}),_:1}),a(o,{label:"\u6240\u5C5E\u533A\u57DF"},{default:t(()=>{var e;return[r(d((e=l.data)==null?void 0:e.regionDisplayName),1)]}),_:1}),a(o,{label:"\u9879\u76EE\u7ECF\u7406",span:2},{default:t(()=>{var e,n;return[(s(!0),b(N,null,g((n=(e=l.data)==null?void 0:e.projectManagerList)!=null?n:[],(c,m)=>(s(),f(i,{key:m},{default:t(()=>[r(d(c.realName),1)]),_:2},1024))),128))]}),_:1}),a(o,{label:"\u5DE5\u7A0B\u5E08",span:2},{default:t(()=>{var e,n;return[(s(!0),b(N,null,g((n=(e=l.data)==null?void 0:e.engineerList)!=null?n:[],(c,m)=>(s(),f(i,{key:m},{default:t(()=>[r(d(c.realName),1)]),_:2},1024))),128))]}),_:1}),a(o,{label:"\u8BA2\u5355\u5BA1\u6838\u5458"},{default:t(()=>[a(i,null,{default:t(()=>{var e,n;return[r(d((n=(e=l.data)==null?void 0:e.orderAuditUser)==null?void 0:n.realName),1)]}),_:1})]),_:1}),a(o,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA"},{default:t(()=>[a(i,null,{default:t(()=>{var e;return[r(d((e=l.data)==null?void 0:e.projectLeader),1)]}),_:1})]),_:1})]),_:1})]),_:1},8,["model-value","title"])}}});export{C as default}; | |||
import{d as k,f as u,g as s,n as f,w as t,e as a,h as r,t as d,c as b,q as g,F as N}from"./index.4f7e0e83.js";const w=k({name:"projectDetailDrawer"}),C=Object.assign(w,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(l,{emit:j}){return(x,_)=>{var p;const o=u("el-descriptions-item"),i=u("el-tag"),v=u("el-descriptions"),y=u("el-drawer");return s(),f(y,{"model-value":l.visible,title:`\u9879\u76EE\u540D\u79F0: ${(p=l.data)==null?void 0:p.projectName}`,size:"560px",onClose:_[0]||(_[0]=e=>j("close"))},{default:t(()=>[a(v,{column:2},{default:t(()=>[a(o,{label:"\u9879\u76EE\u7F16\u53F7"},{default:t(()=>{var e;return[r(d((e=l.data)==null?void 0:e.projectNum),1)]}),_:1}),a(o,{label:"\u6240\u5C5E\u4F01\u4E1A"},{default:t(()=>{var e;return[r(d((e=l.data)==null?void 0:e.companyName),1)]}),_:1}),a(o,{label:"\u6240\u5C5E\u533A\u57DF"},{default:t(()=>{var e;return[r(d((e=l.data)==null?void 0:e.regionDisplayName),1)]}),_:1}),a(o,{label:"\u9879\u76EE\u7ECF\u7406",span:2},{default:t(()=>{var e,n;return[(s(!0),b(N,null,g((n=(e=l.data)==null?void 0:e.projectManagerList)!=null?n:[],(c,m)=>(s(),f(i,{key:m},{default:t(()=>[r(d(c.realName),1)]),_:2},1024))),128))]}),_:1}),a(o,{label:"\u5DE5\u7A0B\u5E08",span:2},{default:t(()=>{var e,n;return[(s(!0),b(N,null,g((n=(e=l.data)==null?void 0:e.engineerList)!=null?n:[],(c,m)=>(s(),f(i,{key:m},{default:t(()=>[r(d(c.realName),1)]),_:2},1024))),128))]}),_:1}),a(o,{label:"\u8BA2\u5355\u5BA1\u6838\u5458"},{default:t(()=>[a(i,null,{default:t(()=>{var e,n;return[r(d((n=(e=l.data)==null?void 0:e.orderAuditUser)==null?void 0:n.realName),1)]}),_:1})]),_:1}),a(o,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA"},{default:t(()=>[a(i,null,{default:t(()=>{var e;return[r(d((e=l.data)==null?void 0:e.projectLeader),1)]}),_:1})]),_:1})]),_:1})]),_:1},8,["model-value","title"])}}});export{C as default}; |
@@ -1 +1 @@ | |||
import{N as e}from"./index.56ad3315.js";const a=t=>e.post("/api/v1/project/list",t),o=t=>e.post("/api/v1/project/save",t),p=t=>e.post(`/api/v1/project/detail/${t}`),i=t=>e.delete("/api/v1/project/del",{data:t}),d=t=>e.put("/api/v1/project/edit/orderAuditNotifyEnable",t),r=t=>e.put("/api/v1/project/edit/state",t);export{r as a,i as b,p as d,d as e,a as l,o as s}; | |||
import{N as e}from"./index.4f7e0e83.js";const a=t=>e.post("/api/v1/project/list",t),o=t=>e.post("/api/v1/project/save",t),p=t=>e.post(`/api/v1/project/detail/${t}`),i=t=>e.delete("/api/v1/project/del",{data:t}),d=t=>e.put("/api/v1/project/edit/orderAuditNotifyEnable",t),r=t=>e.put("/api/v1/project/edit/state",t);export{r as a,i as b,p as d,d as e,a as l,o as s}; |
@@ -1 +1 @@ | |||
import{d as p,y as f,f as s,g as u,c as v,e as a,w as _,b as e,t as o,v as n,h as x}from"./index.56ad3315.js";const h={class:"projectManageHome"},g={class:"flex justify-between items-center"},N={class:"flex items-center"},b={class:"flex items-center text-18 text-303133"},B={class:"mr-8 font-bold"},j={class:"text-14 text-818488"},w=p({name:"projectManageHome"}),H=Object.assign(w,{setup(y){const t=f.userStore.userBaseInfo;return(C,V)=>{const i=s("el-avatar"),d=s("el-tag"),m=s("el-card");return u(),v("div",h,[a(m,{shadow:"never",class:"mb-16"},{default:_(()=>{var c,l;return[e("div",g,[e("div",N,[a(i,{size:56,icon:"User",class:"mr-16"}),e("div",null,[e("div",b,[e("span",B,"\u4F60\u597D\uFF0C"+o((c=n(t))==null?void 0:c.realName),1),a(d,null,{default:_(()=>{var r;return[x(o((r=n(t))==null?void 0:r.roleName),1)]}),_:1})]),e("div",null,[e("span",j,o((l=n(t))==null?void 0:l.companyName),1)])])])])]}),_:1})])}}});export{H as default}; | |||
import{d as p,y as f,f as s,g as u,c as v,e as a,w as _,b as e,t as o,v as n,h as x}from"./index.4f7e0e83.js";const h={class:"projectManageHome"},g={class:"flex justify-between items-center"},N={class:"flex items-center"},b={class:"flex items-center text-18 text-303133"},B={class:"mr-8 font-bold"},j={class:"text-14 text-818488"},w=p({name:"projectManageHome"}),H=Object.assign(w,{setup(y){const t=f.userStore.userBaseInfo;return(C,V)=>{const i=s("el-avatar"),d=s("el-tag"),m=s("el-card");return u(),v("div",h,[a(m,{shadow:"never",class:"mb-16"},{default:_(()=>{var c,l;return[e("div",g,[e("div",N,[a(i,{size:56,icon:"User",class:"mr-16"}),e("div",null,[e("div",b,[e("span",B,"\u4F60\u597D\uFF0C"+o((c=n(t))==null?void 0:c.realName),1),a(d,null,{default:_(()=>{var r;return[x(o((r=n(t))==null?void 0:r.roleName),1)]}),_:1})]),e("div",null,[e("span",j,o((l=n(t))==null?void 0:l.companyName),1)])])])])]}),_:1})])}}});export{H as default}; |
@@ -1 +1 @@ | |||
var _=(s,c,n)=>new Promise((l,u)=>{var p=t=>{try{o(n.next(t))}catch(v){u(v)}},e=t=>{try{o(n.throw(t))}catch(v){u(v)}},o=t=>t.done?l(t.value):Promise.resolve(t.value).then(p,e);o((n=n.apply(s,c)).next())});import{A as I}from"./index.533b5a53.js";import{_ as S,d as z,r as b,a1 as q,z as N,f as y,g as V,n as $,w as m,e as h,h as C,J as B,L as D,b as A}from"./index.56ad3315.js";const M=s=>(B("data-v-d9c37bbd"),s=s(),D(),s),L=M(()=>A("input",{id:"searchInput",placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57",class:"mb-16 w-full leading-[32px] rounded-[4px] px-11 py-1",style:{"box-shadow":"0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset",outline:"none"}},null,-1)),P=M(()=>A("div",{id:"map",class:"map"},null,-1)),G=C(" \u786E\u5B9A "),T=C(" \u5173\u95ED "),W=z({name:"queryAddressDialog"}),j=Object.assign(W,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(s,{emit:c}){const n=s;let l,u,p;const e=b({}),o=q(null),t=b(),v=r=>_(this,null,function*(){try{l=yield I.load({key:"75043a78a63743c51c18058e73a2a70e",version:"2.0",plugins:["AMap.AutoComplete","AMap.PlaceSearch","AMap.Geocoder","AMap.InfoWindow"]}),o.value=new l.Map("map",{resizeEnable:!0,center:r,zoom:17}),t.value=new l.Marker({position:new l.LngLat(r[0],r[1]),anchor:"bottom-center"}),o.value.add(t.value),l.plugin(["AMap.PlaceSearch","AMap.AutoComplete"],()=>{const d=new l.AutoComplete({input:"searchInput"}),a=new l.PlaceSearch({map:o.value}),g=i=>{a.setCity(i.poi.adcode),a.search(i.poi.name)};d.on("select",g),a.on("markerClick",i=>{e.value.longitude=i.data.location.lng,e.value.latitude=i.data.location.lat,w(),f()})}),u=new l.Geocoder({}),p=new l.InfoWindow({offset:new l.Pixel(0,-30)}),o.value.on("click",d=>{e.value.longitude=d.lnglat.lng,e.value.latitude=d.lnglat.lat,f(),w()})}catch(d){console.error(d)}}),f=()=>{x(),o.value.setFitView(),t.value=new l.Marker({map:o.value,position:[e.value.longitude,e.value.latitude],zIndex:9999999999}),o.value.setFitView(),o.value.add(t.value)},x=()=>{t.value&&o.value.remove(t.value)},w=()=>{const r=[e.value.longitude,e.value.latitude];u.getAddress(r,(d,a)=>{d==="complete"&&a.regeocode&&(e.value.region=`${a.regeocode.addressComponent.province}-${a.regeocode.addressComponent.city}-${a.regeocode.addressComponent.district}`,e.value.regionCode=a.regeocode.addressComponent.adcode,e.value.address=a.regeocode.formattedAddress,console.log(e.value),console.log(a),p.setContent(a.regeocode.formattedAddress),p.open(o.value,[e.value.longitude,e.value.latitude]))})},k=()=>{c("close",e.value)};return N(()=>n.visible,r=>_(this,null,function*(){r?(e.value.addressType=n.data.addressType,e.value.id=n.data.id,yield v([Number(n.data.lng),Number(n.data.lat)])):e.value={}})),(r,d)=>{const a=y("el-button"),g=y("el-dialog");return V(),$(g,{"model-value":s.visible,title:"\u5730\u70B9\u67E5\u8BE2",width:"840px","destroy-on-close":"",onClose:d[1]||(d[1]=i=>c("close"))},{footer:m(()=>[h(a,{type:"primary",size:"small",onClick:k},{default:m(()=>[G]),_:1}),h(a,{type:"info",size:"small",onClick:d[0]||(d[0]=i=>c("close"))},{default:m(()=>[T]),_:1})]),default:m(()=>[L,P]),_:1},8,["model-value"])}}}),J=S(j,[["__scopeId","data-v-d9c37bbd"]]);export{J as default}; | |||
var _=(s,c,n)=>new Promise((l,u)=>{var p=t=>{try{o(n.next(t))}catch(v){u(v)}},e=t=>{try{o(n.throw(t))}catch(v){u(v)}},o=t=>t.done?l(t.value):Promise.resolve(t.value).then(p,e);o((n=n.apply(s,c)).next())});import{A as I}from"./index.47fabc02.js";import{_ as S,d as z,r as b,a1 as q,z as N,f as y,g as V,n as $,w as m,e as h,h as C,J as B,L as D,b as A}from"./index.4f7e0e83.js";const M=s=>(B("data-v-d9c37bbd"),s=s(),D(),s),L=M(()=>A("input",{id:"searchInput",placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57",class:"mb-16 w-full leading-[32px] rounded-[4px] px-11 py-1",style:{"box-shadow":"0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset",outline:"none"}},null,-1)),P=M(()=>A("div",{id:"map",class:"map"},null,-1)),G=C(" \u786E\u5B9A "),T=C(" \u5173\u95ED "),W=z({name:"queryAddressDialog"}),j=Object.assign(W,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(s,{emit:c}){const n=s;let l,u,p;const e=b({}),o=q(null),t=b(),v=r=>_(this,null,function*(){try{l=yield I.load({key:"75043a78a63743c51c18058e73a2a70e",version:"2.0",plugins:["AMap.AutoComplete","AMap.PlaceSearch","AMap.Geocoder","AMap.InfoWindow"]}),o.value=new l.Map("map",{resizeEnable:!0,center:r,zoom:17}),t.value=new l.Marker({position:new l.LngLat(r[0],r[1]),anchor:"bottom-center"}),o.value.add(t.value),l.plugin(["AMap.PlaceSearch","AMap.AutoComplete"],()=>{const d=new l.AutoComplete({input:"searchInput"}),a=new l.PlaceSearch({map:o.value}),g=i=>{a.setCity(i.poi.adcode),a.search(i.poi.name)};d.on("select",g),a.on("markerClick",i=>{e.value.longitude=i.data.location.lng,e.value.latitude=i.data.location.lat,w(),f()})}),u=new l.Geocoder({}),p=new l.InfoWindow({offset:new l.Pixel(0,-30)}),o.value.on("click",d=>{e.value.longitude=d.lnglat.lng,e.value.latitude=d.lnglat.lat,f(),w()})}catch(d){console.error(d)}}),f=()=>{x(),o.value.setFitView(),t.value=new l.Marker({map:o.value,position:[e.value.longitude,e.value.latitude],zIndex:9999999999}),o.value.setFitView(),o.value.add(t.value)},x=()=>{t.value&&o.value.remove(t.value)},w=()=>{const r=[e.value.longitude,e.value.latitude];u.getAddress(r,(d,a)=>{d==="complete"&&a.regeocode&&(e.value.region=`${a.regeocode.addressComponent.province}-${a.regeocode.addressComponent.city}-${a.regeocode.addressComponent.district}`,e.value.regionCode=a.regeocode.addressComponent.adcode,e.value.address=a.regeocode.formattedAddress,console.log(e.value),console.log(a),p.setContent(a.regeocode.formattedAddress),p.open(o.value,[e.value.longitude,e.value.latitude]))})},k=()=>{c("close",e.value)};return N(()=>n.visible,r=>_(this,null,function*(){r?(e.value.addressType=n.data.addressType,e.value.id=n.data.id,yield v([Number(n.data.lng),Number(n.data.lat)])):e.value={}})),(r,d)=>{const a=y("el-button"),g=y("el-dialog");return V(),$(g,{"model-value":s.visible,title:"\u5730\u70B9\u67E5\u8BE2",width:"840px","destroy-on-close":"",onClose:d[1]||(d[1]=i=>c("close"))},{footer:m(()=>[h(a,{type:"primary",size:"small",onClick:k},{default:m(()=>[G]),_:1}),h(a,{type:"info",size:"small",onClick:d[0]||(d[0]=i=>c("close"))},{default:m(()=>[T]),_:1})]),default:m(()=>[L,P]),_:1},8,["model-value"])}}}),J=S(j,[["__scopeId","data-v-d9c37bbd"]]);export{J as default}; |
@@ -1 +1 @@ | |||
var k=(n,e,t)=>new Promise((l,d)=>{var m=i=>{try{u(t.next(i))}catch(s){d(s)}},r=i=>{try{u(t.throw(i))}catch(s){d(s)}},u=i=>i.done?l(i.value):Promise.resolve(i.value).then(m,r);u((t=t.apply(n,e)).next())});import{_ as M,d as V,r as j,z as B,f as C,g as N,n as A,w as b,e as x,h as q,A as D,J as O,L as z,b as Q,i as R}from"./index.56ad3315.js";function I(n,e){n=n.replace(/=/g,"");var t=[];switch(e.constructor){case String:case Number:case Boolean:t.push(encodeURIComponent(n)+"="+encodeURIComponent(e));break;case Array:e.forEach(function(l){t=t.concat(I(n+"[]=",l))});break;case Object:Object.keys(e).forEach(function(l){var d=e[l];t=t.concat(I(n+"["+l+"]",d))})}return t}function $(n){var e=[];return n.forEach(function(t){typeof t=="string"?e.push(t):e=e.concat($(t))}),e}function T(n,e,t){if(e===void 0&&(e={}),typeof n!="string")throw new Error('[Vue-jsonp] Type of param "url" is not string.');if(typeof e!="object"||!e)throw new Error("[Vue-jsonp] Invalid params, should be an object.");return t=typeof t=="number"?t:5e3,new Promise(function(l,d){var m=typeof e.callbackQuery=="string"?e.callbackQuery:"callback",r=typeof e.callbackName=="string"?e.callbackName:"jsonp_"+(Math.floor(1e5*Math.random())*Date.now()).toString(16);e[m]=r,delete e.callbackQuery,delete e.callbackName;var u=[];Object.keys(e).forEach(function(f){u=u.concat(I(f,e[f]))});var i=$(u).join("&"),s=function(){v(),clearTimeout(_),d({status:400,statusText:"Bad Request"})},v=function(){p.removeEventListener("error",s)},h=function(){document.body.removeChild(p),delete window[r]},_=null;t>-1&&(_=setTimeout(function(){v(),h(),d({statusText:"Request Timeout",status:408})},t)),window[r]=function(f){clearTimeout(_),v(),h(),l(f)};var p=document.createElement("script");p.addEventListener("error",s),p.src=n+(/\?/.test(n)?"&":"?")+i,document.body.appendChild(p)})}const U=n=>(O("data-v-fcaecf15"),n=n(),z(),n),F=U(()=>Q("div",{id:"map",class:"map"},null,-1)),G=q("\u786E\u5B9A"),H=q(" \u5173\u95ED "),Y=V({name:"queryAddressDialog"}),P=Object.assign(Y,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(n,{emit:e}){const t=n;let l,d;const{proxy:m}=R(),r=window.TMap,u="YYUBZ-IPZ35-HB4IL-ICGH3-ICY43-V2FCQ",i=j(""),s=j({}),v=a=>k(this,null,function*(){yield D();try{l=new r.Map("map",{center:a,zoom:15,mapStyleId:"style1"}),d=new r.MultiMarker({map:l,styles:{marker:new r.MarkerStyle({width:20,height:30,anchor:{x:10,y:30}})},geometries:[{position:a,id:"marker"}]}),l.on("click",h)}catch(o){console.error(o)}}),h=a=>{const o=+a.latLng.lat.toFixed(6),c=+a.latLng.lng.toFixed(6);s.value.longitude=c,s.value.latitude=o,L(o,c),d.geometries=[],d.updateGeometries([{id:"marker",position:new r.LatLng(o,c)}])},_=(a,o)=>{T("https://apis.map.qq.com/ws/place/v1/suggestion",{key:u,keyword:a,output:"jsonp"}).then(c=>{if(c.status===0){const g=c.data;o(g)}else m.$message.error(c.message)})},p=a=>{s.value.longitude=a.location.lng,s.value.latitude=a.location.lat,f(a.location.lat,a.location.lng),L(a.location.lat,a.location.lng)},f=(a,o)=>{l.setCenter(new r.LatLng(a,o)),d.updateGeometries([{id:"marker",position:new r.LatLng(a,o)}])},L=(a,o)=>{T("https://apis.map.qq.com/ws/geocoder/v1/?",{location:`${a},${o}`,key:u,output:"jsonp"}).then(c=>{if(c.status===0){const{adcode:g,city:w,province:y,district:E}=c.result.ad_info||{};s.value.regionCode=g,s.value.region=`${y}-${w}-${E}`,s.value.address=`${y}${w}${c.result.formatted_addresses.recommend}`}else m.$message.error(c.message)})},S=()=>{e("close",s.value)};return B(()=>t.visible,a=>k(this,null,function*(){if(!a)s.value={},i.value="",l&&l.destroy();else{s.value.addressType=t.data.addressType,s.value.id=t.data.id;const o=new r.LatLng(+t.data.lat,+t.data.lng);yield v(o)}})),(a,o)=>{const c=C("el-autocomplete"),g=C("el-button"),w=C("el-dialog");return N(),A(w,{"model-value":n.visible,title:"\u5730\u70B9\u67E5\u8BE2",width:"840px","destroy-on-close":"",onClose:o[2]||(o[2]=y=>e("close"))},{footer:b(()=>[x(g,{type:"primary",size:"small",onClick:S},{default:b(()=>[G]),_:1}),x(g,{type:"info",size:"small",onClick:o[1]||(o[1]=y=>e("close"))},{default:b(()=>[H]),_:1})]),default:b(()=>[x(c,{modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=y=>i.value=y),"fetch-suggestions":_,placeholder:"\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740","trigger-on-focus":!1,"value-key":"title",class:"mb-16 w-full",onSelect:p},null,8,["modelValue"]),F]),_:1},8,["model-value"])}}}),K=M(P,[["__scopeId","data-v-fcaecf15"]]);export{K as default}; | |||
var k=(n,e,t)=>new Promise((l,d)=>{var m=i=>{try{u(t.next(i))}catch(s){d(s)}},r=i=>{try{u(t.throw(i))}catch(s){d(s)}},u=i=>i.done?l(i.value):Promise.resolve(i.value).then(m,r);u((t=t.apply(n,e)).next())});import{_ as M,d as V,r as j,z as B,f as C,g as N,n as A,w as b,e as x,h as q,A as D,J as O,L as z,b as Q,i as R}from"./index.4f7e0e83.js";function I(n,e){n=n.replace(/=/g,"");var t=[];switch(e.constructor){case String:case Number:case Boolean:t.push(encodeURIComponent(n)+"="+encodeURIComponent(e));break;case Array:e.forEach(function(l){t=t.concat(I(n+"[]=",l))});break;case Object:Object.keys(e).forEach(function(l){var d=e[l];t=t.concat(I(n+"["+l+"]",d))})}return t}function $(n){var e=[];return n.forEach(function(t){typeof t=="string"?e.push(t):e=e.concat($(t))}),e}function T(n,e,t){if(e===void 0&&(e={}),typeof n!="string")throw new Error('[Vue-jsonp] Type of param "url" is not string.');if(typeof e!="object"||!e)throw new Error("[Vue-jsonp] Invalid params, should be an object.");return t=typeof t=="number"?t:5e3,new Promise(function(l,d){var m=typeof e.callbackQuery=="string"?e.callbackQuery:"callback",r=typeof e.callbackName=="string"?e.callbackName:"jsonp_"+(Math.floor(1e5*Math.random())*Date.now()).toString(16);e[m]=r,delete e.callbackQuery,delete e.callbackName;var u=[];Object.keys(e).forEach(function(f){u=u.concat(I(f,e[f]))});var i=$(u).join("&"),s=function(){v(),clearTimeout(_),d({status:400,statusText:"Bad Request"})},v=function(){p.removeEventListener("error",s)},h=function(){document.body.removeChild(p),delete window[r]},_=null;t>-1&&(_=setTimeout(function(){v(),h(),d({statusText:"Request Timeout",status:408})},t)),window[r]=function(f){clearTimeout(_),v(),h(),l(f)};var p=document.createElement("script");p.addEventListener("error",s),p.src=n+(/\?/.test(n)?"&":"?")+i,document.body.appendChild(p)})}const U=n=>(O("data-v-fcaecf15"),n=n(),z(),n),F=U(()=>Q("div",{id:"map",class:"map"},null,-1)),G=q("\u786E\u5B9A"),H=q(" \u5173\u95ED "),Y=V({name:"queryAddressDialog"}),P=Object.assign(Y,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(n,{emit:e}){const t=n;let l,d;const{proxy:m}=R(),r=window.TMap,u="YYUBZ-IPZ35-HB4IL-ICGH3-ICY43-V2FCQ",i=j(""),s=j({}),v=a=>k(this,null,function*(){yield D();try{l=new r.Map("map",{center:a,zoom:15,mapStyleId:"style1"}),d=new r.MultiMarker({map:l,styles:{marker:new r.MarkerStyle({width:20,height:30,anchor:{x:10,y:30}})},geometries:[{position:a,id:"marker"}]}),l.on("click",h)}catch(o){console.error(o)}}),h=a=>{const o=+a.latLng.lat.toFixed(6),c=+a.latLng.lng.toFixed(6);s.value.longitude=c,s.value.latitude=o,L(o,c),d.geometries=[],d.updateGeometries([{id:"marker",position:new r.LatLng(o,c)}])},_=(a,o)=>{T("https://apis.map.qq.com/ws/place/v1/suggestion",{key:u,keyword:a,output:"jsonp"}).then(c=>{if(c.status===0){const g=c.data;o(g)}else m.$message.error(c.message)})},p=a=>{s.value.longitude=a.location.lng,s.value.latitude=a.location.lat,f(a.location.lat,a.location.lng),L(a.location.lat,a.location.lng)},f=(a,o)=>{l.setCenter(new r.LatLng(a,o)),d.updateGeometries([{id:"marker",position:new r.LatLng(a,o)}])},L=(a,o)=>{T("https://apis.map.qq.com/ws/geocoder/v1/?",{location:`${a},${o}`,key:u,output:"jsonp"}).then(c=>{if(c.status===0){const{adcode:g,city:w,province:y,district:E}=c.result.ad_info||{};s.value.regionCode=g,s.value.region=`${y}-${w}-${E}`,s.value.address=`${y}${w}${c.result.formatted_addresses.recommend}`}else m.$message.error(c.message)})},S=()=>{e("close",s.value)};return B(()=>t.visible,a=>k(this,null,function*(){if(!a)s.value={},i.value="",l&&l.destroy();else{s.value.addressType=t.data.addressType,s.value.id=t.data.id;const o=new r.LatLng(+t.data.lat,+t.data.lng);yield v(o)}})),(a,o)=>{const c=C("el-autocomplete"),g=C("el-button"),w=C("el-dialog");return N(),A(w,{"model-value":n.visible,title:"\u5730\u70B9\u67E5\u8BE2",width:"840px","destroy-on-close":"",onClose:o[2]||(o[2]=y=>e("close"))},{footer:b(()=>[x(g,{type:"primary",size:"small",onClick:S},{default:b(()=>[G]),_:1}),x(g,{type:"info",size:"small",onClick:o[1]||(o[1]=y=>e("close"))},{default:b(()=>[H]),_:1})]),default:b(()=>[x(c,{modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=y=>i.value=y),"fetch-suggestions":_,placeholder:"\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740","trigger-on-focus":!1,"value-key":"title",class:"mb-16 w-full",onSelect:p},null,8,["modelValue"]),F]),_:1},8,["model-value"])}}}),K=M(P,[["__scopeId","data-v-fcaecf15"]]);export{K as default}; |
@@ -1 +1 @@ | |||
import{g as x,w as D}from"./locationTransform.e2d22cb6.js";import{s as S,g as V}from"./tiandimap.d6d746f3.js";import{_ as q,d as A,r as y,o as M,z as O,f as m,g as $,n as j,w as c,e as g,h as L,J as z,L as B,b as F}from"./index.56ad3315.js";const I=l=>(z("data-v-f0ab4155"),l=l(),B(),l),N=I(()=>F("div",{id:"mapDiv",class:"map"},null,-1)),E=L("\u786E\u5B9A"),G=L(" \u5173\u95ED "),J=A({name:"queryAddressDialog"}),Q=Object.assign(J,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(l,{emit:i}){const d=l,u=y(""),n=y({});M(()=>{setTimeout(function(){f()},100)});function w(a,e){S(a).then(o=>{if(o.code===200){const t=o.data.pois;e(t)}})}function b(a){const e=a.lonlat.split(",");_(e[0],e[1]),v(e[0],e[1])}function v(a,e){V(a,e).then(o=>{const t=o.data.result,r=D(parseFloat(t.location.lon),parseFloat(t.location.lat));n.value.longitude=r[0],n.value.latitude=r[1],n.value.regionCode=t.addressComponent.county_code.replace("156",""),n.value.region=`${t.addressComponent.province}-${t.addressComponent.city}-${t.addressComponent.county}`,n.value.address=t.formatted_address})}O(()=>d.visible,a=>{a?(n.value.addressType=d.data.addressType,n.value.id=d.data.id,setTimeout(function(){f()},100)):(n.value={},u.value="")});var s,C=14;function f(){const a=x(parseFloat(d.data.lng),parseFloat(d.data.lat));s=new T.Map("mapDiv"),s.centerAndZoom(new T.LngLat(a[0],a[1]),C);const e=new T.Marker(new T.LngLat(a[0],a[1]));s.addOverLay(e),s.addEventListener("click",k)}function k(a){const e=a.lnglat.getLng(),o=a.lnglat.getLat();_(e,o),v(e,o)}function _(a,e){s.clearOverLays();const o=new T.LngLat(a,e);var t=new T.Marker(o);s.addOverLay(t),s.panTo(o)}const h=()=>{i("close",n.value)};return(a,e)=>{const o=m("el-autocomplete"),t=m("el-button"),r=m("el-dialog");return $(),j(r,{"model-value":l.visible,title:"\u5730\u70B9\u67E5\u8BE2",width:"840px","destroy-on-close":"",onClose:e[2]||(e[2]=p=>i("close"))},{footer:c(()=>[g(t,{type:"primary",size:"small",onClick:h},{default:c(()=>[E]),_:1}),g(t,{type:"info",size:"small",onClick:e[1]||(e[1]=p=>i("close"))},{default:c(()=>[G]),_:1})]),default:c(()=>[g(o,{modelValue:u.value,"onUpdate:modelValue":e[0]||(e[0]=p=>u.value=p),"fetch-suggestions":w,placeholder:"\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740","trigger-on-focus":!1,"value-key":"name",class:"mb-16 w-full",onSelect:b},null,8,["modelValue"]),N]),_:1},8,["model-value"])}}}),H=q(Q,[["__scopeId","data-v-f0ab4155"]]);export{H as default}; | |||
import{g as x,w as D}from"./locationTransform.e2d22cb6.js";import{s as S,g as V}from"./tiandimap.16f8c665.js";import{_ as q,d as A,r as y,o as M,z as O,f as m,g as $,n as j,w as c,e as g,h as L,J as z,L as B,b as F}from"./index.4f7e0e83.js";const I=l=>(z("data-v-f0ab4155"),l=l(),B(),l),N=I(()=>F("div",{id:"mapDiv",class:"map"},null,-1)),E=L("\u786E\u5B9A"),G=L(" \u5173\u95ED "),J=A({name:"queryAddressDialog"}),Q=Object.assign(J,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(l,{emit:i}){const d=l,u=y(""),n=y({});M(()=>{setTimeout(function(){f()},100)});function w(a,e){S(a).then(o=>{if(o.code===200){const t=o.data.pois;e(t)}})}function b(a){const e=a.lonlat.split(",");_(e[0],e[1]),v(e[0],e[1])}function v(a,e){V(a,e).then(o=>{const t=o.data.result,r=D(parseFloat(t.location.lon),parseFloat(t.location.lat));n.value.longitude=r[0],n.value.latitude=r[1],n.value.regionCode=t.addressComponent.county_code.replace("156",""),n.value.region=`${t.addressComponent.province}-${t.addressComponent.city}-${t.addressComponent.county}`,n.value.address=t.formatted_address})}O(()=>d.visible,a=>{a?(n.value.addressType=d.data.addressType,n.value.id=d.data.id,setTimeout(function(){f()},100)):(n.value={},u.value="")});var s,C=14;function f(){const a=x(parseFloat(d.data.lng),parseFloat(d.data.lat));s=new T.Map("mapDiv"),s.centerAndZoom(new T.LngLat(a[0],a[1]),C);const e=new T.Marker(new T.LngLat(a[0],a[1]));s.addOverLay(e),s.addEventListener("click",k)}function k(a){const e=a.lnglat.getLng(),o=a.lnglat.getLat();_(e,o),v(e,o)}function _(a,e){s.clearOverLays();const o=new T.LngLat(a,e);var t=new T.Marker(o);s.addOverLay(t),s.panTo(o)}const h=()=>{i("close",n.value)};return(a,e)=>{const o=m("el-autocomplete"),t=m("el-button"),r=m("el-dialog");return $(),j(r,{"model-value":l.visible,title:"\u5730\u70B9\u67E5\u8BE2",width:"840px","destroy-on-close":"",onClose:e[2]||(e[2]=p=>i("close"))},{footer:c(()=>[g(t,{type:"primary",size:"small",onClick:h},{default:c(()=>[E]),_:1}),g(t,{type:"info",size:"small",onClick:e[1]||(e[1]=p=>i("close"))},{default:c(()=>[G]),_:1})]),default:c(()=>[g(o,{modelValue:u.value,"onUpdate:modelValue":e[0]||(e[0]=p=>u.value=p),"fetch-suggestions":w,placeholder:"\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740","trigger-on-focus":!1,"value-key":"name",class:"mb-16 w-full",onSelect:b},null,8,["modelValue"]),N]),_:1},8,["model-value"])}}}),H=q(Q,[["__scopeId","data-v-f0ab4155"]]);export{H as default}; |
@@ -1 +1 @@ | |||
var q=Object.defineProperty,z=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var C=(t,o,e)=>o in t?q(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e,k=(t,o)=>{for(var e in o||(o={}))O.call(o,e)&&C(t,e,o[e]);if(x)for(var e of x(o))R.call(o,e)&&C(t,e,o[e]);return t},D=(t,o)=>z(t,N(o));var v=(t,o,e)=>new Promise((m,s)=>{var _=l=>{try{i(e.next(l))}catch(n){s(n)}},f=l=>{try{i(e.throw(l))}catch(n){s(n)}},i=l=>l.done?m(l.value):Promise.resolve(l.value).then(_,f);i((e=e.apply(t,o)).next())});import{s as $}from"./driverFile.7b683d21.js";import{_ as F,d as S,r as b,x as E,y as J,z as L,f as u,g as T,n as w,w as r,e as c,c as U,q as A,v as G,F as H,h as V,i as K}from"./index.56ad3315.js";const M=V(" \u5173\u95ED "),P=V(" \u4FDD\u5B58 "),Q=S({name:"setTypeDialog"}),W=Object.assign(Q,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(t,{emit:o}){const e=t,{proxy:m}=K(),s=b({jobTypes:[]}),_=b(),f=b({jobTypes:[{required:!0,message:"\u8BF7\u9009\u62E9\u63A5\u5355\u7C7B\u578B",trigger:"change"}]}),{jobTypeOptions:i}=E(J.dictStore),l=()=>{_.value.validate(n=>v(this,null,function*(){var a,d;if(n){const y=D(k({},s.value),{userDriverId:(a=e.data)==null?void 0:a.driverId,jobTypes:s.value.jobTypes.length&&s.value.jobTypes||((d=e.data)==null?void 0:d.jobTypes)});yield $(y),m.$message.success("\u8BBE\u7F6E\u6210\u529F\uFF01"),o("close",!0)}}))};return L(()=>e.visible,n=>v(this,null,function*(){n||(s.value={jobTypes:[]})})),(n,a)=>{const d=u("el-option"),y=u("el-select"),h=u("el-form-item"),B=u("el-form"),g=u("el-button"),I=u("el-dialog");return T(),w(I,{"model-value":t.visible,title:"\u7C7B\u578B\u8BBE\u7F6E","destroy-on-close":"",onClose:a[2]||(a[2]=p=>o("close"))},{footer:r(()=>[c(g,{type:"info",size:"small",onClick:a[1]||(a[1]=p=>o("close"))},{default:r(()=>[M]),_:1}),c(g,{type:"primary",size:"small",onClick:l},{default:r(()=>[P]),_:1})]),default:r(()=>[c(B,{ref_key:"formRef",ref:_,model:s.value,rules:f.value,"label-suffix":":"},{default:r(()=>[c(h,{label:"\u63A5\u5355\u7C7B\u578B",prop:"jobTypes"},{default:r(()=>[c(y,{modelValue:s.value.jobTypes,"onUpdate:modelValue":a[0]||(a[0]=p=>s.value.jobTypes=p),placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},multiple:!0},{default:r(()=>[(T(!0),U(H,null,A(G(i),(p,j)=>(T(),w(d,{key:j,label:p,value:Number(j)},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["model-value"])}}}),ee=F(W,[["__scopeId","data-v-92218fa8"]]);export{ee as default}; | |||
var q=Object.defineProperty,z=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var C=(t,o,e)=>o in t?q(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e,k=(t,o)=>{for(var e in o||(o={}))O.call(o,e)&&C(t,e,o[e]);if(x)for(var e of x(o))R.call(o,e)&&C(t,e,o[e]);return t},D=(t,o)=>z(t,N(o));var v=(t,o,e)=>new Promise((m,s)=>{var _=l=>{try{i(e.next(l))}catch(n){s(n)}},f=l=>{try{i(e.throw(l))}catch(n){s(n)}},i=l=>l.done?m(l.value):Promise.resolve(l.value).then(_,f);i((e=e.apply(t,o)).next())});import{s as $}from"./driverFile.1a4908ec.js";import{_ as F,d as S,r as b,x as E,y as J,z as L,f as u,g as T,n as w,w as r,e as c,c as U,q as A,v as G,F as H,h as V,i as K}from"./index.4f7e0e83.js";const M=V(" \u5173\u95ED "),P=V(" \u4FDD\u5B58 "),Q=S({name:"setTypeDialog"}),W=Object.assign(Q,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(t,{emit:o}){const e=t,{proxy:m}=K(),s=b({jobTypes:[]}),_=b(),f=b({jobTypes:[{required:!0,message:"\u8BF7\u9009\u62E9\u63A5\u5355\u7C7B\u578B",trigger:"change"}]}),{jobTypeOptions:i}=E(J.dictStore),l=()=>{_.value.validate(n=>v(this,null,function*(){var a,d;if(n){const y=D(k({},s.value),{userDriverId:(a=e.data)==null?void 0:a.driverId,jobTypes:s.value.jobTypes.length&&s.value.jobTypes||((d=e.data)==null?void 0:d.jobTypes)});yield $(y),m.$message.success("\u8BBE\u7F6E\u6210\u529F\uFF01"),o("close",!0)}}))};return L(()=>e.visible,n=>v(this,null,function*(){n||(s.value={jobTypes:[]})})),(n,a)=>{const d=u("el-option"),y=u("el-select"),h=u("el-form-item"),B=u("el-form"),g=u("el-button"),I=u("el-dialog");return T(),w(I,{"model-value":t.visible,title:"\u7C7B\u578B\u8BBE\u7F6E","destroy-on-close":"",onClose:a[2]||(a[2]=p=>o("close"))},{footer:r(()=>[c(g,{type:"info",size:"small",onClick:a[1]||(a[1]=p=>o("close"))},{default:r(()=>[M]),_:1}),c(g,{type:"primary",size:"small",onClick:l},{default:r(()=>[P]),_:1})]),default:r(()=>[c(B,{ref_key:"formRef",ref:_,model:s.value,rules:f.value,"label-suffix":":"},{default:r(()=>[c(h,{label:"\u63A5\u5355\u7C7B\u578B",prop:"jobTypes"},{default:r(()=>[c(y,{modelValue:s.value.jobTypes,"onUpdate:modelValue":a[0]||(a[0]=p=>s.value.jobTypes=p),placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},multiple:!0},{default:r(()=>[(T(!0),U(H,null,A(G(i),(p,j)=>(T(),w(d,{key:j,label:p,value:Number(j)},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["model-value"])}}}),ee=F(W,[["__scopeId","data-v-92218fa8"]]);export{ee as default}; |
@@ -1 +1 @@ | |||
import{g as O,w as B}from"./locationTransform.e2d22cb6.js";import{s as I,g as $}from"./tiandimap.d6d746f3.js";import{d as M,_ as S,r as f,o as V,z as D,f as v,g as w,n as N,w as u,e as p,h as y,J as j,L as z,b as A,c as F}from"./index.56ad3315.js";const q=s=>(j("data-v-95183349"),s=s(),z(),s),E=q(()=>A("div",{id:"mapDiv",class:"map"},null,-1)),G=y("\u786E\u5B9A"),J=y(" \u5173\u95ED "),R=M({name:"TiandiChooseLocation"}),U=Object.assign(R,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(s,{emit:d}){const l=s,i=f(""),n=f({});V(()=>{setTimeout(function(){h()},100)});function _(o,e){I(o).then(a=>{if(console.log(a),a.code===200){const t=a.data.pois;e(t)}})}function C(o){const e=o.lonlat.split(",");L(e[0],e[1]),m(e[0],e[1])}function m(o,e){$(o,e).then(a=>{const t=a.data.result,r=B(parseFloat(t.location.lon),parseFloat(t.location.lat));console.log(r),console.log(t.location.lon,t.location.lat),n.value.longitude=r[0],n.value.latitude=r[1],n.value.regionCode=t.addressComponent.county_code.replace("156",""),n.value.region=`${t.addressComponent.province}-${t.addressComponent.city}-${t.addressComponent.county}`,n.value.address=t.formatted_address})}D(()=>l.visible,o=>{o?(n.value.addressType=l.data.addressType,n.value.id=l.data.id,setTimeout(function(){h()},100)):(n.value={},i.value="")});var c,b=14;function h(){const o=O(parseFloat(l.data.lng),parseFloat(l.data.lat));c=new T.Map("mapDiv"),c.centerAndZoom(new T.LngLat(o[0],o[1]),b);const e=new T.Marker(new T.LngLat(o[0],o[1]));c.addOverLay(e),c.addEventListener("click",k)}function k(o){const e=o.lnglat.getLng(),a=o.lnglat.getLat();L(e,a),m(e,a)}function L(o,e){c.clearOverLays();const a=new T.LngLat(o,e);var t=new T.Marker(a);c.addOverLay(t),c.panTo(a)}const x=()=>{d("close",n.value)};return(o,e)=>{const a=v("el-autocomplete"),t=v("el-button"),r=v("el-dialog");return w(),N(r,{"model-value":s.visible,title:"\u5730\u70B9\u67E5\u8BE2",width:"840px","destroy-on-close":"",onClose:e[2]||(e[2]=g=>d("close"))},{footer:u(()=>[p(t,{type:"primary",size:"small",onClick:x},{default:u(()=>[G]),_:1}),p(t,{type:"info",size:"small",onClick:e[1]||(e[1]=g=>d("close"))},{default:u(()=>[J]),_:1})]),default:u(()=>[p(a,{modelValue:i.value,"onUpdate:modelValue":e[0]||(e[0]=g=>i.value=g),"fetch-suggestions":_,placeholder:"\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740","trigger-on-focus":!1,"value-key":"name",class:"mb-16 w-full",onSelect:C},null,8,["modelValue"]),E]),_:1},8,["model-value"])}}}),W=S(U,[["__scopeId","data-v-95183349"]]),Z=y("\u663E\u793A"),Q={__name:"testChooseMap",setup(s){const d={id:768,orderId:261,region:"\u6D59\u6C5F\u7701-\u676D\u5DDE\u5E02-\u6EE8\u6C5F\u533A",regionCode:330108,address:"\u6D59\u6C5F\u7701\u676D\u5DDE\u5E02\u6EE8\u6C5F\u533A\u6D66\u6CBF\u676D\u5DDE\u7B2C\u4E8C\u4E2D\u5B66(\u6EE8\u6C5F\u6821\u533A)",lat:"30.201463",lng:"120.204171",addressType:"BOARDING_LOCATION",deleted:!1,createBy:91,updateBy:91,createOn:"2024-05-16 10:14:21",updateOn:"2024-05-16 10:14:21"},l=f(!0);function i(_){console.log(_)}function n(){l.value=!0}return(_,C)=>{const m=v("el-button");return w(),F("div",null,[p(W,{visible:l.value,style:{height:"500px"},data:d,onClose:i},null,8,["visible"]),p(m,{onClick:n},{default:u(()=>[Z]),_:1})])}}};export{Q as default}; | |||
import{g as O,w as B}from"./locationTransform.e2d22cb6.js";import{s as I,g as $}from"./tiandimap.16f8c665.js";import{d as M,_ as S,r as f,o as V,z as D,f as v,g as w,n as N,w as u,e as p,h as y,J as j,L as z,b as A,c as F}from"./index.4f7e0e83.js";const q=s=>(j("data-v-95183349"),s=s(),z(),s),E=q(()=>A("div",{id:"mapDiv",class:"map"},null,-1)),G=y("\u786E\u5B9A"),J=y(" \u5173\u95ED "),R=M({name:"TiandiChooseLocation"}),U=Object.assign(R,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(s,{emit:d}){const l=s,i=f(""),n=f({});V(()=>{setTimeout(function(){h()},100)});function _(o,e){I(o).then(a=>{if(console.log(a),a.code===200){const t=a.data.pois;e(t)}})}function C(o){const e=o.lonlat.split(",");L(e[0],e[1]),m(e[0],e[1])}function m(o,e){$(o,e).then(a=>{const t=a.data.result,r=B(parseFloat(t.location.lon),parseFloat(t.location.lat));console.log(r),console.log(t.location.lon,t.location.lat),n.value.longitude=r[0],n.value.latitude=r[1],n.value.regionCode=t.addressComponent.county_code.replace("156",""),n.value.region=`${t.addressComponent.province}-${t.addressComponent.city}-${t.addressComponent.county}`,n.value.address=t.formatted_address})}D(()=>l.visible,o=>{o?(n.value.addressType=l.data.addressType,n.value.id=l.data.id,setTimeout(function(){h()},100)):(n.value={},i.value="")});var c,b=14;function h(){const o=O(parseFloat(l.data.lng),parseFloat(l.data.lat));c=new T.Map("mapDiv"),c.centerAndZoom(new T.LngLat(o[0],o[1]),b);const e=new T.Marker(new T.LngLat(o[0],o[1]));c.addOverLay(e),c.addEventListener("click",k)}function k(o){const e=o.lnglat.getLng(),a=o.lnglat.getLat();L(e,a),m(e,a)}function L(o,e){c.clearOverLays();const a=new T.LngLat(o,e);var t=new T.Marker(a);c.addOverLay(t),c.panTo(a)}const x=()=>{d("close",n.value)};return(o,e)=>{const a=v("el-autocomplete"),t=v("el-button"),r=v("el-dialog");return w(),N(r,{"model-value":s.visible,title:"\u5730\u70B9\u67E5\u8BE2",width:"840px","destroy-on-close":"",onClose:e[2]||(e[2]=g=>d("close"))},{footer:u(()=>[p(t,{type:"primary",size:"small",onClick:x},{default:u(()=>[G]),_:1}),p(t,{type:"info",size:"small",onClick:e[1]||(e[1]=g=>d("close"))},{default:u(()=>[J]),_:1})]),default:u(()=>[p(a,{modelValue:i.value,"onUpdate:modelValue":e[0]||(e[0]=g=>i.value=g),"fetch-suggestions":_,placeholder:"\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740","trigger-on-focus":!1,"value-key":"name",class:"mb-16 w-full",onSelect:C},null,8,["modelValue"]),E]),_:1},8,["model-value"])}}}),W=S(U,[["__scopeId","data-v-95183349"]]),Z=y("\u663E\u793A"),Q={__name:"testChooseMap",setup(s){const d={id:768,orderId:261,region:"\u6D59\u6C5F\u7701-\u676D\u5DDE\u5E02-\u6EE8\u6C5F\u533A",regionCode:330108,address:"\u6D59\u6C5F\u7701\u676D\u5DDE\u5E02\u6EE8\u6C5F\u533A\u6D66\u6CBF\u676D\u5DDE\u7B2C\u4E8C\u4E2D\u5B66(\u6EE8\u6C5F\u6821\u533A)",lat:"30.201463",lng:"120.204171",addressType:"BOARDING_LOCATION",deleted:!1,createBy:91,updateBy:91,createOn:"2024-05-16 10:14:21",updateOn:"2024-05-16 10:14:21"},l=f(!0);function i(_){console.log(_)}function n(){l.value=!0}return(_,C)=>{const m=v("el-button");return w(),F("div",null,[p(W,{visible:l.value,style:{height:"500px"},data:d,onClose:i},null,8,["visible"]),p(m,{onClick:n},{default:u(()=>[Z]),_:1})])}}};export{Q as default}; |
@@ -1 +1 @@ | |||
import{N as a}from"./index.56ad3315.js";function p(t){const r=`http://api.tianditu.gov.cn/v2/search?postStr={"keyWord":"${t}","level":12,"mapBound":"-180,-90,180,90","queryType":7,"start":0,"count":10}&type=query`;return s("/api/v1/order/retransmissionUrl",r)}function u(t,r){const o="/api/v1/order/retransmissionUrl",e=`http://api.tianditu.gov.cn/geocoder?postStr={'lon':${t},'lat':${r},'ver':1}&type=geocode`;return s(o,e)}function s(t,r){return new Promise((o,e)=>{a.post(t,{url:r}).then(n=>{o({code:200,data:JSON.parse(n.data)})}).catch(n=>{e(n)})})}export{u as g,p as s}; | |||
import{N as a}from"./index.4f7e0e83.js";function p(t){const r=`http://api.tianditu.gov.cn/v2/search?postStr={"keyWord":"${t}","level":12,"mapBound":"-180,-90,180,90","queryType":7,"start":0,"count":10}&type=query`;return s("/api/v1/order/retransmissionUrl",r)}function u(t,r){const o="/api/v1/order/retransmissionUrl",e=`http://api.tianditu.gov.cn/geocoder?postStr={'lon':${t},'lat':${r},'ver':1}&type=geocode`;return s(o,e)}function s(t,r){return new Promise((o,e)=>{a.post(t,{url:r}).then(n=>{o({code:200,data:JSON.parse(n.data)})}).catch(n=>{e(n)})})}export{u as g,p as s}; |
@@ -1 +1 @@ | |||
var l=(e,t,a)=>new Promise((n,o)=>{var d=s=>{try{r(a.next(s))}catch(c){o(c)}},p=s=>{try{r(a.throw(s))}catch(c){o(c)}},r=s=>s.done?n(s.value):Promise.resolve(s.value).then(d,p);r((a=a.apply(e,t)).next())});import{m as b,E as m}from"./index.56ad3315.js";const x=(e,t,a)=>{if(e.code!==200){m.error(e.data.message?e.data.message:"\u4E0A\u4F20\u5931\u8D25!");const n=t.findIndex(o=>o.response.code!==200);t.splice(n,1)}a&&t.length>1&&t.shift(),t.forEach(n=>l(void 0,null,function*(){n.url=(yield w(n.response.data.id)).url}))},E=e=>{m.error(e.message?JSON.parse(e.message):"\u4E0A\u4F20\u5931\u8D25\uFF01")},I=(e,{types:t,size:a})=>{const n=e.type==="image/jpeg"||e.type==="image/png",o=t.indexOf(e.type)!==-1,d=a?e.size/1024<=a:!0;return o||m.error("\u4E0A\u4F20\u6587\u4EF6\u683C\u5F0F\u9519\u8BEF!"),e.size/1024/1024>5&&n?new Promise(p=>{const r=new FileReader,s=new Image;s.onload=c=>{const g=document.createElement("canvas"),u=g.getContext("2d"),i=s.width*.5,h=s.height*.5;g.width=i,g.height=h,u.clearRect(0,0,i,h),u.drawImage(s,0,0,i,h);const y=g.toDataURL(e.type),U=F(y,e.type);p(U)},r.onload=c=>{s.src=c.target.result},r.readAsDataURL(e)}):(d||m.error(`\u4E0A\u4F20\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 ${a>=1024?a/1024:a}${a>=1024?"MB":"KB"}!`),o&&d)},F=(e,t)=>{for(var a=atob(e.split(",")[1]),n=[],o=0;o<a.length;o++)n.push(a.charCodeAt(o));return new Blob([new Uint8Array(n)],{type:t})},w=(e,t)=>l(void 0,null,function*(){const a=yield b({fileId:e});return t?a:{filename:a.filename,url:URL.createObjectURL(a)}}),B=e=>e!=null&&e.length?e.map(t=>t.response.data.id):void 0,D=e=>{let t=[];return e!=null&&e.length&&(t=Promise.all(e.map((a,n)=>l(void 0,null,function*(){return{name:`${new Date().getTime()+n}`,url:(yield w(a)).url,response:{data:{id:a}}}})))),t};export{E as a,B as b,w as d,I as f,D as g,x as h}; | |||
var l=(e,t,a)=>new Promise((n,o)=>{var d=s=>{try{r(a.next(s))}catch(c){o(c)}},p=s=>{try{r(a.throw(s))}catch(c){o(c)}},r=s=>s.done?n(s.value):Promise.resolve(s.value).then(d,p);r((a=a.apply(e,t)).next())});import{m as b,E as m}from"./index.4f7e0e83.js";const x=(e,t,a)=>{if(e.code!==200){m.error(e.data.message?e.data.message:"\u4E0A\u4F20\u5931\u8D25!");const n=t.findIndex(o=>o.response.code!==200);t.splice(n,1)}a&&t.length>1&&t.shift(),t.forEach(n=>l(void 0,null,function*(){n.url=(yield w(n.response.data.id)).url}))},E=e=>{m.error(e.message?JSON.parse(e.message):"\u4E0A\u4F20\u5931\u8D25\uFF01")},I=(e,{types:t,size:a})=>{const n=e.type==="image/jpeg"||e.type==="image/png",o=t.indexOf(e.type)!==-1,d=a?e.size/1024<=a:!0;return o||m.error("\u4E0A\u4F20\u6587\u4EF6\u683C\u5F0F\u9519\u8BEF!"),e.size/1024/1024>5&&n?new Promise(p=>{const r=new FileReader,s=new Image;s.onload=c=>{const g=document.createElement("canvas"),u=g.getContext("2d"),i=s.width*.5,h=s.height*.5;g.width=i,g.height=h,u.clearRect(0,0,i,h),u.drawImage(s,0,0,i,h);const y=g.toDataURL(e.type),U=F(y,e.type);p(U)},r.onload=c=>{s.src=c.target.result},r.readAsDataURL(e)}):(d||m.error(`\u4E0A\u4F20\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 ${a>=1024?a/1024:a}${a>=1024?"MB":"KB"}!`),o&&d)},F=(e,t)=>{for(var a=atob(e.split(",")[1]),n=[],o=0;o<a.length;o++)n.push(a.charCodeAt(o));return new Blob([new Uint8Array(n)],{type:t})},w=(e,t)=>l(void 0,null,function*(){const a=yield b({fileId:e});return t?a:{filename:a.filename,url:URL.createObjectURL(a)}}),B=e=>e!=null&&e.length?e.map(t=>t.response.data.id):void 0,D=e=>{let t=[];return e!=null&&e.length&&(t=Promise.all(e.map((a,n)=>l(void 0,null,function*(){return{name:`${new Date().getTime()+n}`,url:(yield w(a)).url,response:{data:{id:a}}}})))),t};export{E as a,B as b,w as d,I as f,D as g,x as h}; |
@@ -1 +1 @@ | |||
var d=(a,l,t)=>new Promise((n,s)=>{var i=e=>{try{o(t.next(e))}catch(c){s(c)}},r=e=>{try{o(t.throw(e))}catch(c){s(c)}},o=e=>e.done?n(e.value):Promise.resolve(e.value).then(i,r);o((t=t.apply(a,l)).next())});import{r as u}from"./index.56ad3315.js";function m(){const a=u(!1);return{exportLoading:a,exportData:(s,...i)=>d(this,[s,...i],function*(t,n=a){n.value=!0;try{const r=yield t(),o=URL.createObjectURL(r),e=document.createElement("a");e.download=r.filename,e.style.display="none",e.href=o,document.body.appendChild(e),e.click(),document.body.removeChild(e),window.URL.revokeObjectURL(o)}finally{n.value=!1}})}}export{m as u}; | |||
var d=(a,l,t)=>new Promise((n,s)=>{var i=e=>{try{o(t.next(e))}catch(c){s(c)}},r=e=>{try{o(t.throw(e))}catch(c){s(c)}},o=e=>e.done?n(e.value):Promise.resolve(e.value).then(i,r);o((t=t.apply(a,l)).next())});import{r as u}from"./index.4f7e0e83.js";function m(){const a=u(!1);return{exportLoading:a,exportData:(s,...i)=>d(this,[s,...i],function*(t,n=a){n.value=!0;try{const r=yield t(),o=URL.createObjectURL(r),e=document.createElement("a");e.download=r.filename,e.style.display="none",e.href=o,document.body.appendChild(e),e.click(),document.body.removeChild(e),window.URL.revokeObjectURL(o)}finally{n.value=!1}})}}export{m as u}; |
@@ -1 +1 @@ | |||
var d=(n,c,r)=>new Promise((t,o)=>{var l=e=>{try{s(r.next(e))}catch(i){o(i)}},a=e=>{try{s(r.throw(e))}catch(i){o(i)}},s=e=>e.done?t(e.value):Promise.resolve(e.value).then(l,a);s((r=r.apply(n,c)).next())});import{r as u,S as f}from"./index.56ad3315.js";function C({defTreeProps:n,defCascaderProps:c}={}){const r=u([]),t=Object.assign({label:"regionName",value:"regionCode",isLeaf:a=>a.regionCode?!a.hasChild:!1},n),o=(a,s)=>d(this,null,function*(){if(a.isLeaf)return s([]);const e=yield f({parentCode:a.data.regionCode});s(e.data)});return{cascaderProps:Object.assign({label:"name",value:t.value,checkStrictly:!0},c),defaultExpandedKeys:r,treeProps:t,load:o}}export{C as u}; | |||
var d=(n,c,r)=>new Promise((t,o)=>{var l=e=>{try{s(r.next(e))}catch(i){o(i)}},a=e=>{try{s(r.throw(e))}catch(i){o(i)}},s=e=>e.done?t(e.value):Promise.resolve(e.value).then(l,a);s((r=r.apply(n,c)).next())});import{r as u,S as f}from"./index.4f7e0e83.js";function C({defTreeProps:n,defCascaderProps:c}={}){const r=u([]),t=Object.assign({label:"regionName",value:"regionCode",isLeaf:a=>a.regionCode?!a.hasChild:!1},n),o=(a,s)=>d(this,null,function*(){if(a.isLeaf)return s([]);const e=yield f({parentCode:a.data.regionCode});s(e.data)});return{cascaderProps:Object.assign({label:"name",value:t.value,checkStrictly:!0},c),defaultExpandedKeys:r,treeProps:t,load:o}}export{C as u}; |
@@ -1 +1 @@ | |||
import{N as e}from"./index.56ad3315.js";const a=s=>e.post("/api/v1/user-info/list",s),o=s=>e.get(`/api/v1/user-info/detail/${s}`),i=s=>e.post("/api/v1/user-info/save",s),n=s=>e.delete("/api/v1/user-info/del",{data:s}),r=s=>e.post("/api/v1/user-info/password/mod",s),c=s=>e.get(`/api/v1/user-info/companyRoleChangeCheck/${s}`),p=s=>e.post("/api/v1/user-info/changeAccountStatus",s),u=s=>e.get("/api/v1/user-register/pageRegisterRecord",{params:s}),g=s=>e.put("/api/v1/user-register/audit",s);export{p as a,o as b,r as c,n as d,c as e,a as l,u as p,g as r,i as s}; | |||
import{N as e}from"./index.4f7e0e83.js";const a=s=>e.post("/api/v1/user-info/list",s),o=s=>e.get(`/api/v1/user-info/detail/${s}`),i=s=>e.post("/api/v1/user-info/save",s),n=s=>e.delete("/api/v1/user-info/del",{data:s}),r=s=>e.post("/api/v1/user-info/password/mod",s),c=s=>e.get(`/api/v1/user-info/companyRoleChangeCheck/${s}`),p=s=>e.post("/api/v1/user-info/changeAccountStatus",s),u=s=>e.get("/api/v1/user-register/pageRegisterRecord",{params:s}),g=s=>e.put("/api/v1/user-register/audit",s);export{p as a,o as b,r as c,n as d,c as e,a as l,u as p,g as r,i as s}; |
@@ -34,20 +34,20 @@ | |||
type="text/javascript" | |||
></script> | |||
<script src="/tiandimap/d3.min.js" charset="utf-8"></script> | |||
<script src="/tiandimap/D3SvgOverlay.js"></script> | |||
<script src="/tiandimap/CarTrack.js"></script> | |||
<script src="/tiandimap/point.js"></script> | |||
<!-- <script src="/tiandimap/d3.min.js" charset="utf-8"></script>--> | |||
<!-- <script src="/tiandimap/D3SvgOverlay.js"></script>--> | |||
<!-- <script src="/tiandimap/CarTrack.js"></script>--> | |||
<!-- <script src="/tiandimap/point.js"></script>--> | |||
<!-- <script--> | |||
<!-- src="/public/tiandimap/d3.min.js"--> | |||
<!-- charset="utf-8"--> | |||
<!-- ></script>--> | |||
<!-- <script src="/public/tiandimap/D3SvgOverlay.js"></script>--> | |||
<!-- <script src="/public/tiandimap/CarTrack.js"></script>--> | |||
<!-- <script src="/public/tiandimap/point.js"></script>--> | |||
<script | |||
src="/public/tiandimap/d3.min.js" | |||
charset="utf-8" | |||
></script> | |||
<script src="/public/tiandimap/D3SvgOverlay.js"></script> | |||
<script src="/public/tiandimap/CarTrack.js"></script> | |||
<script src="/public/tiandimap/point.js"></script> | |||
<script type="module" crossorigin src="/assets/index.56ad3315.js"></script> | |||
<script type="module" crossorigin src="/assets/index.4f7e0e83.js"></script> | |||
<link rel="stylesheet" href="/assets/index.44084d9c.css"> | |||
</head> | |||
<body> | |||