2 lines
4.7 KiB
JavaScript
2 lines
4.7 KiB
JavaScript
import{R as v,S as C}from"./element-plus.258bf9e7.js";import{P as k}from"./index.9492d03b.js";import{a as O}from"./custom.13e75d58.js";import{d,s as b,a0 as _,o as s,c as u,V as e,M as a,T as o,U as n,W as j,a8 as A,a as w}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as R}from"./index.ec401e3b.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.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"./vue-router.87ebc608.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 V={class:"detail-popup"},N={key:0},P={style:{"margin-left":"5px",display:"block"}},S=["href"],I={key:1},T=d({name:"customdetail"}),L=d({...T,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(M,{expose:g,emit:y}){b();const r=b(),c=_([]);_({provinceOptions:[],cityOptions:[],areaOptions:[]});const t=_({}),f=async i=>{if(i.annex&&i.annex.length>0){const m=i.annex.map((l,p)=>({name:`\u6587\u4EF6${p+1}`,uri:l}));Object.assign(c,m)}Object.assign(t,i),console.log(t,"2222222222")},E=async i=>{const m=await O({id:i.id});f(m)},F=async()=>{var i;(i=r.value)==null||i.close()},D=()=>{var i;console.log("1111111"),(i=r.value)==null||i.open()},h=()=>{y("close")};return g({open:D,setFormData:f,getDetail:E}),(i,m)=>{const l=v,p=C;return s(),u("div",V,[e(k,{ref_key:"popupRef",ref:r,title:"\u6295\u6807\u7ED3\u679C\u8BE6\u60C5",async:!0,width:"80%",onConfirm:F,onClose:h},{default:a(()=>[e(p,{column:3,border:""},{default:a(()=>[e(l,{label:"\u6295\u6807\u7F16\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.bid_document_examination_code),1)]),_:1}),e(l,{label:"\u5BA2\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.custom_name),1)]),_:1}),e(l,{label:"\u9879\u76EE\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.project_name),1)]),_:1}),e(l,{label:"\u9879\u76EE\u7F16\u7801","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.project_code),1)]),_:1}),e(l,{label:"\u6295\u6807\u65F6\u95F4","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.bidding_time),1)]),_:1}),e(l,{label:"\u5F00\u6807\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.bid_opening_date),1)]),_:1}),e(l,{label:"\u662F\u5426\u4E2D\u6807","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.is_successful_text),1)]),_:1}),e(l,{label:"\u4E2D\u6807\u5355\u4F4D","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.bidder_company),1)]),_:1}),e(l,{label:"\u4E2D\u6807\u91D1\u989D","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.bidder_amount),1)]),_:1}),e(l,{label:"\u6295\u6807\u603B\u7ED3","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.bid_summary),1)]),_:1}),e(l,{label:"\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[c.length>0?(s(),u("div",N,[(s(!0),u(j,null,A(c,(x,B)=>(s(),u("div",P,[w("a",{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:x.uri,target:"_blank"},"\u6587\u4EF6"+n(B+1)+"\u67E5\u770B",9,S)]))),256))])):(s(),u("div",I," \u6682\u65E0\u9644\u4EF6"))]),_:1}),e(l,{label:"\u6DFB\u52A0\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.add_user_name),1)]),_:1}),e(l,{label:"\u521B\u5EFA\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.create_time),1)]),_:1}),e(l,{label:"\u66F4\u65B0\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.update_user_name),1)]),_:1}),e(l,{label:"\u66F4\u65B0\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.update_time),1)]),_:1})]),_:1})]),_:1},512)])}}});const hl=R(L,[["__scopeId","data-v-c2a01fe0"]]);export{hl as default};
|