Commit f83f8b3c by zhangzhen

界面展示优化

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