WokerTask/public/admin/assets/edit.297f3f26.js

2 lines
22 KiB
JavaScript
Raw Normal View History

2024-01-16 18:33:37 +08:00
import{K as Je,_ as Ge,$ as Ke,a0 as Qe,k as N,C as We,D as He,N as Xe,O as Ye,G as Ze,a1 as ea,a2 as aa,a3 as la,c as ta,w as ua,F as oa,M as ia}from"./element-plus.ff90c99c.js";import{a as sa,u as ra}from"./vue-router.6d4cf914.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.af59f801.js";import{a as ne,b as K,d as na,e as da}from"./company.b63663e9.js";import{a as ca,b as pa,c as ma,d as _a,e as fa,f as ba}from"./common.70c52fb2.js";import{d as de}from"./dict.ab043624.js";import{d as me,E as ya,r as m,s as ce,$ as Q,w as ga,ag as va,o as r,c as _,W as t,Q as o,u as e,F as g,a9 as F,P as p,T as E,U as L,V as Fa,a as h,j as W}from"./@vue.f8dfc830.js";import"./lodash.3e731b89.js";import{_ as Ea}from"./dialog_index.vue_vue_type_script_setup_true_name_companyLists_lang.c1e8d076.js";import{_ as pe}from"./dialog_index_man.vue_vue_type_script_setup_true_name_companyLists_lang.d6108a9e.js";import{a as Ba,e as ha}from"./index.71302537.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import"./usePaging.bd7a7dec.js";import"./role.101a1b11.js";import"./useDictOptions.d306a433.js";import"./admin.16eea08b.js";import"./axios.c2babb35.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.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.79024f1a.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),Na=h("div",{class:"tit"},"\u8D44\u8D28\u4FE1\u606F",-1),La=["src"],Sa=["src","onClick"],Ta=["src"];const $a=me({name:"companyEdit"}),Sl=me({...$a,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(ja,{expose:_e,emit:za}){var se,re;const S=ya("base_url"),A=Ba(),{removeTab:fe}=ha(),be=sa(),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"),P=m(0);let x=m(!1);const X=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=(se=A.userInfo.company)==null?void 0:se.id,a.party_a_name=(re=A.userInfo.company)==null?void 0:re.company_name);const f=Q({provinceOptions:[],cityOptions:[],areaOptions:[],streetOptions:[],villageOptions:[],brig