Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mobi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
wbx-PCAndMobi
mobi
Commits
951085e0
Commit
951085e0
authored
Jul 19, 2021
by
zhangrui123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小卫
parent
c167c713
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
mobi.vue
src/views/mobi.vue
+5
-2
No files found.
src/views/mobi.vue
View file @
951085e0
...
...
@@ -9,7 +9,7 @@
<van-field
v-model=
"postPerson"
label=
"报修人"
placeholder=
"请输入"
placeholder=
"请输入
报修人
"
:rules=
"[
{ required: true, message: '此项为必填项!' }]"
required
clearable
...
...
@@ -24,7 +24,7 @@
type=
"tel"
maxlength=
"150"
placeholder=
"请输入手机号码"
:rules=
"[
{ required: true, message: '
此项为必填项!'
}]"
:rules=
"[
{ required: true, message: '
请输入正确的手机号!' ,validator: validator
}]"
required
clearable
label-width='8em'
...
...
@@ -194,6 +194,9 @@ export default {
}
})
},
validator
(
val
)
{
return
/^1
[
3-9
][
0-9
]{9}
$/
.
test
(
val
)
},
repairAreaConfirm
(
val
)
{
this
.
repairArea
=
val
this
.
showrepairAreaPicker
=
!
this
.
showrepairAreaPicker
...
...
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