2 lines
4.0 KiB
JavaScript
2 lines
4.0 KiB
JavaScript
import{_ as P}from"./index.vue_vue_type_script_setup_true_lang.261df48b.js";import{M as N,N as T,C as U,B as I,w as R,D as S,I as q,O,P as $}from"./element-plus.9c2fdfa8.js";import{u as j}from"./vue-router.e2f4a118.js";import{u as K}from"./usePaging.c22e2b6f.js";import{a as M,d as z}from"./users.46cd03c3.js";import{d as G,$ as i,o as m,c as _,U as o,L as t,u as l,T as k,a7 as H,K as J,R as d,S as f,a as g,k as Q}from"./@vue.53f8d7c3.js";import"./@vueuse.038954e7.js";import"./@element-plus.37f92579.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"./index.5be037e5.js";import"./lodash.47b8af7d.js";import"./axios.96be3cef.js";import"./pinia.bd103f5d.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.efc99072.js";import"./color.e83714e9.js";import"./clone.fb54e01d.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.b4b577c6.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.9cf3e967.js";const W={key:0,style:{color:"yellowgreen"}},X={key:1,style:{color:"red"}},Y={style:{color:"green"}},Z={class:"flex mt-4 justify-end"},Oo=G({__name:"integral",setup(oo){const w=j(),u=i({type:"",appid:"",mark:"",uid:w.query.uid});i({});const{pager:s,getLists:b,resetParams:h,resetPage:v}=K({fetchFun:z,params:u});i([{label:"lable",id:0,name:"name1"},{label:"lable2",id:0,name:"name2"}]),b();const C=(r,a)=>{for(const n in r)r[n]!=null&&r[n]!=null&&(a[n]=r[n]);console.log(a)},E=i([]);return M().then(r=>{C(r,E)}),(r,a)=>{const n=N,B=T,c=U,V=I,F=R,x=S,y=q,p=O,D=$,A=P;return m(),_(k,null,[o(y,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[o(x,{class:"mb-[-16px]",model:l(u),inline:""},{default:t(()=>[o(c,{label:"\u79EF\u5206\u53D8\u66F4\u573A\u6240",prop:"company_id"},{default:t(()=>[o(B,{modelValue:l(u).appid,"onUpdate:modelValue":a[0]||(a[0]=e=>l(u).appid=e),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u79EF\u5206\u53D8\u66F4\u573A\u6240"},{default:t(()=>[(m(!0),_(k,null,H(l(E),(e,L)=>(m(),J(n,{label:e.name,value:e.appid,key:L},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),o(c,{label:"\u9879\u76EE",prop:"contract_no"},{default:t(()=>[o(V,{class:"w-[280px]",modelValue:l(u).mark,"onUpdate:modelValue":a[1]||(a[1]=e=>l(u).mark=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"},null,8,["modelValue"])]),_:1}),o(c,null,{default:t(()=>[o(F,{type:"primary",onClick:l(v)},{default:t(()=>[d("\u67E5\u8BE2")]),_:1},8,["onClick"]),o(F,{onClick:l(h)},{default:t(()=>[d("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),o(y,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[o(D,{data:l(s).lists},{default:t(()=>[o(p,{label:"\u65F6\u95F4",prop:"create_time"}),o(p,{label:"\u79EF\u5206\u53D8\u52A8",prop:"amount","show-overflow-tooltip":""},{default:t(({row:e})=>[e.type==1?(m(),_("text",W,"+ "+f(e.amount),1)):(m(),_("text",X,"- "+f(e.amount),1))]),_:1}),o(p,{label:"\u9879\u76EE",prop:"mark","show-overflow-tooltip":""}),o(p,{label:"\u79EF\u5206\u53D8\u66F4\u573A\u6240",prop:"app","show-overflow-tooltip":""}),o(p,{label:"\u5206\u7C7B",prop:"type_text","show-overflow-tooltip":""},{default:t(({row:e})=>[d(" \u79EF\u5206\u5956\u52B1 ")]),_:1}),o(p,{label:"\u79EF\u5206\u7D2F\u8BA1",prop:"total_amount","show-overflow-tooltip":""},{default:t(({row:e})=>[g("text",Y,"+ "+f(e.total_amount),1)]),_:1})]),_:1},8,["data"]),g("div",Z,[o(A,{modelValue:l(s),"onUpdate:modelValue":a[2]||(a[2]=e=>Q(s)?s.value=e:null),onChange:l(b)},null,8,["modelValue","onChange"])])]),_:1})],64)}}});export{Oo as default};
|