fix: bug修复、优化

1.endpoint、module param的null异常
2.model-panel-chart展示静态数据
3.chart纵坐标刻度异常,有多个“1”
4.asset-endpoint二级列表的operation列隐藏
5.panel接口不需要分页参数
This commit is contained in:
chenjinsong
2020-05-21 19:21:25 +08:00
parent fac7af468a
commit 469847e674
8 changed files with 43 additions and 24 deletions

View File

@@ -91,7 +91,7 @@
<el-scrollbar class="el-scrollbar-large" style="height: 100%" ref="dashboardScrollbar">
<div class="box-content">
<chart-list @on-edit-chart="editData" @on-refresh-time="refreshTime" @on-remove-chart="removeData"
ref="chartList"></chart-list>
ref="chartList" :is-model="from == 'model'"></chart-list>
</div>
</el-scrollbar>
</div>
@@ -320,7 +320,7 @@
});
},
getTableData(linkId) {
this.$get('panel', {pageNo: 1, pageSize: -1, type: this.from, link: linkId}).then(response => {
this.$get('panel', {type: this.from, link: linkId}).then(response => {
if (response.code === 200) {
this.panelData = response.data.list;
if (this.panelData.length > 0) {