s
王震
2023-11-06 c09eeede806fb7ebd47434464fa6acbe3d29c3e3
src/views/common/ztt-table.vue
@@ -936,7 +936,7 @@
      }
    },
    getDataList(selectedId) {
      this.dataListLoading = true
      // this.dataListLoading = true
      var criteria = {}
      criteria.dateTimeFilters = this.dateTimeFilters
      criteria.multiSearchFilter = this.multiSearchFilter
@@ -959,7 +959,6 @@
          arr.push(this.paramArr[i])
        }
      }
      this.dataListLoading = false
      return this.doCallback(this.ajaxFun, arr, selectedId)
    },
    doCallback(fn, args, selectedId) {
@@ -1000,6 +999,7 @@
              this.clickTable(selectObj)
            }
          }
        this.$emit('change',resultData);
        })
        .catch((error) => {
          this.dataListLoading = false
@@ -1532,6 +1532,7 @@
          }
        }
      }
      console.log(this.columnList);
      this.tableKey = Math.random()
      // this.$forceUpdate();
      const currPathColumnOrder = this.currPath + '_column'