Commit c75b8a57 authored by 车宾's avatar 车宾

fea(化验室槽液趋势图):删除无效代码

parent 515fbe3f
...@@ -60,11 +60,6 @@ export default { ...@@ -60,11 +60,6 @@ export default {
// 清空div中的内容和结构 // 清空div中的内容和结构
domItem.innerHTML = ''; domItem.innerHTML = '';
let sampleCharts = Echarts.init(domItem); let sampleCharts = Echarts.init(domItem);
var charts = {
// unit: '户数',
// names: ['进给轴倍率', '主轴负载']
// lineX:new Date(this.createTime).getTime(),
};
let opt = { let opt = {
tooltip: { tooltip: {
trigger: 'axis' trigger: 'axis'
...@@ -76,12 +71,10 @@ export default { ...@@ -76,12 +71,10 @@ export default {
containLabel: true containLabel: true
}, },
xAxis: { xAxis: {
// name: '日期',
type: 'category', type: 'category',
boundaryGap: false, boundaryGap: false,
data: this.timesArrList, data: this.timesArrList,
nameTextStyle: { nameTextStyle: {
// fontWeight: 'bold',
fontSize: 18, fontSize: 18,
color: 'red' color: 'red'
} }
...@@ -90,7 +83,6 @@ export default { ...@@ -90,7 +83,6 @@ export default {
name: this.nameY, name: this.nameY,
type: 'value', type: 'value',
nameTextStyle: { nameTextStyle: {
// fontWeight: 'bold',
fontSize: 16, fontSize: 16,
color: '#aaa' color: '#aaa'
} }
......
...@@ -99,7 +99,6 @@ ...@@ -99,7 +99,6 @@
:sendData="item.itemRecords" :sendData="item.itemRecords"
:timesArrList="parsingTimeList" :timesArrList="parsingTimeList"
></ChartsLine> ></ChartsLine>
<!-- <ChartsLine :sendData="item"></ChartsLine> -->
</div> </div>
</div> </div>
</div> </div>
...@@ -152,9 +151,6 @@ export default { ...@@ -152,9 +151,6 @@ export default {
this.getBathSolutionData() this.getBathSolutionData()
this.getArgumentData() this.getArgumentData()
this.getNowYearMonth() this.getNowYearMonth()
// let height = (document.getElementById('pagePack').offsetHeight) - (document.getElementById('content').offsetHeight)
// // console.log((document.getElementById('pagePack').offsetHeight) - (document.getElementById('content').offsetHeight), '23232323232323232')
// document.getElementById('haveno').style.height = height - 100 + 'px'
}, },
methods: { methods: {
// 获取图表默认数据 // 获取图表默认数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment