Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-register
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-register
Commits
ae4f3878
提交
ae4f3878
authored
6月 07, 2022
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增页面标题字段
上级
46a31f93
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
7 行增加
和
2 行删除
+7
-2
SetBasic.vue
src/modules/activity/components/SetBasic.vue
+4
-0
Create.vue
src/modules/activity/views/Create.vue
+1
-0
List.vue
src/modules/activity/views/List.vue
+2
-2
没有找到文件。
src/modules/activity/components/SetBasic.vue
浏览文件 @
ae4f3878
<
template
>
<
template
>
<div>
<div>
<el-form
ref=
"form"
:disabled=
"!!$route.query.type"
:inline=
"true"
:rules=
"rules"
:model=
"form"
>
<el-form
ref=
"form"
:disabled=
"!!$route.query.type"
:inline=
"true"
:rules=
"rules"
:model=
"form"
>
<el-form-item
label=
"页面标题:"
prop=
"title"
>
<el-input
v-model=
"form.title"
></el-input>
</el-form-item>
<el-form-item
label=
"活动名称:"
prop=
"name"
>
<el-form-item
label=
"活动名称:"
prop=
"name"
>
<el-input
v-model=
"form.name"
></el-input>
<el-input
v-model=
"form.name"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -45,6 +48,7 @@ export default {
...
@@ -45,6 +48,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
rules
:
{
rules
:
{
title
:
{
required
:
true
,
message
:
'请填写页面标题'
,
trigger
:
'blur'
},
name
:
{
required
:
true
,
message
:
'请填写活动标题'
,
trigger
:
'blur'
},
name
:
{
required
:
true
,
message
:
'请填写活动标题'
,
trigger
:
'blur'
},
max_number
:
[
max_number
:
[
{
required
:
true
,
message
:
'请填写最大参与人数'
,
trigger
:
'blur'
},
{
required
:
true
,
message
:
'请填写最大参与人数'
,
trigger
:
'blur'
},
...
...
src/modules/activity/views/Create.vue
浏览文件 @
ae4f3878
...
@@ -76,6 +76,7 @@ export default {
...
@@ -76,6 +76,7 @@ export default {
}
}
],
],
basicForm
:
{
basicForm
:
{
title
:
''
,
name
:
''
,
name
:
''
,
max_number
:
''
,
max_number
:
''
,
project_id
:
''
,
project_id
:
''
,
...
...
src/modules/activity/views/List.vue
浏览文件 @
ae4f3878
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
<el-button
type=
"text"
v-if=
"row.isEdit && row.status != 3"
@
click=
"handleStop(row)"
>
停止活动
</el-button>
<el-button
type=
"text"
v-if=
"row.isEdit && row.status != 3"
@
click=
"handleStop(row)"
>
停止活动
</el-button>
<el-button
type=
"text"
v-if=
"!row.isEdit"
@
click=
"handleUpdate(row)"
>
编辑
</el-button>
<el-button
type=
"text"
v-if=
"!row.isEdit"
@
click=
"handleUpdate(row)"
>
编辑
</el-button>
<el-button
type=
"text"
v-if=
"!row.isEdit"
@
click=
"deleteRegister(row)"
>
删除
</el-button>
<el-button
type=
"text"
v-if=
"!row.isEdit"
@
click=
"deleteRegister(row)"
>
删除
</el-button>
<!--
<el-button
type=
"text"
@
click=
"deleteRegister(row)"
>
删除
</el-button>
-->
<el-button
type=
"text"
@
click=
"copyUrl(row)"
v-if=
"row.status != 3"
>
复制活动链接
</el-button>
<el-button
type=
"text"
@
click=
"copyUrl(row)"
v-if=
"row.status != 3"
>
复制活动链接
</el-button>
</
template
>
</
template
>
</app-list>
</app-list>
...
@@ -114,8 +115,7 @@ export default {
...
@@ -114,8 +115,7 @@ export default {
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
})
}).
then
(()
=>
{
.
then
(()
=>
{
this
.
$message
({
this
.
$message
({
type
:
'success'
,
type
:
'success'
,
message
:
'删除成功!'
message
:
'删除成功!'
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论