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
266ab7a7
Commit
266ab7a7
authored
Jun 29, 2021
by
levante
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改项目名为小卫服务,增加手机号字段
parent
42f60f2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
index.html
index.html
+1
-1
mobi.vue
src/views/mobi.vue
+18
-1
No files found.
index.html
View file @
266ab7a7
...
...
@@ -4,7 +4,7 @@
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<title>
demo
</title>
<title>
小卫服务
</title>
</head>
<body>
<div
id=
"portal"
></div>
...
...
src/views/mobi.vue
View file @
266ab7a7
...
...
@@ -2,7 +2,7 @@
<div
style=
"height: 100%; background-color: #F5F5F5"
>
<van-dialog
v-model=
"showDialog"
title=
"是否再填写一份?"
showConfirmButton
show-cancel-button
@
confirm=
'clearAllFormFields'
></van-dialog>
<van-nav-bar
title=
"
首页
"
title=
"
小卫服务
"
/>
<van-form
@
submit=
"onSubmit"
style=
"border-radius: 10px; margin: 10px"
>
...
...
@@ -85,6 +85,20 @@
label-width='8em'
/>
<van-field
v-model=
"phone"
rows=
"2"
autosize
label=
"手机号码"
type=
"tel"
maxlength=
"150"
placeholder=
"请输入手机号码"
:rules=
"[
{ required: true, message: '此项为必填项!' }]"
required
clearable
label-width='8em'
/>
<van-field
readonly
clickable
...
...
@@ -143,6 +157,7 @@ export default {
description
:
''
,
dueDate
:
''
,
dueTime
:
''
,
phone
:
''
,
repairAreaPicker
:
''
,
repairTypePicker
:
''
,
...
...
@@ -166,6 +181,7 @@ export default {
'reportorName'
:
this
.
postPerson
,
'address'
:
this
.
repairAddr
,
'place'
:
this
.
repairArea
,
'phone'
:
this
.
phone
,
'dscr'
:
this
.
description
,
'homeDate'
:
this
.
dueDate
,
'homeTime'
:
this
.
dueTime
...
...
@@ -199,6 +215,7 @@ export default {
this
.
repairArea
=
''
this
.
repairType
=
''
this
.
description
=
''
this
.
phone
=
''
this
.
dueDate
=
''
this
.
dueTime
=
''
}
...
...
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