Commit 266ab7a7 authored by levante's avatar levante

修改项目名为小卫服务,增加手机号字段

parent 42f60f2e
......@@ -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>
......
......@@ -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 = ''
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment