data_center/public/admin/assets/integral.3aba844e.js

2 lines
3.8 KiB
JavaScript

import{_ as h}from"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import{B as x,C as B,w as v,D,I as A,L as U,M as L}from"./element-plus.54aed4cc.js";import{u as P}from"./vue-router.12d45bc3.js";import{u as T}from"./usePaging.160b82b8.js";import{c as I}from"./users.47342bca.js";import{d as N,$ as s,o as i,c as d,U as o,L as t,u,T as _,a as F,k as q,V as R,S as E}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.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.17a19250.js";import"./lodash.c4b79a6f.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const S=E("\u67E5\u8BE2"),$=E("\u91CD\u7F6E"),j={key:0,style:{color:"yellowgreen"}},M={key:1,style:{color:"red"}},z={style:{color:"green"}},G={class:"flex mt-4 justify-end"},Uo=N({__name:"integral",setup(H){const C=P(),l=s({app:"",mark:"",remark:"",uid:C.query.uid});s({});const{pager:m,getLists:c,resetParams:k,resetPage:w}=T({fetchFun:I,params:l});return s([{label:"lable",id:0,name:"name1"},{label:"lable2",id:0,name:"name2"}]),c(),(J,a)=>{const n=x,p=B,f=v,V=D,b=A,r=U,g=L,y=h;return i(),d(R,null,[o(b,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[o(V,{class:"mb-[-16px]",model:l,inline:""},{default:t(()=>[o(p,{label:"\u79EF\u5206\u53D8\u66F4\u573A\u6240",prop:"company_id"},{default:t(()=>[o(n,{class:"w-[280px]",modelValue:l.app,"onUpdate:modelValue":a[0]||(a[0]=e=>l.app=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u516C\u53F8"},null,8,["modelValue"])]),_:1}),o(p,{label:"\u9879\u76EE",prop:"contract_no"},{default:t(()=>[o(n,{class:"w-[280px]",modelValue:l.mark,"onUpdate:modelValue":a[1]||(a[1]=e=>l.mark=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5408\u540C\u7F16\u53F7"},null,8,["modelValue"])]),_:1}),o(p,{label:"\u5206\u7C7B",prop:"area_manager"},{default:t(()=>[o(n,{class:"w-[280px]",modelValue:l.remark,"onUpdate:modelValue":a[2]||(a[2]=e=>l.remark=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7532\u65B9\u7247\u533A\u7ECF\u7406"},null,8,["modelValue"])]),_:1}),o(p,null,{default:t(()=>[o(f,{type:"primary",onClick:u(w)},{default:t(()=>[S]),_:1},8,["onClick"]),o(f,{onClick:u(k)},{default:t(()=>[$]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),o(b,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[o(g,{data:u(m).lists},{default:t(()=>[o(r,{label:"\u65F6\u95F4",prop:"create_time"}),o(r,{label:"\u79EF\u5206\u53D8\u52A8",prop:"amount","show-overflow-tooltip":""},{default:t(({row:e})=>[e.type==1?(i(),d("text",j,"+ "+_(e.amount),1)):(i(),d("text",M,"- "+_(e.amount),1))]),_:1}),o(r,{label:"\u9879\u76EE",prop:"mark","show-overflow-tooltip":""}),o(r,{label:"\u79EF\u5206\u53D8\u66F4\u573A\u6240",prop:"app","show-overflow-tooltip":""}),o(r,{label:"\u5206\u7C7B",prop:"type_text","show-overflow-tooltip":""}),o(r,{label:"\u79EF\u5206\u7D2F\u8BA1",prop:"total_amount","show-overflow-tooltip":""},{default:t(({row:e})=>[F("text",z,"+ "+_(e.total_amount),1)]),_:1})]),_:1},8,["data"]),F("div",G,[o(y,{modelValue:u(m),"onUpdate:modelValue":a[3]||(a[3]=e=>q(m)?m.value=e:null),onChange:u(c)},null,8,["modelValue","onChange"])])]),_:1})],64)}}});export{Uo as default};