WokerTask/public/admin/assets/edit.133d1d9b.js

2 lines
14 KiB
JavaScript
Raw Normal View History

2023-12-27 14:06:33 +08:00
import{T as ia,J as na,k as m,I as da,c as sa,B as ca,C as ma,a1 as pa,M as _a,N as fa,a2 as ba,w as va,D as ga,L as ya}from"./element-plus.10e48c93.js";import{a as Fa,u as ka}from"./vue-router.9f65afb1.js";import{c as Va,d as Ba}from"./consumer.2f2c41bb.js";import{a as Ea,b as qa,c as Ca,d as ha}from"./common.78c49070.js";import{e as wa,a as Aa}from"./index.c35b5194.js";import"./lodash.08438971.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";import{_ as Da}from"./dialog_index.vue_vue_type_script_setup_true_name_companyLists_lang.be4a9a89.js";import{d as S,C as Ua,r as q,$ as O,s as La,a4 as xa,o as i,c,U as o,L as r,u as e,a as k,K as d,T as w,a7 as A,Q as U,R as Ta,k as Oa}from"./@vue.51d7f2d8.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"./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";import"./index.vue_vue_type_script_setup_true_lang.579ca8f7.js";import"./usePaging.60d02673.js";import"./company.56193820.js";import"./dict.a5451cbe.js";const Sa=k("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u57FA\u672C\u4FE1\u606F\u521B\u5EFA",-1),Ra={class:"headimg"},$a=["src"],Ia=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=S({name:"consumerDetail"}),Re=S({...Ka,setup(Qa){const _=Ua("base_url");wa();const R=Fa();ka();const V=q(!0),a=O({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}),$=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=O({provinceOptions:[],cityOptions:[],areaOptions:[],streetOptions:[],dictTypeLists:[],contract_type:[],contract:[]}),C=q(!1),I=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.qualification.id_card=l.data.uri},P=