WokerTask/public/admin/assets/company.b5676c66.js

2 lines
5.6 KiB
JavaScript
Raw Normal View History

2024-02-22 14:02:02 +08:00
import{C as j,D as O,N as Q,O as $,w as J,F as W,J as X,P as z,Q as G,R as H}from"./element-plus.74337649.js";import{_ as K}from"./index.vue_vue_type_script_setup_true_lang.ffdfb4a0.js";import{u as M}from"./vue-router.6d4cf914.js";import{d as x,r as h,$ as B,ag as Y,o as c,c as V,W as e,Q as a,u as o,R as d,X as y,F as Z,a9 as ee,P as E,U as C,a as _,V as oe,j as te}from"./@vue.f8dfc830.js";import{u as ae}from"./usePaging.bd7a7dec.js";import{u as le}from"./useDictOptions.649aea57.js";import{a as ne,k as re}from"./index.59d2be02.js";import{k as ue}from"./company.cba83cd3.js";import"./lodash.3e731b89.js";import{d as pe}from"./dict.d0bc9a00.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 se={class:"mt-4"},me={class:"text-success"},ie={style:{display:"flex"}},ce={class:"flex mt-4 justify-end"},de=x({name:"financeCompanyLists"}),lo=x({...de,setup(_e){var g;ne();const F=M(),s=h(!0),n=B({company_name:"",area:"",street:"",company_type:"",area_manager:"",is_contract:""});F.query.company_type&&(s.value=!1,n.company_type=((g=F.query.company_type)==null?void 0:g.toString())||"");const w=B({dictTypeLists:[]});(async()=>{const m=await pe({type_id:6});w.dictTypeLists=m.lists})();const k=h([]),D=m=>{k.value=m.map(({id:l})=>l)};le("");const{pager:p,getLists:b,resetParams:L,resetPage:A}=ae({fetchFun:ue,params:n});return b(),(m,l)=>{const i=j,u=O,T=Q,U=$,f=J,P=W,v=X,r=z,S=Y("router-link"),R=G,q=K,N=H;return c(),V("div",null,[e(v,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[e(P,{class:"mb-[-16px] formdata",model:o(n),inline:""},{default:a(()=>[e(u,{label:"\u516C\u53F8\u540D\u79F0",prop:"company_name"},{default:a(()=>[e(i,{class:"w-[280px]",modelValue:o(n).company_name,"onUpdate:modelValue":l[0]||(l[0]=t=>o(n).company_name=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u516C\u53F8\u540D\u79F0"},null,8,["modelValue"])]),_:1}),d(e(u,{label:"\u533A",prop:"area"},{default:a(()=>[e(i,{class:"w-[280px]",modelValue:o(n).area,"onUpdate:modelValue":l[1]||(l[1]=t=>o(n).area=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u533A"},null,8,["modelValue"])]),_:1},512),[[y,o(s)]]),d(e(u,{label:"\u9547",prop:"street"},{default:a(()=>[e(i,{class:"w-[280px]",modelValue:o(n).street,"onUpdate:modelValue":l[2]||(l[2]=t=>o(n).street=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u9547"},null,8,["modelValue"])]),_:1},512),[[y,o(s)]]),d(e(u,{label:"\u516C\u53F8\u7C7B\u578B",prop:"company_type"},{default:a(()=>[e(U,{modelValue:o(n).company_type,"onUpdate:modelValue":l[3]||(l[3]=t=>o(n).company_type=t),placeholder:"\u8BF7\u9009\u62E9\u516C\u53F8\u7C7B\u578B",clearable:"",class:"w-[280px]"},{default:a(()=>[(c(!0),V(Z,null,ee(o(w).dictTypeLists,(t,I)=>(c(),E(T,{key:I,label:t.name,value:t.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1},512),[[y,o(s)]]),e(u,{label:"\u7247\u533A\u7ECF\u7406",prop:"area_manager"},{default:a(()=>[e(i,{class:"w-[280px]",modelValue:o(n).area_manager,"onUpdate:modelValue":l[4]||(l[4]=t=>o(n).area_manager=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7247\u533A\u7ECF\u7406"},null,8,["modelValue"])]),_:1}),e(u,null,{default:a(()=