|
@@ -1,78 +1,372 @@
|
|
|
+<% include ./tender_sub_menu.ejs %>
|
|
|
<div class="panel-content">
|
|
|
- <div class="panel-title fluid">
|
|
|
+ <div class="panel-title">
|
|
|
<div class="title-main d-flex justify-content-between">
|
|
|
+ <h2>进行至 第7期<small class="text-warning">(审批中)</small></h2>
|
|
|
<div>
|
|
|
- <div class="btn-group">
|
|
|
- <a href="/tender">返回 </a>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <a href="#add-bd" data-toggle="modal" data-target="#save-bd" class="btn btn-outline-primary btn-sm">编辑</a> <a href="#del-bd" data-toggle="modal" data-target="#del-bd" class="btn btn-outline-danger btn-sm">删除</a>
|
|
|
+ <a href="biaoduan-xiezuo.html" class="btn btn-sm btn-light" ><i class="fa fa-users"></i> 协作办公</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="content-wrap">
|
|
|
<div class="c-body">
|
|
|
- <table class="table table-bordered table-sm">
|
|
|
- <thead><th width="300">名称</th><th width="120">标段类型</th><th width="120">审批状态</th><th width="120">创建时间</th><th>计量进度</th></thead>
|
|
|
- <tr><td><%= tenderInfo.name %></td>
|
|
|
- <td><%= tenderConst.typeString[tenderInfo.type] %></td>
|
|
|
- <td><%= tenderConst.statusString[tenderInfo.status] %></td>
|
|
|
- <td><%= tenderInfo.create_time > 0 ? moment(tenderInfo.create_time * 1000).format('YYYY-MM-DD') : '-' %></td>
|
|
|
- <td>
|
|
|
- <div class="progress">
|
|
|
- <div class="progress-bar bg-success" style="width: 45%;" data-placement="bottom" data-toggle="tooltip" data-original-title="截止本期累计完成:¥731,121,121.00">45%</div>
|
|
|
- <div class="progress-bar bg-info" style="width:25%;" data-placement="bottom" data-toggle="tooltip" data-original-title="本期完成:¥31,121,121.00">25%</div>
|
|
|
- <div class="progress-bar bg-gray" style="width:30%;" data-placement="bottom" data-toggle="tooltip" data-original-title="未完成:¥71,121,121.00">30%</div>
|
|
|
+ <!--金额概况-->
|
|
|
+ <div class="row mb-5">
|
|
|
+ <div class="col-auto">
|
|
|
+ <div class="card text-center">
|
|
|
+ <div class="card-body">
|
|
|
+ <h5 class="card-title">163,000.00</h5>
|
|
|
+ <p class="card-text text-muted">0号台帐合同</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col-auto">
|
|
|
+ <div class="card text-center">
|
|
|
+ <div class="card-body">
|
|
|
+ <h5 class="card-title">30,000.00</h5>
|
|
|
+ <p class="card-text text-muted">本期完成</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col-auto">
|
|
|
+ <div class="card text-center">
|
|
|
+ <div class="card-body">
|
|
|
+ <h5 class="card-title">50,000.00 <small class="text-danger" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="占合同比例">1%</small></h5>
|
|
|
+ <p class="card-text text-muted">截止本期变更</p>
|
|
|
</div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- <table class="table table-bordered table-sm">
|
|
|
- <thead>
|
|
|
- <th width="120">计量期数</th>
|
|
|
- <th>0号台帐合同</th>
|
|
|
- <th>本期完成</th>
|
|
|
- <th>截止本期合同</th>
|
|
|
- <th>截止本期变更</th>
|
|
|
- <th>截止本期完成</th>
|
|
|
- <th>截止上期完成</th>
|
|
|
- <th>本期应付</th>
|
|
|
- </thead>
|
|
|
- <tr>
|
|
|
- <td>15 <a href="jiliang-qi.html" target="_balnk"><i class="fa fa-ellipsis-h"></i></a></td>
|
|
|
- <td>0</td>
|
|
|
- <td>0</td>
|
|
|
- <td>0</td>
|
|
|
- <td>0</td>
|
|
|
- <td>0</td>
|
|
|
- <td>0</td>
|
|
|
- <td>0</td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- <!--图表1-->
|
|
|
- <div id="chartContainer1" style="height: 400px; width: 100%;" class="mt-5">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col-auto">
|
|
|
+ <div class="card text-center">
|
|
|
+ <div class="card-body">
|
|
|
+ <h5 class="card-title">70,000.00</h5>
|
|
|
+ <p class="card-text text-muted">截止本期完成</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col-auto">
|
|
|
+ <div class="card text-center">
|
|
|
+ <div class="card-body">
|
|
|
+ <h5 class="card-title">40,000.00</h5>
|
|
|
+ <p class="card-text text-muted">截止上期完成</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col-auto">
|
|
|
+ <div class="card text-center">
|
|
|
+ <div class="card-body">
|
|
|
+ <h5 class="card-title">30,000.00</h5>
|
|
|
+ <p class="card-text text-muted">本期应付</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <!--图表3-->
|
|
|
- <div id="chartContainer3" style="height: 400px; width: 100%;" class="mt-5">
|
|
|
+ <!--进度条-->
|
|
|
+ <div class="mb-5">
|
|
|
+ <div class="progress">
|
|
|
+ <div class="progress-bar bg-success" style="width: 24%;" data-placement="bottom" data-toggle="tooltip" data-original-title="截止上期累计完成:¥40,000.00">24%</div>
|
|
|
+ <div class="progress-bar bg-info" style="width:18%;" data-placement="bottom" data-toggle="tooltip" data-original-title="本期完成:¥30,000.00">18%</div>
|
|
|
+ <div class="progress-bar bg-gray" style="width:58%;" data-placement="bottom" data-toggle="tooltip" data-original-title="未完成:¥930,00.00">58%</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <!--图表2-->
|
|
|
- <div id="chartContainer2" style="height: 600px; width: 100%;">
|
|
|
+ <ul class="nav nav-tabs">
|
|
|
+ <li class="nav-item">
|
|
|
+ <a class="nav-link active" data-toggle="tab" href="#tubiao" role="tab">进度表</a>
|
|
|
+ </li>
|
|
|
+ <li class="nav-item">
|
|
|
+ <a class="nav-link" data-toggle="tab" href="#shuxing" role="tab">标段属性</a>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ <div class="tab-content">
|
|
|
+ <!--进度表-->
|
|
|
+ <div id="tubiao" class="tab-pane active">
|
|
|
+ <!--月进度图表-->
|
|
|
+ <div id="chartContainer3" style="height: 300px; width: 100%;" class="my-5">
|
|
|
+ </div>
|
|
|
+ <!--期汇总图表-->
|
|
|
+ <div id="chartContainer4" style="height: 300px; width: 100%;" class="mb-5">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!--标段属性-->
|
|
|
+ <div id="shuxing" class="tab-pane">
|
|
|
+ <!--操作-->
|
|
|
+ <div class="d-flex justify-content-end mt-3"><button type="button" class="btn btn-sm btn-outline-primary">编辑</button></div>
|
|
|
+ <div class="d-flex justify-content-end mt-3"><button type="button" class="btn btn-sm btn-outline-success"><i class="fa fa-check"></i> 提交</button> <button type="button" class="btn btn-sm btn-outline-danger"><i class="fa fa-close"></i> 取消</button></div>
|
|
|
+ <!--合同信息-->
|
|
|
+ <legend class="mt-3">合同信息</legend>
|
|
|
+ <!--默认显示-->
|
|
|
+ <div class="form-group">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">建设项目名称</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="项目A" readonly="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">合同编号</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="" readonly="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">合同名称</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="" readonly="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!--参建单位-->
|
|
|
+ <legend class="mt-3">参建单位</legend>
|
|
|
+ <!--编辑模式-->
|
|
|
+ <div class="form-group">
|
|
|
+ <label>建设单位:</label>
|
|
|
+ <div class="row">
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">单位名称</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">法人代表</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">签订日期</span>
|
|
|
+ </div>
|
|
|
+ <input type="date" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label>承包单位1:</label>
|
|
|
+ <div class="row">
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">单位名称</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">法人代表</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">签订日期</span>
|
|
|
+ </div>
|
|
|
+ <input type="date" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label>承包单位2:</label>
|
|
|
+ <div class="row">
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">单位名称</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">法人代表</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">签订日期</span>
|
|
|
+ </div>
|
|
|
+ <input type="date" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label>监理单位1:</label>
|
|
|
+ <div class="row">
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">单位名称</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">法人代表</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">签订日期</span>
|
|
|
+ </div>
|
|
|
+ <input type="date" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label>监理单位2:</label>
|
|
|
+ <div class="row">
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">单位名称</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">法人代表</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">签订日期</span>
|
|
|
+ </div>
|
|
|
+ <input type="date" class="form-control" value="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!--技术参数-->
|
|
|
+ <legend class="mt-3">技术参数</legend>
|
|
|
+ <div class="form-group">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">公路等级</span>
|
|
|
+ </div>
|
|
|
+ <select class="form-control" disabled="">
|
|
|
+ <option>高速公路</option>
|
|
|
+ <option>一级公路</option>
|
|
|
+ <option>二级公路</option>
|
|
|
+ <option>三级公路</option>
|
|
|
+ <option>四级公路</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">长度(KM)</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="" readonly="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">起始桩号</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="" readonly="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">终止桩号</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="" readonly="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">车道数</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="" readonly="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">合同工期</span>
|
|
|
+ </div>
|
|
|
+ <input type="text" class="form-control" value="" readonly="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">开工日期</span>
|
|
|
+ </div>
|
|
|
+ <input type="date" class="form-control" value="" readonly="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="input-group input-group-sm">
|
|
|
+ <div class="input-group-prepend">
|
|
|
+ <span class="input-group-text">计划完工日期</span>
|
|
|
+ </div>
|
|
|
+ <input type="date" class="form-control" value="" readonly="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<script src=/public/js/echarts/echarts.min.js></script>
|
|
|
<script type="text/javascript">
|
|
|
- //1 标段期数计量进度//
|
|
|
- var myChart = echarts.init(document.getElementById('chartContainer1'));
|
|
|
+ //4 标段期数计量进度//
|
|
|
+ var myChart = echarts.init(document.getElementById('chartContainer4'));
|
|
|
var option = {
|
|
|
color: ['#e9af68','#57b7b6','#e4575a','#959eac','#6699FF',
|
|
|
'#d38b70','#8fb7cf','#cd5c5c','#ffa500','#40e0d0',
|
|
|
'#1e90ff','#ff6347','#7b68ee','#00fa9a','#ffd700',
|
|
|
- '#5c616b','#ff6666','#3cb371','#b8860b','#30e0e0'], title : {
|
|
|
- text: '期进度',
|
|
|
- x:'left'
|
|
|
+ '#5c616b','#ff6666','#3cb371','#b8860b','#30e0e0'],
|
|
|
+ title : {
|
|
|
+ text: '标段期进度'
|
|
|
},
|
|
|
tooltip : {
|
|
|
trigger: 'axis'
|
|
@@ -81,22 +375,24 @@
|
|
|
legend: {
|
|
|
data:['本期合同计量','本期数量变更计量','截至上期累计完成','本期完成计量','完成度']
|
|
|
},
|
|
|
- dataZoom : {
|
|
|
- show : true,
|
|
|
- start :0,
|
|
|
- end : 100
|
|
|
- },
|
|
|
+ dataZoom: [
|
|
|
+ {show: true,start: 0, end: 100}
|
|
|
+ ],
|
|
|
xAxis : [
|
|
|
{
|
|
|
type : 'category',
|
|
|
- splitLine : {show :true},
|
|
|
+ splitLine : {show : true},
|
|
|
data : ['第一期','第二期','第三期','第四期','第五期','第六期','第七期']
|
|
|
}
|
|
|
],
|
|
|
yAxis : [
|
|
|
{
|
|
|
type : 'value',
|
|
|
- position: 'left',
|
|
|
+ name : '金额',
|
|
|
+ position:'left',
|
|
|
+ axisLabel : {
|
|
|
+ formatter: '{value} 元'
|
|
|
+ },
|
|
|
splitArea : {show : true}
|
|
|
},
|
|
|
{
|
|
@@ -106,8 +402,7 @@
|
|
|
formatter: '{value} %'
|
|
|
},
|
|
|
position: 'right',
|
|
|
- splitLine : {show :false},
|
|
|
- splitArea : {show : false}
|
|
|
+ splitArea : {show : true}
|
|
|
}
|
|
|
],
|
|
|
series : [
|
|
@@ -151,51 +446,14 @@
|
|
|
|
|
|
// 为echarts对象加载数据
|
|
|
myChart.setOption(option);
|
|
|
- //1 标段期数计量进度//
|
|
|
- //2 期数组成//
|
|
|
- var myChart = echarts.init(document.getElementById('chartContainer2'));
|
|
|
- var option = {
|
|
|
- color: ['#e9af68','#57b7b6','#e4575a','#959eac','#6699FF',
|
|
|
- '#d38b70','#8fb7cf','#cd5c5c','#ffa500','#40e0d0',
|
|
|
- '#1e90ff','#ff6347','#7b68ee','#00fa9a','#ffd700',
|
|
|
- '#5c616b','#ff6666','#3cb371','#b8860b','#30e0e0'],
|
|
|
- title : {
|
|
|
- text: '期完成占比',
|
|
|
- x:'left'
|
|
|
- },
|
|
|
-
|
|
|
- tooltip : {
|
|
|
- trigger: 'item',
|
|
|
- formatter: "{a} <br/>{b}:{c} 元<br>占标段:{d} %"
|
|
|
- },
|
|
|
- calculable : true,
|
|
|
- series : [
|
|
|
- {
|
|
|
- name:'标段计量分布',
|
|
|
- type:'pie',
|
|
|
- radius : '80%',
|
|
|
- center: ['50%','50%'],
|
|
|
- data:[
|
|
|
- {value:7814964.00, name:'第一期'},
|
|
|
- {value:6043186.10, name:'第二期'},
|
|
|
- {value:6917475.00, name:'第三期'},
|
|
|
- {value:7634982.00, name:'第四期'},
|
|
|
- {value:7634982.00, name:'第五期'},
|
|
|
- {value:7634982.00, name:'第六期'},
|
|
|
- {value:7634982.00, name:'第七期'}
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- };
|
|
|
- // 为echarts对象加载数据
|
|
|
- myChart.setOption(option);
|
|
|
- //2 期数组成//
|
|
|
- //3 标段计量分布//
|
|
|
+ //4 标段期数计量进度//
|
|
|
+ //3 标段月进度//
|
|
|
+ // 基于准备好的dom,初始化echarts图表
|
|
|
var myChart = echarts.init(document.getElementById('chartContainer3'));
|
|
|
var option = {
|
|
|
- color:['#ff6666','#3cb371'],
|
|
|
+ color:["#e9af68","#57b7b6"],
|
|
|
title : {
|
|
|
- text: '期月进度'
|
|
|
+ text: '标段月进度'
|
|
|
},
|
|
|
tooltip : {
|
|
|
trigger: 'axis',
|
|
@@ -204,9 +462,15 @@
|
|
|
legend: {
|
|
|
data:['累计完成','本月完成']
|
|
|
},
|
|
|
+ toolbox: {
|
|
|
+ show : true,
|
|
|
+ feature : {
|
|
|
+ magicType : {show: true, type: ['line', 'bar']}
|
|
|
+ }
|
|
|
+ },
|
|
|
dataZoom : {
|
|
|
show : true,
|
|
|
- start :50,
|
|
|
+ start : 50,
|
|
|
end : 100
|
|
|
},
|
|
|
xAxis : [
|
|
@@ -214,7 +478,7 @@
|
|
|
type : 'category',
|
|
|
boundaryGap : true,
|
|
|
data : [
|
|
|
- '2017-01','2017-02','2017-03','2017-04','2017-05','2017-06','2017-07','2017-08','2017-09'
|
|
|
+ '2月','3月','4月','5月','6月','7月','8月','9月','10月'
|
|
|
]
|
|
|
}
|
|
|
],
|
|
@@ -260,9 +524,7 @@
|
|
|
}
|
|
|
]
|
|
|
};
|
|
|
-
|
|
|
-
|
|
|
// 为echarts对象加载数据
|
|
|
myChart.setOption(option);
|
|
|
- //3 标段计量分布//
|
|
|
+ //3 标段月进度//
|
|
|
</script>
|