Commit cc301439 authored by zhangrui123's avatar zhangrui123

小卫

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