WokerTask/public/admin/assets/detail.07a7b0c7.js

2 lines
14 KiB
JavaScript
Raw Permalink Normal View History

2023-12-29 18:51:22 +08:00
import{C as G,D as X,w as pa,F as Z,J as aa,P as _a,Q as ma,R as fa,U as ba,K as va,k as w,c as ya,a3 as ga,a2 as Fa,N as Va,O as Ba,a4 as ka}from"./element-plus.ff90c99c.js";import{a as Ca,u as ha}from"./vue-router.6d4cf914.js";import{g as Ea}from"./consumer.cefe9115.js";import{a as wa,b as qa,c as Da,d as Ua,e as Aa,f as La}from"./common.f9fe27bf.js";import{d as Oa}from"./dict.d8314400.js";import{_ as xa}from"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import{u as Pa}from"./usePaging.bd7a7dec.js";import{e as Sa,a as Ta}from"./index.9acc1fa4.js";import{k as Ra}from"./company.04834679.js";import{d as M,$ as Y,o as r,c,W as e,Q as u,u as a,U as W,R as $a,P as p,a as k,j as Ya,E as Ma,r as A,s as ja,ag as Ia,F as q,a9 as D}from"./@vue.f8dfc830.js";import"./lodash.ffb5376d.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.f9df025a.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.d1ea016b.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"./balanced-match.d2a36341.js";import"./debug.4e7fd6e6.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 Na={class:"mt-4"},za={class:"flex mt-4 justify-end"},Qa=M({name:"companyLists"});({...Qa});const Ha=k("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u57FA\u672C\u4FE1\u606F\u521B\u5EFA",-1),Ja={class:"headimg"},Ka=["src"],Wa=k("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u8D44\u8D28\u4FE1\u606F",-1),Ga={style:{display:"flex","justify-content":"space-between"}},Xa=["src"],Za=["src"],ae=["src"],ee=["src"],le=["src"],te=["src"],oe=M({name:"consumerDetail"}),Ke=M({...oe,setup(ea){const v=Ma("base_url");Sa(),Ca();const y=ha();A(!0);const l=Y({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});A(!1),Y({show:!1,value:""});const i=Y({provinceOptions:[],cityOptions:[],areaOptions:[],streetOptions:[],villageOptions:[],dictTypeLists:[],contract_type:[],brigadeOptions:[],contract:[]}),U=ja();A(!1),A(!1);const g=Ta(),j=async()=>{const t=await Oa({type_id:7});i.contract_type=t.lists},P=A(null);j();const C=async()=>{var n,$,O,m,f,b;const t=await Ea({id:y.query.id});Object.keys(l).forEach(F=>{l[F]=t[F]}),P.value=y.query.mode,l.brigade=Number(l.brigade),l.contract_type=(n=t.contract)==null?void 0:n.contract_type,l.party_b_name=($=t.contract)==null?void 0:$.party_b_name,l.party_b=(O=t.contract)==null?void 0:O.party_b,l.file=(m=t.contract)==null?void 0:m.file,t.contract&&(S.value[0]={url:(f=t.contract)==null?void 0:f.file,name:(b=t.contract)!=null?b:"\u5408\u540C\u6587\u4EF6"}),await H(),await J(),await K(),await ia(),await da()},S=A([]),L=(t,n)=>{if(t.code==0){w.error(t.msg);return}l.qualification.id_card=t.data.uri},T=(t,n)=>{if(t.code==0){w.error(t.msg);return}l.avatar=t.data.uri},I=(t,n)=>{if(t.code==0){w.error(t.msg);return}l.qualification.id_card_b=t.data.uri},R=(t,n)=>{if(t.code==0){w.error(t.msg);return}l.qualification.car_card=t.data.uri},_=(t,n)=>{if(t.code==0)