linwei
2024-02-21 e7dce36f4b45d4986b8b09781e3c822c00d3f4e1
src/views/article/components/deitDiscussion.vue
@@ -211,7 +211,7 @@
          calcHeight: 54,
          dialogWidth: 950,
          tip: false,
          border: false,
          border: true,
          //stripe:true,
          index: true,
          editBtn: false,
@@ -260,6 +260,7 @@
          total: 0
        },
        query: {},
        newData: {},
      }
    },
@@ -273,14 +274,16 @@
      },
      searchReset() {
        this.query = {}
        this.getUserPage(this.userPage)
        this.query.articleId = this.articleId
        this.userPage.currentPage = 1
        this.getUserPage(this.userPage, this.query)
      },
      searchChange(params, done) {
        this.query = params
        this.query.articleId = this.articleId
        this.userPage.currentPage = 1
        this.getUserPage(this.userPage, params)
        this.getUserPage(this.userPage, this.query)
        done()
      },
      initData(newData) {
@@ -411,6 +414,7 @@
      openUser(row, type = 0) {
        this.popupTableUserShow = true
        this.query = {}
        this.articleId = row.id
        if (type == 0) {
          this.userParams = {
            articleId: row.id