2 lines
17 KiB
JavaScript
2 lines
17 KiB
JavaScript
|
import{C as Z,D as ee,w as ae,F as le,J as te,P as ve,Q as Fe,R as Ve,U as Be,K as ke,k as D,c as he,a3 as Ce,a2 as Ee,N as we,O as De,a4 as qe}from"./element-plus.ff90c99c.js";import{a as Ue,u as Ae}from"./vue-router.6d4cf914.js";import{b as xe,g as Le,u as Oe}from"./consumer.5fc9ff11.js";import{a as Te,b as Pe,c as Se,d as Re,e as $e,f as Ye}from"./common.530734c4.js";import{d as Me}from"./dict.12910a8a.js";import{_ as Ne}from"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import{u as je}from"./usePaging.bd7a7dec.js";import{e as Ie,a as ze}from"./index.c5585224.js";import{k as Qe}from"./company.a4eb2989.js";import{d as N,$ as M,o as r,c as p,W as a,Q as t,u as e,U as H,R as He,P as c,a as C,j as Je,E as Ke,r as q,s as We,ag as Ge,F as A,a9 as x,T as X}from"./@vue.f8dfc830.js";import"./lodash.3e731b89.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.af59f801.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";const Xe={class:"mt-4"},Ze={class:"flex mt-4 justify-end"},ea=N({name:"companyLists"});({...ea});const aa=C("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u57FA\u672C\u4FE1\u606F\u521B\u5EFA",-1),la={class:"headimg"},ta=["src"],oa=C("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u8D44\u8D28\u4FE1\u606F",-1),ua={style:{display:"flex","justify-content":"space-between"}},na=["src"],da=["src"],ra=["src"],ia=["src"],sa=["src"],ca=["src"],pa=N({name:"consumerDetail"}),tl=N({...pa,setup(oe){const V=Ke("base_url");Ie();const E=Ue(),T=Ae();q(!0);const l=M({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:""}),P=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"}],account:[{required:!0,message:"\u8BF7\u8F93\u5165\u8054\u7CFB\u7535\u8BDD",trigger:"blur"}]});q(!1),M({show:!1,value:""});const m=M({provinceOptions:[],cityOptions:[],areaOptions:[],streetOptions:[],villageOptions:[],dictTypeLists:[],contract_type:[],brigadeOptions:[],contract:[]}),L=We();q(!1),q(!1);const b=ze(),B=q([]);xe({}).then(u=>{B.value=u});const S=async()=>{const u=await Me({type_id:7});m.contract_type=u.lists},d=q(null);S();const R=async()=>{var n,Y,O,g,v,F;const u=await Le({id:T.query.id});Object.keys(l).forEach(f=>{l[f]=u[f]}),d.value=T.query.mode,l.brigade=Number(l.brigade),l.contract_type=(n=u.contract)==null?void 0:n.contract_type,l.party_b_name=(Y=u.contract)==null?void 0:Y.party_b_name,l.party_b=(O=u.contract)==null?void 0:O.party_b,l.file=(g=u.contract)==null?void 0:g.file,u.contract&&(j.value[0]={url:(v=u.cont
|