engineering/public/admin/assets/index.6e6b779d.js
2024-03-31 10:16:59 +08:00

2 lines
6.8 KiB
JavaScript

import{D as z,B as G,w as H,L as J,C as K,O as W,P as X,Q as Y}from"./element-plus.76ad22d1.js";import{_ as Z}from"./index.26f464cd.js";import{_ as ee}from"./index.vue_vue_type_script_setup_true_lang.53484866.js";import{f as ae,a as te}from"./index.ba0b8151.js";import{u as le}from"./usePaging.0b2adcee.js";import{u as oe}from"./useDictOptions.ecef5e87.js";import{b as ie,a as ne,c as V,g as ue}from"./financial_fee_application.de234174.js";import{_ as se}from"./edit.vue_vue_type_script_setup_true_name_financialFeeApplicationEdit_lang.73fa71e3.js";import{d as $,s as re,r as w,a0 as pe,ai as ce,o as s,c as me,V as e,M as t,O as _,u as r,L as c,S as x,a as A,k as de,T as d,n as g}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.9bff6341.js";import"./dayjs.4e54c873.js";import"./axios.c27a9cd7.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.b414519e.js";import"./lodash.12303e67.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.ce2b95b7.js";import"./color.0b62cf11.js";import"./clone.b8d2a027.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./nprogress.026d6bda.js";import"./vue-clipboard3.1a74f940.js";import"./clipboard.80ee0599.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.d693a0d8.js";import"./index.vue_vue_type_script_setup_true_lang.1598dec9.js";import"./index.vue_vue_type_script_setup_true_name_createUserLable_lang.2f02dc38.js";const _e={title:"\u8D22\u52A1\u7BA1\u7406--\u8D39\u7528\u7533\u8BF7",config:[{label:"\u5355\u636E\u4E3B\u9898",value:"theme"},{label:"\u5355\u636E\u7F16\u53F7",value:"code"},{label:"\u5355\u636E\u7F16\u53F7",value:"code"},{label:"\u7533\u8BF7\u91D1\u989D",value:"total_amount"},{label:"\u7968\u636E\u603B\u5F20\u6570",value:"total_bill_num"},{label:"\u5907\u6CE8",value:"remark"},{label:"\u7533\u8BF7\u4EBA",value:"create_user"},{label:"\u7533\u8BF7\u65F6\u95F4",value:"create_time"}],table:{title:"\u7533\u8BF7\u660E\u7EC6",tableConfig:[{label:"\u79D1\u76EE\u7C7B\u522B",value:"subject_category_text"},{label:"\u7968\u636E\u5F20\u6570",value:"bill_num"},{label:"\u7533\u8BF7\u91D1\u989D",value:"amount"},{label:"\u5907\u6CE8",value:"remark"}],query:"fee_application_id",fetchFun:ie}},fe=d("\u67E5\u8BE2"),ve=d("\u91CD\u7F6E"),be=d(" \u65B0\u589E "),Fe=d(" \u5220\u9664 "),he={class:"mt-4"},we=d(" \u7F16\u8F91 "),Ce=d(" \u5220\u9664 "),Ee=d(" \u8BE6\u60C5 "),ke={class:"flex mt-4 justify-end"},ge=$({name:"financialFeeApplicationLists"}),ma=$({...ge,setup(Be){const b=re(),C=w(""),F=w(!1),E=w(!1),p=pe({theme:"",code:"",create_user:"",create_time:""}),k=w([]),L=o=>{k.value=o.map(({id:a})=>a)},{dictData:P}=oe("subject_category"),{pager:f,getLists:h,resetParams:R,resetPage:S}=le({fetchFun:ne,params:p}),T=async()=>{var o;F.value=!0,await g(),(o=b.value)==null||o.open("add")},N=async o=>{var u,i;let a=await V({id:o.id});F.value=!0,await g(),(u=b.value)==null||u.open("edit"),(i=b.value)==null||i.setFormData(a)},B=async o=>{await ae.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await ue({id:o}),h()},U=async o=>{var u,i;let a=await V({id:o});E.value=!0,await g(),(u=C.value)==null||u.open(),(i=C.value)==null||i.setFormData(a)};return h(),(o,a)=>{const u=z,i=G,m=H,j=J,y=K,q=te,n=W,I=X,O=ee,M=Z,v=ce("perms"),Q=Y;return s(),me("div",null,[e(y,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[e(j,{class:"mb-[-16px]",model:p,inline:""},{default:t(()=>[e(i,{label:"\u5355\u636E\u4E3B\u9898",prop:"theme"},{default:t(()=>[e(u,{class:"w-[280px]",modelValue:p.theme,"onUpdate:modelValue":a[0]||(a[0]=l=>p.theme=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5355\u636E\u4E3B\u9898"},null,8,["modelValue"])]),_:1}),e(i,{label:"\u5355\u636E\u7F16\u53F7",prop:"code"},{default:t(()=>[e(u,{class:"w-[280px]",modelValue:p.code,"onUpdate:modelValue":a[1]||(a[1]=l=>p.code=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5355\u636E\u7F16\u53F7"},null,8,["modelValue"])]),_:1}),e(i,{label:"\u7533\u8BF7\u4EBA",prop:"create_user"},{default:t(()=>[e(u,{class:"w-[280px]",modelValue:p.create_user,"onUpdate:modelValue":a[2]||(a[2]=l=>p.create_user=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7533\u8BF7\u4EBA"},null,8,["modelValue"])]),_:1}),e(i,null,{default:t(()=>[e(m,{type:"primary",onClick:r(S)},{default:t(()=>[fe]),_:1},8,["onClick"]),e(m,{onClick:r(R)},{default:t(()=>[ve]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),_((s(),c(y,{class:"!border-none",shadow:"never"},{default:t(()=>[_((s(),c(m,{type:"primary",onClick:T},{icon:t(()=>[e(q,{name:"el-icon-Plus"})]),default:t(()=>[be]),_:1})),[[v,["financial.financial_fee_application/add"]]]),_((s(),c(m,{disabled:!k.value.length,onClick:a[3]||(a[3]=l=>B(k.value))},{default:t(()=>[Fe]),_:1},8,["disabled"])),[[v,["financial.financial_fee_application/delete"]]]),A("div",he,[e(I,{border:"",data:r(f).lists,onSelectionChange:L},{default:t(()=>[e(n,{type:"selection",width:"55"}),e(n,{label:"\u5355\u636E\u4E3B\u9898",prop:"theme","show-overflow-tooltip":""}),e(n,{label:"\u5355\u636E\u7F16\u53F7",prop:"code","show-overflow-tooltip":""}),e(n,{label:"\u501F\u6B3E\u5929\u6570",prop:"days","show-overflow-tooltip":""}),e(n,{label:"\u7533\u8BF7\u4EBA",prop:"create_user","show-overflow-tooltip":""}),e(n,{label:"\u7533\u8BF7\u91D1\u989D",prop:"total_amount","show-overflow-tooltip":""}),e(n,{label:"\u7533\u8BF7\u65E5\u671F",prop:"create_time","show-overflow-tooltip":""}),e(n,{label:"\u7968\u636E\u603B\u5F20\u6570",prop:"total_bill_num","show-overflow-tooltip":""}),e(n,{label:"\u5907\u6CE8",prop:"remark","show-overflow-tooltip":""}),e(n,{label:"\u64CD\u4F5C",width:"170",fixed:"right"},{default:t(({row:l})=>[_((s(),c(m,{type:"primary",link:"",onClick:D=>N(l)},{default:t(()=>[we]),_:2},1032,["onClick"])),[[v,["financial.financial_fee_application/edit"]]]),_((s(),c(m,{type:"danger",link:"",onClick:D=>B(l.id)},{default:t(()=>[Ce]),_:2},1032,["onClick"])),[[v,["financial.financial_fee_application/delete"]]]),_((s(),c(m,{link:"",onClick:D=>U(l.id)},{default:t(()=>[Ee]),_:2},1032,["onClick"])),[[v,["financial.financial_fee_application/detail"]]])]),_:1})]),_:1},8,["data"])]),A("div",ke,[e(O,{modelValue:r(f),"onUpdate:modelValue":a[4]||(a[4]=l=>de(f)?f.value=l:null),onChange:r(h)},null,8,["modelValue","onChange"])])]),_:1})),[[Q,r(f).loading]]),F.value?(s(),c(se,{key:0,ref_key:"editRef",ref:b,"dict-data":r(P),onSuccess:r(h),onClose:a[5]||(a[5]=l=>F.value=!1)},null,8,["dict-data","onSuccess"])):x("",!0),E.value?(s(),c(M,{key:1,ref_key:"detailRef",ref:C,onClose:a[6]||(a[6]=l=>E.value=!1),detailConfig:r(_e),column:2},null,8,["detailConfig"])):x("",!0)])}}});export{ma as default};