2 lines
5.6 KiB
JavaScript
2 lines
5.6 KiB
JavaScript
import{_ as k,a as j}from"./index.011c79f0.js";import{R as A,S as O,C as P}from"./element-plus.517d4382.js";import{P as R}from"./index.b17dae19.js";import{c as V,d as N}from"./flowSet.6da79e1c.js";import{d as y,s as S,a0 as d,r as $,o as s,c as o,V as e,M as a,T as i,U as n,W as I,a8 as L,L as g,u as T,a 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={style:{"margin-left":"5px",display:"block"}},G=["href"],H={key:1},J=y({name:"customdetail"}),K=y({...J,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(Q,{expose:E,emit:F}){const r=S(),m=d([]),l=d({}),D=async u=>{if(u.annex&&u.annex.length>0){const f=u.annex.map((t,_)=>({name:`\u6587\u4EF6${_+1}`,uri:t}));Object.assign(m,f)}Object.assign(l,u),h()},B=async()=>{var u;(u=r.value)==null||u.close()},v=()=>{var u;(u=r.value)==null||u.open()},c=()=>{F("close")},p=$([]),h=async()=>{if(l!=null&&l.approve_id)return;let u=await V();p.value=u};return E({open:v,setFormData:D}),(u,f)=>{const t=A,_=O,x=P,w=k,C=j;return s(),o("div",W,[e(R,{ref_key:"popupRef",ref:r,title:"\u6295\u6807\u51B3\u7B56\u8BE6\u60C5",async:!0,width:"80%",onConfirm:B,onClose:c},{default:a(()=>[e(x,null,{default:a(()=>[e(_,{column:3,border:""},{default:a(()=>[e(t,{label:"\u6D41\u7A0B\u7F16\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.code),1)]),_:1}),e(t,{label:"\u9879\u76EE\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.project_name),1)]),_:1}),e(t,{label:"\u9879\u76EE\u7F16\u7801","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.project_code),1)]),_:1}),e(t,{label:"\u5BA2\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.custom_name),1)]),_:1}),e(t,{label:"\u9879\u76EE\u4F30\u7B97(\u4E07\u5143)","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.project_estimation),1)]),_:1}),e(t,{label:"\u62DB\u6807\u9879\u76EE\u8D44\u91D1\u6765\u6E90","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.bidding_project_fund_source),1)]),_:1}),e(t,{label:"\u6295\u6807\u65F6\u95F4","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.bidding_time),1)]),_:1}),e(t,{label:"\u62DB\u6807\u65B9\u5F0F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.bid_type),1)]),_:1}),e(t,{label:"\u7ADE\u4E89\u5BF9\u624B","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.competitor),1)]),_:1}),e(t,{label:"\u662F\u5426\u9700\u8981\u4FDD\u8BC1\u91D1","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.is_margin),1)]),_:1}),e(t,{label:"\u4FDD\u8BC1\u91D1\u91D1\u989D(\u5143)","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.margin_amount),1)]),_:1}),e(t,{label:"\u5F00\u6807\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.bid_opening_date),1)]),_:1}),e(t,{label:"\u4FDD\u8BC1\u91D1\u9000\u8FD8\u65F6\u95F4","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.margin_amount_return_date),1)]),_:1}),e(t,{label:"\u6709\u65E0\u5185\u90E8\u8D44\u6E90","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.is_internal_resources),1)]),_:1}),e(t,{label:"\u9879\u76EE\u628A\u63E1\u5EA6","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.project_assurance),1)]),_:1}),e(t,{label:"\u62DB\u6807\u9879\u76EE\u6982\u51B5","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.bid_project_overview),1)]),_:1}),e(t,{label:"\u9879\u76EE\u7B80\u4ECB","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[i(n(l.project_desc),1)]),_:1}),e(t,{label:"\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[m.length>0?(s(),o("div",q,[(s(!0),o(I,null,L(m,(b,X)=>(s(),o("div",z,[M("a",{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:b.uri,target:"_blank"},n(b.name),9,G)]))),256))])):(s(),o("div",H,"\u6682\u65E0\u9644\u4EF6"))]),_:1})]),_:1})]),_:1}),!(l!=null&&l.approve_id)||l.approve_check_status==4?(s(),g(w,{key:0,flows:p.value,submitApi:T(N),id:l==null?void 0:l.id,onOff:c},null,8,["flows","submitApi","id"])):(s(),g(C,{key:1,approve_id:l==null?void 0:l.approve_id,onOff:c},null,8,["approve_id"]))]),_:1},512)])}}});const Sl=U(K,[["__scopeId","data-v-62fd66f1"]]);export{Sl as default};
|