| | |
| | | <!-- |
| | | * @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> |
| | |
| | | <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="默认轮询" /> |
| | |
| | | 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, |