2 lines
3.9 KiB
JavaScript
2 lines
3.9 KiB
JavaScript
import{_ as P}from"./index.vue_vue_type_script_setup_true_lang.cb18df50.js";import{R as T,C as U,B as I,w as N,D as R,I as S,L as q,M as $,Q as j}from"./element-plus.bb5d129a.js";import{u as K}from"./vue-router.12d45bc3.js";import{u as M}from"./usePaging.160b82b8.js";import{a as O,d as Q}from"./users.8c1a8ac5.js";import{d as z,$ as i,o as p,c as _,U as o,L as t,V as h,a7 as G,u as s,T as d,a as k,k as H,S as f,K as J}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.c5177e7a.js";import"./axios.ba5f746b.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.69ffdd93.js";import"./lodash.5226da61.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.ee641d3d.js";import"./color.cbc2f3a9.js";import"./clone.7fddbad2.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a7d78d4d.js";import"./ms.a9ae1d6d.js";import"./nprogress.cc41886d.js";import"./vue-clipboard3.7988db4f.js";import"./clipboard.cb7a871d.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const W=f("\u67E5\u8BE2"),X=f("\u91CD\u7F6E"),Y={key:0,style:{color:"yellowgreen"}},Z={key:1,style:{color:"red"}},oo=f(" \u79EF\u5206\u5956\u52B1 "),eo={style:{color:"green"}},to={class:"flex mt-4 justify-end"},Ko=z({__name:"integral",setup(lo){const g=K(),n=i({type:"",appid:"",mark:"",uid:g.query.uid});i({});const{pager:m,getLists:b,resetParams:w,resetPage:v}=M({fetchFun:Q,params:n});i([{label:"lable",id:0,name:"name1"},{label:"lable2",id:0,name:"name2"}]),b();const C=(a,l)=>{for(const r in a)a[r]!=null&&a[r]!=null&&(l[r]=a[r]);console.log(l)},E=i([]);return O().then(a=>{C(a,E)}),(a,l)=>{const r=j,V=T,c=U,B=I,F=N,x=R,y=S,u=q,D=$,A=P;return p(),_(h,null,[o(y,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[o(x,{class:"mb-[-16px]",model:n,inline:""},{default:t(()=>[o(c,{label:"\u79EF\u5206\u53D8\u66F4\u573A\u6240",prop:"company_id"},{default:t(()=>[o(V,{modelValue:n.appid,"onUpdate:modelValue":l[0]||(l[0]=e=>n.appid=e),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u79EF\u5206\u53D8\u66F4\u573A\u6240"},{default:t(()=>[(p(!0),_(h,null,G(E,(e,L)=>(p(),J(r,{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(B,{class:"w-[280px]",modelValue:n.mark,"onUpdate:modelValue":l[1]||(l[1]=e=>n.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:s(v)},{default:t(()=>[W]),_:1},8,["onClick"]),o(F,{onClick:s(w)},{default:t(()=>[X]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),o(y,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[o(D,{data:s(m).lists},{default:t(()=>[o(u,{label:"\u65F6\u95F4",prop:"create_time"}),o(u,{label:"\u79EF\u5206\u53D8\u52A8",prop:"amount","show-overflow-tooltip":""},{default:t(({row:e})=>[e.type==1?(p(),_("text",Y,"+ "+d(e.amount),1)):(p(),_("text",Z,"- "+d(e.amount),1))]),_:1}),o(u,{label:"\u9879\u76EE",prop:"mark","show-overflow-tooltip":""}),o(u,{label:"\u79EF\u5206\u53D8\u66F4\u573A\u6240",prop:"app","show-overflow-tooltip":""}),o(u,{label:"\u5206\u7C7B",prop:"type_text","show-overflow-tooltip":""},{default:t(({row:e})=>[oo]),_:1}),o(u,{label:"\u79EF\u5206\u7D2F\u8BA1",prop:"total_amount","show-overflow-tooltip":""},{default:t(({row:e})=>[k("text",eo,"+ "+d(e.total_amount),1)]),_:1})]),_:1},8,["data"]),k("div",to,[o(A,{modelValue:s(m),"onUpdate:modelValue":l[2]||(l[2]=e=>H(m)?m.value=e:null),onChange:s(b)},null,8,["modelValue","onChange"])])]),_:1})],64)}}});export{Ko as default};
|