2 lines
16 KiB
JavaScript
2 lines
16 KiB
JavaScript
|
import{B as aa,C as ea,w as la,D as ta,I as oa,O as va,P as Fa,Q as ka,T as Ba,J as Va,k as E,c as Ca,a1 as ga,M as Ea,N as ha,a2 as wa}from"./element-plus.10e48c93.js";import{a as Aa,u as Da}from"./vue-router.9f65afb1.js";import{g as qa,b as Ua,a as xa,i as La}from"./consumer.8425a7a4.js";import{a as Oa,b as Sa,c as Ta,d as Pa}from"./common.2f884a05.js";import{d as Ra}from"./dict.a3a9caa7.js";import{_ as $a}from"./index.vue_vue_type_script_setup_true_lang.579ca8f7.js";import{u as ja}from"./usePaging.60d02673.js";import{e as Ia,a as Ma,f as Na}from"./index.5f96f8d7.js";import{k as za}from"./company.6bd364d6.js";import{d as Q,$ as N,o as d,c as _,U as e,L as t,u as a,R as z,M as Qa,K as r,a as g,k as ua,C as Ha,r as U,s as Ja,a4 as Ka,T as P,a7 as R,Q as x}from"./@vue.51d7f2d8.js";import"./lodash.08438971.js";import{_ as Ga}from"./account-adjust.vue_vue_type_script_setup_true_lang.7683275f.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.d5254df7.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";const Wa={class:"mt-4"},Xa={class:"flex mt-4 justify-end"},Ya=Q({name:"companyLists"});({...Ya});const Za=g("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u57FA\u672C\u4FE1\u606F\u521B\u5EFA",-1),ae={class:"headimg"},ee=["src"],le=g("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u8D44\u8D28\u4FE1\u606F",-1),te={style:{display:"flex","justify-content":"space-between"}},oe=["src"],ue=["src"],ne=["src"],de=["src"],se=["src"],re=["src"],ie=Q({name:"consumerDetail"}),al=Q({...ie,setup(na){const v=Ha("base_url");Ia(),Aa();const f=Da(),i=U(!0),l=N({id:"",sex:"",id_card:"",nickname:"",province:"",city:"",area:"",street:"",address:"",account:"",is_contract:0,party_b_name:"",party_b:"",qualification:{id_card:"",id_card_b:"",car_card:"",car_card_b:"",bank_account:"",bank_account_b:""},contract_type:"",file:"",avatar:"",multipoint_login:1,contract:{url:""}}),$=U(!1),A=N({show:!1,value:""}),b=N({provinceOptions:[],cityOptions:[],areaOptions:[],streetOptions:[],dictTypeLists:[],contract_type:[],contract:[]}),j=Ja();U(!1),U(!1);const p=Ma(),I=async()=>{const o=await Ra({type_id:7});b.contract_type=o.lists},V=U(null);I();const L=async()=>{var n,O,S,k,B,y;const o=await qa({id:f.query.id});Object.keys(l).forEach(m=>{l[m]=o[m]}),V.value=f.query.mode,l.contract_type=(n=o.contract)==null?void 0:n.contract_type,l.party_b_name=(O=o.contract)==null?void 0:O.party_b_name,l.party_b=(S=o.contract)==null?void 0:S.party_b,l.file=(k=o.contract)==null?void 0:k.file,o.contract&&(D.value[0]={url:(B=o.contract)==null?void 0:B.file,name:(y=o.contract)!=null?y:"\u5408\u540C\u6587\u4EF6"}),await W(),await X(),await Y()},D=U([]),M=(o,n)=>{if(o.code==0){E.error(o.msg);return}l.qualification.id_card=o.data.uri},F=(o,n)=>{if(o.code==0){E.error(o.msg);return}l.avatar=o.data.uri},H=(o,n)=>{if(o.code==0){E.error(o.msg);return}l.qualification.id_card_b=o.data.uri},J=(o,n)=>{if(o.code==0){E.error(o.msg);return}l.qualification.car_card=o.data.uri},K=(o,n)=>{if(o.code==0){E.error(o.msg);return}l.qualification.car_card_b=o.data.uri},h=o=>!0,da=(o,n)=>{if(o.code==0){E.error(o.msg);return}l.qualification.bank_account=o.data.uri},sa=(o,n)=>{if(o.code=
|