田源
2023-12-08 9b51b2a07769ee049937e16dd45d8c36c87dcc3c
Source/UBCS-WEB/src/components/Master/MasterTree.vue
@@ -31,10 +31,6 @@
      type: String,
      default: ''
    },
    isLoading:{
      type: Boolean,
      default:false
    }
  },
  data() {
    return {
@@ -151,14 +147,17 @@
    },
    //表格刷新
    TableRend() {
      this.isLoading = true;
      this.loading = true;
      this.$emit('loading', this.loading)
      TableData({
        templateOid: this.templateOids,
        codeClassifyOid: this.nodeClickList.oid,
        page: this.currentPage,
        limit: this.pageSize,
      }).then(res => {
        this.isLoading = false;
        // console.log('tab',res)
        this.loading = false;
        this.$emit('loading', this.loading)
        this.tableDataArray = res.data.data;
        this.$emit('tableDataArray', this.tableDataArray)
        this.$emit('total', res.data.total)
@@ -187,7 +186,7 @@
          List.forEach(item => {
            let columnItem = {
              label: item.title,
              prop: item.queryField,
              prop: item.field,
              // type: this.columnType[item.type],
              sortable: item.sort,
              width: item.minWidth