分页bug修复
This commit is contained in:
@@ -162,8 +162,8 @@
|
|||||||
/* 刷新表格 */
|
/* 刷新表格 */
|
||||||
reload() {
|
reload() {
|
||||||
this.loading=true;
|
this.loading=true;
|
||||||
this.momData = [];
|
|
||||||
listAvgCompositeIndex(this.where).then((res) => {
|
listAvgCompositeIndex(this.where).then((res) => {
|
||||||
|
this.momData = [];
|
||||||
console.log(res.data.data);
|
console.log(res.data.data);
|
||||||
if (res.data.code == 0) {
|
if (res.data.code == 0) {
|
||||||
this.$message.success(res.data.msg);
|
this.$message.success(res.data.msg);
|
||||||
|
|||||||
@@ -165,9 +165,9 @@
|
|||||||
/* 刷新表格 */
|
/* 刷新表格 */
|
||||||
reload() {
|
reload() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.momData = [];
|
|
||||||
listAvgWaterQualitySandard(this.where).then((res) => {
|
listAvgWaterQualitySandard(this.where).then((res) => {
|
||||||
console.log(res.data.data);
|
console.log(res.data.data);
|
||||||
|
this.momData = [];
|
||||||
if (res.data.code == 0) {
|
if (res.data.code == 0) {
|
||||||
this.$message.success(res.data.msg);
|
this.$message.success(res.data.msg);
|
||||||
res.data.data.forEach((m) => {
|
res.data.data.forEach((m) => {
|
||||||
|
|||||||
@@ -167,9 +167,9 @@
|
|||||||
/* 刷新表格 */
|
/* 刷新表格 */
|
||||||
reload() {
|
reload() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.momData = [];
|
|
||||||
listMonthCompositeIndex(this.where).then((res) => {
|
listMonthCompositeIndex(this.where).then((res) => {
|
||||||
console.log(res.data.data);
|
console.log(res.data.data);
|
||||||
|
this.momData = [];
|
||||||
if (res.data.code == 0) {
|
if (res.data.code == 0) {
|
||||||
this.$message.success(res.data.msg);
|
this.$message.success(res.data.msg);
|
||||||
res.data.data.forEach((m) => {
|
res.data.data.forEach((m) => {
|
||||||
|
|||||||
@@ -183,8 +183,8 @@
|
|||||||
/* 刷新表格 */
|
/* 刷新表格 */
|
||||||
reload() {
|
reload() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.datasource = [];
|
|
||||||
listNationalStandard(this.where).then((res) => {
|
listNationalStandard(this.where).then((res) => {
|
||||||
|
this.datasource = [];
|
||||||
console.log(res.data.data);
|
console.log(res.data.data);
|
||||||
if (res.data.code == 0) {
|
if (res.data.code == 0) {
|
||||||
this.$message.success(res.data.msg);
|
this.$message.success(res.data.msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user