From e2fdfe540eaf160dc7d063c60667041edcc64e86 Mon Sep 17 00:00:00 2001 From: gaoshp <291585735@qq.com> Date: 星期二, 05 十一月 2024 22:55:14 +0800 Subject: [PATCH] 处理显示名称 --- src/views/console/system/collection.vue | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/console/system/collection.vue b/src/views/console/system/collection.vue index f25afc8..ccdfa90 100644 --- a/src/views/console/system/collection.vue +++ b/src/views/console/system/collection.vue @@ -1,7 +1,7 @@ <!-- * @Date: 2024-10-02 20:34:08 * @LastEditors: gaoshp - * @LastEditTime: 2024-10-03 10:08:26 + * @LastEditTime: 2024-10-05 10:07:12 * @FilePath: /cps-web/src/views/console/system/collection.vue --> <template> @@ -13,9 +13,8 @@ <el-button type="primary">鏂板妯$増</el-button> </el-header> <el-main> - <scTable style="width: 100%;" ref="table" row-key="id" border :params="params" :apiObj="apiObj" - stripe paginationLayout="total, prev, pager, next" @dataChange="dataChange" - @row-click="rowClick" highlight-current-row> + <scTable highlight-current-row @dataChange="dataChange" @row-click="rowClick" ref="table" + :params="params" :apiObj="apiObj" @selection-change="selectionChange" stripe> <el-table-column prop="" label="妯$増鍚嶇О" width="100px" /> <el-table-column prop="" label="绫诲瀷" /> <el-table-column prop="" label="榛樿杞" /> @@ -54,7 +53,7 @@ let params = { } - return await this.$HTTP.get(`/api/blade-cps/check-project/page`, {}, { params }).then(res => { + return await this.$HTTP.get(`/api/smart-collect/tpl/page`, {}, { params }).then(res => { res.data.records = res?.data?.records.map(v => { return { ...v, -- Gitblit v1.9.3