2 lines
2.0 KiB
JavaScript
2 lines
2.0 KiB
JavaScript
import{_ as b}from"./index.vue_vue_type_script_setup_true_lang.5ae95555.js";import{L as f,M as g}from"./element-plus.517d4382.js";import{u as y}from"./usePaging.f6660143.js";import{_ as h}from"./index.8b1962e9.js";import{o,c as r,U as D,S as V,V as l,M as k,u as s,a as v,k as x,W as n,a8 as C,L}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.1d82ee7c.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const T={key:0,class:"tit"},B={class:"flex justify-end mt-4"},P={__name:"myTable",props:{baseData:Object},setup(t){const m=t,{pager:e,getLists:i,resetParams:w,resetPage:E}=y({fetchFun:m.baseData.fetchFun,params:m.baseData.queryParams||""});return i(),(F,p)=>{const c=f,u=g,_=b;return o(),r(n,null,[t.baseData.tit?(o(),r("div",T,D(t.baseData.tit),1)):V("",!0),l(u,{data:s(e).lists,style:{width:"100%"}},{default:k(()=>[(o(!0),r(n,null,C(t.baseData.columnList,(a,d)=>(o(),L(c,{label:a.label,prop:a.prop,width:"180",key:d},null,8,["label","prop"]))),128))]),_:1},8,["data"]),v("div",B,[l(_,{modelValue:s(e),"onUpdate:modelValue":p[0]||(p[0]=a=>x(e)?e.value=a:null),onChange:s(i)},null,8,["modelValue","onChange"])])],64)}}},dt=h(P,[["__scopeId","data-v-2b6fea24"]]);export{dt as default};
|