Commit f83f8b3c by zhangzhen

界面展示优化

parent 8a208d1e
...@@ -266,9 +266,6 @@ ...@@ -266,9 +266,6 @@
this.currentTime = dayjs().format("YYYY-MM-DD HH:mm:ss") this.currentTime = dayjs().format("YYYY-MM-DD HH:mm:ss")
}, 1000); }, 1000);
this.queryCompanyInfo(); this.queryCompanyInfo();
this.setOption();
this.setOption2();
this.getYesterdayDateFormatted(); this.getYesterdayDateFormatted();
this.initPage(); this.initPage();
this.onSetInterval(); this.onSetInterval();
...@@ -351,10 +348,10 @@ ...@@ -351,10 +348,10 @@
inInfo.set('inqu_status-0-date',this.dataPicker) inInfo.set('inqu_status-0-date',this.dataPicker)
IPLAT.EiCommunicator.send('HPBI003', 'querySbYes', inInfo, { IPLAT.EiCommunicator.send('HPBI003', 'querySbYes', inInfo, {
onSuccess: function (res) { onSuccess: function (res) {
if(undefined != res.extAttr.result[0]){ if( res.extAttr.result.length){
const dataList = res.extAttr.result; const dataList = res.extAttr.result;
_this.querySbYesDate = res.extAttr.date; _this.querySbYesDate = res.extAttr.date;
_this.setOption()
_this.querySbYesList = dataList.map((item, index) => { _this.querySbYesList = dataList.map((item, index) => {
const getChartOptionByIndex = (index) => { const getChartOptionByIndex = (index) => {
return { return {
...@@ -441,6 +438,7 @@ ...@@ -441,6 +438,7 @@
if(undefined != res.extAttr.result[0]){ if(undefined != res.extAttr.result[0]){
const dataList = res.extAttr.result; const dataList = res.extAttr.result;
_this.querySbNODate = res.extAttr.date; _this.querySbNODate = res.extAttr.date;
_this.setOption2()
_this.querySbNoList = dataList.map((item, index) => { _this.querySbNoList = dataList.map((item, index) => {
const getChartOptionByIndex = (index) => { const getChartOptionByIndex = (index) => {
return { return {
...@@ -582,7 +580,7 @@ ...@@ -582,7 +580,7 @@
}, },
xAxis: { xAxis: {
type: 'category', type: 'category',
data: this.querySbYesDate, data: this.querySbNODate,
axisLabel: { axisLabel: {
textStyle: { textStyle: {
color: '#ffffff' // 设置y轴标签字体颜色为白色 color: '#ffffff' // 设置y轴标签字体颜色为白色
......
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