2 lines
3.6 KiB
JavaScript
2 lines
3.6 KiB
JavaScript
import{C as f}from"./element-plus.e4fb7a4f.js";import{C as v}from"./vue-echarts.6feee81a.js";import{g as h}from"./statistics.a5adaa91.js";import{_ as b}from"./index.7acaae17.js";import{r as y,a0 as w,j as g,a5 as x,o as n,L as u,M as s,a as t,c as S,a8 as k,W as B,V as C,u as d,U as p,b7 as L,b6 as I}from"./@vue.5673dc6e.js";import"./@vueuse.ae0833ee.js";import"./@element-plus.d30df31f.js";import"./lodash-es.5979d539.js";import"./dayjs.4e54c873.js";import"./axios.c27a9cd7.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-demi.ebc8116b.js";import"./resize-detector.4e96b72b.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./lodash.12303e67.js";import"./vue-router.137bc04e.js";import"./pinia.dba679c5.js";import"./css-color-function.dbea5a6e.js";import"./color.0b62cf11.js";import"./clone.b8d2a027.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.25f38407.js";import"./ms.a9ae1d6d.js";import"./nprogress.026d6bda.js";import"./vue-clipboard3.1a74f940.js";import"./clipboard.80ee0599.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.00aeb742.js";const T=a=>(L("data-v-28e7a242"),a=a(),I(),a),W=T(()=>t("div",{class:"card-header"},[t("span",null,"\u9879\u76EE\u6295\u6807")],-1)),q={style:{display:"flex","justify-content":"space-around"}},z={class:"chart"},F={__name:"Tender",setup(a){let c=y({});const o=w([{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"}]),m=async()=>{let e=await h(),i=(+e.bidding_rate*100).toFixed(2),l={title:{text:"{a|"+i+"}{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:i,itemStyle:{normal:{borderWidth:.5,shadowBlur:20,borderColor:"#4bf3f9",shadowColor:"#9bfeff",color:{colorStops:[{offset:0,color:"#15caff"},{offset:1,color:"#159bfe"}]}}}},{value:100-i,label:{normal:{show:!1}},itemStyle:{normal:{color:"#364662"}}}]}]};c.value=l,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};return g(()=>{m()}),(e,i)=>{const l=x("router-link"),_=f;return n(),u(_,{style:{width:"49.9%"}},{header:s(()=>[W]),default:s(()=>[t("div",q,[(n(!0),S(B,null,k(o,r=>(n(),u(l,{to:{path:r.url,query:r.query?{...r.query}:null},key:r,class:"header-btn"},{default:s(()=>[t("div",null,[t("div",null,p(r.value.toFixed(2)),1),t("div",null,p(r.name),1)])]),_:2},1032,["to"]))),128))]),t("div",z,[C(d(v),{style:{height:"300px"},option:d(c),autoresize:!0},null,8,["option"])])]),_:1})}}},ve=b(F,[["__scopeId","data-v-28e7a242"]]);export{ve as default};
|