WokerTask/public/admin/assets/detail.74101263.js

2 lines
16 KiB
JavaScript
Raw Normal View History

2023-12-27 14:06:33 +08:00
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.b0ecf6ae.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.ff489669.js";import{a as Oa,b as Sa,c as Ta,d as Pa}from"./common.68489d2e.js";import{d as Ra}from"./dict.b24eecdc.js";import{_ as $a}from"./index.vue_vue_type_script_setup_true_lang.ebbecf1a.js";import{u as ja}from"./usePaging.2ad8e1e6.js";import{e as Ia,a as Ma,f as Na}from"./index.9e5a9063.js";import{k as za}from"./company.19fd9602.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.ffb5376d.js";import{_ as Ga}from"./account-adjust.vue_vue_type_script_setup_true_lang.924f51fa.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"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./axios.f9df025a.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.4b0c77cb.js";import"./color.992612d2.js";import"./clone.d8d3ae9a.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.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.3a572f9b.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"}),Ye=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==0){E.error(o.msg);return}l.qualification.bank_account_b=o