/
home
/
liman
/
app
/
assets
/
File Upload :
llllll
Current File: /home/liman/app/assets/detail.330dc0c5.js
import{a as Qu,C as ue,A as ee,_ as te}from"./avatar.bc51e8ea.js";import{u as le,_ as ae}from"./NavBar.e48c4107.js";import{c as j}from"./baseColor.d55f65ad.js";import{_ as su}from"./ColorButton.cf04fdc5.js";import{I as Tu}from"./Icon.691e61d1.js";import{a8 as ne,j as S,aF as oe,aV as se,a7 as ie,d as Z,x as ru,G as E,y as V,a as t,k as Iu,z as eu,aW as re,aX as ce,a4 as de,a0 as fe,a1 as ve,o as w,c as I,w as o,u as n,g as f,m as me,e as Ce,t as P,r as _e,n as pe,aY as ge,F as K,l as X,aZ as yu,B as Fu,h as U,a_ as du,f as G}from"./index.41798986.js";import{_ as be}from"./FloatButton.e93e8f23.js";import{a as he,_ as Ae,u as ye}from"./DefaultButton.c976d5d7.js";import{g as xu,N as wu}from"./service.9412869a.js";import{u as Fe,_ as fu}from"./Upload.c6a5572e.js";import{C as vu}from"./Card.478e4fa4.js";import{F as xe,b as y,I as T,T as we}from"./TextArea.59119d7b.js";import{r as pu,g as Ru,s as ke,i as Se,o as Uu,c as lu,u as zu,a as Pu,e as Eu,b as $e,d as Ou,n as W,m as Nu,f as Y,h as Lu,j as tu,w as bu,t as cu,k as gu,l as mu,p as Be,q as Te,v as Du,x as Ie,y as ku,z as Re,A as Su,B as Ue,C as ze,D as Pe}from"./on-popup-reopen.ea6ff961.js";import{B as Ee,a as Oe,c as Ne}from"./index.9a6e380c.js";import{S as Le,a as De}from"./index.776297a4.js";import{D as qe}from"./index.89a00cc4.js";import{S as J,a as Q}from"./index.e221a4f9.js";import"./index.8bb9c817.js";import{A as je}from"./index.9c2e9f49.js";import"./Col.e28abc7b.js";import"./useRefs.aea82016.js";/* empty css */import"./FormItemContext.61ac56c7.js";import"./useMemo.cf61b027.js";const Ve={to:[String,Object],url:String,replace:Boolean};function We({to:e,url:s,replace:v,$router:r}){e&&r?r[v?"replace":"push"](e):s&&(v?location.replace(s):location.href=s)}let Ze=0;function qu(){const e=ne(),{name:s="unknown"}=(e==null?void 0:e.type)||{};return`${s}-${++Ze}`}function He(){const e=S([]),s=[];return oe(()=>{e.value=[]}),[e,r=>(s[r]||(s[r]=u=>{e.value[r]=u}),s[r])]}function Me(e,s,v){let r=0;const u=e.scrollLeft,c=v===0?1:Math.round(v*1e3/16);function _(){e.scrollLeft+=(s-u)/c,++r<c&&pu(_)}_()}function Ke(e,s,v,r){let u=Ru(e);const c=u<s,_=v===0?1:Math.round(v*1e3/16),A=(s-u)/_;function g(){u+=A,(c&&u>s||!c&&u<s)&&(u=s),ke(e,u),c&&u<s||!c&&u>s?pu(g):r&&pu(r)}g()}function Xe(e,s){if(!Se||!window.IntersectionObserver)return;const v=new IntersectionObserver(c=>{s(c[0].intersectionRatio>0)},{root:document.body}),r=()=>{e.value&&v.observe(e.value)},u=()=>{e.value&&v.unobserve(e.value)};se(u),ie(u),Uu(r)}const[Ye,Ge]=lu("sticky"),Je={zIndex:W,position:Nu("top"),container:Object,offsetTop:Y(0),offsetBottom:Y(0)};var Qe=Z({name:Ye,props:Je,emits:["scroll","change"],setup(e,{emit:s,slots:v}){const r=S(),u=zu(r),c=ru({fixed:!1,width:0,height:0,transform:0}),_=E(()=>Pu(e.position==="top"?e.offsetTop:e.offsetBottom)),A=E(()=>{const{fixed:b,height:x,width:m}=c;if(b)return{width:`${m}px`,height:`${x}px`}}),g=E(()=>{if(!c.fixed)return;const b=Eu($e(e.zIndex),{width:`${c.width}px`,height:`${c.height}px`,[e.position]:`${_.value}px`});return c.transform&&(b.transform=`translate3d(0, ${c.transform}px, 0)`),b}),F=b=>s("scroll",{scrollTop:b,isFixed:c.fixed}),$=()=>{if(!r.value||Lu(r))return;const{container:b,position:x}=e,m=tu(r),N=Ru(window);if(c.width=m.width,c.height=m.height,x==="top")if(b){const C=tu(b),B=C.bottom-_.value-c.height;c.fixed=_.value>m.top&&C.bottom>0,c.transform=B<0?B:0}else c.fixed=_.value>m.top;else{const{clientHeight:C}=document.documentElement;if(b){const B=tu(b),L=C-B.top-_.value-c.height;c.fixed=C-_.value<m.bottom&&C>B.top,c.transform=L<0?-L:0}else c.fixed=C-_.value<m.bottom}F(N)};return V(()=>c.fixed,b=>s("change",b)),Ou("scroll",$,{target:u}),Xe(r,$),()=>{var b;return t("div",{ref:r,style:A.value},[t("div",{class:Ge({fixed:c.fixed}),style:g.value},[(b=v.default)==null?void 0:b.call(v)])])}}});const ut=bu(Qe),[et,$u]=lu("tab");var tt=Z({name:et,props:{id:String,dot:Boolean,type:String,color:String,title:String,badge:W,shrink:Boolean,isActive:Boolean,disabled:Boolean,controls:String,scrollable:Boolean,activeColor:String,inactiveColor:String,showZeroBadge:cu},setup(e,{slots:s}){const v=E(()=>{const u={},{type:c,color:_,disabled:A,isActive:g,activeColor:F,inactiveColor:$}=e;_&&c==="card"&&(u.borderColor=_,A||(g?u.backgroundColor=_:u.color=_));const x=g?F:$;return x&&(u.color=x),u}),r=()=>{const u=t("span",{class:$u("text",{ellipsis:!e.scrollable})},[s.title?s.title():e.title]);return e.dot||gu(e.badge)&&e.badge!==""?t(Ee,{dot:e.dot,content:e.badge,showZero:e.showZeroBadge},{default:()=>[u]}):u};return()=>t("div",{id:e.id,role:"tab",class:[$u([e.type,{grow:e.scrollable&&!e.shrink,shrink:e.shrink,active:e.isActive,disabled:e.disabled}])],style:v.value,tabindex:e.disabled?void 0:e.isActive?0:-1,"aria-selected":e.isActive,"aria-disabled":e.disabled||void 0,"aria-controls":e.controls},[r()])}});const[lt,Bu]=lu("tabs");var at=Z({name:lt,props:{count:mu(Number),inited:Boolean,animated:Boolean,duration:mu(W),swipeable:Boolean,lazyRender:Boolean,currentIndex:mu(Number)},emits:["change"],setup(e,{emit:s,slots:v}){const r=S(),u=A=>s("change",A),c=()=>{var A;const g=(A=v.default)==null?void 0:A.call(v);return e.animated||e.swipeable?t(Le,{ref:r,loop:!1,class:Bu("track"),duration:+e.duration*1e3,touchable:e.swipeable,lazyRender:e.lazyRender,showIndicators:!1,onChange:u},{default:()=>[g]}):g},_=A=>{const g=r.value;g&&g.state.active!==A&&g.swipeTo(A,{immediate:!e.inited})};return V(()=>e.currentIndex,_),Iu(()=>{_(e.currentIndex)}),()=>t("div",{class:Bu("content",{animated:e.animated||e.swipeable})},[c()])}});const[ju,iu]=lu("tabs"),nt={type:Nu("line"),color:String,border:Boolean,sticky:Boolean,shrink:Boolean,active:Y(0),duration:Y(.3),animated:Boolean,ellipsis:cu,swipeable:Boolean,scrollspy:Boolean,offsetTop:Y(0),background:String,lazyRender:cu,lineWidth:W,lineHeight:W,beforeChange:Function,swipeThreshold:Y(5),titleActiveColor:String,titleInactiveColor:String},Vu=Symbol(ju);var ot=Z({name:ju,props:nt,emits:["click","change","scroll","disabled","rendered","click-tab","update:active"],setup(e,{emit:s,slots:v}){let r,u,c;const _=S(),A=S(),g=S(),F=qu(),$=zu(_),[b,x]=He(),{children:m,linkChildren:N}=Be(Vu),C=ru({inited:!1,position:"",lineStyle:{},currentIndex:-1}),B=E(()=>m.length>e.swipeThreshold||!e.ellipsis||e.shrink),L=E(()=>({borderColor:e.color,background:e.background})),O=(i,d)=>{var h;return(h=i.name)!=null?h:d},au=E(()=>{const i=m[C.currentIndex];if(i)return O(i,C.currentIndex)}),D=E(()=>Pu(e.offsetTop)),H=E(()=>e.sticky?D.value+r:0),q=i=>{const d=A.value,h=b.value;if(!B.value||!d||!h||!h[C.currentIndex])return;const k=h[C.currentIndex].$el,R=k.offsetLeft-(d.offsetWidth-k.offsetWidth)/2;Me(d,R,i?0:+e.duration)},p=()=>{const i=C.inited;eu(()=>{const d=b.value;if(!d||!d[C.currentIndex]||e.type!=="line"||Lu(_.value))return;const h=d[C.currentIndex].$el,{lineWidth:k,lineHeight:R}=e,M=h.offsetLeft+h.offsetWidth/2,ou={width:ku(k),backgroundColor:e.color,transform:`translateX(${M}px) translateX(-50%)`};if(i&&(ou.transitionDuration=`${e.duration}s`),gu(R)){const Au=ku(R);ou.height=Au,ou.borderRadius=Au}C.lineStyle=ou})},a=i=>{const d=i<C.currentIndex?-1:1;for(;i>=0&&i<m.length;){if(!m[i].disabled)return i;i+=d}},l=i=>{const d=a(i);if(!gu(d))return;const h=m[d],k=O(h,d),R=C.currentIndex!==null;C.currentIndex=d,k!==e.active&&(s("update:active",k),R&&s("change",k,h.title))},z=i=>{const d=m.find((k,R)=>O(k,R)===i),h=d?m.indexOf(d):0;l(h)},nu=(i=!1)=>{if(e.scrollspy){const d=m[C.currentIndex].$el;if(d&&$.value){const h=Su(d,$.value)-H.value;u=!0,Ke($.value,h,i?0:+e.duration,()=>{u=!1})}}},Wu=(i,d,h)=>{const{title:k,disabled:R}=m[d],M=O(m[d],d);R?s("disabled",M,k):(Ne(e.beforeChange,{args:[M],done:()=>{l(d),nu()}}),s("click",M,k),We(i)),s("click-tab",{name:M,title:k,event:h,disabled:R})},Zu=i=>{c=i.isFixed,s("scroll",i)},Hu=i=>{eu(()=>{z(i),nu(!0)})},Mu=()=>{for(let i=0;i<m.length;i++){const{top:d}=tu(m[i].$el);if(d>H.value)return i===0?0:i-1}return m.length-1},Ku=()=>{if(e.scrollspy&&!u){const i=Mu();l(i)}},Xu=()=>m.map((i,d)=>t(tt,ce({key:i.id,id:`${F}-${d}`,ref:x(d),type:e.type,color:e.color,style:i.titleStyle,class:i.titleClass,shrink:e.shrink,isActive:d===C.currentIndex,controls:i.id,scrollable:B.value,activeColor:e.titleActiveColor,inactiveColor:e.titleInactiveColor,onClick:h=>Wu(i,d,h)},Ue(i,["dot","badge","title","disabled","showZeroBadge"])),{title:i.$slots.title})),Yu=()=>{if(e.type==="line"&&m.length)return t("div",{class:iu("line"),style:C.lineStyle},null)},hu=()=>{var i,d;const{type:h,border:k}=e;return t("div",{ref:g,class:[iu("wrap"),{[Oe]:h==="line"&&k}]},[t("div",{ref:A,role:"tablist",class:iu("nav",[h,{shrink:e.shrink,complete:B.value}]),style:L.value,"aria-orientation":"horizontal"},[(i=v["nav-left"])==null?void 0:i.call(v),Xu(),Yu(),(d=v["nav-right"])==null?void 0:d.call(v)])])};V([()=>e.color,Te],p),V(()=>e.active,i=>{i!==au.value&&z(i)}),V(()=>m.length,()=>{C.inited&&(z(e.active),p(),eu(()=>{q(!0)}))}),V(()=>C.currentIndex,()=>{q(),p(),c&&!e.scrollspy&&Re(Math.ceil(Su(_.value)-D.value))});const Gu=()=>{z(e.active),eu(()=>{C.inited=!0,g.value&&(r=tu(g.value).height),q(!0)})},Ju=(i,d)=>s("rendered",i,d);return Du({resize:p,scrollTo:Hu}),re(p),Ie(p),Uu(Gu),Ou("scroll",Ku,{target:$}),N({id:F,props:e,setLine:p,onRendered:Ju,currentName:au,scrollIntoView:q}),()=>{var i;return t("div",{ref:_,class:iu([e.type])},[e.sticky?t(ut,{container:_.value,offsetTop:D.value,onScroll:Zu},{default:()=>{var d;return[hu(),(d=v["nav-bottom"])==null?void 0:d.call(v)]}}):[hu(),(i=v["nav-bottom"])==null?void 0:i.call(v)],t(at,{count:m.length,inited:C.inited,animated:e.animated,duration:e.duration,swipeable:e.swipeable,lazyRender:e.lazyRender,currentIndex:C.currentIndex,onChange:l},{default:()=>{var d;return[(d=v.default)==null?void 0:d.call(v)]}})])}}});const st=Symbol(),[it,Cu]=lu("tab"),rt=Eu({},Ve,{dot:Boolean,name:W,badge:W,title:String,disabled:Boolean,titleClass:ze,titleStyle:[String,Object],showZeroBadge:cu});var ct=Z({name:it,props:rt,setup(e,{slots:s}){const v=qu(),r=S(!1),{parent:u,index:c}=Pe(Vu);if(!u)return;const _=()=>{var F;return(F=e.name)!=null?F:c.value},A=()=>{r.value=!0,u.props.lazyRender&&eu(()=>{u.onRendered(_(),e.title)})},g=E(()=>{const F=_()===u.currentName.value;return F&&!r.value&&A(),F});return V(()=>e.title,()=>{u.setLine(),u.scrollIntoView()}),de(st,g),()=>{var F;const $=`${u.id}-${c.value}`,{animated:b,swipeable:x,scrollspy:m,lazyRender:N}=u.props;if(!s.default&&!b)return;const C=m||g.value;if(b||x)return t(De,{id:v,role:"tabpanel",class:Cu("panel-wrapper",{inactive:!g.value}),tabindex:g.value?0:-1,"aria-hidden":!g.value,"aria-labelledby":$},{default:()=>{var O;return[t("div",{class:Cu("panel")},[(O=s.default)==null?void 0:O.call(s)])]}});const L=r.value||m||!N?(F=s.default)==null?void 0:F.call(s):null;return Du({id:v}),fe(t("div",{id:v,role:"tabpanel",class:Cu("panel"),tabindex:C?0:-1,"aria-labelledby":$},[L]),[[ve,C]])}}});const uu=bu(ct),dt=bu(ot);const ft={class:"flex items-center select-none"},vt={class:"ml-2 font-bold"},mt={class:"text-gray-400 ml-2"},_u=Z({__name:"ItemCollapse",props:{icon:null,iconColor:{default:"#000"},title:null,color:{default:"#fff"},total:null},setup(e){const s=e,{prefixVar:v,prefixCls:r}=le("item-collapse");return(u,c)=>(w(),I("div",{class:pe([n(r)])},[t(n(ue),{expandIconPosition:"right",activeKey:null},{default:o(()=>[t(n(Qu),null,{header:o(()=>[f("div",ft,[s.icon?(w(),I("span",{key:0,class:"flex p-2 rounded",style:me({background:s.color})},[t(Tu,{icon:s.icon,size:"16",color:s.iconColor},null,8,["icon","color"])],4)):Ce("",!0),f("span",vt,P(s.title),1),f("span",mt,"("+P(s.total)+")",1)])]),default:o(()=>[_e(u.$slots,"default")]),_:3})]),_:3})],2))}});const Ct={class:"p-2"},_t=["src"],pt={key:1,alt:"",src:te},gt={class:"block mt-3 font-semibold"},bt={class:"block !text-info mt-3"},ht={class:"grid grid-cols-2 gap-4 mt-6"},At=["href"],yt=U(" \u067E\u06CC\u0627\u0645 "),Ft=["href"],xt=U(" \u062A\u0645\u0627\u0633 "),wt={class:"mt-5"},kt=f("div",{class:"flex justify-between mb-3"},[f("span",{class:"text-xs text-gray-400"},"\u0628\u062F\u0647\u06CC \u06AF\u0631\u0645\u06CC :"),f("div",null,[f("span",{class:"font-bold text-danger"},"0"),f("span",{class:"text-xs ml-1 text-danger"},"\u06AF\u0631\u0645")])],-1),St=f("div",{class:"flex justify-between"},[f("span",{class:"text-xs text-gray-400"},"\u0628\u062F\u0647\u06CC \u0631\u06CC\u0627\u0644\u06CC :"),f("div",null,[f("span",{class:"font-bold text-danger"},"0"),f("span",{class:"text-xs ml-1 text-danger"},"\u0631\u06CC\u0627\u0644")])],-1),$t={class:"mt-3",dir:"ltr"},Bt=f("span",{class:"mr-4"},"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u062A\u06A9\u0645\u06CC\u0644\u06CC",-1),Tt={class:"pt-5",dir:"rtl"},It={class:"flex flex-col gap-2"},Rt={class:"flex flex-col gap-2"},Ut=f("span",{class:"mr-4"},"\u0645\u062F\u0627\u0631\u06A9",-1),zt={class:"pt-5",dir:"rtl"},Pt={class:"flex flex-col gap-2"},Et=f("span",{class:"mr-4"},"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u062D\u0633\u0627\u0628 \u06A9\u0627\u0631\u0628\u0631\u06CC",-1),Ot={class:"pt-5",dir:"rtl"},Nt={class:"flex flex-col gap-2"},Lt=f("span",{class:"mr-4"},"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0641\u0631\u0648\u0634\u06AF\u0627\u0647",-1),Dt={class:"pt-5",dir:"rtl"},qt={class:"flex flex-col gap-2"},jt=f("span",{class:"mr-4"},"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u062A\u0645\u0627\u0633",-1),Vt={class:"pt-5",dir:"rtl"},Wt={class:"mb-4"},Zt={class:"mb-1"},Ht={class:"flex items-center"},Mt=f("span",null," \u0627\u0641\u0632\u0648\u062F\u0646 \u062A\u0644\u0641\u0646",-1),Kt=U(" \u0648\u06CC\u0631\u0627\u06CC\u0634 \u0627\u0637\u0644\u0627\u0639\u0627\u062A "),Xt={class:"p-6"},Yt=f("p",{class:"mb-4 font-bold"},"\u0627\u0641\u0632\u0648\u062F\u0646",-1),Gt={class:"grid grid-cols-2 gap-4 my-7"},Jt=U(" \u0645\u0630\u0627\u06A9\u0631\u0647 "),Qt=U("\u0633\u0646\u062F"),ul=U(" \u0627\u0646\u0635\u0631\u0627\u0641 "),wl=Z({__name:"detail",setup(e){const s=S(!1),v=S(4),r=ru({}),u=ru({}),c=S([""]),_=ge(),A=S([]),g=S([]),{provinceList:F,stateList:$,changeProvince:b,province:x,state:m}=Fe(),N=S([]),C=S([]),B=S([]);function L(){c.value.push("")}async function O(){try{u.city=m.value;const{data:p}=await ye(u);du.success("\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0628\u0627 \u0645\u0648\u0641\u0642\u06CC\u062A \u0630\u062E\u06CC\u0631\u0647 \u0634\u062F")}catch{du.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")}}function au(p){console.log("Failed:",p),p.errorFields.forEach(a=>{du.error(a.errors[0])})}function D(p,a){switch(a){case 1:u.national_card_img=p[0].id,u.national_card_img_url=p[0].url;break;case 2:u.license_img=p[0].id,u.license_img_url=p[0].url;break;case 3:u.doc_img=p[0].id,u.doc_img_url=p[0].url;break}}function H(p,a){switch(a){case 1:u.national_card_img=null,u.national_card_img_url=null;break;case 2:u.license_img=null,u.license_img_url=null;break;case 3:u.doc_img=null,u.doc_img_url=null;break}}function q(p,a){return a.title.toLowerCase().indexOf(p.toLowerCase())>=0}return Iu(async()=>{var p;try{const{data:a}=await he(_.params.id);Object.assign(r,a),x.value=(p=r.city.parent)==null?void 0:p.id,x.value&&(await b(x.value),m.value=r.city.id),Object.assign(u,a),Array.isArray(u.phone)&&(c.value=u.phone),u.license_img&&C.value.push({id:u.license_img,url:u.license_img_url}),u.national_card_img&&B.value.push({id:u.national_card_img,url:u.national_card_img_url}),u.doc_img&&N.value.push({id:u.doc_img,url:u.doc_img_url});const l=await xu(wu.currency);A.value=l.data.rows[0];const z=await xu(wu.metal);g.value=z.data.rows[0]}catch(a){console.log(a)}}),(p,a)=>(w(),I("div",Ct,[t(ae,{title:"\u062C\u0632\u0626\u06CC\u0627\u062A \u0645\u0634\u062A\u0631\u06CC",onOnBack:a[0]||(a[0]=l=>p.$router.push({name:"customers"}))}),t(n(vu),{class:"text-center card-padding-24"},{default:o(()=>[t(n(ee),{size:75},{icon:o(()=>[r.avatar_url?(w(),I("img",{key:0,alt:"",src:r.avatar_url},null,8,_t)):(w(),I("img",pt))]),_:1}),f("span",gt,P(r.first_name)+" "+P(r.last_name),1),f("span",bt,P(r.mobile),1),f("div",ht,[f("a",{href:`sms:${r.mobile}`},[t(su,{class:"!w-full",type:"warning",icon:"vuesax-linear:messages-1",iconSize:"16"},{default:o(()=>[yt]),_:1})],8,At),f("a",{href:`tel:${r.mobile}`},[t(su,{type:"success",icon:"vuesax-linear:call",class:"!w-full",iconSize:"16"},{default:o(()=>[xt]),_:1})],8,Ft)])]),_:1}),f("div",wt,[t(n(vu),{class:"card-padding-16"},{default:o(()=>[kt,St]),_:1}),t(_u,{class:"mt-3",color:n(j).rgbInfo,iconColor:n(j).info,icon:"vuesax-linear:messages-1",title:"\u0645\u0630\u0627\u06A9\u0631\u0627\u062A",total:0,onClick:a[1]||(a[1]=l=>p.$router.push({name:"conversations",query:{filters:[]}}))},null,8,["color","iconColor"]),t(_u,{class:"mt-3",color:n(j).rgbWarning,iconColor:n(j).warning,icon:"vuesax-linear:note-2",total:0,title:"\u0627\u0633\u0646\u0627\u062F",onClick:a[2]||(a[2]=l=>p.$router.push({name:"document",query:{filters:[]}}))},null,8,["color","iconColor"]),t(_u,{class:"mt-3",color:n(j).rgbSuccess,iconColor:n(j).success,icon:"vuesax-linear:element-equal",total:0,title:"\u0645\u062D\u0635\u0648\u0644\u0627\u062A \u062E\u0631\u06CC\u062F\u0627\u0631\u06CC \u0634\u062F\u0647"},null,8,["color","iconColor"])]),f("div",$t,[t(n(vu),{class:"card-padding-16"},{default:o(()=>[t(n(xe),{model:u,autocomplete:"off",onFinish:O,labelWrap:!0,layout:"vertical",onFinishFailed:au},{default:o(()=>[t(n(dt),{"lazy-render":!1,shrink:"","line-width":"100",active:v.value,"onUpdate:active":a[28]||(a[28]=l=>v.value=l),color:n(j).primary},{default:o(()=>[t(n(uu),{key:"5"},{title:o(()=>[Bt]),default:o(()=>[f("div",Tt,[f("div",It,[t(n(y),{label:"\u0622\u06CC\u062F\u06CC \u062A\u0644\u06AF\u0631\u0627\u0645"},{default:o(()=>[t(n(T),{value:u.telegram,"onUpdate:value":a[3]||(a[3]=l=>u.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(y),{label:"\u0622\u06CC\u062F\u06CC \u0627\u06CC\u0646\u0633\u062A\u0627\u06AF\u0631\u0627\u0645"},{default:o(()=>[t(n(T),{value:u.instagram,"onUpdate:value":a[4]||(a[4]=l=>u.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(y),{label:"\u0646\u0634\u0627\u0646\u06CC \u0633\u0627\u06CC\u062A"},{default:o(()=>[t(n(T),{value:u.web_url,"onUpdate:value":a[5]||(a[5]=l=>u.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(qe)),f("div",Rt,[t(n(y),{label:"\u0646\u0648\u0639 \u0627\u0631\u0632 \u0627\u0648\u0644"},{default:o(()=>[t(n(J),{value:u.first_currency,"onUpdate:value":a[6]||(a[6]=l=>u.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:o(()=>[(w(!0),I(K,null,X(A.value,l=>(w(),G(n(Q),{key:l.id,value:l.id},{default:o(()=>[U(P(l.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),t(n(y),{label:"\u0646\u0648\u0639 \u0627\u0631\u0632 \u062F\u0648\u0645"},{default:o(()=>[t(n(J),{value:u.second_currency,"onUpdate:value":a[7]||(a[7]=l=>u.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:o(()=>[(w(!0),I(K,null,X(A.value,l=>(w(),G(n(Q),{key:l.id,value:l.id},{default:o(()=>[U(P(l.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),t(n(y),{label:"\u062C\u0646\u0633 \u0641\u0644\u0632"},{default:o(()=>[t(n(J),{value:u.metal,"onUpdate:value":a[8]||(a[8]=l=>u.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:o(()=>[(w(!0),I(K,null,X(g.value,l=>(w(),G(n(Q),{key:l.id,value:l.id},{default:o(()=>[U(P(l.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1})])])]),_:1}),t(n(uu),{key:"4"},{title:o(()=>[Ut]),default:o(()=>[f("div",zt,[f("div",Pt,[t(n(y),{label:"\u06A9\u0627\u0631\u062A \u0645\u0644\u06CC"},{default:o(()=>[t(fu,{"file-list":B.value,onUpload:a[9]||(a[9]=l=>D(l,1)),onRemove:a[10]||(a[10]=l=>H(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"},null,8,["file-list"])]),_:1}),t(n(y),{label:"\u062C\u0648\u0627\u0632"},{default:o(()=>[t(fu,{"file-list":C.value,onUpload:a[11]||(a[11]=l=>D(l,2)),onRemove:a[12]||(a[12]=l=>H(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"},null,8,["file-list"])]),_:1}),t(n(y),{label:"\u0633\u0646\u062F \u06CC\u0627 \u0627\u062C\u0627\u0631\u0647 \u0645\u063A\u0627\u0632\u0647"},{default:o(()=>[t(fu,{"file-list":N.value,onUpload:a[13]||(a[13]=l=>D(l,3)),onRemove:a[14]||(a[14]=l=>H(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"},null,8,["file-list"])]),_:1})])])]),_:1}),t(n(uu),{key:"3"},{title:o(()=>[Et]),default:o(()=>[f("div",Ot,[f("div",Nt,[t(n(y),{label:"\u0647\u062F\u0641",name:"target",rules:[{required:!0,message:"\u0647\u062F\u0641 \u0631\u0627 \u0648\u0627\u0631\u062F \u0646\u0645\u0627\u06CC\u06CC\u062F"}]},{default:o(()=>[t(n(T),{size:"large",value:u.target,"onUpdate:value":a[15]||(a[15]=l=>u.target=l),placeholder:"\u0645\u06CC\u0632\u0627\u0646 \u0647\u062F\u0641 \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F"},null,8,["value"])]),_:1}),t(n(y),{label:"\u0633\u0642\u0641 \u0628\u062F\u0647\u06CC",name:"max_debt",rules:[{required:!0,message:"\u0633\u0642\u0641 \u0628\u062F\u0647\u06CC \u0631\u0627 \u0648\u0627\u0631\u062F \u0646\u0645\u0627\u06CC\u06CC\u062F"}]},{default:o(()=>[t(n(T),{value:u.max_debt,"onUpdate:value":a[16]||(a[16]=l=>u.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(y),{label:"\u0633\u0642\u0641 \u0645\u062F\u062A",name:"max_period",rules:[{required:!0,message:"\u0633\u0642\u0641 \u0645\u062F\u062A \u0631\u0627 \u0648\u0627\u0631\u062F \u0646\u0645\u0627\u06CC\u06CC\u062F"}]},{default:o(()=>[t(n(T),{value:u.max_period,"onUpdate:value":a[17]||(a[17]=l=>u.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(y),{label:"\u0634\u0645\u0627\u0631\u0647 \u0627\u0642\u062A\u0635\u0627\u062F\u06CC"},{default:o(()=>[t(n(T),{value:u.economical_number,"onUpdate:value":a[18]||(a[18]=l=>u.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(y),{label:"\u0634\u0645\u0627\u0631\u0647 \u062B\u0628\u062A"},{default:o(()=>[t(n(T),{value:u.registration_number,"onUpdate:value":a[19]||(a[19]=l=>u.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(uu),{key:"2"},{title:o(()=>[Lt]),default:o(()=>[f("div",Dt,[f("div",qt,[t(n(y),{label:"\u0646\u0627\u0645 \u0641\u0631\u0648\u0634\u06AF\u0627\u0647"},{default:o(()=>[t(n(T),{value:u.shop_name,"onUpdate:value":a[20]||(a[20]=l=>u.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(y),{label:"\u0627\u0633\u062A\u0627\u0646"},{default:o(()=>[t(n(J),{"show-search":"","filter-option":q,value:n(x),"onUpdate:value":a[21]||(a[21]=l=>yu(x)?x.value=l:null),onChange:n(b),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:o(()=>[(w(!0),I(K,null,X(n(F),l=>(w(),G(n(Q),{title:l.name,key:l.id,value:l.id},{default:o(()=>[U(P(l.name),1)]),_:2},1032,["title","value"]))),128))]),_:1},8,["value","onChange"])]),_:1}),t(n(y),{label:"\u0634\u0647\u0631"},{default:o(()=>[t(n(J),{"show-search":"","filter-option":q,value:n(m),"onUpdate:value":a[22]||(a[22]=l=>yu(m)?m.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:o(()=>[(w(!0),I(K,null,X(n($),l=>(w(),G(n(Q),{title:l.name,key:l.id,value:l.id},{default:o(()=>[U(P(l.name),1)]),_:2},1032,["title","value"]))),128))]),_:1},8,["value"])]),_:1}),t(n(y),{label:"\u0645\u0646\u0637\u0642\u0647"},{default:o(()=>[t(n(T),{value:u.aria,"onUpdate:value":a[23]||(a[23]=l=>u.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(y),{label:"\u06A9\u062F \u067E\u0633\u062A\u06CC"},{default:o(()=>[t(n(T),{value:u.postcode,"onUpdate:value":a[24]||(a[24]=l=>u.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(y),{label:"\u0622\u062F\u0631\u0633"},{default:o(()=>[t(n(we),{value:u.address,"onUpdate:value":a[25]||(a[25]=l=>u.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(uu),{key:"1"},{title:o(()=>[jt]),default:o(()=>[f("div",Vt,[f("div",Wt,[t(n(y),{label:"\u0627\u06CC\u0645\u06CC\u0644"},{default:o(()=>[t(n(T),{dir:"ltr",class:"!text-right",value:u.email,"onUpdate:value":a[26]||(a[26]=l=>u.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})]),(w(!0),I(K,null,X(c.value,(l,z)=>(w(),I("div",Zt,[t(n(y),{label:` \u062A\u0644\u0641\u0646 \u062B\u0627\u0628\u062A ${z+1}`},{default:o(()=>[t(n(T),{dir:"ltr",class:"!text-right",value:c.value[z],"onUpdate:value":nu=>c.value[z]=nu,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(Fu),{type:"text",class:"mt-5",onClick:a[27]||(a[27]=l=>L())},{default:o(()=>[f("div",Ht,[t(Tu,{icon:"vuesax-linear:add",size:"16",class:"mr-1"}),Mt])]),_:1})])]),_:1})]),_:1},8,["active","color"]),t(n(Fu),{class:"w-full mt-5",size:"large",type:"primary","html-type":"submit"},{default:o(()=>[Kt]),_:1})]),_:1},8,["model"])]),_:1})]),t(be,{onClick:a[29]||(a[29]=l=>s.value=!0)}),t(n(je),{show:s.value,"onUpdate:show":a[33]||(a[33]=l=>s.value=l)},{default:o(()=>[f("div",Xt,[Yt,f("div",Gt,[t(su,{onClick:a[30]||(a[30]=l=>p.$router.push({name:"conversationAdd",query:{user_id:u.id}})),class:"!p-6 !w-full",type:"info",icon:"vuesax-linear:messages-1"},{default:o(()=>[Jt]),_:1}),t(su,{onClick:a[31]||(a[31]=l=>p.$router.push({name:"documentAdd",query:{user_id:u.id}})),class:"!p-6 !w-full",type:"warning",icon:"vuesax-linear:note-2"},{default:o(()=>[Qt]),_:1})]),t(Ae,{class:"w-full",size:"large",onClick:a[32]||(a[32]=l=>s.value=!1)},{default:o(()=>[ul]),_:1})])]),_:1},8,["show"])]))}});export{wl as default};
Copyright ©2k19 -
Hexid
|
Tex7ure