Commit 6989bdf6 authored by xinzhedeai's avatar xinzhedeai

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

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