zhongrj
2023-12-25 f1d2203a9325430c0273b707ba74b00ec28bb71e
Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/jczz_web
2 files modified
19 ■■■■ changed files
src/api/article/articleComment.js 13 ●●●●● patch | view | raw | blame | history
src/views/article/articleComment.vue 6 ●●●● patch | view | raw | blame | history
src/api/article/articleComment.js
@@ -11,6 +11,17 @@
    }
  })
}
export const getPageList = (current, size, params) => {
  return request({
    url: '/api/blade-articleComment/articleComment/pageWeb',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
export const getListWords = (current, size, params) => {
  return request({
@@ -69,4 +80,4 @@
      type
    }
  })
}
}
src/views/article/articleComment.vue
@@ -16,7 +16,7 @@
</template>
<script>
  import {
    getList,
    getPageList,
    remove,
    update,
    add,
@@ -167,7 +167,7 @@
          ...params,
        };
        this.loading = true;
        getList(page.currentPage, page.pageSize, values).then((res) => {
        getPageList(page.currentPage, page.pageSize, values).then((res) => {
          const data = res.data.data;
          this.page.total = data.total;
          this.dataList = data.records;
@@ -184,4 +184,4 @@
</script>
<style>
</style>
</style>