/
home
/
liman
/
app
/
assets
/
File Upload :
llllll
Current File: /home/liman/app/assets/detail.7ad9d04f.js
import{A as Q,_ as iu}from"./avatar.dbca3a46.js";import{t as ru,c as cu,d as du,u as vu,_ as fu}from"./NavBar.002e014e.js";import{c as H}from"./baseColor.1bb51b09.js";import{_ as ie}from"./ColorButton.7d8442b7.js";import{B as mu,i as Cu,b as ce,u as Oe,a as Y,a8 as _u,o as pu,P as Se,t as Pe,_ as fe,g as gu,d as bu,h as hu,I as De,C as $e,a9 as Te}from"./Icon.4a9c7204.js";import{d as W,i as R,a as E,h as t,F as M,o as F,c as I,w as s,u as n,k as C,X as yu,O as me,t as j,N as xu,n as Au,s as wu,a2 as Fu,a3 as ku,y as Su,l as de,q as Z,j as je,z as ae,a4 as Pu,a5 as $u,E as Tu,v as Iu,B as Bu,a6 as Ru,r as K,b as ee,e as O,a7 as Ie}from"./index.0a745216.js";import{a as Nu,C as Uu}from"./CollapsePanel.0f4f6ab7.js";import{_ as zu}from"./FloatButton.37d983cf.js";import{_ as Eu}from"./DefaultButton.ec01a77f.js";import{a as Ou,u as Du}from"./service.9ac2ce4b.js";import{u as ju,g as Be,N as Re,_ as Ce}from"./Upload.a5a2fa50.js";import{B as Lu,a as Wu,c as Vu,A as Hu}from"./index.aa64b29e.js";import{u as Mu}from"./useSize.e6b3c2a6.js";import{F as Zu,a as w}from"./Form.99e93b4a.js";import{r as he,g as Le,s as qu,i as Gu,o as We,c as oe,u as Ve,a as He,e as Me,b as Xu,d as Ze,n as q,m as qe,f as J,h as Ge,j as ne,w as Ae,t as ve,k as ye,l as _e,p as Ku,q as Yu,v as Xe,x as Ju,y as Ne,z as Qu,A as Ue,B as et,C as ut,D as tt}from"./on-popup-reopen.adeb3cca.js";import{S as lt,a as at}from"./index.5c03d166.js";import"./index.473bd874.js";import{I as N}from"./Input.6252ccdc.js";import{D as nt}from"./index.66d10308.js";import{S as ue,a as te}from"./index.0c064ad8.js";import{T as ot}from"./TextArea.b6caf82d.js";import{C as pe}from"./Card.2c8f8894.js";import"./Col.c2411133.js";import"./RightOutlined.458b5962.js";import"./EyeOutlined.d6b99e23.js";import"./useRefs.6b506fbb.js";import"./FormItemContext.1e1a789b.js";import"./toArray.47b40c88.js";import"./SearchOutlined.dc3d87e2.js";import"./index.d5decf68.js";var st=function(){return ce(ce({},du()),{content:Se.any,title:Se.any})},it=W({name:"APopover",props:Cu(st(),ce(ce({},ru()),{trigger:"hover",transitionName:"zoom-big",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1})),setup:function(o,v){var c=v.expose,e=v.slots,r=R();c({getPopupDomNode:function(){var h,d;return(d=(h=r.value)===null||h===void 0?void 0:h.getPopupDomNode)===null||d===void 0?void 0:d.call(h)}});var _=Oe("popover",o),b=_.prefixCls,p=_.configProvider,A=E(function(){return p.getPrefixCls()}),k=function(){var h,d,B=o.title,m=B===void 0?Pe((h=e.title)===null||h===void 0?void 0:h.call(e)):B,S=o.content,P=S===void 0?Pe((d=e.content)===null||d===void 0?void 0:d.call(e)):S,$=!!(Array.isArray(m)?m.length:m),U=!!(Array.isArray(P)?P.length:m);if(!(!$&&!U))return t(M,null,[$&&t("div",{class:"".concat(b.value,"-title")},[m]),t("div",{class:"".concat(b.value,"-inner-content")},[P])])};return function(){return t(cu,Y(Y({},pu(o,["title","content"])),{},{prefixCls:b.value,ref:r,transitionName:_u(A.value,"zoom-big",o.transitionName)}),{title:k,default:e.default})}}}),rt=mu(it),ct=function(){return{prefixCls:String,maxCount:Number,maxStyle:{type:Object,default:void 0},maxPopoverPlacement:{type:String,default:"top"},maxPopoverTrigger:String,size:{type:[Number,String,Object],default:"default"}}},dt=W({name:"AAvatarGroup",inheritAttrs:!1,props:ct(),setup:function(o,v){var c=v.slots,e=v.attrs,r=Oe("avatar-group",o),_=r.prefixCls,b=r.direction;return Mu(o),function(){var p,A=o.maxPopoverPlacement,k=A===void 0?"top":A,g=o.maxCount,h=o.maxStyle,d=o.maxPopoverTrigger,B=d===void 0?"hover":d,m=(p={},fe(p,_.value,!0),fe(p,"".concat(_.value,"-rtl"),b.value==="rtl"),fe(p,"".concat(e.class),!!e.class),p),S=gu(c,o),P=bu(S).map(function(V,y){return hu(V,{key:"avatar-key-".concat(y)})}),$=P.length;if(g&&g<$){var U=P.slice(0,g),L=P.slice(g,$);return U.push(t(rt,{key:"avatar-popover-key",content:L,trigger:B,placement:k,overlayClassName:"".concat(_.value,"-popover")},{default:function(){return[t(Q,{style:h},{default:function(){return["+".concat($-g)]}})]}})),t("div",Y(Y({},e),{},{class:m,style:e.style}),[U])}return t("div",Y(Y({},e),{},{class:m,style:e.style}),[P])}}}),xe=dt;Q.Group=xe;Q.install=function(u){return u.component(Q.name,Q),u.component(xe.name,xe),u};const vt={class:"flex items-center select-none"},ft={key:1,class:"ml-2 font-bold"},mt={key:2,class:"text-gray-400 ml-2"},ge=W({__name:"ItemCollapse",props:{icon:null,iconColor:{default:"#000"},title:null,color:{default:"#fff"},total:null},setup(u){const o=u,{prefixVar:v,prefixCls:c}=vu("item-collapse");return(e,r)=>(F(),I("div",{class:Au([`${n(c)}`])},[t(n(Uu),{expandIconPosition:"right"},{default:s(()=>[t(n(Nu),null,{header:s(()=>[C("div",vt,[o.icon?(F(),I("span",{key:0,class:"flex p-2 rounded",style:yu({background:o.color})},[t(De,{icon:o.icon,size:"16",color:o.iconColor},null,8,["icon","color"])],4)):me("",!0),o.title?(F(),I("span",ft,j(o.title),1)):me("",!0),o.total?(F(),I("span",mt,"("+j(o.total)+")",1)):me("",!0)])]),default:s(()=>[xu(e.$slots,"default")]),_:3})]),_:3})],2))}}),Ct={to:[String,Object],url:String,replace:Boolean};function _t({to:u,url:o,replace:v,$router:c}){u&&c?c[v?"replace":"push"](u):o&&(v?location.replace(o):location.href=o)}let pt=0;function Ke(){const u=wu(),{name:o="unknown"}=(u==null?void 0:u.type)||{};return`${o}-${++pt}`}function gt(){const u=R([]),o=[];return Fu(()=>{u.value=[]}),[u,c=>(o[c]||(o[c]=e=>{u.value[c]=e}),o[c])]}function bt(u,o,v){let c=0;const e=u.scrollLeft,r=v===0?1:Math.round(v*1e3/16);function _(){u.scrollLeft+=(o-e)/r,++c<r&&he(_)}_()}function ht(u,o,v,c){let e=Le(u);const r=e<o,_=v===0?1:Math.round(v*1e3/16),b=(o-e)/_;function p(){e+=b,(r&&e>o||!r&&e<o)&&(e=o),qu(u,e),r&&e<o||!r&&e>o?he(p):c&&he(c)}p()}function yt(u,o){if(!Gu||!window.IntersectionObserver)return;const v=new IntersectionObserver(r=>{o(r[0].intersectionRatio>0)},{root:document.body}),c=()=>{u.value&&v.observe(u.value)},e=()=>{u.value&&v.unobserve(u.value)};ku(e),Su(e),We(c)}const[xt,At]=oe("sticky"),wt={zIndex:q,position:qe("top"),container:Object,offsetTop:J(0),offsetBottom:J(0)};var Ft=W({name:xt,props:wt,emits:["scroll","change"],setup(u,{emit:o,slots:v}){const c=R(),e=Ve(c),r=de({fixed:!1,width:0,height:0,transform:0}),_=E(()=>He(u.position==="top"?u.offsetTop:u.offsetBottom)),b=E(()=>{const{fixed:g,height:h,width:d}=r;if(g)return{width:`${d}px`,height:`${h}px`}}),p=E(()=>{if(!r.fixed)return;const g=Me(Xu(u.zIndex),{width:`${r.width}px`,height:`${r.height}px`,[u.position]:`${_.value}px`});return r.transform&&(g.transform=`translate3d(0, ${r.transform}px, 0)`),g}),A=g=>o("scroll",{scrollTop:g,isFixed:r.fixed}),k=()=>{if(!c.value||Ge(c))return;const{container:g,position:h}=u,d=ne(c),B=Le(window);if(r.width=d.width,r.height=d.height,h==="top")if(g){const m=ne(g),S=m.bottom-_.value-r.height;r.fixed=_.value>d.top&&m.bottom>0,r.transform=S<0?S:0}else r.fixed=_.value>d.top;else{const{clientHeight:m}=document.documentElement;if(g){const S=ne(g),P=m-S.top-_.value-r.height;r.fixed=m-_.value<d.bottom&&m>S.top,r.transform=P<0?-P:0}else r.fixed=m-_.value<d.bottom}A(B)};return Z(()=>r.fixed,g=>o("change",g)),Ze("scroll",k,{target:e}),yt(c,k),()=>{var g;return t("div",{ref:c,style:b.value},[t("div",{class:At({fixed:r.fixed}),style:p.value},[(g=v.default)==null?void 0:g.call(v)])])}}});const kt=Ae(Ft),[St,ze]=oe("tab");var Pt=W({name:St,props:{id:String,dot:Boolean,type:String,color:String,title:String,badge:q,shrink:Boolean,isActive:Boolean,disabled:Boolean,controls:String,scrollable:Boolean,activeColor:String,inactiveColor:String,showZeroBadge:ve},setup(u,{slots:o}){const v=E(()=>{const e={},{type:r,color:_,disabled:b,isActive:p,activeColor:A,inactiveColor:k}=u;_&&r==="card"&&(e.borderColor=_,b||(p?e.backgroundColor=_:e.color=_));const h=p?A:k;return h&&(e.color=h),e}),c=()=>{const e=t("span",{class:ze("text",{ellipsis:!u.scrollable})},[o.title?o.title():u.title]);return u.dot||ye(u.badge)&&u.badge!==""?t(Lu,{dot:u.dot,content:u.badge,showZero:u.showZeroBadge},{default:()=>[e]}):e};return()=>t("div",{id:u.id,role:"tab",class:[ze([u.type,{grow:u.scrollable&&!u.shrink,shrink:u.shrink,active:u.isActive,disabled:u.disabled}])],style:v.value,tabindex:u.disabled?void 0:u.isActive?0:-1,"aria-selected":u.isActive,"aria-disabled":u.disabled||void 0,"aria-controls":u.controls},[c()])}});const[$t,Ee]=oe("tabs");var Tt=W({name:$t,props:{count:_e(Number),inited:Boolean,animated:Boolean,duration:_e(q),swipeable:Boolean,lazyRender:Boolean,currentIndex:_e(Number)},emits:["change"],setup(u,{emit:o,slots:v}){const c=R(),e=b=>o("change",b),r=()=>{var b;const p=(b=v.default)==null?void 0:b.call(v);return u.animated||u.swipeable?t(lt,{ref:c,loop:!1,class:Ee("track"),duration:+u.duration*1e3,touchable:u.swipeable,lazyRender:u.lazyRender,showIndicators:!1,onChange:e},{default:()=>[p]}):p},_=b=>{const p=c.value;p&&p.state.active!==b&&p.swipeTo(b,{immediate:!u.inited})};return Z(()=>u.currentIndex,_),je(()=>{_(u.currentIndex)}),()=>t("div",{class:Ee("content",{animated:u.animated||u.swipeable})},[r()])}});const[Ye,re]=oe("tabs"),It={type:qe("line"),color:String,border:Boolean,sticky:Boolean,shrink:Boolean,active:J(0),duration:J(.3),animated:Boolean,ellipsis:ve,swipeable:Boolean,scrollspy:Boolean,offsetTop:J(0),background:String,lazyRender:ve,lineWidth:q,lineHeight:q,beforeChange:Function,swipeThreshold:J(5),titleActiveColor:String,titleInactiveColor:String},Je=Symbol(Ye);var Bt=W({name:Ye,props:It,emits:["click","change","scroll","disabled","rendered","click-tab","update:active"],setup(u,{emit:o,slots:v}){let c,e,r;const _=R(),b=R(),p=R(),A=Ke(),k=Ve(_),[g,h]=gt(),{children:d,linkChildren:B}=Ku(Je),m=de({inited:!1,position:"",lineStyle:{},currentIndex:-1}),S=E(()=>d.length>u.swipeThreshold||!u.ellipsis||u.shrink),P=E(()=>({borderColor:u.color,background:u.background})),$=(i,f)=>{var x;return(x=i.name)!=null?x:f},U=E(()=>{const i=d[m.currentIndex];if(i)return $(i,m.currentIndex)}),L=E(()=>He(u.offsetTop)),V=E(()=>u.sticky?L.value+c:0),y=i=>{const f=b.value,x=g.value;if(!S.value||!f||!x||!x[m.currentIndex])return;const T=x[m.currentIndex].$el,z=T.offsetLeft-(f.offsetWidth-T.offsetWidth)/2;bt(f,z,i?0:+u.duration)},a=()=>{const i=m.inited;ae(()=>{const f=g.value;if(!f||!f[m.currentIndex]||u.type!=="line"||Ge(_.value))return;const x=f[m.currentIndex].$el,{lineWidth:T,lineHeight:z}=u,X=x.offsetLeft+x.offsetWidth/2,se={width:Ne(T),backgroundColor:u.color,transform:`translateX(${X}px) translateX(-50%)`};if(i&&(se.transitionDuration=`${u.duration}s`),ye(z)){const ke=Ne(z);se.height=ke,se.borderRadius=ke}m.lineStyle=se})},l=i=>{const f=i<m.currentIndex?-1:1;for(;i>=0&&i<d.length;){if(!d[i].disabled)return i;i+=f}},D=i=>{const f=l(i);if(!ye(f))return;const x=d[f],T=$(x,f),z=m.currentIndex!==null;m.currentIndex=f,T!==u.active&&(o("update:active",T),z&&o("change",T,x.title))},G=i=>{const f=d.find((T,z)=>$(T,z)===i),x=f?d.indexOf(f):0;D(x)},we=(i=!1)=>{if(u.scrollspy){const f=d[m.currentIndex].$el;if(f&&k.value){const x=Ue(f,k.value)-V.value;e=!0,ht(k.value,x,i?0:+u.duration,()=>{e=!1})}}},Qe=(i,f,x)=>{const{title:T,disabled:z}=d[f],X=$(d[f],f);z?o("disabled",X,T):(Vu(u.beforeChange,{args:[X],done:()=>{D(f),we()}}),o("click",X,T),_t(i)),o("click-tab",{name:X,title:T,event:x,disabled:z})},eu=i=>{r=i.isFixed,o("scroll",i)},uu=i=>{ae(()=>{G(i),we(!0)})},tu=()=>{for(let i=0;i<d.length;i++){const{top:f}=ne(d[i].$el);if(f>V.value)return i===0?0:i-1}return d.length-1},lu=()=>{if(u.scrollspy&&!e){const i=tu();D(i)}},au=()=>d.map((i,f)=>t(Pt,$u({key:i.id,id:`${A}-${f}`,ref:h(f),type:u.type,color:u.color,style:i.titleStyle,class:i.titleClass,shrink:u.shrink,isActive:f===m.currentIndex,controls:i.id,scrollable:S.value,activeColor:u.titleActiveColor,inactiveColor:u.titleInactiveColor,onClick:x=>Qe(i,f,x)},et(i,["dot","badge","title","disabled","showZeroBadge"])),{title:i.$slots.title})),nu=()=>{if(u.type==="line"&&d.length)return t("div",{class:re("line"),style:m.lineStyle},null)},Fe=()=>{var i,f;const{type:x,border:T}=u;return t("div",{ref:p,class:[re("wrap"),{[Wu]:x==="line"&&T}]},[t("div",{ref:b,role:"tablist",class:re("nav",[x,{shrink:u.shrink,complete:S.value}]),style:P.value,"aria-orientation":"horizontal"},[(i=v["nav-left"])==null?void 0:i.call(v),au(),nu(),(f=v["nav-right"])==null?void 0:f.call(v)])])};Z([()=>u.color,Yu],a),Z(()=>u.active,i=>{i!==U.value&&G(i)}),Z(()=>d.length,()=>{m.inited&&(G(u.active),a(),ae(()=>{y(!0)}))}),Z(()=>m.currentIndex,()=>{y(),a(),r&&!u.scrollspy&&Qu(Math.ceil(Ue(_.value)-L.value))});const ou=()=>{G(u.active),ae(()=>{m.inited=!0,p.value&&(c=ne(p.value).height),y(!0)})},su=(i,f)=>o("rendered",i,f);return Xe({resize:a,scrollTo:uu}),Pu(a),Ju(a),We(ou),Ze("scroll",lu,{target:k}),B({id:A,props:u,setLine:a,onRendered:su,currentName:U,scrollIntoView:y}),()=>{var i;return t("div",{ref:_,class:re([u.type])},[u.sticky?t(kt,{container:_.value,offsetTop:L.value,onScroll:eu},{default:()=>{var f;return[Fe(),(f=v["nav-bottom"])==null?void 0:f.call(v)]}}):[Fe(),(i=v["nav-bottom"])==null?void 0:i.call(v)],t(Tt,{count:d.length,inited:m.inited,animated:u.animated,duration:u.duration,swipeable:u.swipeable,lazyRender:u.lazyRender,currentIndex:m.currentIndex,onChange:D},{default:()=>{var f;return[(f=v.default)==null?void 0:f.call(v)]}})])}}});const Rt=Symbol(),[Nt,be]=oe("tab"),Ut=Me({},Ct,{dot:Boolean,name:q,badge:q,title:String,disabled:Boolean,titleClass:ut,titleStyle:[String,Object],showZeroBadge:ve});var zt=W({name:Nt,props:Ut,setup(u,{slots:o}){const v=Ke(),c=R(!1),{parent:e,index:r}=tt(Je);if(!e)return;const _=()=>{var A;return(A=u.name)!=null?A:r.value},b=()=>{c.value=!0,e.props.lazyRender&&ae(()=>{e.onRendered(_(),u.title)})},p=E(()=>{const A=_()===e.currentName.value;return A&&!c.value&&b(),A});return Z(()=>u.title,()=>{e.setLine(),e.scrollIntoView()}),Tu(Rt,p),()=>{var A;const k=`${e.id}-${r.value}`,{animated:g,swipeable:h,scrollspy:d,lazyRender:B}=e.props;if(!o.default&&!g)return;const m=d||p.value;if(g||h)return t(at,{id:v,role:"tabpanel",class:be("panel-wrapper",{inactive:!p.value}),tabindex:p.value?0:-1,"aria-hidden":!p.value,"aria-labelledby":k},{default:()=>{var $;return[t("div",{class:be("panel")},[($=o.default)==null?void 0:$.call(o)])]}});const P=c.value||d||!B?(A=o.default)==null?void 0:A.call(o):null;return Xe({id:v}),Iu(t("div",{id:v,role:"tabpanel",class:be("panel"),tabindex:m?0:-1,"aria-labelledby":k},[P]),[[Bu,m]])}}});const le=Ae(zt),Et=Ae(Bt);const Ot={class:"p-4"},Dt=["src"],jt={key:1,alt:"",src:iu},Lt={class:"block mt-3 font-semibold"},Wt={class:"block !text-info mt-3"},Vt={class:"grid grid-cols-2 gap-4 mt-6"},Ht=["href"],Mt=O(" \u067E\u06CC\u0627\u0645 "),Zt=["href"],qt=O(" \u062A\u0645\u0627\u0633 "),Gt={class:"mt-5"},Xt=C("div",{class:"flex justify-between mb-3"},[C("span",{class:"text-xs text-gray-400"},"\u0628\u062F\u0647\u06CC \u06AF\u0631\u0645\u06CC :"),C("div",null,[C("span",{class:"font-bold text-danger"},"400"),C("span",{class:"text-xs ml-1 text-danger"},"\u06AF\u0631\u0645")])],-1),Kt=C("div",{class:"flex justify-between"},[C("span",{class:"text-xs text-gray-400"},"\u0628\u062F\u0647\u06CC \u0631\u06CC\u0627\u0644\u06CC :"),C("div",null,[C("span",{class:"font-bold text-danger"},"1\u060C200\u060C000"),C("span",{class:"text-xs ml-1 text-danger"},"\u0631\u06CC\u0627\u0644")])],-1),Yt={class:"mt-3",dir:"ltr"},Jt=C("span",{class:"mr-4"},"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u062A\u06A9\u0645\u06CC\u0644\u06CC",-1),Qt={class:"pt-5",dir:"rtl"},el={class:"flex flex-col gap-2"},ul={class:"flex flex-col gap-2"},tl=C("span",{class:"mr-4"},"\u0645\u062F\u0627\u0631\u06A9",-1),ll={class:"pt-5",dir:"rtl"},al={class:"flex flex-col gap-2"},nl=C("span",{class:"mr-4"},"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u062D\u0633\u0627\u0628 \u06A9\u0627\u0631\u0628\u0631\u06CC",-1),ol={class:"pt-5",dir:"rtl"},sl={class:"flex flex-col gap-2"},il=C("span",{class:"mr-4"},"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0641\u0631\u0648\u0634\u06AF\u0627\u0647",-1),rl={class:"pt-5",dir:"rtl"},cl={class:"flex flex-col gap-2"},dl=C("span",{class:"mr-4"},"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u062A\u0645\u0627\u0633",-1),vl={class:"pt-5",dir:"rtl"},fl={class:"mb-4"},ml={class:"mb-1"},Cl={class:"flex items-center"},_l=C("span",null," \u0627\u0641\u0632\u0648\u062F\u0646 \u062A\u0644\u0641\u0646",-1),pl=O(" \u0648\u06CC\u0631\u0627\u06CC\u0634 \u0627\u0637\u0644\u0627\u0639\u0627\u062A "),gl={class:"p-6"},bl=C("p",{class:"mb-4 font-bold"},"\u0627\u0641\u0632\u0648\u062F\u0646",-1),hl={class:"grid grid-cols-2 gap-4 my-7"},yl=O(" \u0645\u0630\u0627\u06A9\u0631\u0647 "),xl=O("\u0633\u0646\u062F"),Al=O(" \u0627\u0646\u0635\u0631\u0627\u0641 "),ea=W({__name:"detail",setup(u){const o=R(!1),v=R(4),c=de({}),e=de({}),r=R([""]),_=Ru(),b=R([]),p=R([]),{provinceList:A,stateList:k,changeProvince:g,province:h,state:d}=ju(),B=[],m=[],S=[];function P(){r.value.push("")}async function $(){try{e.city=d.value;const{data:y}=await Du(e);console.log(y),Te.success("\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0628\u0627 \u0645\u0648\u0641\u0642\u06CC\u062A \u0630\u062E\u06CC\u0631\u0647 \u0634\u062F")}catch(y){Te.error("\u062E\u0637\u0627 \u062F\u0631 \u0648\u06CC\u0631\u0627\u06CC\u0634 \u0627\u0637\u0644\u0627\u0639\u0627\u062A \u06A9\u0627\u0631\u0628\u0631\u06CC"),console.log(y)}}function U(y,a){switch(console.log(y),a){case 1:e.national_card_img=y[0].id,e.national_card_img_url=y[0].url;break;case 2:e.license_img=y[0].id,e.license_img_url=y[0].url;break;case 3:e.doc_img=y[0].id,e.doc_img_url=y[0].url;break}}function L(y,a){switch(a){case 1:e.national_card_img=null,e.national_card_img_url=null;break;case 2:e.license_img=null,e.license_img_url=null;break;case 3:e.doc_img=null,e.doc_img_url=null;break}}function V(y,a){return a.title.toLowerCase().indexOf(y.toLowerCase())>=0}return je(async()=>{var y;try{const{data:a}=await Ou(_.params.id);Object.assign(c,a),h.value=(y=c.city.parent)==null?void 0:y.id,h.value&&(await g(h.value),d.value=c.city.id),Object.assign(e,a),Array.isArray(e.phone)&&(r.value=e.phone),e.license_img&&m.push({id:e.license_img,url:e.license_img_url}),e.national_card_img&&S.push({id:e.national_card_img,url:e.national_card_img_url}),e.doc_img&&B.push({id:e.doc_img,url:e.doc_img_url});const l=await Be([Re.currency]);b.value=l.data.rows[0];const D=await Be([Re.metal]);p.value=D.data.rows[0]}catch(a){console.log(a)}}),(y,a)=>(F(),I("div",Ot,[t(fu,{title:"\u062C\u0632\u0626\u06CC\u0627\u062A \u0645\u0634\u062A\u0631\u06CC"}),t(n(pe),{class:"text-center card-padding-24"},{default:s(()=>[t(n(Q),{size:75},{icon:s(()=>[c.avatar_url?(F(),I("img",{key:0,alt:"",src:c.avatar_url},null,8,Dt)):(F(),I("img",jt))]),_:1}),C("span",Lt,j(c.first_name)+" "+j(c.last_name),1),C("span",Wt,j(c.mobile),1),C("div",Vt,[C("a",{href:`sms:${c.mobile}`},[t(ie,{class:"!w-full",type:"warning",icon:"vuesax-linear:messages-1",iconSize:"16"},{default:s(()=>[Mt]),_:1})],8,Ht),C("a",{href:`tel:${c.mobile}`},[t(ie,{type:"success",icon:"vuesax-linear:call",class:"!w-full",iconSize:"16"},{default:s(()=>[qt]),_:1})],8,Zt)])]),_:1}),C("div",Gt,[t(n(pe),{class:"card-padding-16"},{default:s(()=>[Xt,Kt]),_:1}),t(ge,{class:"mt-3",color:n(H).rgbInfo,iconColor:n(H).info,icon:"vuesax-linear:messages-1",total:"2",title:"\u0645\u0630\u0627\u06A9\u0631\u0627\u062A"},null,8,["color","iconColor"]),t(ge,{class:"mt-3",color:n(H).rgbWarning,iconColor:n(H).warning,icon:"vuesax-linear:note-2",total:"4",title:"\u0627\u0633\u0646\u0627\u062F"},null,8,["color","iconColor"]),t(ge,{class:"mt-3",color:n(H).rgbSuccess,iconColor:n(H).success,icon:"vuesax-linear:element-equal",total:"12",title:"\u0645\u062D\u0635\u0648\u0644\u0627\u062A \u062E\u0631\u06CC\u062F\u0627\u0631\u06CC \u0634\u062F\u0647"},null,8,["color","iconColor"])]),C("div",Yt,[t(n(pe),{class:"card-padding-16"},{default:s(()=>[t(n(Zu),{labelWrap:!0,layout:"vertical"},{default:s(()=>[t(n(Et),{shrink:"","line-width":"100",active:v.value,"onUpdate:active":a[24]||(a[24]=l=>v.value=l),color:n(H).primary},{default:s(()=>[t(n(le),{key:"5"},{title:s(()=>[Jt]),default:s(()=>[C("div",Qt,[C("div",el,[t(n(w),{label:"\u0622\u06CC\u062F\u06CC \u062A\u0644\u06AF\u0631\u0627\u0645"},{default:s(()=>[t(n(N),{value:e.telegram,"onUpdate:value":a[0]||(a[0]=l=>e.telegram=l),placeholder:"\u0622\u06CC\u062F\u06CC \u062A\u0644\u06AF\u0631\u0627\u0645 \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(w),{label:"\u0622\u06CC\u062F\u06CC \u0627\u06CC\u0646\u0633\u062A\u0627\u06AF\u0631\u0627\u0645"},{default:s(()=>[t(n(N),{value:e.instagram,"onUpdate:value":a[1]||(a[1]=l=>e.instagram=l),placeholder:"\u0622\u06CC\u062F\u06CC \u0627\u06CC\u0646\u0633\u062A\u0627\u06AF\u0631\u0627\u0645 \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(w),{label:"\u0646\u0634\u0627\u0646\u06CC \u0633\u0627\u06CC\u062A"},{default:s(()=>[t(n(N),{value:e.web_url,"onUpdate:value":a[2]||(a[2]=l=>e.web_url=l),placeholder:"\u0646\u0634\u0627\u0646\u06CC \u0633\u0627\u06CC\u062A \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1})]),t(n(nt)),C("div",ul,[t(n(w),{label:"\u0646\u0648\u0639 \u0627\u0631\u0632 \u0627\u0648\u0644"},{default:s(()=>[t(n(ue),{value:e.first_currency,"onUpdate:value":a[3]||(a[3]=l=>e.first_currency=l),class:"w-full",placeholder:"\u0646\u0648\u0639 \u0627\u0631\u0632 \u0627\u0648\u0644 \u0631\u0627 \u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F"},{default:s(()=>[(F(!0),I(M,null,K(b.value,l=>(F(),ee(n(te),{key:l.id,value:l.id},{default:s(()=>[O(j(l.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),t(n(w),{label:"\u0646\u0648\u0639 \u0627\u0631\u0632 \u062F\u0648\u0645"},{default:s(()=>[t(n(ue),{value:e.second_currency,"onUpdate:value":a[4]||(a[4]=l=>e.second_currency=l),class:"w-full",placeholder:"\u0646\u0648\u0639 \u0627\u0631\u0632 \u062F\u0648\u0645 \u0631\u0627 \u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F"},{default:s(()=>[(F(!0),I(M,null,K(b.value,l=>(F(),ee(n(te),{key:l.id,value:l.id},{default:s(()=>[O(j(l.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),t(n(w),{label:"\u062C\u0646\u0633 \u0641\u0644\u0632"},{default:s(()=>[t(n(ue),{value:e.metal,"onUpdate:value":a[5]||(a[5]=l=>e.metal=l),class:"w-full",placeholder:"\u062C\u0646\u0633 \u0641\u0644\u0632 \u0631\u0627 \u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F"},{default:s(()=>[(F(!0),I(M,null,K(p.value,l=>(F(),ee(n(te),{key:l.id,value:l.id},{default:s(()=>[O(j(l.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1})])])]),_:1}),t(n(le),{key:"4"},{title:s(()=>[tl]),default:s(()=>[C("div",ll,[C("div",al,[t(n(w),{label:"\u06A9\u0627\u0631\u062A \u0645\u0644\u06CC"},{default:s(()=>[t(Ce,{"file-ist":S,onUpload:a[6]||(a[6]=l=>U(l,1)),onRemove:a[7]||(a[7]=l=>L(l,1)),description:"\u062A\u0635\u0648\u06CC\u0631 \u06A9\u0627\u0631\u062A \u0645\u0644\u06CC \u0631\u0627 \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0646\u06CC\u062F"})]),_:1}),t(n(w),{label:"\u062C\u0648\u0627\u0632"},{default:s(()=>[t(Ce,{"file-list":m,onUpload:a[8]||(a[8]=l=>U(l,2)),onRemove:a[9]||(a[9]=l=>L(l,2)),description:"\u062A\u0635\u0648\u06CC\u0631 \u062C\u0648\u0627\u0632 \u0631\u0627 \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0646\u06CC\u062F"})]),_:1}),t(n(w),{label:"\u0633\u0646\u062F \u06CC\u0627 \u0627\u062C\u0627\u0631\u0647 \u0645\u063A\u0627\u0632\u0647"},{default:s(()=>[t(Ce,{"file-list":B,onUpload:a[10]||(a[10]=l=>U(l,3)),onRemove:a[11]||(a[11]=l=>L(l,3)),description:"\u062A\u0635\u0648\u06CC\u0631 \u0633\u0646\u062F \u06CC\u0627 \u0627\u062C\u0627\u0631\u0647 \u0645\u063A\u0627\u0632\u0647 \u0631\u0627 \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0646\u06CC\u062F"})]),_:1})])])]),_:1}),t(n(le),{key:"3"},{title:s(()=>[nl]),default:s(()=>[C("div",ol,[C("div",sl,[t(n(w),{label:"\u0633\u0642\u0641 \u0628\u062F\u0647\u06CC"},{default:s(()=>[t(n(N),{value:e.max_debt,"onUpdate:value":a[12]||(a[12]=l=>e.max_debt=l),placeholder:"\u0633\u0642\u0641 \u0628\u062F\u0647\u06CC \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(w),{label:"\u0633\u0642\u0641 \u0645\u062F\u062A"},{default:s(()=>[t(n(N),{value:e.max_period,"onUpdate:value":a[13]||(a[13]=l=>e.max_period=l),placeholder:"\u0633\u0642\u0641 \u0645\u062F\u062A \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(w),{label:"\u0634\u0645\u0627\u0631\u0647 \u0627\u0642\u062A\u0635\u0627\u062F\u06CC"},{default:s(()=>[t(n(N),{value:e.economical_number,"onUpdate:value":a[14]||(a[14]=l=>e.economical_number=l),placeholder:"\u0634\u0645\u0627\u0631\u0647 \u0627\u0642\u062A\u0635\u0627\u062F\u06CC \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(w),{label:"\u0634\u0645\u0627\u0631\u0647 \u062B\u0628\u062A"},{default:s(()=>[t(n(N),{value:e.registration_number,"onUpdate:value":a[15]||(a[15]=l=>e.registration_number=l),placeholder:"\u0634\u0645\u0627\u0631\u0647 \u062B\u0628\u062A \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1})])])]),_:1}),t(n(le),{key:"2"},{title:s(()=>[il]),default:s(()=>[C("div",rl,[C("div",cl,[t(n(w),{label:"\u0646\u0627\u0645 \u0641\u0631\u0648\u0634\u06AF\u0627\u0647"},{default:s(()=>[t(n(N),{value:e.shop_name,"onUpdate:value":a[16]||(a[16]=l=>e.shop_name=l),placeholder:"\u0646\u0627\u0645 \u0641\u0631\u0648\u0634\u06AF\u0627\u0647 \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(w),{label:"\u0627\u0633\u062A\u0627\u0646"},{default:s(()=>[t(n(ue),{"show-search":"","filter-option":V,value:n(h),"onUpdate:value":a[17]||(a[17]=l=>Ie(h)?h.value=l:null),onChange:n(g),class:"w-full",placeholder:"\u0627\u0633\u062A\u0627\u0646 \u0641\u0631\u0648\u0634\u06AF\u0627\u0647 \u0631\u0627 \u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F"},{default:s(()=>[(F(!0),I(M,null,K(n(A),l=>(F(),ee(n(te),{title:l.name,key:l.id,value:l.id},{default:s(()=>[O(j(l.name),1)]),_:2},1032,["title","value"]))),128))]),_:1},8,["value","onChange"])]),_:1}),t(n(w),{label:"\u0634\u0647\u0631"},{default:s(()=>[t(n(ue),{"show-search":"","filter-option":V,value:n(d),"onUpdate:value":a[18]||(a[18]=l=>Ie(d)?d.value=l:null),class:"w-full",placeholder:"\u0634\u0647\u0631 \u0641\u0631\u0648\u0634\u06AF\u0627\u0647 \u0631\u0627 \u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F"},{default:s(()=>[(F(!0),I(M,null,K(n(k),l=>(F(),ee(n(te),{title:l.name,key:l.id,value:l.id},{default:s(()=>[O(j(l.name),1)]),_:2},1032,["title","value"]))),128))]),_:1},8,["value"])]),_:1}),t(n(w),{label:"\u0645\u0646\u0637\u0642\u0647"},{default:s(()=>[t(n(N),{value:e.aria,"onUpdate:value":a[19]||(a[19]=l=>e.aria=l),placeholder:"\u0645\u0646\u0637\u0642\u0647 \u0641\u0631\u0648\u0634\u06AF\u0627\u0647 \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(w),{label:"\u06A9\u062F \u067E\u0633\u062A\u06CC"},{default:s(()=>[t(n(N),{value:e.postcode,"onUpdate:value":a[20]||(a[20]=l=>e.postcode=l),placeholder:"\u06A9\u062F \u067E\u0633\u062A\u06CC \u0641\u0631\u0648\u0634\u06AF\u0627\u0647 \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(w),{label:"\u0622\u062F\u0631\u0633"},{default:s(()=>[t(n(ot),{value:e.address,"onUpdate:value":a[21]||(a[21]=l=>e.address=l),placeholder:"\u0622\u062F\u0631\u0633 \u0641\u0631\u0648\u0634\u06AF\u0627\u0647 \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F","auto-size":{minRows:3}},null,8,["value"])]),_:1})])])]),_:1}),t(n(le),{key:"1"},{title:s(()=>[dl]),default:s(()=>[C("div",vl,[C("div",fl,[t(n(w),{label:"\u0627\u06CC\u0645\u06CC\u0644"},{default:s(()=>[t(n(N),{dir:"ltr",class:"!text-right",value:e.email,"onUpdate:value":a[22]||(a[22]=l=>e.email=l),placeholder:"\u0627\u06CC\u0645\u06CC\u0644 \u0645\u0634\u062A\u0631\u06CC \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1})]),(F(!0),I(M,null,K(r.value,(l,D)=>(F(),I("div",ml,[t(n(w),{label:` \u062A\u0644\u0641\u0646 \u062B\u0627\u0628\u062A ${D+1}`},{default:s(()=>[t(n(N),{dir:"ltr",class:"!text-right",value:r.value[D],"onUpdate:value":G=>r.value[D]=G,placeholder:"\u062A\u0644\u0641\u0646 \u0645\u0634\u062A\u0631\u06CC \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value","onUpdate:value"])]),_:2},1032,["label"])]))),256)),t(n($e),{type:"text",class:"mt-5",onClick:a[23]||(a[23]=l=>P())},{default:s(()=>[C("div",Cl,[t(De,{icon:"vuesax-linear:add",size:"16",class:"mr-1"}),_l])]),_:1})])]),_:1})]),_:1},8,["active","color"]),t(n($e),{onClick:$,class:"w-full mt-5",size:"large",type:"primary"},{default:s(()=>[pl]),_:1})]),_:1})]),_:1})]),t(zu,{onClick:a[25]||(a[25]=l=>o.value=!0)}),t(n(Hu),{show:o.value,"onUpdate:show":a[27]||(a[27]=l=>o.value=l)},{default:s(()=>[C("div",gl,[bl,C("div",hl,[t(ie,{class:"!p-6 !w-full",type:"info",icon:"vuesax-linear:messages-1"},{default:s(()=>[yl]),_:1}),t(ie,{class:"!p-6 !w-full",type:"warning",icon:"vuesax-linear:note-2"},{default:s(()=>[xl]),_:1})]),t(Eu,{class:"w-full",size:"large",onClick:a[26]||(a[26]=l=>o.value=!1)},{default:s(()=>[Al]),_:1})])]),_:1},8,["show"])]))}});export{ea as default};
Copyright ©2k19 -
Hexid
|
Tex7ure