2 lines
3.1 KiB
JavaScript
2 lines
3.1 KiB
JavaScript
import{P as D}from"./index.9492d03b.js";import{_ as O,a as R}from"./index.a91b9a2c.js";import{a2 as V,R as I,S as N,C as S}from"./element-plus.258bf9e7.js";import{y as T,z as $}from"./flowSet.6e7dc427.js";import{d as b,a0 as _,r as m,o as t,c as a,V as r,M as l,W as d,a8 as f,L as p,u as z,U as v,T as M}from"./@vue.ab566ce7.js";import{_ as U}from"./index.ec401e3b.js";import"./@element-plus.b89f1627.js";import"./approve.4bfa22cd.js";import"./flow.825559ec.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.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const W={class:"detail-popup"},q={key:0},G={key:1},H=b({name:"customdetail"}),J=b({...H,emits:["success","close"],setup(K,{expose:E,emit:k}){const y=_([{lable:"\u9879\u76EE\u540D\u79F0",value:["project_name"]},{lable:"\u9879\u76EE\u7F16\u7801",value:["project_code"]},{lable:"\u8C03\u6574\u65E5\u671F",value:["adjust_date"]},{lable:"\u8C03\u6574\u91D1\u989D",value:["adjust_amount"]},{lable:"\u9644\u4EF6",value:["annex"]},{lable:"\u5907\u6CE8",value:["remark"]}]),i=m(null),e=_({}),C=async o=>{Object.assign(e,o),w()},h=()=>{var o;(o=i.value)==null||o.open()},n=()=>{k("close")},u=m([]),w=async()=>{if(e!=null&&e.approve_id)return;let o=await T();u.value=o};return E({open:h,setFormData:C}),(o,Q)=>{const g=V,j=I,x=N,F=S,B=O,L=R,P=D;return t(),a("div",W,[r(P,{ref_key:"popupRef",ref:i,async:!0,width:"80%",onClose:n},{default:l(()=>[r(F,null,{default:l(()=>[r(x,{column:3,title:"\u6210\u672C\u8C03\u6574\u8BE6\u60C5",border:""},{default:l(()=>[(t(!0),a(d,null,f(y,(s,A)=>(t(),p(j,{label:s.lable,"label-align":"left",align:"left","label-class-name":"my-label",key:A},{default:l(()=>[s.lable!="\u9644\u4EF6"?(t(),a("span",q,v(s.value.length>1?e[s.value[0]][s.value[1]]:e[s.value[0]]),1)):(t(),a("span",G,[(t(!0),a(d,null,f(e.annex,c=>(t(),p(g,{class:"m-2",href:c.uri,target:"_blank"},{default:l(()=>[M(v(c.name),1)]),_:2},1032,["href"]))),256))]))]),_:2},1032,["label"]))),128))]),_:1})]),_:1}),!(e!=null&&e.approve_id)||e.approve_check_status==4?(t(),p(B,{key:0,flows:u.value,submitApi:z($),id:e==null?void 0:e.id,onOff:n},null,8,["flows","submitApi","id"])):(t(),p(L,{key:1,approve_id:e==null?void 0:e.approve_id,onOff:n},null,8,["approve_id"]))]),_:1},512)])}}});const Ve=U(J,[["__scopeId","data-v-e4479e19"]]);export{Ve as default};
|