Commit 6989bdf6 authored by xinzhedeai's avatar xinzhedeai

fix: 列表接口请求问题处理

parent 3e0db5e7
......@@ -815,11 +815,11 @@ var reqApis = function () {
this.loadData()
}
},
{
type: 'success', icon: 'el-icon-s-data', name: '图表', 'callback': function () {
reqApi.common.openCharts.call(this);
}
},
// {
// type: 'success', icon: 'el-icon-s-data', name: '图表', 'callback': function () {
// reqApi.common.openCharts.call(this);
// }
// },
{
type: 'warning', icon: 'el-icon-document', name: '导出', 'callback': function () {
reqApi.common.toExports.call(this);
......@@ -843,6 +843,8 @@ var reqApis = function () {
//this.Dict.baseInfo["jctime"].table = partTableStatus;
this.table.page = 1;
this.loadData()
this.initChart1();
this.getCanvasData();
}
},
{
......
......@@ -933,13 +933,14 @@ export default {
});
}
},
loadData: function () {
// console.log(this.form, "form");
this.initChart1();
this.getCanvasData();
// loadData: function () {
// // console.log(this.form, "form");
// // this.initChart1();
// // this.getCanvasData();
return reqApi.common.getRequst;
},
// return reqApi.common.getRequst;
// },
loadData:reqApi.common.getRequst,
cancelForm() {
this.form.visible = false;
},
......
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