WokerTask/public/admin/assets/detail.9a548a3a.js

2 lines
17 KiB
JavaScript
Raw Normal View History

2024-01-16 18:21:41 +08:00
import{C as Z,D as ee,w as ae,F as le,J as te,P as ye,Q as ve,R as ge,U as Fe,K as Ve,k as w,c as Be,a3 as ke,a2 as he,N as Ee,O as Ce,a4 as we}from"./element-plus.ff90c99c.js";import{a as De,u as qe}from"./vue-router.6d4cf914.js";import{b as Ae,g as Ue,u as xe}from"./consumer.ba0f3d44.js";import{a as Le,b as Oe,c as Te,d as Pe,e as Se}from"./common.27aef0a5.js";import{d as Re}from"./dict.59f14f3d.js";import{_ as $e}from"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import{u as Ye}from"./usePaging.bd7a7dec.js";import{e as Me,a as je}from"./index.69a22209.js";import{k as Ie}from"./company.c8662421.js";import{d as j,$ as M,o as r,c as p,W as a,Q as t,u as e,U as H,R as Ne,P as c,a as h,j as ze,E as Qe,r as D,s as He,ag as Je,F as x,a9 as L,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 Ke={class:"mt-4"},We={class:"flex mt-4 justify-end"},Ge=j({name:"companyLists"});({...Ge});const Xe=h("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u57FA\u672C\u4FE1\u606F\u521B\u5EFA",-1),Ze={class:"headimg"},ea=["src"],aa=h("div",{style:{"font-size":"1.2rem",margin:"10px 0"}},"\u8D44\u8D28\u4FE1\u606F",-1),la={style:{display:"flex","justify-content":"space-between"}},ta=["src"],oa=["src"],ua=["src"],na=["src"],da=["src"],ra=["src"],ia=j({name:"consumerDetail"}),el=j({...ia,setup(oe){const B=Qe("base_url");Me();const E=De(),T=qe();D(!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=D({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"}]});D(!1),M({show:!1,value:""});const m=M({provinceOptions:[],cityOptions:[],areaOptions:[],streetOptions:[],villageOptions:[],dictTypeLists:[],contract_type:[],brigadeOptions:[],contract:[]}),U=He();D(!1),D(!1);const b=je(),k=D([]);Ae({}).then(n=>{k.value=n});const S=async()=>{const n=await Re({type_id:7});m.contract_type=n.lists},d=D(null);S();const R=async()=>{var u,Y,O,v,g,F;const n=await Ue({id:T.query.id});Object.keys(l).forEach(f=>{l[f]=n[f]}),d.value=T.query.mode,l.contract_type=(u=n.contract)==null?void 0:u.contract_type,l.party_b_name=(Y=n.contract)==null?void 0:Y.party_b_name,l.party_b=(O=n.contract)==null?void 0:O.party_b,l.file=(v=n.contract)==null?void 0:v.file,n.contract&&(I.value[0]={url:(g=n.contract)==null?void 0:g.file,name:(F=n.