2 lines
3.6 KiB
JavaScript
2 lines
3.6 KiB
JavaScript
import{P}from"./index.b17dae19.js";import{_ as I,a as O}from"./index.011c79f0.js";import{_ as R,R as V,S as N,C as S}from"./element-plus.517d4382.js";import{I as T,J as $}from"./flowSet.6da79e1c.js";import{d as v,a0 as _,r as m,o,c as l,V as s,M as u,W as d,a8 as b,L as n,u as J,U as f,T as M}from"./@vue.ab566ce7.js";import{_ as U}from"./index.8b1962e9.js";import"./@element-plus.b89f1627.js";import"./approve.bbbe5096.js";import"./flow.34e13ba8.js";import"./vue-router.87ebc608.js";import"./@vueuse.8fcae4c2.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.1d82ee7c.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const W={class:"detail-popup"},q={key:0},z={key:1},G=v({name:"customdetail"}),H=v({...G,emits:["success","close"],setup(K,{expose:E,emit:F}){const k=_([{lable:"\u9879\u76EE\u540D\u79F0",value:["project_name"]},{lable:"\u9879\u76EE\u7F16\u7801",value:["project_code"]},{lable:"\u501F\u6B3E\u4EBA",value:["apply_user"]},{lable:"\u501F\u6B3E\u7533\u8BF7\u65E5\u671F",value:["loan_date"]},{lable:"\u501F\u6B3E\u91D1\u989D",value:["loan_amount"]},{lable:"\u6536\u6B3E\u4EBA\u59D3\u540D",value:["payee_name"]},{lable:"\u6536\u6B3E\u94F6\u884C",value:["payee_bank"]},{lable:"\u6536\u6B3E\u8D26\u53F7",value:["payee_account"]},{lable:"\u8D26\u6237\u7F16\u7801",value:["bank_account","account_sn"]},{lable:"\u5F00\u6237\u94F6\u884C",value:["bank_account","deposit_bank"]},{lable:"\u5F00\u6237\u540D\u79F0",value:["bank_account","account_name"]},{lable:"\u5F00\u6237\u8D26\u53F7",value:["bank_account","account"]},{lable:"\u9644\u4EF6",value:["annex"]},{lable:"\u5907\u6CE8",value:["remark"]}]),r=m(null),e=_({}),y=async a=>{Object.assign(e,a),h()},B=()=>{var a;(a=r.value)==null||a.open()},p=()=>{F("close")},c=m([]),h=async()=>{if(e!=null&&e.approve_id)return;let a=await T();c.value=a};return E({open:B,setFormData:y}),(a,Q)=>{const w=R,C=V,g=N,x=S,D=I,j=O,A=P;return o(),l("div",W,[s(A,{ref_key:"popupRef",ref:r,async:!0,width:"80%",onClose:p},{default:u(()=>[s(x,null,{default:u(()=>[s(g,{column:3,title:"\u501F\u6B3E\u7533\u8BF7\u8BE6\u60C5",border:""},{default:u(()=>[(o(!0),l(d,null,b(k,(t,L)=>(o(),n(C,{label:t.lable,"label-align":"left",align:"left","label-class-name":"my-label",key:L},{default:u(()=>[t.lable!="\u9644\u4EF6"?(o(),l("span",q,f(t.value.length>1?e[t.value[0]][t.value[1]]:e[t.value[0]]),1)):(o(),l("span",z,[(o(!0),l(d,null,b(e.annex,i=>(o(),n(w,{class:"m-2",href:i.uri,target:"_blank"},{default:u(()=>[M(f(i.name),1)]),_:2},1032,["href"]))),256))]))]),_:2},1032,["label"]))),128))]),_:1})]),_:1}),!(e!=null&&e.approve_id)||e.approve_check_status==4?(o(),n(D,{key:0,flows:c.value,submitApi:J($),id:e==null?void 0:e.id,onOff:p},null,8,["flows","submitApi","id"])):(o(),n(j,{key:1,approve_id:e==null?void 0:e.approve_id,onOff:p},null,8,["approve_id"]))]),_:1},512)])}}});const Re=U(H,[["__scopeId","data-v-56c88d7f"]]);export{Re as default};
|