WokerTask/public/admin/assets/edit.42297339.js

2 lines
16 KiB
JavaScript
Raw Normal View History

2024-01-16 18:21:41 +08:00
import{U as sa,K as ca,k as g,J as pa,c as ma,a3 as _a,C as fa,D as ba,a2 as ga,N as va,O as ya,a4 as Va,w as Fa,F as ka,M as Ba}from"./element-plus.ff90c99c.js";import{a as ha,u as wa}from"./vue-router.6d4cf914.js";import{b as Ea,c as Ca}from"./consumer.ba0f3d44.js";import{a as qa,b as Da,c as Aa,d as Ua,e as xa,f as Oa}from"./common.27aef0a5.js";import{e as La,a as Sa}from"./index.69a22209.js";import"./lodash.3e731b89.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.af59f801.js";import{_ as Ta}from"./dialog_index.vue_vue_type_script_setup_true_name_companyLists_lang.f641a9eb.js";import{d as S,E as $a,r as w,$ as L,s as Ra,ag as Pa,o as r,c as s,W as l,Q as n,u as e,a as h,P as c,F as E,a9 as C,U as Ia,j as Ma}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.c8662421.js";import"./dict.59f14f3d.js";const Na=h("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u57FA\u672C\u4FE1\u606F\u521B\u5EFA",-1),ja={class:"headimg"},za=["src"],Ha=h("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u8D44\u8D28\u4FE1\u606F",-1),Ja={style:{display:"flex","justify-content":"space-between"}},Ka=["src"],Qa=["src"],Wa=["src"],Ya=["src"],Ga=["src"],Xa=["src"],Za=S({name:"consumerDetail"}),Je=S({...Za,setup(ae){const v=$a("base_url");La();const T=ha();wa(),w(!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:""}),$=w({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 u=t.getFullYear(),U=String(t.getMonth()+1).padStart(2,"0"),A=String(t.getDate()).padStart(2,"0");a.deposit_date=`${u}-${U}-${A}`,console.log(a.deposit_date)},p=L({provinceOptions:[],cityOptions:[],areaOptions:[],streetOptions:[],villageOptions:[],dictTypeLists:[],brigadeOptions:[],contract_type:[],contract:[]}),D=w(!1),P=t=>{var u;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,(u=q.value)==null||u.clearValidate(["company_name"]),D.value=!1},x=w([]);Ea({}).then(t=>{x.value=t});const q=Ra();w(!1);const y=Sa();w([]);co