@@ -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.2f562cad.js";import{_ as T,d as w,r as g,f as d,g as B,p as L,w as n,e as i,h as k,N as D,i as M}from"./index.6d448f34.js";const h=k(" \u5173\u95ED "),j=k(" \u4FDD\u5B58 "),E=w({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:_}=M(),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 B(),L(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"])}}}),q=T(F,[["__scopeId","data-v-ef7b43cd"]]);export{q 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.0e884ef0.js";import{_ as T,d as w,r as g,f as d,g as B,p as L,w as n,e as i,h as k,N as D,i as M}from"./index.551f5afa.js";const h=k(" \u5173\u95ED "),j=k(" \u4FDD\u5B58 "),E=w({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:_}=M(),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 B(),L(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"])}}}),q=T(F,[["__scopeId","data-v-ef7b43cd"]]);export{q as default}; |
@@ -1 +0,0 @@ | |||
import{d as N,f as c,g as n,c as o,e as a,w as e,h as i,t as s,x as v,N as g,b as _,F as x,s as y,p as k,q as P}from"./index.6d448f34.js";const Y={class:"basicInfo"},B={class:"flex"},C={key:0,class:"mt-8"},F={class:"image-slot"},V={key:1},M={key:0,class:"mt-8"},R={class:"image-slot"},j=N({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",Y,[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:24},{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(x,null,y(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",V,"-"))]}),_:1}),a(l,{class:"ml-40"},{default:e(()=>{var r;return[(r=t.detailData)!=null&&r.cardPhotoReverse?(n(),o("div",M,[(n(!0),o(x,null,y(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))])):P("",!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}; |
@@ -0,0 +1 @@ | |||
import{c as S}from"./validate.167e08f8.js";import{d as T,r as V,o as C,A as F,f as n,g as s,c as r,e,w as a,h as i,t as c,x as h,N as v,b as g,F as P,s as p,p as f,q as x}from"./index.551f5afa.js";const R={class:"basicInfo"},j={class:"flex"},E={key:0,class:"mt-8"},I={class:"image-slot"},O={key:1},q={key:0,class:"mt-8"},A={class:"image-slot"},L=T({name:"basicInfo"}),J=Object.assign(L,{props:{detailData:{type:Object,default:()=>{}}},setup(t){const m=t,D=V({idcard:!1});C(()=>{y()}),F(()=>m.detailData,k=>{k&&y()},{immediate:!0,deep:!0});function y(){D.value.idcard=S(m.detailData.cardStartTime,m.detailData.cardValidity)}return(k,z)=>{const l=n("el-form-item"),d=n("el-col"),Y=n("Picture"),w=n("el-icon"),N=n("el-image"),M=n("el-badge"),B=n("el-row");return s(),r("div",R,[e(B,{gutter:30},{default:a(()=>[e(d,{span:12},{default:a(()=>[e(l,{label:"\u59D3\u540D"},{default:a(()=>[i(c(t.detailData.realName),1)]),_:1})]),_:1}),e(d,{span:12},{default:a(()=>[e(l,{label:"\u624B\u673A\u53F7"},{default:a(()=>[i(c(t.detailData.phone),1)]),_:1})]),_:1}),e(d,{span:12},{default:a(()=>[e(l,{label:"\u6240\u5C5E\u4F01\u4E1A"},{default:a(()=>[i(c(t.detailData.companyName),1)]),_:1})]),_:1}),e(d,{span:12},{default:a(()=>[e(l,{label:"\u6CE8\u518C\u5730\u533A"},{default:a(()=>[i(c(t.detailData.driveRegionName||"-"),1)]),_:1})]),_:1}),e(d,{span:12},{default:a(()=>[e(l,{label:"\u8EAB\u4EFD\u8BC1\u53F7"},{default:a(()=>[i(c(t.detailData.idCard||"-"),1)]),_:1})]),_:1}),e(d,{span:12},{default:a(()=>[e(l,{label:"\u6027\u522B"},{default:a(()=>[i(c({1:"\u7537",2:"\u5973"}[t.detailData.gender]||"-"),1)]),_:1})]),_:1}),e(d,{span:12},{default:a(()=>[e(l,{label:"\u51FA\u751F\u65E5\u671F"},{default:a(()=>[i(c(t.detailData.birthDate?h(v)(t.detailData.birthDate).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),e(d,{span:12},{default:a(()=>[e(l,{label:"\u5E74\u9F84"},{default:a(()=>[i(c(t.detailData.age||"-"),1)]),_:1})]),_:1}),e(d,{span:24},{default:a(()=>[e(l,{label:"\u73B0\u4F4F\u5730\u5740"},{default:a(()=>[i(c(t.detailData.address||"-"),1)]),_:1})]),_:1}),e(d,{span:24},{default:a(()=>[g("div",j,[e(l,{label:"\u8EAB\u4EFD\u8BC1\u7167\u7247"},{default:a(()=>{var o;return[(o=t.detailData)!=null&&o.cardPhotoFront?(s(),r("div",E,[(s(!0),r(P,null,p(t.detailData.cardPhotoFront,(_,u)=>(s(),f(N,{key:u,class:"imgBox mr-8",src:_.url,"initial-index":u,"preview-src-list":t.detailData.cardPhotoFront.map(b=>b.url),fit:"cover"},{error:a(()=>[g("div",I,[e(w,null,{default:a(()=>[e(Y)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(s(),r("span",O,"-"))]}),_:1}),e(l,{class:"ml-40"},{default:a(()=>{var o;return[(o=t.detailData)!=null&&o.cardPhotoReverse?(s(),r("div",q,[(s(!0),r(P,null,p(t.detailData.cardPhotoReverse,(_,u)=>(s(),f(N,{key:u,class:"imgBox mr-8",src:_.url,"initial-index":u,"preview-src-list":t.detailData.cardPhotoReverse.map(b=>b.url),fit:"cover"},{error:a(()=>[g("div",A,[e(w,null,{default:a(()=>[e(Y)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):x("",!0)]}),_:1})])]),_:1}),D.value.idcard?(s(),f(d,{key:0,span:8},{default:a(()=>[e(M,{value:"\u5DF2\u8FC7\u6709\u6548\u671F",class:"item",style:{"background-color":"#f2f4f7",padding:"10px"}},{default:a(()=>[e(l,{label:"\u8EAB\u4EFD\u8BC1\u6709\u6548\u5F00\u59CB\u65E5\u671F"},{default:a(()=>[i(c(t.detailData.cardStartTime?h(v)(t.detailData.cardStartTime).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1})]),_:1})):x("",!0),D.value.idcard?x("",!0):(s(),f(d,{key:1,span:8},{default:a(()=>[e(l,{label:"\u8EAB\u4EFD\u8BC1\u6709\u6548\u5F00\u59CB\u65E5\u671F"},{default:a(()=>[i(c(t.detailData.cardStartTime?h(v)(t.detailData.cardStartTime).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1})),e(d,{span:8},{default:a(()=>[e(l,{label:"\u6709\u6548\u671F\u9650"},{default:a(()=>[i(c({0:"\u957F\u671F",10:"10\u5E74",20:"20\u5E74"}[t.detailData.cardValidity]||"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{J 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.59f47c81.js";import{h as q,a as S,f as A}from"./uploadAction.46257434.js";import{d as D,z as I,r as h,A as M,f as d,g as T,p as E,w as n,e as c,x as g,h as x,b as G,i as H}from"./index.6d448f34.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=D({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=I.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 M(()=>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 T(),E(k,{"model-value":o.visible,title:"\u53D6\u6D88\u8BA2\u5355",width:"560px","destroy-on-close":"",onClose:a[4]||(a[4]=s=>l("close"))},{footer:n(()=>[c(y,{type:"primary",size:"small",onClick:a[2]||(a[2]=s=>i(u.value))},{default:n(()=>[L]),_:1}),c(y,{type:"info",size:"small",onClick:a[3]||(a[3]=s=>l("close"))},{default:n(()=>[P]),_:1})]),default:n(()=>[c(j,{ref_key:"formRef",ref:u,model:t.value,rules:p,"label-width":"90px","label-suffix":":",size:"small"},{default:n(()=>[c(_,{label:"\u53D6\u6D88\u539F\u56E0",prop:"cancelReason"},{default:n(()=>[c(m,{modelValue:t.value.cancelReason,"onUpdate:modelValue":a[0]||(a[0]=s=>t.value.cancelReason=s),type:"textarea",placeholder:"\u8BF7\u8F93\u5165",maxlength:"200"},null,8,["modelValue"])]),_:1}),c(_,{label:"\u9644\u4EF6",prop:"cancelFile"},{default:n(()=>[c(R,{"file-list":t.value.cancelFile,"onUpdate:file-list":a[1]||(a[1]=s=>t.value.cancelFile=s),class:"w-full",action:g(f),limit:10,"on-success":s=>g(q)(s,t.value.cancelFile),"on-error":g(S),"before-upload":s=>g(A)(s,{types:["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/msword","application/pdf","image/jpeg","image/png","image/gif"],size:2048}),multiple:""},{tip:n(()=>[K]),default:n(()=>[c(y,{type:"primary"},{default:n(()=>[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.fe83d1aa.js";import{h as q,a as S,f as A}from"./uploadAction.69ee4a64.js";import{d as D,z as I,r as h,A as M,f as d,g as T,p as E,w as n,e as c,x as g,h as x,b as G,i as H}from"./index.551f5afa.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=D({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=I.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 M(()=>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 T(),E(k,{"model-value":o.visible,title:"\u53D6\u6D88\u8BA2\u5355",width:"560px","destroy-on-close":"",onClose:a[4]||(a[4]=s=>l("close"))},{footer:n(()=>[c(y,{type:"primary",size:"small",onClick:a[2]||(a[2]=s=>i(u.value))},{default:n(()=>[L]),_:1}),c(y,{type:"info",size:"small",onClick:a[3]||(a[3]=s=>l("close"))},{default:n(()=>[P]),_:1})]),default:n(()=>[c(j,{ref_key:"formRef",ref:u,model:t.value,rules:p,"label-width":"90px","label-suffix":":",size:"small"},{default:n(()=>[c(_,{label:"\u53D6\u6D88\u539F\u56E0",prop:"cancelReason"},{default:n(()=>[c(m,{modelValue:t.value.cancelReason,"onUpdate:modelValue":a[0]||(a[0]=s=>t.value.cancelReason=s),type:"textarea",placeholder:"\u8BF7\u8F93\u5165",maxlength:"200"},null,8,["modelValue"])]),_:1}),c(_,{label:"\u9644\u4EF6",prop:"cancelFile"},{default:n(()=>[c(R,{"file-list":t.value.cancelFile,"onUpdate:file-list":a[1]||(a[1]=s=>t.value.cancelFile=s),class:"w-full",action:g(f),limit:10,"on-success":s=>g(q)(s,t.value.cancelFile),"on-error":g(S),"before-upload":s=>g(A)(s,{types:["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/msword","application/pdf","image/jpeg","image/png","image/gif"],size:2048}),multiple:""},{tip:n(()=>[K]),default:n(()=>[c(y,{type:"primary"},{default:n(()=>[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.6d448f34.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.551f5afa.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 z=Object.defineProperty,L=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var A=(t,e,a)=>e in t?z(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,C=(t,e)=>{for(var a in e||(e={}))$.call(e,a)&&A(t,a,e[a]);if(x)for(var a of x(e))j.call(e,a)&&A(t,a,e[a]);return t},I=(t,e)=>L(t,M(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 q,a as F}from"./driverFile.2f562cad.js";import{_ as O,d as R,r as _,A as h,f as m,g as b,p as k,w as d,e as u,c as E,s as S,F as T,h as w,i as U}from"./index.6d448f34.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=I(C({},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 q({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"),N=m("el-dialog");return b(),k(N,{"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(),k(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 z=Object.defineProperty,L=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var A=(t,e,a)=>e in t?z(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,C=(t,e)=>{for(var a in e||(e={}))$.call(e,a)&&A(t,a,e[a]);if(x)for(var a of x(e))j.call(e,a)&&A(t,a,e[a]);return t},I=(t,e)=>L(t,M(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 q,a as F}from"./driverFile.0e884ef0.js";import{_ as O,d as R,r as _,A as h,f as m,g as b,p as k,w as d,e as u,c as E,s as S,F as T,h as w,i as U}from"./index.551f5afa.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=I(C({},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 q({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"),N=m("el-dialog");return b(),k(N,{"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(),k(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,F=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,N=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={}))q.call(a,t)&&w(e,t,a[t]);if(k)for(var t of k(a))N.call(a,t)&&w(e,t,a[t]);return e},x=(e,a)=>F(e,S(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 O,d as T,r as h,A,f as d,g as D,p as I,w as r,e as c,c as L,s as M,h as v,t as P,F as U,i as E}from"./index.6d448f34.js";const Y=e=>O.get("/api/v1/loginDeviceChangeRecord/page",{params:e}),G=e=>O.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 A(()=>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 V=d("el-radio"),$=d("el-radio-group"),j=d("el-form-item"),z=d("el-form"),b=d("el-button"),B=d("el-dialog");return D(),I(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(z,{ref_key:"formRef",ref:i,model:n.value,rules:_,"label-width":"90px","label-suffix":":",size:"small"},{default:r(()=>[c(j,{label:"\u5904\u7406",prop:"status"},{default:r(()=>[c($,{modelValue:n.value.status,"onUpdate:modelValue":o[0]||(o[0]=u=>n.value.status=u)},{default:r(()=>[(D(),L(U,null,M(m,(u,C)=>c(V,{key:C,label:C},{default:r(()=>[v(P(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,F=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,N=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={}))q.call(a,t)&&w(e,t,a[t]);if(k)for(var t of k(a))N.call(a,t)&&w(e,t,a[t]);return e},x=(e,a)=>F(e,S(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 O,d as T,r as h,A,f as d,g as D,p as I,w as r,e as c,c as L,s as M,h as v,t as P,F as U,i as E}from"./index.551f5afa.js";const Y=e=>O.get("/api/v1/loginDeviceChangeRecord/page",{params:e}),G=e=>O.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 A(()=>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 V=d("el-radio"),$=d("el-radio-group"),j=d("el-form-item"),z=d("el-form"),b=d("el-button"),B=d("el-dialog");return D(),I(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(z,{ref_key:"formRef",ref:i,model:n.value,rules:_,"label-width":"90px","label-suffix":":",size:"small"},{default:r(()=>[c(j,{label:"\u5904\u7406",prop:"status"},{default:r(()=>[c($,{modelValue:n.value.status,"onUpdate:modelValue":o[0]||(o[0]=u=>n.value.status=u)},{default:r(()=>[(D(),L(U,null,M(m,(u,C)=>c(V,{key:C,label:C},{default:r(()=>[v(P(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 I=Object.defineProperty,z=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var w=(t,o,l)=>o in t?I(t,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):t[o]=l,V=(t,o)=>{for(var l in o||(o={}))B.call(o,l)&&w(t,l,o[l]);if(N)for(var l of N(o))O.call(o,l)&&w(t,l,o[l]);return t},P=(t,o)=>z(t,A(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 R,s as T}from"./companyManage.78c4ab37.js";import{u as j}from"./useTreeSelectData.55c00ed4.js";import{d as D,r as _,A as h,R as F,f as c,g as S,p as G,w as s,e as r,x as H,h as $,i as J}from"./index.6d448f34.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 T(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}=j(),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 R(l.data.companyId);a.value=V({},u.data)}}else a.value={},m.value.resetFields()})),(f,e)=>{var x;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:`${(x=t.data)!=null&&x.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 I=Object.defineProperty,z=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var w=(t,o,l)=>o in t?I(t,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):t[o]=l,V=(t,o)=>{for(var l in o||(o={}))B.call(o,l)&&w(t,l,o[l]);if(N)for(var l of N(o))O.call(o,l)&&w(t,l,o[l]);return t},P=(t,o)=>z(t,A(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 R,s as T}from"./companyManage.3f0f77c2.js";import{u as j}from"./useTreeSelectData.cd9b00f2.js";import{d as D,r as _,A as h,R as F,f as c,g as S,p as G,w as s,e as r,x as H,h as $,i as J}from"./index.551f5afa.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 T(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}=j(),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 R(l.data.companyId);a.value=V({},u.data)}}else a.value={},m.value.resetFields()})),(f,e)=>{var x;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:`${(x=t.data)!=null&&x.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.6d448f34.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.551f5afa.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 G=Object.defineProperty,M=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var $=(a,t,e)=>t in a?G(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e,p=(a,t)=>{for(var e in t||(t={}))U.call(t,e)&&$(a,e,t[e]);if(L)for(var e of L(t))q.call(t,e)&&$(a,e,t[e]);return a},A=(a,t)=>M(a,R(t));var w=(a,t,e)=>new Promise((h,B)=>{var l=o=>{try{i(e.next(o))}catch(x){B(x)}},_=o=>{try{i(e.throw(o))}catch(x){B(x)}},i=o=>o.done?h(o.value):Promise.resolve(o.value).then(l,_);i((e=e.apply(a,t)).next())});import{c as D}from"./settlementDocManage.16fa02c0.js";import{h as P,a as Y,f as H}from"./uploadAction.46257434.js";import{d as J,z as K,r as T,A as Q,f as O,g as W,p as X,w as d,e as c,x as V,h as j,b as Z,i as ee}from"./index.6d448f34.js";const te=j("\u4E0A\u4F20\u9644\u4EF6"),ae=Z("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),le=j(" \u63D0\u4EA4 "),ie=j(" \u5173\u95ED "),ne=J({name:"confirmDialog"}),fe=Object.assign(ne,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(a,{emit:t}){const e=a,{proxy:h}=ee(),B=K.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"}},_=T(),i=T({}),o=T({}),x=v=>w(this,null,function*(){!v||(yield v.validate(n=>w(this,null,function*(){var s,f,m,r,N,g,S,u;if(n){const b=A(p({},i.value),{examineStatus:(f=l[(s=e==null?void 0:e.data)==null?void 0:s.examineStatus])==null?void 0:f.nextState});b[(r=l[(m=e==null?void 0:e.data)==null?void 0:m.examineStatus])==null?void 0:r.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[(S=e==null?void 0:e.data)==null?void 0:S.examineStatus])==null?void 0:u.field].map(F=>F.response.data.id).join(","):void 0,yield D(b),h.$message.success("\u786E\u8BA4\u6210\u529F\uFF01"),t("close",!0)}})))});return Q(()=>e.visible,v=>w(this,null,function*(){var n,s,f,m,r;v?(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[(r=l[(m=e==null?void 0:e.data)==null?void 0:m.examineStatus])==null?void 0:r.field]=[{required:!0,message:"\u8BF7\u4E0A\u4F20\u6587\u4EF6",trigger:"change"}]):_.value.resetFields()})),(v,n)=>{var g,S;const s=O("el-button"),f=O("el-upload"),m=O("el-form-item"),r=O("el-form"),N=O("el-dialog");return W(),X(N,{"model-value":a.visible,title:(S=l[(g=e==null?void 0:e.data)==null?void 0:g.examineStatus])==null?void 0:S.title,width:"560px","destroy-on-close":"",onClose:n[3]||(n[3]=u=>t("close"))},{footer:d(()=>[c(s,{type:"primary",size:"small",onClick:n[1]||(n[1]=u=>x(_.value))},{default:d(()=>[le]),_:1}),c(s,{type:"info",size:"small",onClick:n[2]||(n[2]=u=>t("close"))},{default:d(()=>[ie]),_:1})]),default:d(()=>[c(r,{ref_key:"formRef",ref:_,model:i.value,rules:o.value,"label-suffix":":",size:"small"},{default:d(()=>{var u,b,F,k;return[c(m,{label:(b=l[(u=e==null?void 0:e.data)==null?void 0:u.examineStatus])==null?void 0:b.formLabel,prop:(k=l[(F=e==null?void 0:e.data)==null?void 0:F.examineStatus])==null?void 0:k.field},{default:d(()=>{var z,E;return[c(f,{"file-list":i.value[(E=l[(z=e==null?void 0:e.data)==null?void 0:z.examineStatus])==null?void 0:E.field],"onUpdate:file-list":n[0]||(n[0]=y=>{var C,I;return i.value[(I=l[(C=e==null?void 0:e.data)==null?void 0:C.examineStatus])==null?void 0:I.field]=y}),class:"w-full",action:V(B),limit:10,"on-success":y=>{var C,I;return V(P)(y,i.value[(I=l[(C=e==null?void 0:e.data)==null?void 0:C.examineStatus])==null?void 0:I.field],!0)},"on-error":V(Y),"before-upload":y=>V(H)(y,{types:["application/pdf","image/jpeg","image/png","image/gif"],size:2048})},{tip:d(()=>[ae]),default:d(()=>[c(s,{type:"primary"},{default:d(()=>[te]),_: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"])}}});export{fe as default}; | |||
var G=Object.defineProperty,M=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var $=(a,t,e)=>t in a?G(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e,p=(a,t)=>{for(var e in t||(t={}))U.call(t,e)&&$(a,e,t[e]);if(L)for(var e of L(t))q.call(t,e)&&$(a,e,t[e]);return a},A=(a,t)=>M(a,R(t));var w=(a,t,e)=>new Promise((h,B)=>{var l=o=>{try{i(e.next(o))}catch(x){B(x)}},_=o=>{try{i(e.throw(o))}catch(x){B(x)}},i=o=>o.done?h(o.value):Promise.resolve(o.value).then(l,_);i((e=e.apply(a,t)).next())});import{c as D}from"./settlementDocManage.f30ed3f7.js";import{h as P,a as Y,f as H}from"./uploadAction.69ee4a64.js";import{d as J,z as K,r as T,A as Q,f as O,g as W,p as X,w as d,e as c,x as V,h as j,b as Z,i as ee}from"./index.551f5afa.js";const te=j("\u4E0A\u4F20\u9644\u4EF6"),ae=Z("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),le=j(" \u63D0\u4EA4 "),ie=j(" \u5173\u95ED "),ne=J({name:"confirmDialog"}),fe=Object.assign(ne,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(a,{emit:t}){const e=a,{proxy:h}=ee(),B=K.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"}},_=T(),i=T({}),o=T({}),x=v=>w(this,null,function*(){!v||(yield v.validate(n=>w(this,null,function*(){var s,f,m,r,N,g,S,u;if(n){const b=A(p({},i.value),{examineStatus:(f=l[(s=e==null?void 0:e.data)==null?void 0:s.examineStatus])==null?void 0:f.nextState});b[(r=l[(m=e==null?void 0:e.data)==null?void 0:m.examineStatus])==null?void 0:r.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[(S=e==null?void 0:e.data)==null?void 0:S.examineStatus])==null?void 0:u.field].map(F=>F.response.data.id).join(","):void 0,yield D(b),h.$message.success("\u786E\u8BA4\u6210\u529F\uFF01"),t("close",!0)}})))});return Q(()=>e.visible,v=>w(this,null,function*(){var n,s,f,m,r;v?(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[(r=l[(m=e==null?void 0:e.data)==null?void 0:m.examineStatus])==null?void 0:r.field]=[{required:!0,message:"\u8BF7\u4E0A\u4F20\u6587\u4EF6",trigger:"change"}]):_.value.resetFields()})),(v,n)=>{var g,S;const s=O("el-button"),f=O("el-upload"),m=O("el-form-item"),r=O("el-form"),N=O("el-dialog");return W(),X(N,{"model-value":a.visible,title:(S=l[(g=e==null?void 0:e.data)==null?void 0:g.examineStatus])==null?void 0:S.title,width:"560px","destroy-on-close":"",onClose:n[3]||(n[3]=u=>t("close"))},{footer:d(()=>[c(s,{type:"primary",size:"small",onClick:n[1]||(n[1]=u=>x(_.value))},{default:d(()=>[le]),_:1}),c(s,{type:"info",size:"small",onClick:n[2]||(n[2]=u=>t("close"))},{default:d(()=>[ie]),_:1})]),default:d(()=>[c(r,{ref_key:"formRef",ref:_,model:i.value,rules:o.value,"label-suffix":":",size:"small"},{default:d(()=>{var u,b,F,k;return[c(m,{label:(b=l[(u=e==null?void 0:e.data)==null?void 0:u.examineStatus])==null?void 0:b.formLabel,prop:(k=l[(F=e==null?void 0:e.data)==null?void 0:F.examineStatus])==null?void 0:k.field},{default:d(()=>{var z,E;return[c(f,{"file-list":i.value[(E=l[(z=e==null?void 0:e.data)==null?void 0:z.examineStatus])==null?void 0:E.field],"onUpdate:file-list":n[0]||(n[0]=y=>{var C,I;return i.value[(I=l[(C=e==null?void 0:e.data)==null?void 0:C.examineStatus])==null?void 0:I.field]=y}),class:"w-full",action:V(B),limit:10,"on-success":y=>{var C,I;return V(P)(y,i.value[(I=l[(C=e==null?void 0:e.data)==null?void 0:C.examineStatus])==null?void 0:I.field],!0)},"on-error":V(Y),"before-upload":y=>V(H)(y,{types:["application/pdf","image/jpeg","image/png","image/gif"],size:2048})},{tip:d(()=>[ae]),default:d(()=>[c(s,{type:"primary"},{default:d(()=>[te]),_: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"])}}});export{fe as default}; |
@@ -1 +1 @@ | |||
var U=Object.defineProperty;var V=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var T=(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)&&T(r,l,o[l]);if(V)for(var l of V(o))A.call(o,l)&&T(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.59f47c81.js";import{d as G,a as z,r as b,A 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,B as Q,i as X}from"./index.6d448f34.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=z({realName:void 0}),N=b(),d=b({}),s=z({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 T=(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)&&T(r,l,o[l]);if(V)for(var l of V(o))A.call(o,l)&&T(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.fe83d1aa.js";import{d as G,a as z,r as b,A 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,B as Q,i as X}from"./index.551f5afa.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=z({realName:void 0}),N=b(),d=b({}),s=z({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.6d448f34.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.551f5afa.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.6d448f34.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.551f5afa.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}; |
@@ -0,0 +1 @@ | |||
import{c as S}from"./validate.167e08f8.js";import{d as V,r as F,A as N,f as r,g as i,c as s,e as t,w as e,h as o,t as u,b as h,F as b,s as w,p as m,q as g,x as P,N as Y}from"./index.551f5afa.js";const C={class:"driverlicenseInfo"},M={class:"flex"},j={key:0,class:"mt-8"},E={class:"image-slot"},I={key:1},R={key:0,class:"mt-8"},O={class:"image-slot"},q=V({name:"driverlicenseInfo"}),H=Object.assign(q,{props:{detailData:{type:Object,default:()=>{}}},setup(a){const f=a,v=F({driver:!1});function T(){v.value.driver=S(f.detailData.driverLicenseStartTime,f.detailData.driverLicenseValidity)}return N(()=>f.detailData,p=>{p&&T()},{immediate:!0,deep:!0}),(p,A)=>{const l=r("el-form-item"),n=r("el-col"),L=r("el-row"),x=r("Picture"),y=r("el-icon"),k=r("el-image"),B=r("el-badge");return i(),s("div",C,[t(L,{gutter:30},{default:e(()=>[t(n,{span:12},{default:e(()=>[t(l,{label:"\u51C6\u9A7E\u8F66\u578B"},{default:e(()=>[o(u(a.detailData.driverLicenseType||"-"),1)]),_:1})]),_:1})]),_:1}),t(L,{gutter:30},{default:e(()=>[t(n,{span:8},{default:e(()=>[h("div",M,[t(l,{label:"\u9A7E\u9A76\u8BC1\u7167\u7247"},{default:e(()=>{var c;return[(c=a.detailData)!=null&&c.driverLicensePhotoFront?(i(),s("div",j,[(i(!0),s(b,null,w(a.detailData.driverLicensePhotoFront,(_,d)=>(i(),m(k,{key:d,class:"imgBox mr-8",src:_.url,"initial-index":d,"preview-src-list":a.detailData.driverLicensePhotoFront.map(D=>D.url),fit:"cover"},{error:e(()=>[h("div",E,[t(y,null,{default:e(()=>[t(x)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(i(),s("span",I,"-"))]}),_:1}),t(l,{class:"ml-40"},{default:e(()=>{var c;return[(c=a.detailData)!=null&&c.driverLicensePhotoReverse?(i(),s("div",R,[(i(!0),s(b,null,w(a.detailData.driverLicensePhotoReverse,(_,d)=>(i(),m(k,{key:d,class:"imgBox mr-8",src:_.url,"initial-index":d,"preview-src-list":a.detailData.driverLicensePhotoReverse.map(D=>D.url),fit:"cover"},{error:e(()=>[h("div",O,[t(y,null,{default:e(()=>[t(x)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):g("",!0)]}),_:1})])]),_:1}),v.value.driver?(i(),m(n,{key:0,span:8},{default:e(()=>[t(B,{value:"\u5DF2\u8FC7\u6709\u6548\u671F",class:"item",style:{"background-color":"#f2f4f7",padding:"10px"}},{default:e(()=>[t(l,{label:"\u9A7E\u9A76\u8BC1\u6709\u6548\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[o(u(a.detailData.driverLicenseStartTime?P(Y)(a.detailData.driverLicenseStartTime).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1})]),_:1})):g("",!0),v.value.driver?g("",!0):(i(),m(n,{key:1,span:8},{default:e(()=>[t(l,{label:"\u9A7E\u9A76\u8BC1\u6709\u6548\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[o(u(a.detailData.driverLicenseStartTime?P(Y)(a.detailData.driverLicenseStartTime).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1})),t(n,{span:8},{default:e(()=>[t(l,{label:"\u6709\u6548\u671F\u9650"},{default:e(()=>[o(u({0:"\u957F\u671F",6:"6\u5E74",10:"10\u5E74"}[a.detailData.driverLicenseValidity]||"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{H as default}; |
@@ -1 +0,0 @@ | |||
import{d as y,f as s,g as i,c as l,e,w as t,h as _,t as m,b as f,F as p,s as L,p as x,q as k,x as w,N as P}from"./index.6d448f34.js";const b={class:"driverlicenseInfo"},B={class:"flex"},F={key:0,class:"mt-8"},N={class:"image-slot"},V={key:1},C={key:0,class:"mt-8"},T={class:"image-slot"},Y=y({name:"driverlicenseInfo"}),I=Object.assign(Y,{props:{detailData:{type:Object,default:()=>{}}},setup(a){return(j,R)=>{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(),x(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",N,[e(D,null,{default:t(()=>[e(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(i(),l("span",V,"-"))]}),_:1}),e(r,{class:"ml-40"},{default:t(()=>{var n;return[(n=a.detailData)!=null&&n.driverLicensePhotoReverse?(i(),l("div",C,[(i(!0),l(p,null,L(a.detailData.driverLicensePhotoReverse,(d,o)=>(i(),x(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{I as default}; |
@@ -1 +1 @@ | |||
import{h as b,a as y,f as P}from"./uploadAction.46257434.js";import{d as x,z as R,v as T,f as s,g as i,c as p,e as o,w as l,x as e,F as U,s as B,b as u,p as V}from"./index.6d448f34.js";const C={class:"driverlicenseInfo"},S={class:"flex"},j=["src"],M=u("div",{class:"el-upload__tip text-center"}," \u6B63\u9762\u7167\u7247 ",-1),z=["src"],O=u("div",{class:"el-upload__tip text-center"}," \u53CD\u9762\u7167\u7247 ",-1),A=x({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=R.dictStore.uploadUrl,r=T({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(U,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(b)(t,e(r).driverLicensePhotoFront,!0),"on-error":e(y),"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(b)(t,e(r).driverLicensePhotoReverse,!0),"on-error":e(y),"before-upload":t=>e(P)(t,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[O]),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,z)):(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 b,a as y,f as P}from"./uploadAction.69ee4a64.js";import{d as x,z as R,v as T,f as s,g as i,c as p,e as o,w as l,x as e,F as U,s as B,b as u,p as V}from"./index.551f5afa.js";const C={class:"driverlicenseInfo"},S={class:"flex"},j=["src"],M=u("div",{class:"el-upload__tip text-center"}," \u6B63\u9762\u7167\u7247 ",-1),z=["src"],O=u("div",{class:"el-upload__tip text-center"}," \u53CD\u9762\u7167\u7247 ",-1),A=x({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=R.dictStore.uploadUrl,r=T({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(U,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(b)(t,e(r).driverLicensePhotoFront,!0),"on-error":e(y),"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(b)(t,e(r).driverLicensePhotoReverse,!0),"on-error":e(y),"before-upload":t=>e(P)(t,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[O]),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,z)):(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 +0,0 @@ | |||
import{d as b,f,g as l,c as i,e,w as t,h as u,t as _,b as m,F as D,s as x,p as P,q as w}from"./index.6d448f34.js";const p={class:"drivinglicenseInfo"},B={class:"flex"},L={key:0,class:"mt-8"},F={class:"image-slot"},N={key:1},C={key:0,class:"mt-8"},V={class:"image-slot"},R={class:"flex"},T={key:0,class:"mt-8"},j={class:"image-slot"},E={key:1},I={class:"flex"},O={key:0,class:"mt-8"},q={class:"image-slot"},A={key:1},S=b({name:"drivinglicenseInfo"}),J=Object.assign(S,{props:{detailData:{type:Object,default:()=>{}}},setup(a){return(z,G)=>{const s=f("el-form-item"),c=f("el-col"),y=f("el-row"),v=f("Picture"),h=f("el-icon"),g=f("el-image");return l(),i("div",p,[e(y,{gutter:30},{default:t(()=>[e(c,{span:12},{default:t(()=>[e(s,{label:"\u8F66\u724C\u53F7"},{default:t(()=>[u(_(a.detailData.carNo||"-"),1)]),_:1})]),_:1}),e(c,{span:12},{default:t(()=>[e(s,{label:"\u8F66\u8F86\u7C7B\u578B"},{default:t(()=>[u(_(a.detailData.vehicleType||"-"),1)]),_:1})]),_:1})]),_:1}),e(y,{gutter:30},{default:t(()=>[e(c,{span:12},{default:t(()=>[m("div",B,[e(s,{label:"\u884C\u9A76\u8BC1\u7167\u7247"},{default:t(()=>{var n;return[(n=a.detailData)!=null&&n.drivingLicensePhotoFront?(l(),i("div",L,[(l(!0),i(D,null,x(a.detailData.drivingLicensePhotoFront,(o,d)=>(l(),P(g,{key:d,class:"imgBox mr-8",src:o.url,"initial-index":d,"preview-src-list":a.detailData.drivingLicensePhotoFront.map(r=>r.url),fit:"cover"},{error:t(()=>[m("div",F,[e(h,null,{default:t(()=>[e(v)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(l(),i("span",N,"-"))]}),_:1}),e(s,{class:"ml-40"},{default:t(()=>{var n;return[(n=a.detailData)!=null&&n.drivingLicensePhotoReverse?(l(),i("div",C,[(l(!0),i(D,null,x(a.detailData.drivingLicensePhotoReverse,(o,d)=>(l(),P(g,{key:d,class:"imgBox mr-8",src:o.url,"initial-index":d,"preview-src-list":a.detailData.drivingLicensePhotoReverse.map(r=>r.url),fit:"cover"},{error:t(()=>[m("div",V,[e(h,null,{default:t(()=>[e(v)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):w("",!0)]}),_:1})])]),_:1}),e(c,{span:12},{default:t(()=>[m("div",R,[e(s,{label:"\u8F66\u8F86\u7167\u7247"},{default:t(()=>{var n,o;return[(o=(n=a.detailData)==null?void 0:n.carPhoto)!=null&&o.length?(l(),i("div",T,[(l(!0),i(D,null,x(a.detailData.carPhoto,(d,r)=>(l(),P(g,{key:r,class:"imgBox mr-8",src:d.url,"initial-index":r,"preview-src-list":a.detailData.carPhoto.map(k=>k.url),fit:"cover"},{error:t(()=>[m("div",j,[e(h,null,{default:t(()=>[e(v)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(l(),i("span",E,"-"))]}),_:1})])]),_:1}),e(c,{span:24},{default:t(()=>[m("div",I,[e(s,{label:"\u8F66\u8F86\u4FDD\u517B\u8BB0\u5F55"},{default:t(()=>{var n,o;return[(o=(n=a.detailData)==null?void 0:n.maintenancePhoto)!=null&&o.length?(l(),i("div",O,[(l(!0),i(D,null,x(a.detailData.maintenancePhoto,(d,r)=>(l(),P(g,{key:r,class:"imgBox mr-8",src:d.url,"initial-index":r,"preview-src-list":a.detailData.maintenancePhoto.map(k=>k.url),fit:"cover"},{error:t(()=>[m("div",q,[e(h,null,{default:t(()=>[e(v)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(l(),i("span",A,"-"))]}),_:1})])]),_:1}),e(c,{span:12},{default:t(()=>[e(s,{label:"\u8F66\u9F84"},{default:t(()=>[u(_({1:"\u226512\u5E74",2:"<12\u5E74"}[a.detailData.vehicleAge]||"-"),1)]),_:1})]),_:1}),e(c,{span:12},{default:t(()=>[e(s,{label:"\u7D2F\u8BA1\u884C\u9A76\u91CC\u7A0B"},{default:t(()=>[u(_({1:"\u226520\u4E07\u516C\u91CC",2:"<20\u4E07\u516C\u91CC"}[a.detailData.mileage]||"-"),1)]),_:1})]),_:1}),e(c,{span:12},{default:t(()=>[e(s,{label:"\u4FDD\u517B\u662F\u5426\u5230\u671F"},{default:t(()=>[u(_({true:"\u662F",false:"\u5426"}[a.detailData.maintenanceExpired]||"-"),1)]),_:1})]),_:1}),e(c,{span:12},{default:t(()=>[e(s,{label:"\u8F66\u8F86\u662F\u5426\u8FC7\u5BA1"},{default:t(()=>[u(_({true:"\u662F",false:"\u5426"}[a.detailData.auditPassed]||"-"),1)]),_:1})]),_:1}),e(c,{span:12},{default:t(()=>[e(s,{label:"\u8F66\u8F86\u4FDD\u517B\u65F6\u95F4"},{default:t(()=>[u(_(a.detailData.maintenanceTime||"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{J as default}; |
@@ -0,0 +1 @@ | |||
import{d as p,f,g as l,c as n,e as t,w as e,h as u,t as m,b as _,F as x,s as b,p as v,q as P}from"./index.551f5afa.js";const B={class:"drivinglicenseInfo"},L={class:"flex"},F={key:0,class:"mt-8"},N={class:"image-slot"},C={key:1},T={key:0,class:"mt-8"},V={class:"image-slot"},E={class:"flex"},R={key:0,class:"mt-8"},j={class:"image-slot"},I={key:1},O={class:"flex"},q={key:0,class:"mt-8"},A={class:"image-slot"},S={key:1},z=p({name:"drivinglicenseInfo"}),K=Object.assign(z,{props:{detailData:{type:Object,default:()=>{}}},setup(a){return(G,H)=>{const i=f("el-form-item"),s=f("el-col"),y=f("el-row"),h=f("Picture"),g=f("el-icon"),D=f("el-image"),w=f("el-badge");return l(),n("div",B,[t(y,{gutter:30},{default:e(()=>[t(s,{span:12},{default:e(()=>[t(i,{label:"\u8F66\u724C\u53F7"},{default:e(()=>[u(m(a.detailData.carNo||"-"),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(i,{label:"\u8F66\u8F86\u7C7B\u578B"},{default:e(()=>[u(m(a.detailData.vehicleType||"-"),1)]),_:1})]),_:1})]),_:1}),t(y,{gutter:30},{default:e(()=>[t(s,{span:12},{default:e(()=>[_("div",L,[t(i,{label:"\u884C\u9A76\u8BC1\u7167\u7247"},{default:e(()=>{var c;return[(c=a.detailData)!=null&&c.drivingLicensePhotoFront?(l(),n("div",F,[(l(!0),n(x,null,b(a.detailData.drivingLicensePhotoFront,(d,o)=>(l(),v(D,{key:o,class:"imgBox mr-8",src:d.url,"initial-index":o,"preview-src-list":a.detailData.drivingLicensePhotoFront.map(r=>r.url),fit:"cover"},{error:e(()=>[_("div",N,[t(g,null,{default:e(()=>[t(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(l(),n("span",C,"-"))]}),_:1}),t(i,{class:"ml-40"},{default:e(()=>{var c;return[(c=a.detailData)!=null&&c.drivingLicensePhotoReverse?(l(),n("div",T,[(l(!0),n(x,null,b(a.detailData.drivingLicensePhotoReverse,(d,o)=>(l(),v(D,{key:o,class:"imgBox mr-8",src:d.url,"initial-index":o,"preview-src-list":a.detailData.drivingLicensePhotoReverse.map(r=>r.url),fit:"cover"},{error:e(()=>[_("div",V,[t(g,null,{default:e(()=>[t(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):P("",!0)]}),_:1})])]),_:1}),t(s,{span:12},{default:e(()=>[_("div",E,[t(i,{label:"\u8F66\u8F86\u7167\u7247"},{default:e(()=>{var c,d;return[(d=(c=a.detailData)==null?void 0:c.carPhoto)!=null&&d.length?(l(),n("div",R,[(l(!0),n(x,null,b(a.detailData.carPhoto,(o,r)=>(l(),v(D,{key:r,class:"imgBox mr-8",src:o.url,"initial-index":r,"preview-src-list":a.detailData.carPhoto.map(k=>k.url),fit:"cover"},{error:e(()=>[_("div",j,[t(g,null,{default:e(()=>[t(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(l(),n("span",I,"-"))]}),_:1})])]),_:1}),t(s,{span:24},{default:e(()=>[_("div",O,[t(i,{label:"\u8F66\u8F86\u4FDD\u517B\u8BB0\u5F55"},{default:e(()=>{var c,d;return[(d=(c=a.detailData)==null?void 0:c.maintenancePhoto)!=null&&d.length?(l(),n("div",q,[(l(!0),n(x,null,b(a.detailData.maintenancePhoto,(o,r)=>(l(),v(D,{key:r,class:"imgBox mr-8",src:o.url,"initial-index":r,"preview-src-list":a.detailData.maintenancePhoto.map(k=>k.url),fit:"cover"},{error:e(()=>[_("div",A,[t(g,null,{default:e(()=>[t(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(l(),n("span",S,"-"))]}),_:1})])]),_:1}),t(s,{span:12},{default:e(()=>[t(i,{label:"\u8F66\u9F84"},{default:e(()=>[u(m({1:"\u226512\u5E74",2:"<12\u5E74"}[a.detailData.vehicleAge]||"-"),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(i,{label:"\u7D2F\u8BA1\u884C\u9A76\u91CC\u7A0B"},{default:e(()=>[u(m({1:"\u226520\u4E07\u516C\u91CC",2:"<20\u4E07\u516C\u91CC"}[a.detailData.mileage]||"-"),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(i,{label:"\u4FDD\u517B\u662F\u5426\u5230\u671F"},{default:e(()=>[u(m({true:"\u662F",false:"\u5426"}[a.detailData.maintenanceExpired]||"-"),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(i,{label:"\u8F66\u8F86\u662F\u5426\u8FC7\u5BA1"},{default:e(()=>[u(m({true:"\u662F",false:"\u5426"}[a.detailData.auditPassed]||"-"),1)]),_:1})]),_:1}),a.detailData.maintenanceExpired?(l(),v(s,{key:0,span:12},{default:e(()=>[t(w,{value:"\u5DF2\u8FC7\u6709\u6548\u671F",class:"item",style:{"background-color":"#f2f4f7",padding:"10px"}},{default:e(()=>[t(i,{label:"\u8F66\u8F86\u4FDD\u517B\u65F6\u95F4"},{default:e(()=>[u(m(a.detailData.maintenanceTime||"-"),1)]),_:1})]),_:1})]),_:1})):P("",!0),t(s,{span:12},{default:e(()=>[t(i,{label:"\u8F66\u8F86\u4FDD\u517B\u65F6\u95F4"},{default:e(()=>[u(m(a.detailData.maintenanceTime||"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{K as default}; |
@@ -1 +1 @@ | |||
import{h as f,a as _,f as m}from"./uploadAction.46257434.js";import{d as U,z as k,v as w,f as s,g as b,c as x,e as o,w as l,x as t,F,s as z,b as g}from"./index.6d448f34.js";const K={class:"equipmentInfo"},M=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=g("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1),q=U({name:"equipmentInfo"}),N=Object.assign(q,{props:{formData:{type:Object,default:()=>{}}},emits:["updata:formData"],setup(v,{emit:y}){const V=v,p=k.dictStore.uploadUrl,a=w({get(){return V.formData},set(h){y("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",K,[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(()=>[M]),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(()=>[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})]),_: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(()=>[C]),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,z(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.69ee4a64.js";import{d as U,z as k,v as w,f as s,g as b,c as x,e as o,w as l,x as t,F,s as z,b as g}from"./index.551f5afa.js";const K={class:"equipmentInfo"},M=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=g("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1),q=U({name:"equipmentInfo"}),N=Object.assign(q,{props:{formData:{type:Object,default:()=>{}}},emits:["updata:formData"],setup(v,{emit:y}){const V=v,p=k.dictStore.uploadUrl,a=w({get(){return V.formData},set(h){y("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",K,[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(()=>[M]),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(()=>[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})]),_: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(()=>[C]),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,z(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}; |
@@ -0,0 +1 @@ | |||
import{c as N}from"./validate.167e08f8.js";import{d as j,r as C,A as E,f as r,g as a,c as l,e as t,w as e,F as D,s as p,p as h,b as v,h as w,t as y,x as Y,N as B}from"./index.551f5afa.js";const I={class:"equipmentInfo"},K={key:0,class:"mt-8"},q={class:"image-slot"},F={key:1},O={key:0,class:"mt-8"},A={class:"image-slot"},L={key:1},S={key:0,class:"mt-8"},T={class:"image-slot"},z={key:1},G={key:0},H={key:1},J=j({name:"equipmentInfo"}),W=Object.assign(J,{props:{detailData:{type:Object,default:()=>{}}},setup(i){const _=i,k=C({extinguisher:!1});function V(){k.value.extinguisher=N(_.detailData.extinguisherProdDate,_.detailData.extinguisherValidity)}return E(()=>_.detailData,P=>{P&&V()},{immediate:!0,deep:!0}),(P,Q)=>{const f=r("Picture"),g=r("el-icon"),x=r("el-image"),d=r("el-form-item"),c=r("el-col"),b=r("el-row"),M=r("el-badge");return a(),l("div",I,[t(b,{gutter:30},{default:e(()=>[t(c,{span:8},{default:e(()=>[t(d,{label:"\u4E09\u811A\u67B6\u7167\u7247"},{default:e(()=>{var s,n;return[(n=(s=i.detailData)==null?void 0:s.tripodPhoto)!=null&&n.length?(a(),l("div",K,[(a(!0),l(D,null,p(i.detailData.tripodPhoto,(u,o)=>(a(),h(x,{key:o,class:"imgBox mr-8",src:u.url,"initial-index":o,"preview-src-list":i.detailData.tripodPhoto.map(m=>m.url),fit:"cover"},{error:e(()=>[v("div",q,[t(g,null,{default:e(()=>[t(f)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(a(),l("span",F,"-"))]}),_:1})]),_:1}),t(c,{span:8},{default:e(()=>[t(d,{label:"\u533B\u7597\u5305\u7167\u7247"},{default:e(()=>{var s,n;return[(n=(s=i.detailData)==null?void 0:s.medicalKitPhoto)!=null&&n.length?(a(),l("div",O,[(a(!0),l(D,null,p(i.detailData.medicalKitPhoto,(u,o)=>(a(),h(x,{key:o,class:"imgBox mr-8",src:u.url,"initial-index":o,"preview-src-list":i.detailData.medicalKitPhoto.map(m=>m.url),fit:"cover"},{error:e(()=>[v("div",A,[t(g,null,{default:e(()=>[t(f)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(a(),l("span",L,"-"))]}),_:1})]),_:1})]),_:1}),t(b,{gutter:30},{default:e(()=>[t(c,{span:8},{default:e(()=>[t(d,{label:"\u706D\u706B\u5668\u7167\u7247"},{default:e(()=>{var s,n;return[(n=(s=i.detailData)==null?void 0:s.extinguisherPhoto)!=null&&n.length?(a(),l("div",S,[(a(!0),l(D,null,p(i.detailData.extinguisherPhoto,(u,o)=>(a(),h(x,{key:o,class:"imgBox mr-8",src:u.url,"initial-index":o,"preview-src-list":i.detailData.extinguisherPhoto.map(m=>m.url),fit:"cover"},{error:e(()=>[v("div",T,[t(g,null,{default:e(()=>[t(f)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(a(),l("span",z,"-"))]}),_:1})]),_:1}),k.value.extinguisher?(a(),h(c,{key:0,span:8},{default:e(()=>[t(M,{value:"\u5DF2\u8FC7\u6709\u6548\u671F",class:"item",style:{"background-color":"#f2f4f7",padding:"10px"}},{default:e(()=>[t(d,{label:"\u706D\u706B\u5668\u751F\u4EA7\u65E5\u671F"},{default:e(()=>[w(y(i.detailData.extinguisherProdDate?Y(B)(i.detailData.extinguisherProdDate).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1})]),_:1})):(a(),h(c,{key:1,span:8},{default:e(()=>[t(d,{label:"\u706D\u706B\u5668\u751F\u4EA7\u65E5\u671F"},{default:e(()=>[w(y(i.detailData.extinguisherProdDate?Y(B)(i.detailData.extinguisherProdDate).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1})),t(c,{span:8},{default:e(()=>[t(d,{label:"\u6709\u6548\u671F\u9650"},{default:e(()=>[i.detailData.extinguisherValidity?(a(),l("span",G,y(i.detailData.extinguisherValidity)+"\u5E74",1)):(a(),l("span",H,"-"))]),_:1})]),_:1})]),_:1})])}}});export{W as default}; |
@@ -1 +0,0 @@ | |||
import{d as k,f as r,g as a,c as l,e,w as t,F as g,s as D,p as x,b as p,h as P,t as y,x as w,N as b}from"./index.6d448f34.js";const B={class:"equipmentInfo"},V={key:0,class:"mt-8"},N={class:"image-slot"},Y={key:1},j={key:0,class:"mt-8"},C={class:"image-slot"},K={key:1},q={key:0,class:"mt-8"},F={class:"image-slot"},I={key:1},M={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"),v=r("el-row");return a(),l("div",B,[e(v,{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(),x(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(()=>[p("div",N,[e(h,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(a(),l("span",Y,"-"))]}),_: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",j,[(a(!0),l(g,null,D(i.detailData.medicalKitPhoto,(u,n)=>(a(),x(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(()=>[p("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(v,{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",q,[(a(!0),l(g,null,D(i.detailData.extinguisherPhoto,(u,n)=>(a(),x(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(()=>[p("div",F,[e(h,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(a(),l("span",I,"-"))]}),_: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",M,y(i.detailData.extinguisherValidity)+"\u5E74",1)):(a(),l("span",O,"-"))]),_:1})]),_:1})]),_:1})])}}});export{z 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 N}from"./index.c45fd90d.js";import{u as L}from"./orderManage.59f47c81.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 _,x as Y,N as w,h as M}from"./index.6d448f34.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 L(h.query.orderId);e.value=n.data,r.value=n.data.locusLocationList.map(a=>[a.lng,a.lat]);const d=yield N.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 N}from"./index.fa5dc7de.js";import{u as L}from"./orderManage.fe83d1aa.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 _,x as Y,N as w,h as M}from"./index.551f5afa.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 L(h.query.orderId);e.value=n.data,r.value=n.data.locusLocationList.map(a=>[a.lng,a.lat]);const d=yield N.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.59f47c81.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 _,x as k,N as C,h as g}from"./index.6d448f34.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.fe83d1aa.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 _,x as k,N as C,h as g}from"./index.551f5afa.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}; |
@@ -0,0 +1 @@ | |||
.myCard[data-v-c38e618d]{position:sticky;top:0;z-index:99} |
@@ -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.78c4ab37.js";import{u as J}from"./useTreeSelectData.55c00ed4.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,x as ae,b as g,h as D,O as te,i as oe}from"./index.6d448f34.js";import le from"./companyDialog.6985f095.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.3f0f77c2.js";import{u as J}from"./useTreeSelectData.cd9b00f2.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,x as ae,b as g,h as D,O as te,i as oe}from"./index.551f5afa.js";import le from"./companyDialog.86d60d3f.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 +1 @@ | |||
import{_ as r}from"./index.48f63049.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.6d448f34.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.42d3781f.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.551f5afa.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 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.6d448f34.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.551f5afa.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}; |
@@ -1 +0,0 @@ | |||
import e from"./companyHome.5b3616c0.js";import s from"./adminHome.afb261f0.js";import{d as a,z as n,x as i,g as o,p as r}from"./index.6d448f34.js";import _ from"./projectManageHome.cb8dd479.js";import"./index.b0dc2dad.js";import"./index.0e2eac0c.js";import"./orderManage.59f47c81.js";import"./orderDetailDrawer.4cc3408d.js";import"./uploadAction.46257434.js";import"./editOrderForm.0c9dfa46.js";import"./projectManage.bf420644.js";import"./imageWaterUtils.2f29f38d.js";import"./queryAddressDialog.e09e7b8e.js";import"./locationTransform.e2d22cb6.js";import"./tiandimap.34d44078.js";import"./driverAssignmentDialog.63a9618b.js";import"./cancelOrderDialog.0a3a0339.js";import"./confirmOrderDialog.c6c79b09.js";import"./orderCompletionDialog.045a5f5b.js";import"./confirmBoardingDialog.d54dfa82.js";import"./trajectoryDialog.97b096c4.js";import"./useExportExc.f4c59274.js";import"./useTreeSelectData.55c00ed4.js";import"./index.891eac1e.js";import"./settlementDocManage.16fa02c0.js";import"./confirmDialog.d31deb2b.js";import"./mergeDialog.00ed996d.js";const c=a({name:"home"}),M=Object.assign(c,{setup(f){const t=n.userStore.userBaseInfo;return(u,l)=>{var m,p;return((m=i(t))==null?void 0:m.role)==="super_admin"?(o(),r(s,{key:0})):((p=i(t))==null?void 0:p.role)==="project_manager"?(o(),r(_,{key:1})):(o(),r(e,{key:2}))}}});export{M 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.6d448f34.js";import{d as Ce}from"./uploadAction.46257434.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.551f5afa.js";import{d as Ce}from"./uploadAction.69ee4a64.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 @@ | |||
import{g as w}from"./locationTransform.e2d22cb6.js";import{g as _,c as k,b as f}from"./index.6d448f34.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 _}; | |||
import{g as w}from"./locationTransform.e2d22cb6.js";import{g as _,c as k,b as f}from"./index.551f5afa.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 +0,0 @@ | |||
.myCard[data-v-a6f77377]{position:sticky;top:0;z-index:99} |
@@ -1 +1 @@ | |||
import{u as x}from"./orderManage.59f47c81.js";import{d as N,k as Y,r as d,o as b,V as C,f as _,g as m,c as D,e as t,w as n,p as T,b as s,t as o,x as p,N as f,q as M,h as r}from"./index.6d448f34.js";import{_ as V}from"./index.48f63049.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=N({name:"trackPlayback"}),z=Object.assign(j,{setup(q){const v=Y(),e=d({});b(()=>{k()});const a=d(null);function k(){const c=C.service({fullscreen:!1,text:"\u52A0\u8F7D\u4E2D..."});x(v.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(),D("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(),T(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(f)(e.value.beginTime).format("YYYY-MM-DD HH:mm")),1),s("div",null," \u7ED3\u675F\u65F6\u95F4\uFF1A"+o(p(f)(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})):M("",!0)])}}});export{z as default}; | |||
import{u as x}from"./orderManage.fe83d1aa.js";import{d as N,k as Y,r as d,o as b,V as C,f as _,g as m,c as D,e as t,w as n,p as T,b as s,t as o,x as p,N as f,q as M,h as r}from"./index.551f5afa.js";import{_ as V}from"./index.42d3781f.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=N({name:"trackPlayback"}),z=Object.assign(j,{setup(q){const v=Y(),e=d({});b(()=>{k()});const a=d(null);function k(){const c=C.service({fullscreen:!1,text:"\u52A0\u8F7D\u4E2D..."});x(v.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(),D("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(),T(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(f)(e.value.beginTime).format("YYYY-MM-DD HH:mm")),1),s("div",null," \u7ED3\u675F\u65F6\u95F4\uFF1A"+o(p(f)(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})):M("",!0)])}}});export{z as default}; |
@@ -1 +1 @@ | |||
var P=Object.defineProperty,O=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var N=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(N)for(var t of N(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.6d448f34.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"),T=n("el-button"),B=n("el-row"),C=n("el-form"),x=n("el-card"),L=n("table-list");return F(),G("div",$,[a(x,{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(T,{type:"primary",onClick:m},{default:l(()=>[A]),_:1}),a(T,{type:"info",onClick:s},{default:l(()=>[H]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(x,{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 N=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(N)for(var t of N(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.551f5afa.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"),T=n("el-button"),B=n("el-row"),C=n("el-form"),x=n("el-card"),L=n("table-list");return F(),G("div",$,[a(x,{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(T,{type:"primary",onClick:m},{default:l(()=>[A]),_:1}),a(T,{type:"info",onClick:s},{default:l(()=>[H]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(x,{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 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.6d448f34.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.551f5afa.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}; |
@@ -1 +0,0 @@ | |||
var S=Object.defineProperty,V=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var I=(i,a,t)=>a in i?S(i,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[a]=t,b=(i,a)=>{for(var t in a||(a={}))N.call(a,t)&&I(i,t,a[t]);if(x)for(var t of x(a))A.call(a,t)&&I(i,t,a[t]);return i},F=(i,a)=>V(i,D(a));var f=(i,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(i,a)).next())});import{_ as M,d as T,u as U,k as q,r as g,o as j,f as p,P as K,g as w,c as R,b as $,D as G,p as O,w as l,e as o,x as L,F as Q,q as z,h as y,Q as H,E as J,i as W}from"./index.6d448f34.js";import X from"./basicInfo.8b97aaad.js";import Y from"./paymentInfo.a89f4fd9.js";import Z from"./driverlicenseInfo.199115eb.js";import ee from"./drivinglicenseInfo.b7c0c464.js";import te from"./policyInfo.a2068d19.js";import ae from"./equipmentInfo.cf43ddf6.js";import{d as oe,a as k}from"./driverManage.f7a581c1.js";import{g as n}from"./uploadAction.46257434.js";const ne={class:"detail"},ie={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(i){const{proxy:a}=W(),t=U(),v=q(),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=F(b({},e),{cardPhotoFront:e.cardPhotoFront?yield n([e.cardPhotoFront]):void 0,cardPhotoReverse:e.cardPhotoReverse?yield n([e.cardPhotoReverse]):void 0,driverLicensePhotoFront:e.driverLicensePhotoFront?yield n([e.driverLicensePhotoFront]):void 0,driverLicensePhotoReverse:e.driverLicensePhotoReverse?yield n([e.driverLicensePhotoReverse]):void 0,drivingLicensePhotoFront:e.drivingLicensePhotoFront?yield n([e.drivingLicensePhotoFront]):void 0,drivingLicensePhotoReverse:e.drivingLicensePhotoReverse?yield n([e.drivingLicensePhotoReverse]):void 0,carPhoto:yield n(e.carPhoto),forcedInsurancePhoto:yield n(e.forcedInsurancePhoto),commercialInsurancePhoto:yield n(e.commercialInsurancePhoto),drivingInsurancePhoto:yield n(e.drivingInsurancePhoto),thirdInsurancePhoto:yield n(e.thirdInsurancePhoto),tripodPhoto:yield n(e.tripodPhoto),medicalKitPhoto:yield n(e.medicalKitPhoto),extinguisherPhoto:yield n(e.extinguisherPhoto),annualAuditPhoto:yield n(e.annualAuditPhoto),maintenancePhoto:yield n(e.maintenancePhoto)})}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 k({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 k({id:r.value.id,status:e,rejectReason:s}),localStorage.setItem("modify",1),a.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),t.go(-1)}))});return j(()=>{_()}),(e,s)=>{const u=p("el-collapse-item"),B=p("el-collapse"),C=p("el-form"),P=p("el-button"),E=K("loading");return w(),R("div",ne,[$("div",null,[G((w(),O(C,{"label-suffix":":","label-width":"160","scroll-to-error":"","element-loading-text":"\u52A0\u8F7D\u4E2D..."},{default:l(()=>[o(B,{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:"\u8F66\u8F86\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]])]),$("div",ie,[L(v).query.status==="AUDITING"?(w(),R(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=>L(t).go(-1))},{default:l(()=>[le]),_:1})])])}}}),ye=M(ce,[["__scopeId","data-v-1b71fbb1"]]);export{ye as default}; |
@@ -1 +1 @@ | |||
var S=Object.defineProperty;var P=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var O=(i,t,e)=>t in i?S(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,k=(i,t)=>{for(var e in t||(t={}))j.call(t,e)&&O(i,e,t[e]);if(P)for(var e of P(t))L.call(t,e)&&O(i,e,t[e]);return i};var x=(i,t,e)=>new Promise((d,_)=>{var h=s=>{try{l(e.next(s))}catch(m){_(m)}},g=s=>{try{l(e.throw(s))}catch(m){_(m)}},l=s=>s.done?d(s.value):Promise.resolve(s.value).then(h,g);l((e=e.apply(i,t)).next())});import{_ as q,l as G,d as I}from"./regionDialog.5381b99e.js";import{d as U,r as f,a as A,o as H,f as r,g as D,c as E,e as n,w as o,b as v,F as J,q as K,h as C,i as Q}from"./index.6d448f34.js";import"./useTreeSelectData.55c00ed4.js";const X={class:"regionManage"},Y=C("\u67E5\u8BE2"),Z=C("\u91CD\u7F6E"),ee={class:"flex justify-between items-center"},ae=v("span",null,"\u533A\u57DF\u5217\u8868",-1),te=C(" \u65B0\u589E "),ne=["onClick"],oe=["onClick"],ie=U({name:"regionManage"}),de=Object.assign(ie,{setup(i){const{proxy:t}=Q(),e=f({}),d=f(),_=f(0),h=[{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"}],g=f([]),l=(...y)=>x(this,[...y],function*(a=d.value.pageParams){const p=yield G(k(k({},a),e.value));_.value=p.data.total,g.value=p.data.records}),s=()=>{l()},m=()=>{e.value={},d.value.pageParams.pageNumber=1,d.value.pageParams.pageSize=10,l()},c=A({visible:!1,rowData:void 0}),M=()=>{c.visible=!0,c.rowData=void 0},V=a=>{c.visible=!0,c.rowData={id:a.id,regionCode:a.regionCode,oilPrice:Number(a.oilPrice),carExpense:Number(a.carExpense),regionCodePath:a.regionCodePath,serviceFeeRate:a.serviceFeeRate,workingOvertimeFee:a.workingOvertimeFee,nightWorkingFee:a.nightWorkingFee,engineerOilPrice:Number(a.engineerOilPrice),engineerCarExpense:Number(a.engineerCarExpense),engineerServiceFeeRate:a.engineerServiceFeeRate,engineerWorkingOvertimeFee:a.engineerWorkingOvertimeFee,engineerNightWorkingFee:a.engineerNightWorkingFee,engineerMonthFeeMax:a.engineerMonthFeeMax}},W=a=>{t.$messageBox.confirm("\u662F\u5426\u5220\u9664\u8BE5\u6570\u636E?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>x(this,null,function*(){yield I({id:a.id}),t.$message.success("\u5220\u9664\u6210\u529F\uFF01"),yield l()}))},R=a=>{c.visible=!1,a&&l()};return H(()=>{l()}),(a,y)=>{const p=r("el-input"),F=r("el-form-item"),N=r("el-col"),b=r("el-button"),$=r("el-row"),B=r("el-form"),w=r("el-card"),T=r("table-list");return D(),E("div",X,[n(w,{shadow:"never",class:"search mb-16"},{default:o(()=>[n(B,{"label-suffix":":",model:e.value,size:"small"},{default:o(()=>[n($,{gutter:16},{default:o(()=>[n(N,{span:6},{default:o(()=>[n(F,{label:"\u533A\u57DF\u540D\u79F0"},{default:o(()=>[n(p,{modelValue:e.value.regionName,"onUpdate:modelValue":y[0]||(y[0]=u=>e.value.regionName=u),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),n(N,{span:18},{default:o(()=>[n(F,{class:"btn"},{default:o(()=>[n(b,{type:"primary",onClick:s},{default:o(()=>[Y]),_:1}),n(b,{type:"info",onClick:m},{default:o(()=>[Z]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),n(w,{shadow:"never"},{header:o(()=>[v("div",ee,[ae,n(b,{type:"primary",icon:"Plus",size:"small",onClick:M},{default:o(()=>[te]),_:1})])]),default:o(()=>[n(T,{ref_key:"tableListRef",ref:d,"row-key":"regionCode",column:h,data:g.value,total:_.value,onGetTableData:l},{action:o(({scope:u})=>[u.row.exists?(D(),E(J,{key:0},[v("a",{class:"text-primary",onClick:z=>V(u.row)},"\u7F16\u8F91",8,ne),v("a",{class:"text-danger",onClick:z=>W(u.row)},"\u5220\u9664",8,oe)],64)):K("",!0)]),_:1},8,["data","total"])]),_:1}),n(q,{visible:c.visible,data:c.rowData,onClose:R},null,8,["visible","data"])])}}});export{de as default}; | |||
var S=Object.defineProperty;var P=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var O=(i,t,e)=>t in i?S(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,k=(i,t)=>{for(var e in t||(t={}))j.call(t,e)&&O(i,e,t[e]);if(P)for(var e of P(t))L.call(t,e)&&O(i,e,t[e]);return i};var x=(i,t,e)=>new Promise((d,_)=>{var h=s=>{try{l(e.next(s))}catch(m){_(m)}},g=s=>{try{l(e.throw(s))}catch(m){_(m)}},l=s=>s.done?d(s.value):Promise.resolve(s.value).then(h,g);l((e=e.apply(i,t)).next())});import{_ as q,l as G,d as I}from"./regionDialog.9b3f6016.js";import{d as U,r as f,a as A,o as H,f as r,g as D,c as E,e as n,w as o,b as v,F as J,q as K,h as C,i as Q}from"./index.551f5afa.js";import"./useTreeSelectData.cd9b00f2.js";const X={class:"regionManage"},Y=C("\u67E5\u8BE2"),Z=C("\u91CD\u7F6E"),ee={class:"flex justify-between items-center"},ae=v("span",null,"\u533A\u57DF\u5217\u8868",-1),te=C(" \u65B0\u589E "),ne=["onClick"],oe=["onClick"],ie=U({name:"regionManage"}),de=Object.assign(ie,{setup(i){const{proxy:t}=Q(),e=f({}),d=f(),_=f(0),h=[{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"}],g=f([]),l=(...y)=>x(this,[...y],function*(a=d.value.pageParams){const p=yield G(k(k({},a),e.value));_.value=p.data.total,g.value=p.data.records}),s=()=>{l()},m=()=>{e.value={},d.value.pageParams.pageNumber=1,d.value.pageParams.pageSize=10,l()},c=A({visible:!1,rowData:void 0}),M=()=>{c.visible=!0,c.rowData=void 0},V=a=>{c.visible=!0,c.rowData={id:a.id,regionCode:a.regionCode,oilPrice:Number(a.oilPrice),carExpense:Number(a.carExpense),regionCodePath:a.regionCodePath,serviceFeeRate:a.serviceFeeRate,workingOvertimeFee:a.workingOvertimeFee,nightWorkingFee:a.nightWorkingFee,engineerOilPrice:Number(a.engineerOilPrice),engineerCarExpense:Number(a.engineerCarExpense),engineerServiceFeeRate:a.engineerServiceFeeRate,engineerWorkingOvertimeFee:a.engineerWorkingOvertimeFee,engineerNightWorkingFee:a.engineerNightWorkingFee,engineerMonthFeeMax:a.engineerMonthFeeMax}},W=a=>{t.$messageBox.confirm("\u662F\u5426\u5220\u9664\u8BE5\u6570\u636E?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>x(this,null,function*(){yield I({id:a.id}),t.$message.success("\u5220\u9664\u6210\u529F\uFF01"),yield l()}))},R=a=>{c.visible=!1,a&&l()};return H(()=>{l()}),(a,y)=>{const p=r("el-input"),F=r("el-form-item"),N=r("el-col"),b=r("el-button"),$=r("el-row"),B=r("el-form"),w=r("el-card"),T=r("table-list");return D(),E("div",X,[n(w,{shadow:"never",class:"search mb-16"},{default:o(()=>[n(B,{"label-suffix":":",model:e.value,size:"small"},{default:o(()=>[n($,{gutter:16},{default:o(()=>[n(N,{span:6},{default:o(()=>[n(F,{label:"\u533A\u57DF\u540D\u79F0"},{default:o(()=>[n(p,{modelValue:e.value.regionName,"onUpdate:modelValue":y[0]||(y[0]=u=>e.value.regionName=u),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),n(N,{span:18},{default:o(()=>[n(F,{class:"btn"},{default:o(()=>[n(b,{type:"primary",onClick:s},{default:o(()=>[Y]),_:1}),n(b,{type:"info",onClick:m},{default:o(()=>[Z]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),n(w,{shadow:"never"},{header:o(()=>[v("div",ee,[ae,n(b,{type:"primary",icon:"Plus",size:"small",onClick:M},{default:o(()=>[te]),_:1})])]),default:o(()=>[n(T,{ref_key:"tableListRef",ref:d,"row-key":"regionCode",column:h,data:g.value,total:_.value,onGetTableData:l},{action:o(({scope:u})=>[u.row.exists?(D(),E(J,{key:0},[v("a",{class:"text-primary",onClick:z=>V(u.row)},"\u7F16\u8F91",8,ne),v("a",{class:"text-danger",onClick:z=>W(u.row)},"\u5220\u9664",8,oe)],64)):K("",!0)]),_:1},8,["data","total"])]),_:1}),n(q,{visible:c.visible,data:c.rowData,onClose:R},null,8,["visible","data"])])}}});export{de 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.e91f25fd.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,s as X,h as B,b as W}from"./index.6d448f34.js";const Y={class:"equipmentChange"},Z=B("\u67E5\u8BE2"),ee=B("\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()},F=u=>{p.visible=!0;const{id:d,username:c}=u;p.rowData={id:d,username:c}},p=J({visible:!1,rowData:void 0}),L=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"),M=s("el-option"),j=s("el-select"),T=s("el-button"),q=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(q,{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(j,{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(M,{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=>F(r.row)}," \u5904\u7406 ",8,te)):(w(),g("span",le,"-"))]),_:1},8,["data","total"])]),_:1}),t(A,{visible:p.visible,data:p.rowData,onClose:L},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.65c6224e.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,s as X,h as B,b as W}from"./index.551f5afa.js";const Y={class:"equipmentChange"},Z=B("\u67E5\u8BE2"),ee=B("\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()},F=u=>{p.visible=!0;const{id:d,username:c}=u;p.rowData={id:d,username:c}},p=J({visible:!1,rowData:void 0}),L=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"),M=s("el-option"),j=s("el-select"),T=s("el-button"),q=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(q,{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(j,{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(M,{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=>F(r.row)}," \u5904\u7406 ",8,te)):(w(),g("span",le,"-"))]),_:1},8,["data","total"])]),_:1}),t(A,{visible:p.visible,data:p.rowData,onClose:L},null,8,["visible","data"])])}}});export{re as default}; |
@@ -0,0 +1 @@ | |||
import e from"./companyHome.cde14179.js";import s from"./adminHome.4c84de04.js";import{d as a,z as n,x as i,g as o,p as r}from"./index.551f5afa.js";import _ from"./projectManageHome.3fe01909.js";import"./index.b0dc2dad.js";import"./index.57d2d564.js";import"./orderManage.fe83d1aa.js";import"./orderDetailDrawer.0d230e82.js";import"./uploadAction.69ee4a64.js";import"./editOrderForm.0883fbb5.js";import"./projectManage.6b7da462.js";import"./imageWaterUtils.2f29f38d.js";import"./queryAddressDialog.b1b493b1.js";import"./locationTransform.e2d22cb6.js";import"./tiandimap.7a5ad2ba.js";import"./driverAssignmentDialog.3ded3353.js";import"./cancelOrderDialog.6462d36c.js";import"./confirmOrderDialog.20c477e6.js";import"./orderCompletionDialog.935a9c56.js";import"./confirmBoardingDialog.6f299ad8.js";import"./trajectoryDialog.2c56fe01.js";import"./useExportExc.d21c8116.js";import"./useTreeSelectData.cd9b00f2.js";import"./index.e3d0ab4e.js";import"./settlementDocManage.f30ed3f7.js";import"./confirmDialog.dff1319d.js";import"./mergeDialog.e72302eb.js";const c=a({name:"home"}),M=Object.assign(c,{setup(f){const t=n.userStore.userBaseInfo;return(u,l)=>{var m,p;return((m=i(t))==null?void 0:m.role)==="super_admin"?(o(),r(s,{key:0})):((p=i(t))==null?void 0:p.role)==="project_manager"?(o(),r(_,{key:1})):(o(),r(e,{key:2}))}}});export{M as default}; |
@@ -1,4 +1,4 @@ | |||
var _e=Object.defineProperty,we=Object.defineProperties;var ke=Object.getOwnPropertyDescriptors;var Q=Object.getOwnPropertySymbols;var xe=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable;var X=(e,c,l)=>c in e?_e(e,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[c]=l,E=(e,c)=>{for(var l in c||(c={}))xe.call(c,l)&&X(e,l,c[l]);if(Q)for(var l of Q(c))Fe.call(c,l)&&X(e,l,c[l]);return e},L=(e,c)=>we(e,ke(c));var M=(e,c,l)=>new Promise((k,g)=>{var n=f=>{try{p(l.next(f))}catch(t){g(t)}},D=f=>{try{p(l.throw(f))}catch(t){g(t)}},p=f=>f.done?k(f.value):Promise.resolve(f.value).then(n,D);p((l=l.apply(e,c)).next())});import{e as Ce,l as Te,a as Ne}from"./settlementDocManage.16fa02c0.js";import{N as V,d as Ye,z as De,k as Se,u as $e,r as v,O as T,o as Ve,R as Oe,f as b,g as y,c as $,x as r,p as I,w as i,e as o,F as W,q as w,Y as Me,b as N,t as Ie,Z as je,h as Y,B as Be,E as Ee,i as ze}from"./index.6d448f34.js";import Ue from"./confirmDialog.d31deb2b.js";import{u as qe}from"./useExportExc.f4c59274.js";import{u as Le}from"./useTreeSelectData.55c00ed4.js";import We from"./mergeDialog.00ed996d.js";import"./uploadAction.46257434.js";function Pe(e){let c="",l="\u4EDF\u4F70\u62FE\u4EBF\u4EDF\u4F70\u62FE\u4E07\u4EDF\u4F70\u62FE\u5143\u89D2\u5206";e+="00";const k=e.indexOf(".");k>=0&&(e=e.substring(0,k)+e.substr(k+1,2)),l=l.substr(l.length-e.length);for(let g=0;g<e.length;g++)c+="\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396".substr(e.substr(g,1),1)+l.substr(g,1);return c.replace(/零角零分$/,"\u6574").replace(/零[仟佰拾]/g,"\u96F6").replace(/零{2,}/g,"\u96F6").replace(/零([亿|万])/g,"$1").replace(/零+元/,"\u5143").replace(/亿零{0,3}万/,"\u4EBF").replace(/^元/,"\u96F6\u5143")}const Re=e=>` | |||
var _e=Object.defineProperty,we=Object.defineProperties;var ke=Object.getOwnPropertyDescriptors;var Q=Object.getOwnPropertySymbols;var xe=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable;var X=(e,c,l)=>c in e?_e(e,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[c]=l,E=(e,c)=>{for(var l in c||(c={}))xe.call(c,l)&&X(e,l,c[l]);if(Q)for(var l of Q(c))Fe.call(c,l)&&X(e,l,c[l]);return e},L=(e,c)=>we(e,ke(c));var M=(e,c,l)=>new Promise((k,g)=>{var n=f=>{try{p(l.next(f))}catch(t){g(t)}},D=f=>{try{p(l.throw(f))}catch(t){g(t)}},p=f=>f.done?k(f.value):Promise.resolve(f.value).then(n,D);p((l=l.apply(e,c)).next())});import{e as Ce,l as Te,a as Ne}from"./settlementDocManage.f30ed3f7.js";import{N as V,d as Ye,z as De,k as Se,u as $e,r as v,O as T,o as Ve,R as Oe,f as b,g as y,c as $,x as r,p as I,w as i,e as o,F as W,q as w,Y as Me,b as N,t as Ie,Z as je,h as Y,B as Be,E as Ee,i as ze}from"./index.551f5afa.js";import Ue from"./confirmDialog.dff1319d.js";import{u as qe}from"./useExportExc.d21c8116.js";import{u as Le}from"./useTreeSelectData.cd9b00f2.js";import We from"./mergeDialog.e72302eb.js";import"./uploadAction.69ee4a64.js";function Pe(e){let c="",l="\u4EDF\u4F70\u62FE\u4EBF\u4EDF\u4F70\u62FE\u4E07\u4EDF\u4F70\u62FE\u5143\u89D2\u5206";e+="00";const k=e.indexOf(".");k>=0&&(e=e.substring(0,k)+e.substr(k+1,2)),l=l.substr(l.length-e.length);for(let g=0;g<e.length;g++)c+="\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396".substr(e.substr(g,1),1)+l.substr(g,1);return c.replace(/零角零分$/,"\u6574").replace(/零[仟佰拾]/g,"\u96F6").replace(/零{2,}/g,"\u96F6").replace(/零([亿|万])/g,"$1").replace(/零+元/,"\u5143").replace(/亿零{0,3}万/,"\u4EBF").replace(/^元/,"\u96F6\u5143")}const Re=e=>` | |||
<!DOCTYPE html> | |||
<html lang="en"> | |||
<head> |
@@ -1 +1 @@ | |||
var M=Object.defineProperty,$=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var V=(a,e,l)=>e in a?M(a,e,{enumerable:!0,configurable:!0,writable:!0,value:l}):a[e]=l,w=(a,e)=>{for(var l in e||(e={}))T.call(e,l)&&V(a,l,e[l]);if(N)for(var l of N(e))U.call(e,l)&&V(a,l,e[l]);return a},x=(a,e)=>$(a,z(e));var _=(a,e,l)=>new Promise((g,i)=>{var n=s=>{try{f(l.next(s))}catch(t){i(t)}},v=s=>{try{f(l.throw(s))}catch(t){i(t)}},f=s=>s.done?g(s.value):Promise.resolve(s.value).then(n,v);f((l=l.apply(a,e)).next())});import{m as I}from"./settlementDocManage.16fa02c0.js";import{d as O,r as b,A as R,f as p,g as S,p as A,w as r,e as o,b as Y,t as j,x as C,N as D,h as k,i as F}from"./index.6d448f34.js";const G=k(" \u786E\u8BA4\u5408\u5E76 "),H=k(" \u5173\u95ED "),J=O({name:"mergeDialog"}),W=Object.assign(J,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(a,{emit:e}){const l=a,{proxy:g}=F(),i=b(),n=b({}),v=b({projectLeader:{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u8D1F\u8D23\u4EBA",trigger:"blur"},projectNo:{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u7F16\u53F7",trigger:"blur"},projectName:{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",trigger:"blur"}}),f=s=>_(this,null,function*(){!s||(yield s.validate(t=>_(this,null,function*(){if(t){const m=l.data.map(c=>c.id),u=x(w({},n.value),{settlementIds:m});yield I(u),console.log(u),g.$message.success("\u5408\u5E76\u6210\u529F\uFF01"),e("close",!0)}})))});return R(()=>l.visible,s=>_(this,null,function*(){})),(s,t)=>{const m=p("el-form-item"),u=p("el-col"),c=p("el-input"),q=p("el-row"),B=p("el-form"),y=p("el-button"),L=p("el-dialog");return S(),A(L,{"model-value":a.visible,title:"\u5408\u5E76\u7ED3\u7B97\u5355",width:"560px","destroy-on-close":"",onClose:t[5]||(t[5]=d=>e("close"))},{footer:r(()=>[o(y,{type:"primary",size:"small",onClick:t[3]||(t[3]=d=>f(i.value))},{default:r(()=>[G]),_:1}),o(y,{type:"info",size:"small",onClick:t[4]||(t[4]=d=>e("close"))},{default:r(()=>[H]),_:1})]),default:r(()=>[o(B,{ref_key:"formRef",ref:i,"label-suffix":":",model:n.value,rules:v.value,"label-position":"right",size:"small"},{default:r(()=>[o(u,{span:24},{default:r(()=>[o(m,{label:"\u4F01\u4E1A\u540D\u79F0"},{default:r(()=>[Y("span",null,j(a.data[0].companyName),1)]),_:1})]),_:1}),o(u,{span:24},{default:r(()=>[o(m,{label:"\u6240\u5C5E\u65F6\u95F4"},{default:r(()=>[Y("span",null,j(C(D)(a.data[0].startTime).format("YYYY-MM-DD"))+" \u81F3 "+j(C(D)(a.data[0].endTime).format("YYYY-MM-DD")),1)]),_:1})]),_:1}),o(q,{gutter:16},{default:r(()=>[o(u,{span:24},{default:r(()=>[o(m,{label:"\u9879\u76EE\u540D\u79F0",prop:"projectName"},{default:r(()=>[o(c,{modelValue:n.value.projectName,"onUpdate:modelValue":t[0]||(t[0]=d=>n.value.projectName=d),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),o(u,{span:24},{default:r(()=>[o(m,{label:"\u9879\u76EE\u7F16\u53F7",prop:"projectNo"},{default:r(()=>[o(c,{modelValue:n.value.projectNo,"onUpdate:modelValue":t[1]||(t[1]=d=>n.value.projectNo=d),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),o(u,{span:24},{default:r(()=>[o(m,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"projectLeader"},{default:r(()=>[o(c,{modelValue:n.value.projectLeader,"onUpdate:modelValue":t[2]||(t[2]=d=>n.value.projectLeader=d),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["model-value"])}}});export{W as default}; | |||
var M=Object.defineProperty,$=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var V=(a,e,l)=>e in a?M(a,e,{enumerable:!0,configurable:!0,writable:!0,value:l}):a[e]=l,w=(a,e)=>{for(var l in e||(e={}))T.call(e,l)&&V(a,l,e[l]);if(N)for(var l of N(e))U.call(e,l)&&V(a,l,e[l]);return a},x=(a,e)=>$(a,z(e));var _=(a,e,l)=>new Promise((g,i)=>{var n=s=>{try{f(l.next(s))}catch(t){i(t)}},v=s=>{try{f(l.throw(s))}catch(t){i(t)}},f=s=>s.done?g(s.value):Promise.resolve(s.value).then(n,v);f((l=l.apply(a,e)).next())});import{m as I}from"./settlementDocManage.f30ed3f7.js";import{d as O,r as b,A as R,f as p,g as S,p as A,w as r,e as o,b as Y,t as j,x as C,N as D,h as k,i as F}from"./index.551f5afa.js";const G=k(" \u786E\u8BA4\u5408\u5E76 "),H=k(" \u5173\u95ED "),J=O({name:"mergeDialog"}),W=Object.assign(J,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(a,{emit:e}){const l=a,{proxy:g}=F(),i=b(),n=b({}),v=b({projectLeader:{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u8D1F\u8D23\u4EBA",trigger:"blur"},projectNo:{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u7F16\u53F7",trigger:"blur"},projectName:{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",trigger:"blur"}}),f=s=>_(this,null,function*(){!s||(yield s.validate(t=>_(this,null,function*(){if(t){const m=l.data.map(c=>c.id),u=x(w({},n.value),{settlementIds:m});yield I(u),console.log(u),g.$message.success("\u5408\u5E76\u6210\u529F\uFF01"),e("close",!0)}})))});return R(()=>l.visible,s=>_(this,null,function*(){})),(s,t)=>{const m=p("el-form-item"),u=p("el-col"),c=p("el-input"),q=p("el-row"),B=p("el-form"),y=p("el-button"),L=p("el-dialog");return S(),A(L,{"model-value":a.visible,title:"\u5408\u5E76\u7ED3\u7B97\u5355",width:"560px","destroy-on-close":"",onClose:t[5]||(t[5]=d=>e("close"))},{footer:r(()=>[o(y,{type:"primary",size:"small",onClick:t[3]||(t[3]=d=>f(i.value))},{default:r(()=>[G]),_:1}),o(y,{type:"info",size:"small",onClick:t[4]||(t[4]=d=>e("close"))},{default:r(()=>[H]),_:1})]),default:r(()=>[o(B,{ref_key:"formRef",ref:i,"label-suffix":":",model:n.value,rules:v.value,"label-position":"right",size:"small"},{default:r(()=>[o(u,{span:24},{default:r(()=>[o(m,{label:"\u4F01\u4E1A\u540D\u79F0"},{default:r(()=>[Y("span",null,j(a.data[0].companyName),1)]),_:1})]),_:1}),o(u,{span:24},{default:r(()=>[o(m,{label:"\u6240\u5C5E\u65F6\u95F4"},{default:r(()=>[Y("span",null,j(C(D)(a.data[0].startTime).format("YYYY-MM-DD"))+" \u81F3 "+j(C(D)(a.data[0].endTime).format("YYYY-MM-DD")),1)]),_:1})]),_:1}),o(q,{gutter:16},{default:r(()=>[o(u,{span:24},{default:r(()=>[o(m,{label:"\u9879\u76EE\u540D\u79F0",prop:"projectName"},{default:r(()=>[o(c,{modelValue:n.value.projectName,"onUpdate:modelValue":t[0]||(t[0]=d=>n.value.projectName=d),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),o(u,{span:24},{default:r(()=>[o(m,{label:"\u9879\u76EE\u7F16\u53F7",prop:"projectNo"},{default:r(()=>[o(c,{modelValue:n.value.projectNo,"onUpdate:modelValue":t[1]||(t[1]=d=>n.value.projectNo=d),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),o(u,{span:24},{default:r(()=>[o(m,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"projectLeader"},{default:r(()=>[o(c,{modelValue:n.value.projectLeader,"onUpdate:modelValue":t[2]||(t[2]=d=>n.value.projectLeader=d),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["model-value"])}}});export{W as default}; |
@@ -1 +1 @@ | |||
import{n as r}from"./index.6d448f34.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"}),m=e=>r.get("/api/v1/order/exportSettlementForDriver",{params:e,responseType:"blob"}),g=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}),u=e=>r.get("/api/v1/settlement/export/order",{params:e,responseType:"blob"}),T=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}),F=e=>r.get("/api/v1/order/downGpsMapImages",{params:e,responseType:"blob"}),L=e=>r.put("/api/v1/order/isSettlementFee",e);export{u as a,l as b,f as c,d,m as e,a as f,g,i as h,c as i,n as j,T as k,p as l,D as m,F as n,b as o,O as p,j as q,x as r,y as s,h as t,v as u,L as v}; | |||
import{n as r}from"./index.551f5afa.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"}),m=e=>r.get("/api/v1/order/exportSettlementForDriver",{params:e,responseType:"blob"}),g=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}),u=e=>r.get("/api/v1/settlement/export/order",{params:e,responseType:"blob"}),T=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}),F=e=>r.get("/api/v1/order/downGpsMapImages",{params:e,responseType:"blob"}),L=e=>r.put("/api/v1/order/isSettlementFee",e);export{u as a,l as b,f as c,d,m as e,a as f,g,i as h,c as i,n as j,T as k,p as l,D as m,F as n,b as o,O as p,j as q,x as r,y as s,h as t,v as u,L as v}; |
@@ -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.6d448f34.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.551f5afa.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 i,v as b,f as l,g as k,c as N,e,w as a,x as n}from"./index.6d448f34.js";const V={class:"paymentInfo"},C=i({name:"paymentInfo"}),x=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 p=l("el-input"),s=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(s,{label:"\u5F00\u6237\u94F6\u884C",prop:"bankName"},{default:a(()=>[e(p,{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(s,{label:"\u94F6\u884C\u5361\u53F7",prop:"bankCardNo"},{default:a(()=>[e(p,{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{x as default}; | |||
import{d as i,v as b,f as l,g as k,c as N,e,w as a,x as n}from"./index.551f5afa.js";const V={class:"paymentInfo"},C=i({name:"paymentInfo"}),x=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 p=l("el-input"),s=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(s,{label:"\u5F00\u6237\u94F6\u884C",prop:"bankName"},{default:a(()=>[e(p,{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(s,{label:"\u94F6\u884C\u5361\u53F7",prop:"bankCardNo"},{default:a(()=>[e(p,{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{x as default}; |
@@ -1 +1 @@ | |||
import{d as k,f as u,g as s,p as f,w as t,e as a,h as r,t as d,c as b,s as g,F as N}from"./index.6d448f34.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,p as f,w as t,e as a,h as r,t as d,c as b,s as g,F as N}from"./index.551f5afa.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.6d448f34.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.551f5afa.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,z as f,f as s,g as u,c as x,e as a,w as _,b as e,t as o,x as n,h}from"./index.6d448f34.js";const v={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"}),z=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(),x("div",v,[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[h(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{z as default}; | |||
import{d as p,z as f,f as s,g as u,c as x,e as a,w as _,b as e,t as o,x as n,h}from"./index.551f5afa.js";const v={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"}),z=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(),x("div",v,[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[h(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{z 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.c45fd90d.js";import{_ as S,d as q,r as b,a1 as z,A as N,f as y,g as V,p as $,w as m,e as h,h as A,L as B,M as D,b as C}from"./index.6d448f34.js";const M=s=>(B("data-v-d9c37bbd"),s=s(),D(),s),L=M(()=>C("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(()=>C("div",{id:"map",class:"map"},null,-1)),G=A(" \u786E\u5B9A "),T=A(" \u5173\u95ED "),W=q({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=z(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"])}}}),R=S(j,[["__scopeId","data-v-d9c37bbd"]]);export{R 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.fa5dc7de.js";import{_ as S,d as q,r as b,a1 as z,A as N,f as y,g as V,p as $,w as m,e as h,h as A,L as B,M as D,b as C}from"./index.551f5afa.js";const M=s=>(B("data-v-d9c37bbd"),s=s(),D(),s),L=M(()=>C("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(()=>C("div",{id:"map",class:"map"},null,-1)),G=A(" \u786E\u5B9A "),T=A(" \u5173\u95ED "),W=q({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=z(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"])}}}),R=S(j,[["__scopeId","data-v-d9c37bbd"]]);export{R 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 B,d as E,r as j,A as V,f as C,g as N,p as A,w as b,e as x,h as q,B as D,L as O,M as Q,b as R,i as U}from"./index.6d448f34.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 z=n=>(O("data-v-fcaecf15"),n=n(),Q(),n),F=z(()=>R("div",{id:"map",class:"map"},null,-1)),G=q("\u786E\u5B9A"),H=q(" \u5173\u95ED "),Y=E({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}=U(),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:S}=c.result.ad_info||{};s.value.regionCode=g,s.value.region=`${y}-${w}-${S}`,s.value.address=`${y}${w}${c.result.formatted_addresses.recommend}`}else m.$message.error(c.message)})},M=()=>{e("close",s.value)};return V(()=>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:M},{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=B(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 B,d as E,r as j,A as V,f as C,g as N,p as A,w as b,e as x,h as q,B as D,L as O,M as Q,b as R,i as U}from"./index.551f5afa.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 z=n=>(O("data-v-fcaecf15"),n=n(),Q(),n),F=z(()=>R("div",{id:"map",class:"map"},null,-1)),G=q("\u786E\u5B9A"),H=q(" \u5173\u95ED "),Y=E({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}=U(),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:S}=c.result.ad_info||{};s.value.regionCode=g,s.value.region=`${y}-${w}-${S}`,s.value.address=`${y}${w}${c.result.formatted_addresses.recommend}`}else m.$message.error(c.message)})},M=()=>{e("close",s.value)};return V(()=>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:M},{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=B(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 A,g as M}from"./tiandimap.34d44078.js";import{_ as S,d as V,r as y,o as q,A as O,f as m,g as $,p as j,w as c,e as g,h as L,L as B,M as F,b as I}from"./index.6d448f34.js";const z=l=>(B("data-v-f0ab4155"),l=l(),F(),l),N=z(()=>I("div",{id:"mapDiv",class:"map"},null,-1)),E=L("\u786E\u5B9A"),G=L(" \u5173\u95ED "),Q=V({name:"queryAddressDialog"}),U=Object.assign(Q,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(l,{emit:i}){const d=l,u=y(""),s=y({});q(()=>{setTimeout(function(){f()},100)});function w(a,e){A(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){M(a,e).then(o=>{const t=o.data.result,r=D(parseFloat(t.location.lon),parseFloat(t.location.lat));s.value.longitude=r[0],s.value.latitude=r[1],s.value.regionCode=t.addressComponent.county_code.replace("156",""),s.value.region=`${t.addressComponent.province}-${t.addressComponent.city}-${t.addressComponent.county}`,s.value.address=t.formatted_address})}O(()=>d.visible,a=>{a?(s.value.addressType=d.data.addressType,s.value.id=d.data.id,setTimeout(function(){f()},100)):(s.value={},u.value="")});var n,C=14;function f(){const a=x(parseFloat(d.data.lng),parseFloat(d.data.lat));n=new T.Map("mapDiv"),n.centerAndZoom(new T.LngLat(a[0],a[1]),C);const e=new T.Marker(new T.LngLat(a[0],a[1]));n.addOverLay(e),n.addEventListener("click",k)}function k(a){const e=a.lnglat.getLng(),o=a.lnglat.getLat();_(e,o),v(e,o)}function _(a,e){n.clearOverLays();const o=new T.LngLat(a,e);var t=new T.Marker(o);n.addOverLay(t),n.panTo(o)}const h=()=>{i("close",s.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"])}}}),J=S(U,[["__scopeId","data-v-f0ab4155"]]);export{J as default}; | |||
import{g as x,w as D}from"./locationTransform.e2d22cb6.js";import{s as A,g as M}from"./tiandimap.7a5ad2ba.js";import{_ as S,d as V,r as y,o as q,A as O,f as m,g as $,p as j,w as c,e as g,h as L,L as B,M as F,b as I}from"./index.551f5afa.js";const z=l=>(B("data-v-f0ab4155"),l=l(),F(),l),N=z(()=>I("div",{id:"mapDiv",class:"map"},null,-1)),E=L("\u786E\u5B9A"),G=L(" \u5173\u95ED "),Q=V({name:"queryAddressDialog"}),U=Object.assign(Q,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(l,{emit:i}){const d=l,u=y(""),s=y({});q(()=>{setTimeout(function(){f()},100)});function w(a,e){A(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){M(a,e).then(o=>{const t=o.data.result,r=D(parseFloat(t.location.lon),parseFloat(t.location.lat));s.value.longitude=r[0],s.value.latitude=r[1],s.value.regionCode=t.addressComponent.county_code.replace("156",""),s.value.region=`${t.addressComponent.province}-${t.addressComponent.city}-${t.addressComponent.county}`,s.value.address=t.formatted_address})}O(()=>d.visible,a=>{a?(s.value.addressType=d.data.addressType,s.value.id=d.data.id,setTimeout(function(){f()},100)):(s.value={},u.value="")});var n,C=14;function f(){const a=x(parseFloat(d.data.lng),parseFloat(d.data.lat));n=new T.Map("mapDiv"),n.centerAndZoom(new T.LngLat(a[0],a[1]),C);const e=new T.Marker(new T.LngLat(a[0],a[1]));n.addOverLay(e),n.addEventListener("click",k)}function k(a){const e=a.lnglat.getLng(),o=a.lnglat.getLat();_(e,o),v(e,o)}function _(a,e){n.clearOverLays();const o=new T.LngLat(a,e);var t=new T.Marker(o);n.addOverLay(t),n.panTo(o)}const h=()=>{i("close",s.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"])}}}),J=S(U,[["__scopeId","data-v-f0ab4155"]]);export{J as default}; |
@@ -1 +1 @@ | |||
var z=Object.defineProperty,N=Object.defineProperties;var O=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var R=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var C=(t,o,e)=>o in t?z(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e,k=(t,o)=>{for(var e in o||(o={}))R.call(o,e)&&C(t,e,o[e]);if(x)for(var e of x(o))$.call(o,e)&&C(t,e,o[e]);return t},D=(t,o)=>N(t,O(o));var b=(t,o,e)=>new Promise((m,s)=>{var _=l=>{try{p(e.next(l))}catch(n){s(n)}},f=l=>{try{p(e.throw(l))}catch(n){s(n)}},p=l=>l.done?m(l.value):Promise.resolve(l.value).then(_,f);p((e=e.apply(t,o)).next())});import{s as q}from"./driverFile.2f562cad.js";import{_ as F,d as S,r as v,y as A,z as E,A as J,f as u,g as T,p as w,w as r,e as c,c as L,s as U,x as G,F as H,h as V,i as K}from"./index.6d448f34.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=v({jobTypes:[]}),_=v(),f=v({jobTypes:[{required:!0,message:"\u8BF7\u9009\u62E9\u63A5\u5355\u7C7B\u578B",trigger:"change"}]}),{jobTypeOptions:p}=A(E.dictStore),l=()=>{_.value.validate(n=>b(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 q(y),m.$message.success("\u8BBE\u7F6E\u6210\u529F\uFF01"),o("close",!0)}}))};return J(()=>e.visible,n=>b(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]=i=>o("close"))},{footer:r(()=>[c(g,{type:"info",size:"small",onClick:a[1]||(a[1]=i=>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]=i=>s.value.jobTypes=i),placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},multiple:!0},{default:r(()=>[(T(!0),L(H,null,U(G(p),(i,j)=>(T(),w(d,{key:j,label:i,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 z=Object.defineProperty,N=Object.defineProperties;var O=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var R=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var C=(t,o,e)=>o in t?z(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e,k=(t,o)=>{for(var e in o||(o={}))R.call(o,e)&&C(t,e,o[e]);if(x)for(var e of x(o))$.call(o,e)&&C(t,e,o[e]);return t},D=(t,o)=>N(t,O(o));var b=(t,o,e)=>new Promise((m,s)=>{var _=l=>{try{p(e.next(l))}catch(n){s(n)}},f=l=>{try{p(e.throw(l))}catch(n){s(n)}},p=l=>l.done?m(l.value):Promise.resolve(l.value).then(_,f);p((e=e.apply(t,o)).next())});import{s as q}from"./driverFile.0e884ef0.js";import{_ as F,d as S,r as v,y as A,z as E,A as J,f as u,g as T,p as w,w as r,e as c,c as L,s as U,x as G,F as H,h as V,i as K}from"./index.551f5afa.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=v({jobTypes:[]}),_=v(),f=v({jobTypes:[{required:!0,message:"\u8BF7\u9009\u62E9\u63A5\u5355\u7C7B\u578B",trigger:"change"}]}),{jobTypeOptions:p}=A(E.dictStore),l=()=>{_.value.validate(n=>b(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 q(y),m.$message.success("\u8BBE\u7F6E\u6210\u529F\uFF01"),o("close",!0)}}))};return J(()=>e.visible,n=>b(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]=i=>o("close"))},{footer:r(()=>[c(g,{type:"info",size:"small",onClick:a[1]||(a[1]=i=>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]=i=>s.value.jobTypes=i),placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},multiple:!0},{default:r(()=>[(T(!0),L(H,null,U(G(p),(i,j)=>(T(),w(d,{key:j,label:i,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{n as e}from"./index.6d448f34.js";const n={1:"/api/v1/settlement/accept",2:"/api/v1/settlement/on/pay",3:"/api/v1/settlement/on/invoicing",4:"/api/v1/settlement/invoicing"},p=(t,s)=>e.get(n[t],{params:s}),a=t=>e.put("/api/v1/settlement",t),i=t=>e.get("/api/v1/settlement/export",{params:t,responseType:"blob"}),m=t=>e.post("api/v1/settlement/last/month",t),l=t=>e.post("/api/v1/settlement/merge",t);export{m as a,a as c,i as e,p as l,l as m}; | |||
import{n as e}from"./index.551f5afa.js";const n={1:"/api/v1/settlement/accept",2:"/api/v1/settlement/on/pay",3:"/api/v1/settlement/on/invoicing",4:"/api/v1/settlement/invoicing"},p=(t,s)=>e.get(n[t],{params:s}),a=t=>e.put("/api/v1/settlement",t),i=t=>e.get("/api/v1/settlement/export",{params:t,responseType:"blob"}),m=t=>e.post("api/v1/settlement/last/month",t),l=t=>e.post("/api/v1/settlement/merge",t);export{m as a,a as c,i as e,p as l,l as m}; |
@@ -1 +1 @@ | |||
import{g as O,w as B}from"./locationTransform.e2d22cb6.js";import{s as I,g as M}from"./tiandimap.34d44078.js";import{d as $,_ as S,r as f,o as V,A,f as v,g as w,p as D,w as u,e as p,h as y,L as N,M as j,b as F,c as q}from"./index.6d448f34.js";const z=s=>(N("data-v-95183349"),s=s(),j(),s),E=z(()=>F("div",{id:"mapDiv",class:"map"},null,-1)),G=y("\u786E\u5B9A"),R=y(" \u5173\u95ED "),U=$({name:"TiandiChooseLocation"}),W=Object.assign(U,{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){M(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})}A(()=>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(),D(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(()=>[R]),_: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"])}}}),Z=S(W,[["__scopeId","data-v-95183349"]]),H=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(),q("div",null,[p(Z,{visible:l.value,style:{height:"500px"},data:d,onClose:i},null,8,["visible"]),p(m,{onClick:n},{default:u(()=>[H]),_:1})])}}};export{Q as default}; | |||
import{g as O,w as B}from"./locationTransform.e2d22cb6.js";import{s as I,g as M}from"./tiandimap.7a5ad2ba.js";import{d as $,_ as S,r as f,o as V,A,f as v,g as w,p as D,w as u,e as p,h as y,L as N,M as j,b as F,c as q}from"./index.551f5afa.js";const z=s=>(N("data-v-95183349"),s=s(),j(),s),E=z(()=>F("div",{id:"mapDiv",class:"map"},null,-1)),G=y("\u786E\u5B9A"),R=y(" \u5173\u95ED "),U=$({name:"TiandiChooseLocation"}),W=Object.assign(U,{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){M(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})}A(()=>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(),D(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(()=>[R]),_: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"])}}}),Z=S(W,[["__scopeId","data-v-95183349"]]),H=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(),q("div",null,[p(Z,{visible:l.value,style:{height:"500px"},data:d,onClose:i},null,8,["visible"]),p(m,{onClick:n},{default:u(()=>[H]),_:1})])}}};export{Q as default}; |
@@ -1 +1 @@ | |||
import{n as a}from"./index.6d448f34.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.551f5afa.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)}},i=s=>{try{r(a.throw(s))}catch(c){o(c)}},r=s=>s.done?n(s.value):Promise.resolve(s.value).then(d,i);r((a=a.apply(e,t)).next())});import{m as b,E as m,n as U}from"./index.6d448f34.js";const v=(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 R(n.response.data.id)).url}))},x=e=>{m.error(e.message?JSON.parse(e.message):"\u4E0A\u4F20\u5931\u8D25\uFF01")},E=(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(i=>{const r=new FileReader,s=new Image;s.onload=c=>{const g=document.createElement("canvas"),u=g.getContext("2d"),p=s.width*.5,h=s.height*.5;g.width=p,g.height=h,u.clearRect(0,0,p,h),u.drawImage(s,0,0,p,h);const w=g.toDataURL(e.type),y=F(w,e.type);i(y)},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})},R=(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,$=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:`${U.defaults.baseURL}/file/thumbnail/download?fileId=${a}`,response:{data:{id:a}}}})))),t};export{x as a,B as b,R as d,E as f,$ as g,v as h}; | |||
var l=(e,t,a)=>new Promise((n,o)=>{var d=s=>{try{r(a.next(s))}catch(c){o(c)}},i=s=>{try{r(a.throw(s))}catch(c){o(c)}},r=s=>s.done?n(s.value):Promise.resolve(s.value).then(d,i);r((a=a.apply(e,t)).next())});import{m as b,E as m,n as U}from"./index.551f5afa.js";const v=(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 R(n.response.data.id)).url}))},x=e=>{m.error(e.message?JSON.parse(e.message):"\u4E0A\u4F20\u5931\u8D25\uFF01")},E=(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(i=>{const r=new FileReader,s=new Image;s.onload=c=>{const g=document.createElement("canvas"),u=g.getContext("2d"),p=s.width*.5,h=s.height*.5;g.width=p,g.height=h,u.clearRect(0,0,p,h),u.drawImage(s,0,0,p,h);const w=g.toDataURL(e.type),y=F(w,e.type);i(y)},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})},R=(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,$=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:`${U.defaults.baseURL}/file/thumbnail/download?fileId=${a}`,response:{data:{id:a}}}})))),t};export{x as a,B as b,R as d,E as f,$ as g,v 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.6d448f34.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.551f5afa.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.6d448f34.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.551f5afa.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.6d448f34.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.551f5afa.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}; |
@@ -0,0 +1 @@ | |||
import{N as s}from"./index.551f5afa.js";function l(r,f){let e=!1;return r&&f&&s().diff(s(r),"year")>f?e=!0:e=!1,e}export{l as c}; |
@@ -47,7 +47,7 @@ | |||
<!-- <script src="/public/tiandimap/CarTrack.js"></script>--> | |||
<!-- <script src="/public/tiandimap/point.js"></script>--> | |||
<script type="module" crossorigin src="/assets/index.6d448f34.js"></script> | |||
<script type="module" crossorigin src="/assets/index.551f5afa.js"></script> | |||
<link rel="stylesheet" href="/assets/index.d0270dc9.css"> | |||
</head> | |||
<body> | |||