WokerTask/public/admin/assets/edit.5b0f76a9.js

2 lines
22 KiB
JavaScript
Raw Normal View History

2023-12-27 14:06:33 +08:00
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.6fe716ff.js";import{a as ca,b as pa,c as ma,d as _a,e as fa,f as ba}from"./common.f49dc0c3.js";import{d as de}from"./dict.c23b9b4c.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.a5e5ba7b.js";import{_ as pe}from"./dialog_index_man.vue_vue_type_script_setup_true_name_companyLists_lang.afb0dc21.js";import{a as Ea,e as ha}from"./index.f095bcc5.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.2ad8e1e6.js";import"./role.cc2f45f3.js";import"./useDictOptions.29c13eb8.js";import"./admin.4fb5d915.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:[{req