2 lines
22 KiB
JavaScript
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:[
|