Commit cc301439 authored by zhangrui123's avatar zhangrui123

小卫

parent 7bf1f08f
<template> <template>
<div style="height: 100%; background-color: #F5F5F5"> <div style="height: 100%; background-color: #F5F5F5;padding-top:3px">
<van-dialog v-model="showDialog" title="是否再填写一份?" showConfirmButton show-cancel-button @confirm='clearAllFormFields'></van-dialog> <van-dialog v-model="showDialog" title="是否再填写一份?" showConfirmButton show-cancel-button @confirm='clearAllFormFields'></van-dialog>
<!-- <van-nav-bar
title="小卫服务"
/> -->
<van-form @submit="onSubmit" style="border-radius: 10px; margin: 10px"> <van-form @submit="onSubmit" style="border-radius: 10px; margin: 10px">
<van-field <van-field
...@@ -33,7 +30,7 @@ ...@@ -33,7 +30,7 @@
<van-field <van-field
v-model="repairAddr" v-model="repairAddr"
label="报修地址" label="报修地址"
placeholder="请输入" placeholder="请输入报修地址"
:rules="[{ required: true, message: '此项为必填项!' }]" :rules="[{ required: true, message: '此项为必填项!' }]"
required required
clearable clearable
...@@ -47,7 +44,7 @@ ...@@ -47,7 +44,7 @@
name="picker" name="picker"
:value="repairArea" :value="repairArea"
label="报修部位" label="报修部位"
placeholder="请选择" placeholder="请选择报修部位"
@click="showrepairAreaPicker = true" @click="showrepairAreaPicker = true"
:rules="[{ required: true, message: '请至少选择一项!' }]" :rules="[{ required: true, message: '请至少选择一项!' }]"
required required
...@@ -88,7 +85,7 @@ ...@@ -88,7 +85,7 @@
<van-field <van-field
v-model="description" v-model="description"
rows="2" rows="2"
:autosize = "{ maxHeight: 100, minHeight: 50 }" :autosize = "{ maxHeight: 60, minHeight: 30 }"
label="报修问题" label="报修问题"
type="textarea" type="textarea"
maxlength="150" maxlength="150"
...@@ -106,7 +103,7 @@ ...@@ -106,7 +103,7 @@
name="calendar" name="calendar"
:value="dueDate" :value="dueDate"
label="期望日期" label="期望日期"
placeholder="请选择" placeholder="请选择期望日期"
@click="showCalendar = true" @click="showCalendar = true"
:rules="[{ required: true, message: '此项为必填项!' }]" :rules="[{ required: true, message: '此项为必填项!' }]"
required required
...@@ -121,7 +118,7 @@ ...@@ -121,7 +118,7 @@
name="picker" name="picker"
:value="dueTime" :value="dueTime"
label="期望时间" label="期望时间"
placeholder="请选择" placeholder="请选择期望时间"
@click="showDueTimePicker = true" @click="showDueTimePicker = true"
:rules="[{ required: true, message: '请至少选择一项!' }]" :rules="[{ required: true, message: '请至少选择一项!' }]"
required required
......
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