Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2025-09-08 18:13:37 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
315c91c8e60825788f4e77d888f5985c9c1d7050
315c91c8
1 parent
21bd2710
feat(cycle): 在周期列表和详情中添加说明字段
在周期列表接口返回和前端展示中添加description字段,用于显示周期活动的说明信息
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
src/api/cycle.js
src/views/cycle-selection.vue
src/api/cycle.js
View file @
315c91c
/*
* @Date: 2025-01-16 17:35:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-0
1-16 17:35:00
* @LastEditTime: 2025-0
9-08 18:13:28
* @FilePath: /data-table/src/api/cycle.js
* @Description: 周期接口
*/
...
...
@@ -16,6 +16,6 @@ const Api = {
* @param: client_id 主体客户id
* @param: form_code 表单唯一标识
* @returns: is_cycle 该表单是否设置了周期
* @returns: cycle_list 周期列表数组,包含id、title、start_date、end_date、reg_begin_time、reg_end_time
* @returns: cycle_list 周期列表数组,包含id、title、start_date、end_date、reg_begin_time、reg_end_time
, description
*/
export
const
getCycleListAPI
=
(
params
)
=>
fn
(
fetch
.
get
(
Api
.
CYCLE_LIST
,
params
));
...
...
src/views/cycle-selection.vue
View file @
315c91c
...
...
@@ -16,6 +16,7 @@
<div v-if="cycle.end_date">活动结束时间: {{ cycle.end_date }}</div>
<div v-if="cycle.reg_begin_time">报名开始时间: {{ cycle.reg_begin_time }}</div>
<div v-if="cycle.reg_end_time">报名结束时间: {{ cycle.reg_end_time }}</div>
<div v-if="cycle.description">说明: {{ cycle.description }}</div>
</div>
</div>
</van-radio>
...
...
Please
register
or
login
to post a comment