Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-activity-center
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a5dc3fc2
authored
Dec 27, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
上传
1 parent
00387bc6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
src/views/activityRecord/addRecord.vue
src/views/activityRecord/index.vue
src/views/activityRecord/addRecord.vue
View file @
a5dc3fc
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
</div>
</div>
</div>
</div>
<el-form-item
label=
"活动介绍:"
prop=
"activityEvent"
>
<el-form-item
label=
"活动介绍:"
prop=
"activityEvent"
>
<el-input
type=
"textarea"
v-model=
"recordForm.activityEvent"
maxlength=
"500"
:disabled=
"routeInfo.addOrEdit == 2"
></el-input>
<el-input
type=
"textarea"
v-model=
"recordForm.activityEvent"
maxlength=
"500"
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
</div>
</div>
...
@@ -311,7 +311,7 @@ export default {
...
@@ -311,7 +311,7 @@ export default {
}
}
})
})
if
(
!
this
.
recordForm
.
videoUrl
&&
!
this
.
recordForm
.
imageUrlArr
.
length
)
{
if
(
!
this
.
recordForm
.
videoUrl
&&
!
this
.
recordForm
.
imageUrlArr
.
length
)
{
this
.
$message
.
error
(
'请至少
填写
活动视频或者活动图片其中一项'
)
this
.
$message
.
error
(
'请至少
上传
活动视频或者活动图片其中一项'
)
return
return
}
}
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
recordForm
))
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
recordForm
))
...
@@ -405,8 +405,8 @@ export default {
...
@@ -405,8 +405,8 @@ export default {
input
{
input
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
//
top
:
0
;
left
:
0
;
//
left
:
0
;
width
:
104px
;
width
:
104px
;
height
:
104px
;
height
:
104px
;
}
}
...
...
src/views/activityRecord/index.vue
View file @
a5dc3fc
<
template
>
<
template
>
<div
class=
"role-home-page"
>
<div
class=
"role-home-page"
>
<div
class=
"add-btn"
>
<div
class=
"add-btn"
>
<
GLButton
:size=
"size"
fn=
"新建活动记录"
type=
"primary"
@
click=
"toCreatePage(1)"
mode=
"el-button"
>
新增活动记录
</GLButton
>
<
!--
<GLButton
:size=
"size"
fn=
"新建活动记录"
type=
"primary"
@
click=
"toCreatePage(1)"
mode=
"el-button"
>
新增活动记录
</GLButton>
--
>
<
!--
<el-button
size=
"small"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"toCreatePage(1)"
>
新增活动记录
</el-button>
--
>
<
el-button
size=
"small"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"toCreatePage(1)"
>
新增活动记录
</el-button
>
</div>
</div>
<div
class=
"table_widget"
>
<div
class=
"table_widget"
>
<div>
<div>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment