WokerTask/public/admin/assets/edit.2181f6ff.js

2 lines
22 KiB
JavaScript

import{J as Pe,Z as Ge,_ as Ke,$ as Qe,k as L,B as Ze,C as He,M as We,N as Xe,F as Ye,a0 as ea,a1 as aa,a2 as la,c as ta,w as ua,D as oa,L as sa}from"./element-plus.10e48c93.js";import{a as ia,u as ra}from"./vue-router.9f65afb1.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";import{a as ne,b as K,d as na,e as da}from"./company.820d8c81.js";import{a as ca,b as pa,c as ma,d as _a,e as fa,f as ba}from"./common.4b5ff2d1.js";import{d as de}from"./dict.f873732c.js";import{d as me,C as ya,r as m,s as ce,$ as Q,w as ga,a4 as va,o as r,c as _,U as t,L as o,u as e,T as g,a7 as F,K as p,Q as B,R as N,S as Fa,a as h,k as Z}from"./@vue.51d7f2d8.js";import"./lodash.08438971.js";import{_ as Ba}from"./dialog_index.vue_vue_type_script_setup_true_name_companyLists_lang.89b9509e.js";import{_ as pe}from"./dialog_index_man.vue_vue_type_script_setup_true_name_companyLists_lang.bac8b90c.js";import{a as Ea,e as ha}from"./index.8604d989.js";import"./@vueuse.ec90c285.js";import"./@element-plus.c80b8015.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.vue_vue_type_script_setup_true_lang.579ca8f7.js";import"./usePaging.60d02673.js";import"./role.3f54fcab.js";import"./useDictOptions.0cd6f35c.js";import"./admin.58b1f98e.js";import"./axios.105476b3.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.7ac6f233.js";import"./color.44a05936.js";import"./clone.0afcbf90.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.86067895.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.40d5feba.js";const Va={class:"edit-popup"},Ca=h("div",{class:"tit"},"\u516C\u53F8\u57FA\u672C\u4FE1\u606F\u521B\u5EFA",-1),Aa=h("div",{class:"tit"},"\u4E3B\u8981\u8054\u7CFB\u4EBA",-1),wa=h("span",{style:{color:"#f56c6c","padding-left":"20px"}},"*",-1),Da={class:"headimg",style:{"margin-left":"5px"}},ka=["src"],qa={key:1,class:"avatar-uploader-icon"},xa={style:{display:"flex","justify-content":"left"}},Ua={class:"right",style:{"max-width":"1100px"}},Oa=h("div",{class:"tit"},"\u5176\u4ED6\u8054\u7CFB\u4EBA",-1),La=h("div",{class:"tit"},"\u8D44\u8D28\u4FE1\u606F",-1),Na=["src"],Sa=["src","onClick"],Ta=["src"];const $a=me({name:"companyEdit"}),Ol=me({...$a,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(ja,{expose:_e,emit:Ra}){var ie,re;const S=ya("base_url"),A=Ea(),{removeTab:fe}=ha(),be=ia(),v=ra();m(!0);let H=m(!0),n=m(!1);v.query.flag,v.query.isshow&&(H=!1,n=!0);const T=m(".png, .jpg, .jpeg, image/png, image/jpeg"),J=m(0);let x=m(!1);const W=ce();ce(),m(),v.query.read&&(n=v.query.read),v.query.edit&&(x=v.query.edit);const a=Q({admin_id:"",admin_name:"",area_manager:"",area_manager_name:"",id:"",company_name:"",organization_code:"",province:"",city:"",area:"",street:"",village:"",brigade:"",address:"",responsible_area:[],company_type:"",avatar:"",sex:"1",id_card:"",master_name:"",master_position:"",master_phone:"",master_email:"",other_contacts:[],qualification:{corporate_account:"",business_license:"",business_licenseB:"",other_qualifications:[],bank_accountB:[],bank_account:[]},contract:{contract_type:"",party_a:0,file:"",contract_no:"\u7CFB\u7EDF\u81EA\u52A8\u751F\u6210",type:1},party_a_name:"",file_image:""});A.userInfo.root==0&&(a.contract.party_a=(ie=A.userInfo.company)==null?void 0:ie.id,a.party_a_name=(re=A.userInfo.company)==null?void 0:re.company_name);const f=Q({provinceOptions:[],cityOptions:[],areaOptions:[],streetOptions:[],villageOptions:[],brigadeOptions:[],dictTypeLists:[],contract_type:[],company_list:[]});m([]);const ye=Q({company_name:[{required:!0,message:"\u8BF7\u8F93\u5165\u516C\u53F8\u540D\u79F0",trigger:["blur"]}],organization_code:[{required:!0,message:"\u8BF7\u8F93\u5165\u7EC4\u7EC7\u673A\u6784\u4EE3\u7801",trigger:["blur"]}],master_name:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E3B\u8054\u7CFB\u4EBA\u59D3\u540D",trigger:["blur"]}],master_position:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E3B\u8054\u7CFB\u4EBA\u804C\u52A1",trigger:["blur"]}],master_phone:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E3B\u8054\u7CFB\u4EBA\u624B\u673A",trigger:["blur"]}],avatar:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u7167\u7247",trigger:["blur"]}],account:[{required:!0,message:"\u8BF7\u8F93\u5165\u8D26\u53F7",trigger:["blur"]}],password:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BC6\u7801",trigger:["blur"]}]}),U=m(!1),$=m(!1),j=m(!1),w=m(!1),D=m(!1),k=m(!1),q=m(!1),P=m(!0);function ge(u){U.value=!1,a.contract.party_a=u.id,a.party_a_name=u.company_name}function ve(u){$.value=!1,a.admin_name=u.name,a.admin_id=u.id}function Fe(u){j.value=!1,a.area_manager_name=u.name,a.area_manager=u.id}function za(){U.value=!0}const b=m(""),X=m(0);ga(()=>a[b.value],(u,s)=>{if(X.value==0)return X.value++;a.responsible_area=[],a.responsible_area.push(u+"")});const Be=u=>{},Y=async u=>{for(const s in a)u[s]!=null&&u[s]!=null&&(a[s]=u[s]);console.log(a)},Ee=async u=>{const s=await ne({id:u.id});Y(s)},he=(u,s)=>{if(u.code==0){L.error(u.msg);return}a.qualification.business_license=u.data.uri},Ve=(u,s)=>{if(u.code==0){L.error(u.msg);return}a.qualification.business_licenseB=u.data.uri},Ce=(u,s)=>{if(u.code==0){L.error(u.msg);return}a.qualification.other_qualifications.push(u.data.uri)};function Ae(){a.other_contacts.push({name:"",position:"",phone:"",email:""})}function we(){a.other_contacts.pop({name:"",position:"",phone:"",email:""})}function ee(u,s=!0){if([30,14,15].indexOf(u)>-1)return w.value=!0,D.value=!1,k.value=!1,q.value=!1,a.street="",a.village="",a.brigade="",b.value="area",!0;if(u==16)return w.value=!0,D.value=!0,k.value=!1,q.value=!1,a.village="",a.brigade="",a.id||(a.street="",a.area=""),s&&(a.responsible_area=[]),P.value=!0,J.value=30,b.value="street",!0;if(u!=16&&(P.value=!1),u==41)return w.value=!0,D.value=!0,k.value=!1,q.value=!1,a.village="",a.brigade="",a.id||(a.street="",a.area=""),s&&(a.responsible_area=[]),b.value="street",!0;if(u==17)return w.value=!0,D.value=!0,k.value=!0,q.value=!1,a.brigade="",b.value="village",!0;if(u==18)return w.value=!0,D.value=!0,k.value=!0,q.value=!0,b.value="brigade",!0}function De(u){ae()}function ke(u){le()}function qe(u){te()}function xe(u){ue()}function Ue(u){oe()}const Oe=async()=>{const u=await ca({});f.provinceOptions=u},ae=async()=>{const u=await pa({city:a.province});f.cityOptions=u},le=async()=>{const u=await ma({area:a.city});f.areaOptions=u},te=async()=>{const u=await _a({street:a.area});if(a.company_type==16||a.company_type==41){const s=await K({key:"area",value:a.area,company_type:a.company_type});u.forEach(d=>{Object.values(s).find(i=>d.street_code==i+"")?d.disabled=!0:d.disabled=!1})}f.streetOptions=u},ue=async()=>{const u=await fa({village:a.street});if(a.company_type==17){const s=await K({key:"street",value:a.street,company_type:a.company_type});u.forEach(d=>{Object.values(s).find(i=>d.village_code==i+"")?d.disabled=!0:d.disabled=!1})}f.villageOptions=u},oe=async()=>{const u=await ba();if(a.company_type==18){const s=await K({key:"village",value:a.village,company_type:a.company_type});u.forEach(d=>{Object.values(s).find(i=>d.id==i+"")?d.disabled=!0:d.disabled=!1})}f.brigadeOptions=u};Oe();const Le=async()=>{const u=await de({type_id:7});f.contract_type=u.lists},Ne=async()=>{const u=await de({type_id:6});f.dictTypeLists=u.lists},Se=async()=>{var d;const u=await ne({id:v.query.id});u.company_type==16&&(J.value=30,P.value=!0),Object.keys(a).forEach(i=>{u[i]!=null&&u[i]!=null&&(a[i]=u[i])}),["province","city","area","street","village","brigade"].forEach(i=>{a[i]=a[i].toString()}),await ae(),await le(),await te(),await ue(),await oe(),a.party_a_name=(d=u.contract)==null?void 0:d.party_a_info.company_name,ee(a.company_type,!1)},Te=u=>{v.query.read||a.qualification.other_qualifications.splice(u,1)};Ne(),Le();const $e=(u,s)=>{if(u.code==0){L.error(u.msg);return}a.avatar=u.data.uri},se=async()=>{var s;if(!a.avatar)return L.error("\u4E3B\u8981\u8054\u7CFB\u4EBA\u5934\u50CF\u4E0D\u53EF\u4E3A\u7A7A");await((s=W.value)==null?void 0:s.validate());const u=JSON.parse(JSON.stringify({...a}));u.qualification.other_qualifications=JSON.stringify(u.qualification.other_qualifications),v.query.id?await na(u):await da(u),fe(),be.back()};return v.query.id&&Se(),_e({open,setFormData:Y,getDetail:Ee}),(u,s)=>{const d=Ze,i=He,E=We,V=Xe,je=Ye,Re=ea,y=aa,O=la,R=va("Plus"),z=ta,M=Pe,ze=Ge,Me=Ke,Ie=Qe,I=ua,Je=oa,G=sa;return r(),_("div",Va,[t(Je,{ref_key:"formRef",ref:W,model:e(a),"label-width":"90px",rules:e(ye)},{default:o(()=>[t(y,{span:24,class:"el-card pt-6"},{default:o(()=>[Ca,t(O,null,{default:o(()=>[t(i,{label:"\u516C\u53F8\u540D\u79F0",prop:"company_name"},{default:o(()=>[t(d,{modelValue:e(a).company_name,"onUpdate:modelValue":s[0]||(s[0]=l=>e(a).company_name=l),placeholder:"\u8BF7\u8F93\u5165\u516C\u53F8\u540D\u79F0",clearable:"",disabled:e(n),style:{width:"300px"}},null,8,["modelValue","disabled"])]),_:1}),t(i,{label:"\u793E\u4F1A\u4EE3\u7801",prop:"organization_code"},{default:o(()=>[t(d,{disabled:e(n),modelValue:e(a).organization_code,"onUpdate:modelValue":s[1]||(s[1]=l=>e(a).organization_code=l),placeholder:"\u8BF7\u8F93\u5165\u793E\u4F1A\u4EE3\u7801",clearable:"",style:{width:"300px"}},null,8,["disabled","modelValue"])]),_:1}),t(i,{label:"\u5BF9\u516C\u8D26\u53F7",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BF9\u516C\u8D26\u53F7",trigger:"blur"}],prop:"qualification.corporate_account"},{default:o(()=>[t(d,{modelValue:e(a).qualification.corporate_account,"onUpdate:modelValue":s[2]||(s[2]=l=>e(a).qualification.corporate_account=l),placeholder:"\u8BF7\u8F93\u5165\u5BF9\u516C\u8D26\u53F7",clearable:"",disabled:e(n),style:{width:"300px"}},null,8,["modelValue","disabled"])]),_:1}),t(i,{label:"\u516C\u53F8\u7C7B\u578B",rules:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:"blur"}],prop:"company_type"},{default:o(()=>[t(V,{disabled:e(n),modelValue:e(a).company_type,"onUpdate:modelValue":s[3]||(s[3]=l=>e(a).company_type=l),placeholder:"\u8BF7\u9009\u62E9\u516C\u53F8\u7C7B\u578B",clearable:"",onChange:ee},{default:o(()=>[(r(!0),_(g,null,F(e(f).dictTypeLists,(l,c)=>(r(),p(E,{key:c,label:l.name,gon:"",value:l.id},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1}),t(i,{label:"\u7701",rules:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:"blur"}],prop:"province"},{default:o(()=>[t(V,{disabled:e(n),modelValue:e(a).province,"onUpdate:modelValue":s[4]||(s[4]=l=>e(a).province=l),placeholder:"\u8BF7\u9009\u62E9\u7701",clearable:"",onChange:De,style:{width:"100%"}},{default:o(()=>[(r(!0),_(g,null,F(e(f).provinceOptions,(l,c)=>(r(),p(E,{key:c,label:l.province_name,value:l.province_code},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1}),t(i,{label:"\u5E02",rules:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:"blur"}],prop:"city"},{default:o(()=>[t(V,{disabled:e(n),modelValue:e(a).city,"onUpdate:modelValue":s[5]||(s[5]=l=>e(a).city=l),placeholder:"\u8BF7\u9009\u62E9\u5E02",clearable:"",onChange:ke,style:{width:"100%"}},{default:o(()=>[(r(!0),_(g,null,F(e(f).cityOptions,(l,c)=>(r(),p(E,{key:c,label:l.city_name,value:l.city_code},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1}),e(w)?(r(),p(i,{key:0,label:"\u533A",rules:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:"blur"}],prop:"area"},{default:o(()=>[t(V,{disabled:e(n),modelValue:e(a).area,"onUpdate:modelValue":s[6]||(s[6]=l=>e(a).area=l),placeholder:"\u8BF7\u9009\u62E9\u533A",clearable:"",onChange:qe,style:{width:"100%"}},{default:o(()=>[(r(!0),_(g,null,F(e(f).areaOptions,(l,c)=>(r(),p(E,{key:c,label:l.area_name,value:l.area_code,disabled:l.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})):B("",!0),e(D)?(r(),p(i,{key:1,label:"\u9547",rules:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:"blur"}],prop:"street"},{default:o(()=>[t(V,{disabled:e(n),modelValue:e(a).street,"onUpdate:modelValue":s[7]||(s[7]=l=>e(a).street=l),placeholder:"\u8BF7\u9009\u62E9\u9547",clearable:"",onChange:xe,style:{width:"100%"}},{default:o(()=>[(r(!0),_(g,null,F(e(f).streetOptions,(l,c)=>(r(),p(E,{key:c,label:l.street_name,value:l.street_code,disabled:l.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})):B("",!0),e(k)?(r(),p(i,{key:2,label:"\u6751",rules:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:"blur"}],prop:"village"},{default:o(()=>[t(V,{disabled:e(n),modelValue:e(a).village,"onUpdate:modelValue":s[8]||(s[8]=l=>e(a).village=l),placeholder:"\u8BF7\u9009\u62E9\u6751",clearable:"",onChange:Ue,style:{width:"100%"}},{default:o(()=>[(r(!0),_(g,null,F(e(f).villageOptions,(l,c)=>(r(),p(E,{key:c,label:l.village_name,value:l.village_code,disabled:l.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})):B("",!0),e(q)?(r(),p(i,{key:3,label:"\u961F",rules:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:"blur"}],prop:"brigade"},{default:o(()=>[t(V,{disabled:e(n),modelValue:e(a).brigade,"onUpdate:modelValue":s[9]||(s[9]=l=>e(a).brigade=l),placeholder:"\u8BF7\u9009\u62E9\u961F",clearable:"",style:{width:"100%"}},{default:o(()=>[(r(!0),_(g,null,F(e(f).brigadeOptions,(l,c)=>(r(),p(E,{key:c,label:l.brigade_name,value:l.id,disabled:l.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})):B("",!0),t(i,{label:"\u5730\u5740",prop:"address"},{default:o(()=>[t(d,{disabled:e(n),modelValue:e(a).address,"onUpdate:modelValue":s[10]||(s[10]=l=>e(a).address=l),placeholder:"\u8BF7\u8F93\u5165\u5730\u5740",clearable:"",style:{width:"300px"}},null,8,["disabled","modelValue"])]),_:1}),t(y,{span:23},{default:o(()=>[t(i,{label:"\u8D1F\u8D23\u533A\u57DF",prop:"region"},{default:o(()=>[t(Re,{modelValue:e(a).responsible_area,"onUpdate:modelValue":s[11]||(s[11]=l=>e(a).responsible_area=l),onChange:Be,disabled:e(n)},{default:o(()=>[(r(!0),_(g,null,F(e(f)[e(b)+"Options"],l=>(r(),p(je,{disabled:e(a)[e(b)]==l[e(b)+"_code"]||e(a)[e(b)]==l.id||l.disabled,key:l[e(b)+"_name"],label:e(b)=="brigade"?l.id+"":l[e(b)+"_code"]+""},{default:o(()=>[N(Fa(l[e(b)+"_name"]),1)]),_:2},1032,["disabled","label"]))),128))]),_:1},8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1})]),_:1}),t(y,{span:24,class:"el-card pt-6"},{default:o(()=>[Aa,t(Ie,null,{default:o(()=>[t(ze,{width:"190px",style:{display:"flex"}},{default:o(()=>[wa,h("div",Da,[t(M,{disabled:e(n),accept:e(T),modelValue:e(a).avatar,"onUpdate:modelValue":s[12]||(s[12]=l=>e(a).avatar=l),class:"avatar-uploader-head",data:{cid:1},headers:{Token:e(A).token},action:e(S)+"/upload/image","show-file-list":!1,"on-success":$e},{default:o(()=>[e(a).avatar?(r(),_("img",{key:0,src:e(a).avatar,class:"avatar"},null,8,ka)):(r(),_("div",qa,[t(z,null,{default:o(()=>[t(R)]),_:1})]))]),_:1},8,["disabled","accept","modelValue","headers","action"])])]),_:1}),t(Me,null,{default:o(()=>[t(O,null,{default:o(()=>[h("div",xa,[h("div",Ua,[t(O,null,{default:o(()=>[t(i,{label:"\u59D3\u540D",prop:"master_name"},{default:o(()=>[t(d,{disabled:e(n),modelValue:e(a).master_name,"onUpdate:modelValue":s[13]||(s[13]=l=>e(a).master_name=l),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D",clearable:"",style:{width:"450px"}},null,8,["disabled","modelValue"])]),_:1}),t(i,{label:"\u804C\u52A1",prop:"master_position"},{default:o(()=>[t(d,{disabled:e(n),modelValue:e(a).master_position,"onUpdate:modelValue":s[14]||(s[14]=l=>e(a).master_position=l),placeholder:"\u8BF7\u8F93\u5165\u804C\u52A1",clearable:"",style:{width:"450px"}},null,8,["disabled","modelValue"])]),_:1}),t(i,{label:"\u624B\u673A",prop:"master_phone"},{default:o(()=>[t(d,{disabled:e(n),modelValue:e(a).master_phone,"onUpdate:modelValue":s[15]||(s[15]=l=>e(a).master_phone=l),placeholder:"\u8BF7\u8F93\u5165\u624B\u673A",clearable:"",style:{width:"450px"}},null,8,["disabled","modelValue"])]),_:1}),t(i,{label:"\u90AE\u7BB1"},{default:o(()=>[t(d,{disabled:"",modelValue:e(a).master_email,"onUpdate:modelValue":s[16]||(s[16]=l=>e(a).master_email=l),placeholder:"\u90AE\u7BB1\u5C06\u7531\u7CFB\u7EDF\u81EA\u52A8\u751F\u6210",clearable:"",style:{width:"450px"}},null,8,["modelValue"])]),_:1}),t(i,{label:"\u6027\u522B",prop:"sex"},{default:o(()=>[t(V,{disabled:e(n),modelValue:e(a).sex,"onUpdate:modelValue":s[17]||(s[17]=l=>e(a).sex=l),placeholder:"\u8BF7\u9009\u62E9\u6027\u522B",style:{width:"450px"}},{default:o(()=>[t(E,{label:"\u7537",value:"1"}),t(E,{label:"\u5973",value:"2"})]),_:1},8,["disabled","modelValue"])]),_:1}),t(i,{label:"\u8EAB\u4EFD\u8BC1"},{default:o(()=>[t(d,{disabled:e(n),modelValue:e(a).id_card,"onUpdate:modelValue":s[18]||(s[18]=l=>e(a).id_card=l),placeholder:"\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1",clearable:"",style:{width:"450px"}},null,8,["disabled","modelValue"])]),_:1})]),_:1})])])]),_:1})]),_:1})]),_:1})]),_:1}),t(y,{span:24,class:"el-card pt-6"},{default:o(()=>[Oa,t(O,null,{default:o(()=>[(r(!0),_(g,null,F(e(a).other_contacts,(l,c)=>(r(),_(g,{key:c},[t(y,{span:12},{default:o(()=>[t(i,{label:"\u59D3\u540D",prop:"field120"},{default:o(()=>[t(d,{disabled:e(n),modelValue:l.name,"onUpdate:modelValue":C=>l.name=C,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D",clearable:"",style:{width:"100%"}},null,8,["disabled","modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),t(y,{span:12},{default:o(()=>[t(i,{label:"\u804C\u52A1",prop:"field121"},{default:o(()=>[t(d,{disabled:e(n),modelValue:l.position,"onUpdate:modelValue":C=>l.position=C,placeholder:"\u8BF7\u8F93\u5165\u804C\u52A1",clearable:"",style:{width:"100%"}},null,8,["disabled","modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),t(y,{span:12},{default:o(()=>[t(i,{label:"\u624B\u673A",prop:"field122"},{default:o(()=>[t(d,{disabled:e(n),modelValue:l.phone,"onUpdate:modelValue":C=>l.phone=C,placeholder:"\u8BF7\u8F93\u5165\u624B\u673A",clearable:"",style:{width:"100%"}},null,8,["disabled","modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),t(y,{span:12},{default:o(()=>[t(i,{label:"\u90AE\u7BB1"},{default:o(()=>[t(d,{disabled:e(n),modelValue:l.email,"onUpdate:modelValue":C=>l.email=C,placeholder:"\u8BF7\u8F93\u5165\u90AE\u7BB1",clearable:"",style:{width:"100%"}},null,8,["disabled","modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)],64))),128)),t(y,{span:24},{default:o(()=>[t(i,{label:"",prop:"field126"},{default:o(()=>[t(I,{type:"primary",disabled:e(n),size:"medium",onClick:Ae},{default:o(()=>[N("\u6DFB\u52A0\u8054\u7CFB\u4EBA")]),_:1},8,["disabled"]),e(a).other_contacts.length?(r(),p(I,{key:0,type:"primary",disabled:e(n),size:"medium",onClick:we},{default:o(()=>[N("\u5220\u9664")]),_:1},8,["disabled"])):B("",!0)]),_:1})]),_:1})]),_:1})]),_:1}),t(y,{span:24,class:"el-card pt-6"},{default:o(()=>[La,t(O,null,{default:o(()=>[t(y,{span:12},{default:o(()=>[t(i,{label:"\u516C\u53F8\u8D44\u8D28",required:""},{default:o(()=>[t(M,{disabled:e(n),accept:e(T),modelValue:e(a).qualification.business_license,"onUpdate:modelValue":s[19]||(s[19]=l=>e(a).qualification.business_license=l),class:"avatar-uploader pl-3",data:{cid:1},headers:{Token:e(A).token},action:e(S)+"/upload/image","show-file-list":!1,"on-success":he},{default:o(()=>[e(a).qualification.business_license?(r(),_("img",{key:0,src:e(a).qualification.business_license,class:"avatar"},null,8,Na)):(r(),p(z,{key:1,class:"avatar-uploader-icon"},{default:o(()=>[t(R)]),_:1}))]),_:1},8,["disabled","accept","modelValue","headers","action"])]),_:1}),t(i,{class:"others",label:"\u5176\u4ED6\u8D44\u8D28"},{default:o(()=>[(r(!0),_(g,null,F(e(a).qualification.other_qualifications,(l,c)=>(r(),_("div",{key:c,class:"otherimg"},[h("img",{src:l,onClick:C=>Te(c)},null,8,Sa)]))),128)),e(H)?(r(),p(M,{key:0,accept:e(T),disabled:e(n),class:"avatar-uploader pl-3",data:{cid:1},headers:{Token:e(A).token},action:e(S)+"/upload/image","show-file-list":!1,"on-success":Ce,style:{"margin-bottom":"12px"}},{default:o(()=>[t(z,{class:"avatar-uploader-icon"},{default:o(()=>[t(R)]),_:1})]),_:1},8,["accept","disabled","headers","action"])):B("",!0)]),_:1})]),_:1}),t(y,{span:12},{default:o(()=>[t(i,{"label-width":"120px",label:"\u5F00\u6237\u8BB8\u53EF\u8BC1",required:""},{default:o(()=>[t(M,{disabled:e(n),accept:e(T),modelValue:e(a).qualification.business_licenseB,"onUpdate:modelValue":s[20]||(s[20]=l=>e(a).qualification.business_licenseB=l),class:"avatar-uploader pl-3",data:{cid:1},headers:{Token:e(A).token},action:e(S)+"/upload/image","show-file-list":!1,"on-success":Ve},{default:o(()=>[e(a).qualification.business_licenseB?(r(),_("img",{key:0,src:e(a).qualification.business_licenseB,class:"avatar"},null,8,Ta)):(r(),p(z,{key:1,class:"avatar-uploader-icon"},{default:o(()=>[t(R)]),_:1}))]),_:1},8,["disabled","accept","modelValue","headers","action"])]),_:1})]),_:1})]),_:1})]),_:1}),B("",!0),e(n)==!1&&e(x)==!1||e(x)?(r(),p(y,{key:1,span:24,class:"el-card pt-6"},{default:o(()=>[t(i,{label:"",prop:"field139"},{default:o(()=>[e(x)?(r(),p(I,{key:0,type:"primary",size:"medium",onClick:se},{default:o(()=>[N("\u5B8C\u6210")]),_:1})):B("",!0),e(n)==!1&&e(x)==!1?(r(),p(I,{key:1,type:"primary",disabled:e(n),size:"medium",onClick:se},{default:o(()=>[N("\u521B\u5EFA")]),_:1},8,["disabled"])):B("",!0)]),_:1})]),_:1})):B("",!0)]),_:1},8,["model","rules"]),t(G,{modelValue:e(U),"onUpdate:modelValue":s[25]||(s[25]=l=>Z(U)?U.value=l:null),title:"\u9009\u62E9\u7B7E\u7EA6\u65B9",width:"60%"},{default:o(()=>[t(Ba,{onCustomEvent:ge,type:e(J)},null,8,["type"])]),_:1},8,["modelValue"]),t(G,{modelValue:e($),"onUpdate:modelValue":s[26]||(s[26]=l=>Z($)?$.value=l:null),title:"\u9009\u62E9\u7BA1\u7406\u4EBA\u5458",width:"60%"},{default:o(()=>[t(pe,{onCustomEvent:ve})]),_:1},8,["modelValue"]),t(G,{modelValue:e(j),"onUpdate:modelValue":s[27]||(s[27]=l=>Z(j)?j.value=l:null),title:"\u9009\u62E9\u7247\u533A\u7ECF\u7406",width:"60%"},{default:o(()=>[t(pe,{onCustomEvent:Fe,type:8})]),_:1},8,["modelValue"])])}}});export{Ol as default};