yangfeng
2023-10-16 61883fcf237024ceb7622daf5b23434e3eb1be74
src/views/other/commonDialog/SelectCommonDialog.vue
@@ -66,6 +66,7 @@
        return {
          editVisible: false,
          title: "",
          clientId: 0,
          tableInfomation: []
        }
      }
@@ -93,6 +94,9 @@
    }
  },
  created() {
    this.search_map = {
      client_id: this.editConfig.clientId
    }
    this.setTable()
    this.getData()
  },
@@ -391,15 +395,15 @@
        pageSize: this.pagerOptions.pageSize
      }).then((res) => {
        console.log(res.data)
        if (res.data.code === 200) {
          if (res.data.data.data && res.data.data.data.length > 0) {
            const list = res.data.data.data.map((item) => {
        if (res.code === 200) {
          if (res.data.data && res.data.data.length > 0) {
            const list = res.data.data.map((item) => {
              return {
                ...item
              }
            })
            this.tableList.tableInfomation = list || []
            this.pagerOptions.totalCount = res.data.data.count
            this.pagerOptions.totalCount = res.data.count
          } else {
            this.tableList.tableInfomation = []
          }