提交代码
This commit is contained in:
@@ -153,11 +153,9 @@
|
||||
<div class="bw-b-bottom-up">
|
||||
<div class="tab-wrap">
|
||||
<div class="tab" data-value="2">
|
||||
<div class="t-item ">施工分包商</div>
|
||||
<div class="t-item active">施工分包商</div>
|
||||
<div class="spline"></div>
|
||||
<div class="t-item active">安装单位工程</div>
|
||||
<div class="spline"></div>
|
||||
<div class="t-item">建筑单位工程</div>
|
||||
<div class="t-item">单位工程</div>
|
||||
<div class="spline"></div>
|
||||
<div class="t-item">专业</div>
|
||||
</div>
|
||||
@@ -193,9 +191,7 @@
|
||||
<div class="bw-b-bottom-up">
|
||||
<div class="tab-wrap">
|
||||
<div class="tab" data-value="4">
|
||||
<div class="t-item active">安装单位工程</div>
|
||||
<div class="spline"></div>
|
||||
<div class="t-item">建筑单位工程</div>
|
||||
<div class="t-item active">单位工程</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bw-item-content">
|
||||
@@ -296,7 +292,7 @@
|
||||
var one2 =<%=One2 %>
|
||||
var one3 =<%=One3 %>
|
||||
category_One('one1', "质量验收一次合格率", one1, one1 + "%")
|
||||
category_One('one2', "施工资料同步率", one2, one2 + "%")
|
||||
category_One('one2', "焊接一次拍片合格率", one2, one2 + "%")
|
||||
category_One('one3', "质量问题整改完成率", one3, one3 + "%")
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
@@ -587,7 +583,7 @@
|
||||
textStyle: {
|
||||
color: 'rgba(255, 255, 255, 0.8)'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
series: data,
|
||||
grid: {
|
||||
@@ -608,7 +604,7 @@
|
||||
// 使用刚指定的配置项和数据显示图表。
|
||||
myChart.setOption(option)
|
||||
}
|
||||
var two2 =<%=Two2 %>;
|
||||
var two2 =<%=Two %>;
|
||||
//var xArr = ["分包1", "分包2", "分包3", "分包4", "分包5", "分包6", "分包7", "分包8", "分包9"]
|
||||
var xArr = two2.categories
|
||||
var data = [
|
||||
@@ -619,6 +615,15 @@
|
||||
barWidth: 40,
|
||||
//data: [3, 5, 8, 10, 6, 4, 5, 9, 12],
|
||||
data: two2.series[0].data,
|
||||
label: { //柱体上显示数值
|
||||
show: true,//开启显示
|
||||
position: ['0%', '50%'],//在上方显示
|
||||
textStyle: {//数值样式
|
||||
fontSize: '20px',
|
||||
color: '#fff'
|
||||
},
|
||||
formatter: '{c}',
|
||||
},
|
||||
itemStyle: { normal: { color: 'rgba(162,63,21, 1)' } }
|
||||
},
|
||||
{
|
||||
@@ -628,6 +633,15 @@
|
||||
barWidth: 40,
|
||||
//data: [2, 7, 5, 9, 12, 9, 2, 8, 10],
|
||||
data: two2.series[1].data,
|
||||
label: { //柱体上显示数值
|
||||
show: true,//开启显示
|
||||
position: ['0%', '50%'],//在上方显示
|
||||
textStyle: {//数值样式
|
||||
fontSize: '20px',
|
||||
color: '#fff'
|
||||
},
|
||||
formatter: '{c}',
|
||||
},
|
||||
itemStyle: { normal: { color: 'rgba(206,143,135,1)' } }
|
||||
}
|
||||
]
|
||||
@@ -728,7 +742,7 @@
|
||||
itemStyle: { normal: { color: 'rgba(43,155,176,1)' } }
|
||||
},
|
||||
{
|
||||
name: '施工资料同步率',
|
||||
name: '焊接一次拍片合格率',
|
||||
type: 'bar',
|
||||
data: three.series[1].data,
|
||||
barCategoryGap: 10,
|
||||
@@ -849,15 +863,16 @@
|
||||
barWidth: 30,
|
||||
barGap: 0,
|
||||
data: four.series[0].data,
|
||||
label: { //柱体上显示数值
|
||||
show: true,//开启显示
|
||||
position: ['0%', '50%'],//在上方显示
|
||||
textStyle: {//数值样式
|
||||
fontSize: '20px',
|
||||
color: '#fff'
|
||||
},
|
||||
formatter: '{c}',
|
||||
},
|
||||
itemStyle: { normal: { color: 'rgba(43,155,176,1)' } }
|
||||
},
|
||||
{
|
||||
name: '施工资料同步率',
|
||||
type: 'bar',
|
||||
data: four.series[1].data,
|
||||
barWidth: 30,
|
||||
//barCategoryGap:20,
|
||||
itemStyle: { normal: { color: 'rgba(140,202,214, 1)' } }
|
||||
}];
|
||||
category('four', xArr, series)
|
||||
</script>
|
||||
@@ -892,6 +907,15 @@
|
||||
stack: '总量',
|
||||
//data: [3, 5, 8, 10, 6, 4, 5, 9, 12],
|
||||
data: two.series[0].data,
|
||||
label: { //柱体上显示数值
|
||||
show: true,//开启显示
|
||||
position: ['0%', '50%'],//在上方显示
|
||||
textStyle: {//数值样式
|
||||
fontSize: '20px',
|
||||
color: '#fff'
|
||||
},
|
||||
formatter: '{c}',
|
||||
},
|
||||
itemStyle: { normal: { color: 'rgba(162,63,21, 1)' } }
|
||||
},
|
||||
{
|
||||
@@ -900,6 +924,15 @@
|
||||
stack: '总量',
|
||||
//data: [2, 7, 5, 9, 12, 9, 2, 8, 10],
|
||||
data: two.series[1].data,
|
||||
label: { //柱体上显示数值
|
||||
show: true,//开启显示
|
||||
position: ['0%', '50%'],//在上方显示
|
||||
textStyle: {//数值样式
|
||||
fontSize: '20px',
|
||||
color: '#fff'
|
||||
},
|
||||
formatter: '{c}',
|
||||
},
|
||||
itemStyle: { normal: { color: 'rgba(206,143,135,1)' } }
|
||||
}
|
||||
];
|
||||
@@ -914,6 +947,15 @@
|
||||
stack: '总量',
|
||||
//data: [13, 5, 18, 10, 6, 4, 5, 9, 22],
|
||||
data: two2.series[0].data,
|
||||
label: { //柱体上显示数值
|
||||
show: true,//开启显示
|
||||
position: ['0%', '50%'],//在上方显示
|
||||
textStyle: {//数值样式
|
||||
fontSize: '20px',
|
||||
color: '#fff'
|
||||
},
|
||||
formatter: '{c}',
|
||||
},
|
||||
itemStyle: { normal: { color: 'rgba(162,63,21, 1)' } }
|
||||
},
|
||||
{
|
||||
@@ -922,35 +964,21 @@
|
||||
stack: '总量',
|
||||
//data: [2, 7, 15, 9, 12, 29, 12, 18, 10],
|
||||
data: two2.series[1].data,
|
||||
label: { //柱体上显示数值
|
||||
show: true,//开启显示
|
||||
position: ['0%', '50%'],//在上方显示
|
||||
textStyle: {//数值样式
|
||||
fontSize: '20px',
|
||||
color: '#fff'
|
||||
},
|
||||
formatter: '{c}',
|
||||
},
|
||||
itemStyle: { normal: { color: 'rgba(206,143,135,1)' } }
|
||||
}
|
||||
];
|
||||
num = two2.xFontNum;
|
||||
}
|
||||
else if (index == 4) {
|
||||
//xArr = ["专业1", "专业2", "专业3", "专业4", "专业5", "专业6", "专业7", "专业8", "专业9"]
|
||||
xArr = two4.categories
|
||||
data = [
|
||||
{
|
||||
name: '未整改',
|
||||
type: 'bar',
|
||||
stack: '总量',
|
||||
//data: [23, 25, 18, 10, 16, 4, 5, 29, 2],
|
||||
data: two4.series[0].data,
|
||||
itemStyle: { normal: { color: 'rgba(162,63,21, 1)' } }
|
||||
},
|
||||
{
|
||||
name: '已整改',
|
||||
type: 'bar',
|
||||
stack: '总量',
|
||||
//data: [2, 27, 15, 9, 12, 29, 32, 18, 1],
|
||||
data: two4.series[1].data,
|
||||
itemStyle: { normal: { color: 'rgba(206,143,135,1)' } }
|
||||
}
|
||||
];
|
||||
num = two4.xFontNum;
|
||||
}
|
||||
else if (index == 6) {
|
||||
//xArr = ["专业1", "专业2", "专业3", "专业4", "专业5", "专业6", "专业7", "专业8", "专业9"]
|
||||
xArr = two3.categories
|
||||
data = [
|
||||
@@ -960,6 +988,15 @@
|
||||
stack: '总量',
|
||||
//data: [23, 25, 18, 10, 16, 4, 5, 29, 2],
|
||||
data: two3.series[0].data,
|
||||
label: { //柱体上显示数值
|
||||
show: true,//开启显示
|
||||
position: ['0%', '50%'],//在上方显示
|
||||
textStyle: {//数值样式
|
||||
fontSize: '20px',
|
||||
color: '#fff'
|
||||
},
|
||||
formatter: '{c}',
|
||||
},
|
||||
itemStyle: { normal: { color: 'rgba(162,63,21, 1)' } }
|
||||
},
|
||||
{
|
||||
@@ -968,6 +1005,15 @@
|
||||
stack: '总量',
|
||||
//data: [2, 27, 15, 9, 12, 29, 32, 18, 1],
|
||||
data: two3.series[1].data,
|
||||
label: { //柱体上显示数值
|
||||
show: true,//开启显示
|
||||
position: ['0%', '50%'],//在上方显示
|
||||
textStyle: {//数值样式
|
||||
fontSize: '20px',
|
||||
color: '#fff'
|
||||
},
|
||||
formatter: '{c}',
|
||||
},
|
||||
itemStyle: { normal: { color: 'rgba(206,143,135,1)' } }
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user