| | |
| | | <p class="english">Today</p> |
| | | </view> |
| | | <view class="sub-main"> |
| | | <!-- 折线图 --> |
| | | <view class="charts-box ring"> |
| | | <qiun-data-charts type="ring" :opts="{legend:{position:'bottom'}}" :eopts="ringOpts" :chartData="chartsDataPie2" :echartsH5="true" :echartsApp="true"/> |
| | | </view> |
| | |
| | | // 主页信息 |
| | | this.getServerData(); |
| | | this.getOther(); |
| | | this.getDateFormat(); |
| | | // 其他信息 |
| | | this.getDate(); |
| | | this.getPakin(); |
| | |
| | | // 测试用 ↑ |
| | | // 返回结果有值 且值不等于空值 就是有错误信息需要展示 |
| | | if (res.data && res.data !== "") { |
| | | |
| | | that.errorMsg = res.data |
| | | that.errorShow = true |
| | | that.move = false // 显示 |
| | |
| | | method:'GET', |
| | | success(result) { |
| | | var res = result.data |
| | | console.log(result); |
| | | if (res.code === 200) { |
| | | that.chartsData.Line.categories = [ |
| | | that.getDateFormat(-11),that.getDateFormat(-10),that.getDateFormat(-9),that.getDateFormat(-8), |