Showing
3 changed files
with
18 additions
and
3 deletions
| 1 | /* | 1 | /* |
| 2 | * @Date: 2022-10-20 13:15:00 | 2 | * @Date: 2022-10-20 13:15:00 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2022-10-20 21:42:18 | 4 | + * @LastEditTime: 2022-10-21 16:54:03 |
| 5 | * @FilePath: /swx/src/api/Reg/index.js | 5 | * @FilePath: /swx/src/api/Reg/index.js |
| 6 | * @Description: 报名信息 | 6 | * @Description: 报名信息 |
| 7 | */ | 7 | */ |
| ... | @@ -12,6 +12,8 @@ const Api = { | ... | @@ -12,6 +12,8 @@ const Api = { |
| 12 | REG_ADD: '/srv/?a=reg_add', | 12 | REG_ADD: '/srv/?a=reg_add', |
| 13 | REG_EDIT: '/srv/?a=reg_edit', | 13 | REG_EDIT: '/srv/?a=reg_edit', |
| 14 | REG_CANCEL: '/srv/?a=reg_cancel', | 14 | REG_CANCEL: '/srv/?a=reg_cancel', |
| 15 | + REG_LIST: '/srv/?a=reg_list', | ||
| 16 | + REG_STATUS: '/srv/?a=reg_set_status', | ||
| 15 | } | 17 | } |
| 16 | 18 | ||
| 17 | /** | 19 | /** |
| ... | @@ -37,3 +39,15 @@ export const editRegAPI = (params) => fn(fetch.post(Api.REG_EDIT, params)); | ... | @@ -37,3 +39,15 @@ export const editRegAPI = (params) => fn(fetch.post(Api.REG_EDIT, params)); |
| 37 | * @returns | 39 | * @returns |
| 38 | */ | 40 | */ |
| 39 | export const cancelRegAPI = (params) => fn(fetch.post(Api.REG_CANCEL, params)); | 41 | export const cancelRegAPI = (params) => fn(fetch.post(Api.REG_CANCEL, params)); |
| 42 | + | ||
| 43 | +/** | ||
| 44 | + * @description: 活动报名列表 | ||
| 45 | + * @returns | ||
| 46 | + */ | ||
| 47 | +export const listRegAPI = (params) => fn(fetch.post(Api.REG_LIST, params)); | ||
| 48 | + | ||
| 49 | +/** | ||
| 50 | + * @description: 修改活动状态 | ||
| 51 | + * @returns | ||
| 52 | + */ | ||
| 53 | +export const statusRegAPI = (params) => fn(fetch.post(Api.REG_STATUS, params)); | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-26 16:10:35 | 2 | * @Date: 2022-09-26 16:10:35 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2022-10-20 18:27:46 | 4 | + * @LastEditTime: 2022-10-21 13:37:32 |
| 5 | * @FilePath: /swx/src/components/activity-bar.vue | 5 | * @FilePath: /swx/src/components/activity-bar.vue |
| 6 | * @Description: 活动详情页底部导航栏 | 6 | * @Description: 活动详情页底部导航栏 |
| 7 | --> | 7 | --> |
| ... | @@ -81,7 +81,7 @@ const goTo = (type) => { | ... | @@ -81,7 +81,7 @@ const goTo = (type) => { |
| 81 | } | 81 | } |
| 82 | } else if (type === 'list') { // 报名列表 | 82 | } else if (type === 'list') { // 报名列表 |
| 83 | Taro.navigateTo({ | 83 | Taro.navigateTo({ |
| 84 | - url: '../joinList/index?id=' | 84 | + url: '../joinList/index?id=' + getCurrentPageParam().id |
| 85 | }) | 85 | }) |
| 86 | } else if (type === 'edit') { // 修改活动 | 86 | } else if (type === 'edit') { // 修改活动 |
| 87 | const id = getCurrentPageParam().id; | 87 | const id = getCurrentPageParam().id; |
| ... | @@ -93,6 +93,7 @@ const goTo = (type) => { | ... | @@ -93,6 +93,7 @@ const goTo = (type) => { |
| 93 | 93 | ||
| 94 | </script> | 94 | </script> |
| 95 | 95 | ||
| 96 | + | ||
| 96 | <style lang="less"> | 97 | <style lang="less"> |
| 97 | @import '@/assets/styles/base.less'; | 98 | @import '@/assets/styles/base.less'; |
| 98 | 99 | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment