2 lines
16 KiB
JavaScript
2 lines
16 KiB
JavaScript
|
import{U as ca,K as pa,k as v,J as ma,c as _a,a3 as fa,C as ba,D as ga,a2 as va,N as ya,O as Va,a4 as Fa,w as ka,F as Ba,M as ha}from"./element-plus.ff90c99c.js";import{a as Ea,u as wa}from"./vue-router.6d4cf914.js";import{b as Ca,c as qa}from"./consumer.5fc9ff11.js";import{a as Da,b as Ua,c as Aa,d as xa,e as Oa,f as La}from"./common.530734c4.js";import{e as Sa,a as Ta}from"./index.c5585224.js";import"./lodash.3e731b89.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.af59f801.js";import{_ as $a}from"./dialog_index.vue_vue_type_script_setup_true_name_companyLists_lang.1c7d35f9.js";import{d as S,E as Ra,r as C,$ as L,s as Pa,ag as Ia,o as r,c as s,W as l,Q as n,u as e,a as w,P as c,F as h,a9 as E,U as Ma,j as Na}from"./@vue.f8dfc830.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"./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";import"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import"./usePaging.bd7a7dec.js";import"./company.a4eb2989.js";import"./dict.12910a8a.js";const ja=w("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u57FA\u672C\u4FE1\u606F\u521B\u5EFA",-1),za={class:"headimg"},Ha=["src"],Ja=w("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u8D44\u8D28\u4FE1\u606F",-1),Ka={style:{display:"flex","justify-content":"space-between"}},Qa=["src"],Wa=["src"],Ya=["src"],Ga=["src"],Xa=["src"],Za=["src"],ae=S({name:"consumerDetail"}),Ke=S({...ae,setup(ee){const y=Ra("base_url");Sa();const T=Ea();wa(),C(!0);const a=L({id:"",sex:"",id_card:"",nickname:"",group_id:"",company_id:0,user_information_count:"",company_name:"",deposit_date:"",deposit:"",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,register_num:"",merchant_num:"",trade_amount:"",invite_code:""}),$=C({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"}],account:[{required:!0,message:"\u8BF7\u8F93\u5165\u8054\u7CFB\u7535\u8BDD",trigger:"blur"}]}),R=()=>{let t=a.deposit_date;const o=t.getFullYear(),A=String(t.getMonth()+1).padStart(2,"0"),U=String(t.getDate()).padStart(2,"0");a.deposit_date=`${o}-${A}-${U}`,console.log(a.deposit_date)},p=L({provinceOptions:[],cityOptions:[],areaOptions:[],streetOptions:[],villageOptions:[],dictTypeLists:[],brigadeOptions:[],contract_type:[],contract:[]}),D=C(!1),P=t=>{var o;a.company_id=t.id,a.company_name=t.company_name,a.province=t.province,a.city=t.city,a.area=t.area,a.street=t.street,a.village=t.village,a.brigade=t.brigade,a.province_name=t.province_name,a.city_name=t.city_name,a.area_name=t.area_name,a.street_name=t.street_name,a.village_name=t.village_name,a.brigade_name=t.brigade_name,(o=q.value)==null||o.clearValidate(["company_name"]),D.value=!1},x=C([]);Ca({}).then(t=>{x.value=t});const q=Pa();C(!1);const V=Ta();C([]);co
|