data_center/public/admin/assets/edit.89d940cb.js

2 lines
22 KiB
JavaScript

import{B as Je,C as Pe,M as Ge,N as Ke,F as Qe,Z as Ze,_ as He,$ as We,c as Xe,J as Ye,a0 as ea,a1 as aa,a2 as la,w as ta,D as ua,L as oa,k as L}from"./element-plus.9c2fdfa8.js";import{a as sa,u as ia}from"./vue-router.e2f4a118.js";import"./index.vue_vue_type_style_index_0_scoped_187b1ead_lang.33043b78.js";import{b as ne,c as ra,d as K,e as na,f as da}from"./company.da0ac536.js";import{a as ca,b as pa,c as ma,d as _a,e as fa,f as ba}from"./common.3730292b.js";import{d as ya}from"./dict.3d59f58c.js";import{d as pe,C as ga,r as m,s as de,$ as Q,w as va,a4 as Fa,o as r,c as _,U as t,L as s,u as e,k as Z,T as g,a7 as F,K as p,Q as B,R as N,S as Ba,a as h}from"./@vue.53f8d7c3.js";import"./lodash.5512e984.js";import{_ as Ea}from"./dialog_index.vue_vue_type_script_setup_true_name_companyLists_lang.22cf6f52.js";import{_ as ce}from"./dialog_index_man.vue_vue_type_script_setup_true_name_companyLists_lang.bafbb956.js";import{a as ha,e as Va}from"./index.b57b84f0.js";import"./@vueuse.038954e7.js";import"./@element-plus.37f92579.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.vue_vue_type_script_setup_true_lang.261df48b.js";import"./usePaging.c22e2b6f.js";import"./role.38f9c5c3.js";import"./useDictOptions.773276bb.js";import"./admin.bb6f7166.js";import"./axios.92474d72.js";import"./pinia.bd103f5d.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.ee641d3d.js";import"./color.cbc2f3a9.js";import"./clone.7fddbad2.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a7d78d4d.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.9cf3e967.js";const Ca={class:"edit-popup"},Aa=h("div",{class:"tit"},"\u516C\u53F8\u57FA\u672C\u4FE1\u606F\u521B\u5EFA",-1),wa=h("div",{class:"tit"},"\u4E3B\u8981\u8054\u7CFB\u4EBA",-1),ka=h("span",{style:{color:"#f56c6c","padding-left":"20px"}},"*",-1),Da={class:"headimg",style:{"margin-left":"5px"}},qa=["src"],xa={key:1,class:"avatar-uploader-icon"},Ua={style:{display:"flex","justify-content":"left"}},Oa={class:"right",style:{"max-width":"1100px"}},La=h("div",{class:"tit"},"\u5176\u4ED6\u8054\u7CFB\u4EBA",-1),Na=h("div",{class:"tit"},"\u8D44\u8D28\u4FE1\u606F",-1),Sa=["src"],Ta=["src","onClick"],$a=["src"];const ja=pe({name:"companyEdit"}),Nl=pe({...ja,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(Ia,{expose:me,emit:Ra}){var ie,re;const S=ga("base_url"),A=ha(),{removeTab:_e}=Va(),fe=sa(),v=ia();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=de();de(),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 be=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),k=m(!1),D=m(!1),q=m(!1),P=m(!0);function ye(u){U.value=!1,a.contract.party_a=u.id,a.party_a_name=u.company_name}function ge(u){$.value=!1,a.admin_name=u.name,a.admin_id=u.id}function ve(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);va(()=>a[b.value],(u,o)=>{if(X.value==0)return X.value++;a.responsible_area=[],a.responsible_area.push(u+"")});const Fe=u=>{},Y=async u=>{for(const o in a)u[o]!=null&&u[o]!=null&&(a[o]=u[o]);console.log(a)},Be=async u=>{const o=await ne({id:u.id});Y(o)},Ee=(u,o)=>{if(u.code==0){L.error(u.msg);return}a.qualification.business_license=u.data.uri},he=(u,o)=>{if(u.code==0){L.error(u.msg);return}a.qualification.business_licenseB=u.data.uri},Ve=(u,o)=>{if(u.code==0){L.error(u.msg);return}a.qualification.other_qualifications.push(u.data.uri)};function Ce(){a.other_contacts.push({name:"",position:"",phone:"",email:""})}function Ae(){a.other_contacts.pop({name:"",position:"",phone:"",email:""})}function ee(u,o=!0){if([30,14,15].indexOf(u)>-1)return w.value=!0,k.value=!1,D.value=!1,q.value=!1,a.street="",a.village="",a.brigade="",b.value="area",!0;if(u==16)return w.value=!0,k.value=!0,D.value=!1,q.value=!1,a.village="",a.brigade="",a.id||(a.street="",a.area=""),o&&(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,k.value=!0,D.value=!1,q.value=!1,a.village="",a.brigade="",a.id||(a.street="",a.area=""),o&&(a.responsible_area=[]),b.value="street",!0;if(u==17)return w.value=!0,k.value=!0,D.value=!0,q.value=!1,a.brigade="",b.value="village",!0;if(u==18)return w.value=!0,k.value=!0,D.value=!0,q.value=!0,b.value="brigade",!0}function we(u){ae()}function ke(u){le()}function De(u){te()}function qe(u){ue()}function xe(u){oe()}const Ue=async()=>{const u=await ca({});f.provinceOptions=u},ae=async()=>{const u=await pa({province:a.province});f.cityOptions=u},le=async()=>{const u=await ma({city:a.city});f.areaOptions=u},te=async()=>{const u=await _a({area:a.area});if(a.company_type==16||a.company_type==41){const o=await K({key:"area",value:a.area,company_type:a.company_type});u.forEach(d=>{Object.values(o).find(i=>d.street==i+"")?d.disabled=!0:d.disabled=!1})}f.streetOptions=u},ue=async()=>{const u=await fa({street:a.street});if(a.company_type==17){const o=await K({key:"street",value:a.street,company_type:a.company_type});u.forEach(d=>{Object.values(o).find(i=>d.village==i+"")?d.disabled=!0:d.disabled=!1})}f.villageOptions=u},oe=async()=>{const u=await ba();if(a.company_type==18){const o=await K({key:"village",value:a.village,company_type:a.company_type});console.log(o,"3333333333"),u.forEach(d=>{Object.values(o).find(i=>d.brigade==i+"")?d.disabled=!0:d.disabled=!1}),console.log(u,"222222222222")}console.log(u,"222222222222"),f.brigadeOptions=u};Ue();const Oe=async()=>{const u=await ya({type_id:7});f.contract_type=u.lists},Le=async()=>{const u=await ra();f.dictTypeLists=u},Ne=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)},Se=u=>{v.query.read||a.qualification.other_qualifications.splice(u,1)};Le(),Oe();const Te=(u,o)=>{if(u.code==0){L.error(u.msg);return}a.avatar=u.data.uri},se=async()=>{var o;if(!a.avatar)return L.error("\u4E3B\u8981\u8054\u7CFB\u4EBA\u5934\u50CF\u4E0D\u53EF\u4E3A\u7A7A");await((o=W.value)==null?void 0:o.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),_e(),fe.back()};return v.query.id&&Ne(),me({open,setFormData:Y,getDetail:Be}),(u,o)=>{const d=Je,i=Pe,E=Ge,V=Ke,$e=Qe,je=Ze,y=He,O=We,I=Fa("Plus"),R=Xe,z=Ye,Ie=ea,Re=aa,ze=la,M=ta,Me=ua,G=oa;return r(),_("div",Ca,[t(Me,{ref_key:"formRef",ref:W,model:e(a),"label-width":"90px",rules:e(be)},{default:s(()=>[t(y,{span:24,class:"pt-6 el-card"},{default:s(()=>[Aa,t(O,null,{default:s(()=>[t(i,{label:"\u516C\u53F8\u540D\u79F0",prop:"company_name"},{default:s(()=>[t(d,{modelValue:e(a).company_name,"onUpdate:modelValue":o[0]||(o[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:s(()=>[t(d,{disabled:e(n),modelValue:e(a).organization_code,"onUpdate:modelValue":o[1]||(o[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:s(()=>[t(d,{modelValue:e(a).qualification.corporate_account,"onUpdate:modelValue":o[2]||(o[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:s(()=>[t(V,{disabled:e(n),modelValue:e(a).company_type,"onUpdate:modelValue":o[3]||(o[3]=l=>e(a).company_type=l),placeholder:"\u8BF7\u9009\u62E9\u516C\u53F8\u7C7B\u578B",clearable:"",onChange:ee},{default:s(()=>[(r(!0),_(g,null,F(e(f).dictTypeLists,(l,c)=>(r(),p(E,{key:c,label:l.name,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:s(()=>[t(V,{disabled:e(n),modelValue:e(a).province,"onUpdate:modelValue":o[4]||(o[4]=l=>e(a).province=l),placeholder:"\u8BF7\u9009\u62E9\u7701",clearable:"",onChange:we,style:{width:"100%"}},{default:s(()=>[(r(!0),_(g,null,F(e(f).provinceOptions,(l,c)=>(r(),p(E,{key:c,label:l.province_name,value:l.province},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:s(()=>[t(V,{disabled:e(n),modelValue:e(a).city,"onUpdate:modelValue":o[5]||(o[5]=l=>e(a).city=l),placeholder:"\u8BF7\u9009\u62E9\u5E02",clearable:"",onChange:ke,style:{width:"100%"}},{default:s(()=>[(r(!0),_(g,null,F(e(f).cityOptions,(l,c)=>(r(),p(E,{key:c,label:l.city_name,value:l.city},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:s(()=>[t(V,{disabled:e(n),modelValue:e(a).area,"onUpdate:modelValue":o[6]||(o[6]=l=>e(a).area=l),placeholder:"\u8BF7\u9009\u62E9\u533A",clearable:"",onChange:De,style:{width:"100%"}},{default:s(()=>[(r(!0),_(g,null,F(e(f).areaOptions,(l,c)=>(r(),p(E,{key:c,label:l.area_name,value:l.area,disabled:l.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})):B("",!0),e(k)?(r(),p(i,{key:1,label:"\u9547",rules:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:"blur"}],prop:"street"},{default:s(()=>[t(V,{disabled:e(n),modelValue:e(a).street,"onUpdate:modelValue":o[7]||(o[7]=l=>e(a).street=l),placeholder:"\u8BF7\u9009\u62E9\u9547",clearable:"",onChange:qe,style:{width:"100%"}},{default:s(()=>[(r(!0),_(g,null,F(e(f).streetOptions,(l,c)=>(r(),p(E,{key:c,label:l.street_name,value:l.street,disabled:l.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})):B("",!0),e(D)?(r(),p(i,{key:2,label:"\u6751",rules:[{required:!0,message:"\u4E0D\u53EF\u4E3A\u7A7A",trigger:"blur"}],prop:"village"},{default:s(()=>[t(V,{disabled:e(n),modelValue:e(a).village,"onUpdate:modelValue":o[8]||(o[8]=l=>e(a).village=l),placeholder:"\u8BF7\u9009\u62E9\u6751",clearable:"",onChange:xe,style:{width:"100%"}},{default:s(()=>[(r(!0),_(g,null,F(e(f).villageOptions,(l,c)=>(r(),p(E,{key:c,label:l.village_name,value:l.village,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:s(()=>[t(V,{disabled:e(n),modelValue:e(a).brigade,"onUpdate:modelValue":o[9]||(o[9]=l=>e(a).brigade=l),placeholder:"\u8BF7\u9009\u62E9\u961F",clearable:"",style:{width:"100%"}},{default:s(()=>[(r(!0),_(g,null,F(e(f).brigadeOptions,(l,c)=>(r(),p(E,{key:c,label:l.brigade_name,value:l.brigade,disabled:l.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})):B("",!0),t(i,{label:"\u5730\u5740",prop:"address"},{default:s(()=>[t(d,{disabled:e(n),modelValue:e(a).address,"onUpdate:modelValue":o[10]||(o[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:s(()=>[t(i,{label:"\u8D1F\u8D23\u533A\u57DF",prop:"region"},{default:s(()=>[t(je,{modelValue:e(a).responsible_area,"onUpdate:modelValue":o[11]||(o[11]=l=>e(a).responsible_area=l),onChange:Fe,disabled:e(n)||e(a).company_type==17},{default:s(()=>[(r(!0),_(g,null,F(e(f)[e(b)+"Options"],l=>(r(),p($e,{disabled:e(a)[e(b)]==l[e(b)]||e(a)[e(b)]==l.brigade||l.disabled,key:l[e(b)+"_name"],label:e(b)=="brigade"?l.brigade+"":l[e(b)]+""},{default:s(()=>[N(Ba(l[e(b)+"_name"]),1)]),_:2},1032,["disabled","label"]))),128))]),_:1},8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1})]),_:1}),t(y,{span:24,class:"pt-6 el-card"},{default:s(()=>[wa,t(ze,null,{default:s(()=>[t(Ie,{width:"190px",style:{display:"flex"}},{default:s(()=>[ka,h("div",Da,[t(z,{disabled:e(n),accept:e(T),modelValue:e(a).avatar,"onUpdate:modelValue":o[12]||(o[12]=l=>e(a).avatar=l),class:"avatar-uploader-head",data:{cid:1},headers:{Token:e(A).token},action:e(S)+"/upload/taskImage","show-file-list":!1,"on-success":Te},{default:s(()=>[e(a).avatar?(r(),_("img",{key:0,src:e(a).avatar,class:"avatar"},null,8,qa)):(r(),_("div",xa,[t(R,null,{default:s(()=>[t(I)]),_:1})]))]),_:1},8,["disabled","accept","modelValue","headers","action"])])]),_:1}),t(Re,null,{default:s(()=>[t(O,null,{default:s(()=>[h("div",Ua,[h("div",Oa,[t(O,null,{default:s(()=>[t(i,{label:"\u59D3\u540D",prop:"master_name"},{default:s(()=>[t(d,{disabled:e(n),modelValue:e(a).master_name,"onUpdate:modelValue":o[13]||(o[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:s(()=>[t(d,{disabled:e(n),modelValue:e(a).master_position,"onUpdate:modelValue":o[14]||(o[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:s(()=>[t(d,{disabled:e(n),modelValue:e(a).master_phone,"onUpdate:modelValue":o[15]||(o[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:s(()=>[t(d,{disabled:"",modelValue:e(a).master_email,"onUpdate:modelValue":o[16]||(o[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:s(()=>[t(V,{disabled:e(n),modelValue:e(a).sex,"onUpdate:modelValue":o[17]||(o[17]=l=>e(a).sex=l),placeholder:"\u8BF7\u9009\u62E9\u6027\u522B",style:{width:"450px"}},{default:s(()=>[t(E,{label:"\u7537",value:"1"}),t(E,{label:"\u5973",value:"2"})]),_:1},8,["disabled","modelValue"])]),_:1}),t(i,{label:"\u8EAB\u4EFD\u8BC1"},{default:s(()=>[t(d,{disabled:e(n),modelValue:e(a).id_card,"onUpdate:modelValue":o[18]||(o[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:"pt-6 el-card"},{default:s(()=>[La,t(O,null,{default:s(()=>[(r(!0),_(g,null,F(e(a).other_contacts,(l,c)=>(r(),_(g,{key:c},[t(y,{span:12},{default:s(()=>[t(i,{label:"\u59D3\u540D",prop:"field120"},{default:s(()=>[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:s(()=>[t(i,{label:"\u804C\u52A1",prop:"field121"},{default:s(()=>[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:s(()=>[t(i,{label:"\u624B\u673A",prop:"field122"},{default:s(()=>[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:s(()=>[t(i,{label:"\u90AE\u7BB1"},{default:s(()=>[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:s(()=>[t(i,{label:"",prop:"field126"},{default:s(()=>[t(M,{type:"primary",disabled:e(n),size:"medium",onClick:Ce},{default:s(()=>[N("\u6DFB\u52A0\u8054\u7CFB\u4EBA")]),_:1},8,["disabled"]),e(a).other_contacts.length?(r(),p(M,{key:0,type:"primary",disabled:e(n),size:"medium",onClick:Ae},{default:s(()=>[N("\u5220\u9664")]),_:1},8,["disabled"])):B("",!0)]),_:1})]),_:1})]),_:1})]),_:1}),t(y,{span:24,class:"pt-6 el-card"},{default:s(()=>[Na,t(O,null,{default:s(()=>[t(y,{span:12},{default:s(()=>[t(i,{label:"\u516C\u53F8\u8D44\u8D28",required:""},{default:s(()=>[t(z,{disabled:e(n),accept:e(T),modelValue:e(a).qualification.business_license,"onUpdate:modelValue":o[19]||(o[19]=l=>e(a).qualification.business_license=l),class:"pl-3 avatar-uploader",data:{cid:1},headers:{Token:e(A).token},action:e(S)+"/upload/taskImage","show-file-list":!1,"on-success":Ee},{default:s(()=>[e(a).qualification.business_license?(r(),_("img",{key:0,src:e(a).qualification.business_license,class:"avatar"},null,8,Sa)):(r(),p(R,{key:1,class:"avatar-uploader-icon"},{default:s(()=>[t(I)]),_:1}))]),_:1},8,["disabled","accept","modelValue","headers","action"])]),_:1}),t(i,{class:"others",label:"\u5176\u4ED6\u8D44\u8D28"},{default:s(()=>[(r(!0),_(g,null,F(e(a).qualification.other_qualifications,(l,c)=>(r(),_("div",{key:c,class:"otherimg"},[h("img",{src:l,onClick:C=>Se(c)},null,8,Ta)]))),128)),e(H)?(r(),p(z,{key:0,accept:e(T),disabled:e(n),class:"pl-3 avatar-uploader",data:{cid:1},headers:{Token:e(A).token},action:e(S)+"/upload/taskImage","show-file-list":!1,"on-success":Ve,style:{"margin-bottom":"12px"}},{default:s(()=>[t(R,{class:"avatar-uploader-icon"},{default:s(()=>[t(I)]),_:1})]),_:1},8,["accept","disabled","headers","action"])):B("",!0)]),_:1})]),_:1}),t(y,{span:12},{default:s(()=>[t(i,{"label-width":"120px",label:"\u5F00\u6237\u8BB8\u53EF\u8BC1",required:""},{default:s(()=>[t(z,{disabled:e(n),accept:e(T),modelValue:e(a).qualification.business_licenseB,"onUpdate:modelValue":o[20]||(o[20]=l=>e(a).qualification.business_licenseB=l),class:"pl-3 avatar-uploader",data:{cid:1},headers:{Token:e(A).token},action:e(S)+"/upload/taskImage","show-file-list":!1,"on-success":he},{default:s(()=>[e(a).qualification.business_licenseB?(r(),_("img",{key:0,src:e(a).qualification.business_licenseB,class:"avatar"},null,8,$a)):(r(),p(R,{key:1,class:"avatar-uploader-icon"},{default:s(()=>[t(I)]),_: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:"pt-6 el-card"},{default:s(()=>[t(i,{label:"",prop:"field139"},{default:s(()=>[e(x)?(r(),p(M,{key:0,type:"primary",size:"medium",onClick:se},{default:s(()=>[N("\u5B8C\u6210")]),_:1})):B("",!0),e(n)==!1&&e(x)==!1?(r(),p(M,{key:1,type:"primary",disabled:e(n),size:"medium",onClick:se},{default:s(()=>[N("\u521B\u5EFA")]),_:1},8,["disabled"])):B("",!0)]),_:1})]),_:1})):B("",!0)]),_:1},8,["model","rules"]),t(G,{modelValue:e(U),"onUpdate:modelValue":o[25]||(o[25]=l=>Z(U)?U.value=l:null),title:"\u9009\u62E9\u7B7E\u7EA6\u65B9",width:"60%"},{default:s(()=>[t(Ea,{onCustomEvent:ye,type:e(J)},null,8,["type"])]),_:1},8,["modelValue"]),t(G,{modelValue:e($),"onUpdate:modelValue":o[26]||(o[26]=l=>Z($)?$.value=l:null),title:"\u9009\u62E9\u7BA1\u7406\u4EBA\u5458",width:"60%"},{default:s(()=>[t(ce,{onCustomEvent:ge})]),_:1},8,["modelValue"]),t(G,{modelValue:e(j),"onUpdate:modelValue":o[27]||(o[27]=l=>Z(j)?j.value=l:null),title:"\u9009\u62E9\u7247\u533A\u7ECF\u7406",width:"60%"},{default:s(()=>[t(ce,{onCustomEvent:ve,type:8})]),_:1},8,["modelValue"])])}}});export{Nl as default};