async btnB(item, btnIndex, coord) {
      // 查找dh/tm
      await this.getPropertyByTable(item, this.filterForm.documentType, 'dh')
      await this.getPropertyByTable(item, this.filterForm.documentType, 'tm')
      await this.loopGetNodeParents(this.tabledata, 0)
    },
    getPropertyByTable(row, catId, property) {
      return new Promise(resolve => {
        getPropertyByTable(params).then(res => {
        // 操作后端返回数据
          resolve()
        }).catch(() => {
          this.$message.error('系统错误请联系管理员')
        })
      })
    },
Logo

前往低代码交流专区

更多推荐