data_center/public/admin/assets/edit.0e2a6ff1.js

2 lines
14 KiB
JavaScript
Raw Normal View History

2023-11-25 16:06:28 +08:00
import{T as na,I as ia,c as da,J as sa,B as ca,C as ma,_ as pa,M as _a,N as fa,$ as ba,w as va,D as ga,L as ya,k as m}from"./element-plus.9c2fdfa8.js";import{a as Fa,u as ka}from"./vue-router.e2f4a118.js";import{d as Va,e as Ba}from"./consumer.c54afc04.js";import{a as Ea,b as qa,c as Ca,d as ha}from"./common.3d8081d1.js";import{e as wa,a as Aa}from"./index.6e8143ba.js";import"./lodash.47b8af7d.js";import"./index.vue_vue_type_style_index_0_scoped_187b1ead_lang.33043b78.js";import{_ as Da}from"./dialog_index.vue_vue_type_script_setup_true_name_companyLists_lang.48efc9fc.js";import{d as O,C as Ua,r as q,$ as I,s as La,a4 as xa,o as n,c,U as o,L as r,u as e,k as Ta,a as k,K as d,T as w,a7 as A,Q as U,R as Ia}from"./@vue.53f8d7c3.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"./axios.96be3cef.js";import"./pinia.bd103f5d.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.efc99072.js";import"./color.e83714e9.js";import"./clone.fb54e01d.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.b4b577c6.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";import"./index.vue_vue_type_script_setup_true_lang.261df48b.js";import"./usePaging.c22e2b6f.js";import"./company.4a587304.js";import"./dict.42c7e7d9.js";const Oa=k("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u57FA\u672C\u4FE1\u606F\u521B\u5EFA",-1),Sa={class:"headimg"},Ra=["src"],$a=k("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u8D44\u8D28\u4FE1\u606F",-1),Na={style:{display:"flex","justify-content":"space-between"}},Pa=["src"],Ma=["src"],ja=["src"],za=["src"],Ha=["src"],Ja=["src"],Ka=O({name:"consumerDetail"}),Re=O({...Ka,setup(Qa){const _=Ua("base_url");wa();const S=Fa();ka();const V=q(!0),a=I({id:"",sex:"",id_card:"",nickname:"",group_id:"",company_id:"",company_name:"",province:"",city:"",area:"",street:"",village:"",brigade:"",province_name:"",city_name:"",area_name:"",street_name:"",village_name:"",brigade_name:"",address:"",account:"",qualification:{id_card:"",id_card_b:"",car_card:"",car_card_b:"",bank_account:"",bank_account_b:""},avatar:"",multipoint_login:1}),R=q({company_name:[{required:!0,message:"\u8BF7\u9009\u62E9\u516C\u53F8",trigger:"blur"}],group_id:[{required:!0,message:"\u8BF7\u9009\u62E9\u89D2\u8272",trigger:"blur"}],nickname:[{required:!0,message:"\u8BF7\u8F93\u5165\u59D3\u540D",trigger:"blur"}],sex:[{required:!0,message:"\u8BF7\u9009\u62E9\u6027\u522B",trigger:"blur"}],id_card:[{required:!0,message:"\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1\u53F7",trigger:"blur"}],account:[{required:!0,message:"\u8BF7\u8F93\u5165\u8054\u7CFB\u7535\u8BDD",trigger:"blur"}],"qualification.bank_account":[{required:!0,message:"\u8BF7\u4E0A\u4F20\u94F6\u884C\u5361",trigger:"blur"}],"qualification.id_card":[{required:!0,message:"\u8BF7\u4E0A\u4F20\u8EAB\u4EFD\u8BC1",trigger:"blur"}]}),p=I({provinceOptions:[],cityOptions:[],areaOptions:[],streetOptions:[],dictTypeLists:[],contract_type:[],contract:[]}),C=q(!1),$=l=>{var t;a.company_id=l.id,a.company_name=l.company_name,a.province=l.province,a.city=l.city,a.area=l.area,a.street=l.street,a.village=l.village,a.brigade=l.brigade,a.province_name=l.province_name,a.city_name=l.city_name,a.area_name=l.area_name,a.street_name=l.street_name,a.village_name=l.village_name,a.brigade_name=l.brigade_name,(t=h.value)==null||t.clearValidate(["company_name"]),C.value=!1},L=q([]);Va({}).then(l=>{L.value=l});const h=La();q(!1);const f=Aa();q([]);const N=(l,t)=>{if(l.code==0){m.error(l.msg);return}a.qualif