Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄媛媛
ElectricitySheep
Commits
5e0e8775
Commit
5e0e8775
authored
May 10, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增了一些验证
parent
88d25f63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
edactivity.vue
src/components/education/edactivity.vue
+12
-2
No files found.
src/components/education/edactivity.vue
View file @
5e0e8775
...
...
@@ -142,7 +142,7 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"封面图"
size=
"small"
>
<el-form-item
label=
"封面图"
size=
"small"
prop=
"CoverImg"
>
<el-button
@
click=
"isShowImage=true"
size=
"small"
>
选择文件
</el-button>
<div
class=
"app-gallery-item"
style=
"position: relative;width: 100px;margin-top: 10px;border:none;"
>
<img
v-if=
"!addMsg.CoverImg || addMsg.CoverImg==''"
src=
"../../assets/img/default.png"
...
...
@@ -197,7 +197,7 @@
<el-form-item
label=
"活动地址"
prop=
"LocationName"
>
<el-input
type=
"text"
class=
"w400"
placeholder=
"请输入门店地址"
v-model=
"addMsg.LocationName"
size=
"small"
></el-input>
</el-form-item>
<el-form-item
label=
"地址经纬度"
prop=
"L
ng
Lat"
>
<el-form-item
label=
"地址经纬度"
prop=
"L
on
Lat"
>
<label
slot=
"label"
>
门店经纬度
<el-tooltip
class=
"item"
effect=
"dark"
content=
"纬度 | 经度,可在地图上选择位置"
placement=
"top"
>
<i
class=
"el-icon-info"
></i>
...
...
@@ -373,6 +373,16 @@
message
:
'请填写活动地址'
,
trigger
:
'blur'
}],
LonLat
:[{
required
:
true
,
message
:
'请选择经纬度'
,
trigger
:
'blur'
}],
CoverImg
:[{
required
:
true
,
message
:
'请选择封面图'
,
trigger
:
'blur'
}]
},
// pickerBeginDateBefore: {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment