2 lines
5.6 KiB
JavaScript
2 lines
5.6 KiB
JavaScript
import{_ as j,a as O}from"./index.cf38292c.js";import{R as k,S as A,C as P}from"./element-plus.b3353ca6.js";import{P as R}from"./index.771e5a41.js";import{a as S}from"./custom.735a8774.js";import{d as g,s as f,a0 as c,r as V,o as _,c as $,V as e,M as a,T as u,U as n,L as d,u as I}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{e as N,f as T}from"./flowSet.0350f9c8.js";import{_ as L}from"./index.892155dd.js";import"./@element-plus.b89f1627.js";import"./approve.cdf281c2.js";import"./flow.ec77bb69.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"./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 M={class:"detail-popup"},U=g({name:"customdetail"}),q=g({...U,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(z,{expose:y,emit:D}){f();const s=f(),E=c([]);c({provinceOptions:[],cityOptions:[],areaOptions:[]});const l=c({}),r=async i=>{if(i.annex&&i.annex.length>0){const o=i.annex.map((t,p)=>({name:`\u6587\u4EF6${p+1}`,uri:t}));Object.assign(E,o)}Object.assign(l,i),C()},F=async i=>{const o=await S({id:i.id});r(o)},v=async()=>{var i;(i=s.value)==null||i.close()},B=()=>{var i;(i=s.value)==null||i.open()},m=()=>{D("close")},b=V([]),C=async()=>{if(l!=null&&l.approve_id)return;let i=await N();b.value=i};return y({open:B,setFormData:r,getDetail:F}),(i,o)=>{const t=k,p=A,w=P,x=j,h=O;return _(),$("div",M,[e(R,{ref_key:"popupRef",ref:s,title:"\u8D2D\u4E70\u6807\u4E66\u8BE6\u60C5",async:!0,width:"80%",onConfirm:v,onClose:m},{default:a(()=>[e(w,null,{default:a(()=>[e(p,{column:3,border:""},{default:a(()=>[e(t,{label:"\u9879\u76EE\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(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(()=>[u(n(l.project_code),1)]),_:1}),e(t,{label:"\u6D41\u7A0B\u7F16\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(l.code),1)]),_:1}),e(t,{label:"\u5BA2\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(l.custom_name),1)]),_:1}),e(t,{label:"\u62DB\u6807\u516C\u53F8\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(l.invite_tenders_company_name),1)]),_:1}),e(t,{label:"\u6295\u6807\u516C\u53F8\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(l.bid_company_name),1)]),_:1}),e(t,{label:"\u6807\u4E66\u7F16\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(l.bid_document_no),1)]),_:1}),e(t,{label:"\u8D2D\u4E70\u4EBA\u5458","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(l.buyer),1)]),_:1}),e(t,{label:"\u8D2D\u4E70\u6807\u4E66\u91D1\u989D(\u5143)","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(l.amount),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(()=>[u(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(()=>[u(n(l.bidding_time),1)]),_:1}),e(t,{label:"\u8D2D\u4E70\u6807\u4E66\u65F6\u95F4","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(l.buy_date),1)]),_:1}),e(t,{label:"\u62DB\u6807\u65B9\u5F0F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(l.bid_type),1)]),_:1}),e(t,{label:"\u6D41\u7A0B\u662F\u5426\u7ED3\u675F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(l.amount),1)]),_:1}),e(t,{label:"\u6295\u6807\u5730\u5740","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(l.bid_address),1)]),_:1}),e(t,{label:"\u662F\u5426\u9700\u8981\u4FDD\u8BC1\u91D1","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(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(()=>[u(n(l.margin_amount),1)]),_:1}),e(t,{label:"\u62DB\u6807\u9879\u76EE\u6168\u51B5","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(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(()=>[u(n(l.project_desc),1)]),_:1})]),_:1})]),_:1}),!(l!=null&&l.approve_id)||l.approve_check_status==4?(_(),d(x,{key:0,flows:b.value,submitApi:I(T),id:l==null?void 0:l.id,onOff:m},null,8,["flows","submitApi","id"])):(_(),d(h,{key:1,approve_id:l==null?void 0:l.approve_id,onOff:m},null,8,["approve_id"]))]),_:1},512)])}}});const kl=L(q,[["__scopeId","data-v-435d94fe"]]);export{kl as default};
|