engineering/public/admin/assets/index.1c74518b.js
shengchanzhe a2653dcd36 提交pc
2024-01-27 11:43:47 +08:00

2 lines
6.2 KiB
JavaScript

import{I as G,y as H,w as J,D as K,C as Q,L as W,M as X,N as Y}from"./element-plus.4ff6f47d.js";import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang.7dabd2cb.js";import{f as ee,a as oe}from"./index.aaca920c.js";import{u as te}from"./usePaging.f6660143.js";import{u as ae}from"./useDictOptions.c83e2497.js";import{b as le,a as x,e as ue}from"./bank_account.bfd9beef.js";import"./lodash.8ea2174a.js";import{_ as ne}from"./edit.vue_vue_type_script_setup_true_name_projectEdit_lang.5b44ebe6.js";import ie from"./detail.3966645b.js";import{d as P,s as $,r as h,a0 as se,ai as re,o as r,c as de,V as e,M as t,O as _,u as d,L as p,S as R,a as L,k as pe,T as m,n as E}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.8497a500.js";import"./lodash-es.49f4af13.js";import"./dayjs.fc5568d8.js";import"./axios.5b893b79.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.4cbccc26.js";import"./color.033abf8c.js";import"./clone.a6258514.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.7eedf28f.js";import"./ms.a9ae1d6d.js";import"./nprogress.93182424.js";import"./vue-clipboard3.6a55d49e.js";import"./clipboard.2986c82d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";import"./index.ff7c6188.js";import"./department.a7058b70.js";import"./organization.f9ce12f7.js";import"./custom.01004c04.js";const ce=m("\u67E5\u8BE2"),me=m("\u91CD\u7F6E"),_e=m(" \u65B0\u589E "),fe=m(" \u5220\u9664 "),be={class:"mt-4"},Fe=m(" \u7F16\u8F91 "),ve=m(" \u5220\u9664 "),ke=m(" \u8BE6\u60C5 "),we={class:"flex mt-4 justify-end"},Ce=P({name:"bidResultLists"}),mo=P({...Ce,setup(De){const w=$(),F=$(),v=h(!1),C=h(!1),i=se({account_name:"",account:"",account_sn:"",deposit_bank:""}),D=h([]),N=u=>{D.value=u.map(({id:o})=>o)},{dictData:y}=ae("is_successful"),{pager:f,getLists:k,resetParams:S,resetPage:T}=te({fetchFun:le,params:i}),U=async()=>{var u;v.value=!0,await E(),(u=F.value)==null||u.open("add")},I=async u=>{var s,n;let o=await x({id:u.id});v.value=!0,await E(),(s=F.value)==null||s.open("edit"),(n=F.value)==null||n.setFormData(o)},V=async u=>{await ee.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await ue({id:u}),k()},A=async u=>{var s,n;let o=await x({id:u.id});C.value=!0,await E(),(s=w.value)==null||s.open(),(n=w.value)==null||n.setFormData(o)};return k(),(u,o)=>{const s=G,n=H,c=J,M=K,g=Q,j=oe,l=W,q=X,O=Z,b=re("perms"),z=Y;return r(),de("div",null,[e(g,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[e(M,{class:"mb-[-16px]",model:i,inline:""},{default:t(()=>[e(n,{label:"\u8D26\u6237\u7F16\u7801",prop:"account_sn"},{default:t(()=>[e(s,{modelValue:i.account_sn,"onUpdate:modelValue":o[0]||(o[0]=a=>i.account_sn=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8D26\u6237\u7F16\u7801"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u8D26\u53F7",prop:"account"},{default:t(()=>[e(s,{modelValue:i.account,"onUpdate:modelValue":o[1]||(o[1]=a=>i.account=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8D26\u53F7"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u5F00\u6237\u94F6\u884C",prop:"deposit_bank"},{default:t(()=>[e(s,{modelValue:i.deposit_bank,"onUpdate:modelValue":o[2]||(o[2]=a=>i.deposit_bank=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5F00\u6237\u94F6\u884C"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u5F00\u6237\u540D\u79F0",prop:"account_name"},{default:t(()=>[e(s,{modelValue:i.account_name,"onUpdate:modelValue":o[3]||(o[3]=a=>i.account_name=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5F00\u6237\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(n,null,{default:t(()=>[e(c,{type:"primary",onClick:d(T)},{default:t(()=>[ce]),_:1},8,["onClick"]),e(c,{onClick:d(S)},{default:t(()=>[me]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),_((r(),p(g,{class:"!border-none",shadow:"never"},{default:t(()=>[_((r(),p(c,{type:"primary",onClick:U},{icon:t(()=>[e(j,{name:"el-icon-Plus"})]),default:t(()=>[_e]),_:1})),[[b,["bid.bid_result/add"]]]),_((r(),p(c,{disabled:!D.value.length,onClick:o[4]||(o[4]=a=>V(D.value))},{default:t(()=>[fe]),_:1},8,["disabled"])),[[b,["bid.bid_result/delete"]]]),L("div",be,[e(q,{data:d(f).lists,onSelectionChange:N},{default:t(()=>[e(l,{type:"selection",width:"55"}),e(l,{label:"\u5E8F\u53F7",type:"index",width:"55"}),e(l,{label:"\u7EC4\u7EC7\u540D\u79F0",prop:"org_name","show-overflow-tooltip":""}),e(l,{label:"\u90E8\u95E8\u540D\u79F0",prop:"dept_name","show-overflow-tooltip":""}),e(l,{label:"\u8D26\u6237\u7F16\u7801",prop:"account_sn","show-overflow-tooltip":""}),e(l,{label:"\u5F00\u6237\u94F6\u884C",prop:"deposit_bank","show-overflow-tooltip":""}),e(l,{label:"\u5F00\u6237\u540D\u79F0",prop:"account_name","show-overflow-tooltip":""}),e(l,{label:"\u8D26\u53F7",prop:"account","show-overflow-tooltip":""}),e(l,{label:"\u5F00\u6237\u65E5\u671F",prop:"account_opening_date","show-overflow-tooltip":""}),e(l,{label:"\u671F\u521D\u91D1\u989D",prop:"opening_amount","show-overflow-tooltip":""}),e(l,{label:"\u5907\u6CE8",prop:"remark","show-overflow-tooltip":""}),e(l,{label:"\u64CD\u4F5C",width:"160",fixed:"right"},{default:t(({row:a})=>[_((r(),p(c,{type:"primary",link:"",onClick:B=>I(a)},{default:t(()=>[Fe]),_:2},1032,["onClick"])),[[b,["bid.bid_result/edit"]]]),_((r(),p(c,{type:"danger",link:"",onClick:B=>V(a.id)},{default:t(()=>[ve]),_:2},1032,["onClick"])),[[b,["bid.bid_result/delete"]]]),_((r(),p(c,{link:"",onClick:B=>A(a)},{default:t(()=>[ke]),_:2},1032,["onClick"])),[[b,["bid.bid_result/detail"]]])]),_:1})]),_:1},8,["data"])]),L("div",we,[e(O,{modelValue:d(f),"onUpdate:modelValue":o[5]||(o[5]=a=>pe(f)?f.value=a:null),onChange:d(k)},null,8,["modelValue","onChange"])])]),_:1})),[[z,d(f).loading]]),C.value?(r(),p(ie,{key:0,ref_key:"detailRef",ref:w,"dict-data":d(y),onClose:o[6]||(o[6]=a=>C.value=!1)},null,8,["dict-data"])):R("",!0),v.value?(r(),p(ne,{key:1,ref_key:"editRef",ref:F,"dict-data":d(y),onSuccess:d(k),onClose:o[7]||(o[7]=a=>v.value=!1)},null,8,["dict-data","onSuccess"])):R("",!0)])}}});export{mo as default};