2 lines
3.4 KiB
JavaScript
2 lines
3.4 KiB
JavaScript
import{C as _}from"./element-plus.258bf9e7.js";import{i as f}from"./echarts.50cbfcc9.js";import{g as b}from"./statistics.e06923ca.js";import{_ as v}from"./index.ec401e3b.js";import{a0 as h,a5 as y,o as s,L as d,M as c,a as t,c as w,a8 as g,W as S,U as m,b7 as k,b6 as x}from"./@vue.ab566ce7.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"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./lodash.1d82ee7c.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"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const u=n=>(k("data-v-2060b7c3"),n=n(),x(),n),B=u(()=>t("div",{class:"card-header"},[t("span",null,"\u9879\u76EE\u6295\u6807")],-1)),C={style:{display:"flex","justify-content":"space-around"}},I=u(()=>t("div",{id:"main"},null,-1)),L={__name:"Tender",setup(n){const o=h([{name:"\u6295\u6807\u51B3\u7B56",value:0,url:"/construction/tender/bid_bidding_decision"},{name:"\u8D2D\u4E70\u6807\u4E66",value:0,url:"/construction/tender/bid_buy_bidding_document"},{name:"\u6807\u4E66\u5BA1\u67E5",value:0,url:"/construction/tender/reviewTender/bid_document_examination"},{name:"\u672A\u9000\u4FDD\u8BC1\u91D1\u989D",value:0,url:"/construction/finance/deposit/BidBond"},{name:"\u4E2D\u6807\u9879\u76EE",value:0,url:"/construction/tender/bid_result"}]),p=(e,r)=>{var i=document.getElementById(e),l=f(i);l.setOption(r)};return(async()=>{let e=await b(),r=+e.bidding_rate*100,i={title:{text:"{a|"+r+"}{c|%}",x:"center",y:"center",textStyle:{rich:{a:{fontSize:20,color:"black",fontWeight:"bold"},c:{fontSize:20,color:"black",fontWeight:"normal"}}}},series:[{name:"\u5916\u73AF",type:"pie",silent:!0,clockwise:!0,radius:["70%","75%"],label:{show:!1},labelLine:{show:!1},itemStyle:{color:"white"},data:[0]},{name:"\u5185\u73AF",type:"pie",silent:!0,clockwise:!0,radius:["45%","46%"],label:{show:!1},labelLine:{show:!1},itemStyle:{color:"#414f63"},data:[0]},{name:"",type:"pie",radius:["55%","65%"],silent:!0,clockwise:!0,startAngle:90,label:{show:!1},data:[{value:r,itemStyle:{normal:{borderWidth:.5,shadowBlur:20,borderColor:"#4bf3f9",shadowColor:"#9bfeff",color:{colorStops:[{offset:0,color:"#15caff"},{offset:1,color:"#159bfe"}]}}}},{value:100-r,label:{normal:{show:!1}},itemStyle:{normal:{color:"#364662"}}}]}]};p("main",i),o[0].value=e.decision,o[1].value=e.document,o[2].value=e.examination,o[3].value=e.not_return_margin_amount,o[4].value=e.successful})(),(e,r)=>{const i=y("router-link"),l=_;return s(),d(l,{style:{width:"49.9%"}},{header:c(()=>[B]),default:c(()=>[t("div",C,[(s(!0),w(S,null,g(o,a=>(s(),d(i,{to:{path:a.url,query:a.query?{...a.query}:null},key:a,class:"header-btn"},{default:c(()=>[t("div",null,[t("div",null,m(a.value),1),t("div",null,m(a.name),1)])]),_:2},1032,["to"]))),128))]),I]),_:1})}}},de=v(L,[["__scopeId","data-v-2060b7c3"]]);export{de as default};
|