终端培训增加地址
This commit is contained in:
parent
342d267007
commit
367e3336ea
|
@ -20,6 +20,9 @@
|
||||||
<a-date-picker v-model="form.trainEdate" style="width: 100%" valueFormat="YYYY-MM-DD HH:mm:ss" />
|
<a-date-picker v-model="form.trainEdate" style="width: 100%" valueFormat="YYYY-MM-DD HH:mm:ss" />
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
|
<a-form-model-item label="培训地点" prop="trainAddress">
|
||||||
|
<a-input v-model="form.trainAddress" />
|
||||||
|
</a-form-model-item>
|
||||||
<a-form-model-item label="主持人" prop="host">
|
<a-form-model-item label="主持人" prop="host">
|
||||||
<a-input v-model="form.host" />
|
<a-input v-model="form.host" />
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
|
@ -88,6 +91,7 @@ export default {
|
||||||
trainName: '',
|
trainName: '',
|
||||||
trainSdate: '',
|
trainSdate: '',
|
||||||
trainEdate: '',
|
trainEdate: '',
|
||||||
|
trainAddress: '',
|
||||||
host: '',
|
host: '',
|
||||||
personNum: 1,
|
personNum: 1,
|
||||||
learningContent: '',
|
learningContent: '',
|
||||||
|
@ -102,6 +106,7 @@ export default {
|
||||||
trainName: [{ required: true, message: '培训名称不能为空', trigger: 'blur' }],
|
trainName: [{ required: true, message: '培训名称不能为空', trigger: 'blur' }],
|
||||||
trainSdate: [{ required: true, message: '培训开始时间不能为空', trigger: 'change' }],
|
trainSdate: [{ required: true, message: '培训开始时间不能为空', trigger: 'change' }],
|
||||||
trainEdate: [{ required: true, message: '培训结束时间不能为空', trigger: 'change' }],
|
trainEdate: [{ required: true, message: '培训结束时间不能为空', trigger: 'change' }],
|
||||||
|
trainAddress: [{ required: true, message: '培训地点不能为空', trigger: 'blur' }],
|
||||||
host: [{ required: true, message: '主持人不能为空', trigger: 'blur' }],
|
host: [{ required: true, message: '主持人不能为空', trigger: 'blur' }],
|
||||||
personNum: [{ required: true, message: '会议人数不能为空', trigger: 'blur' }],
|
personNum: [{ required: true, message: '会议人数不能为空', trigger: 'blur' }],
|
||||||
learningContent: [{ required: true, message: '学习内容不能为空', trigger: 'blur' }],
|
learningContent: [{ required: true, message: '学习内容不能为空', trigger: 'blur' }],
|
||||||
|
|
Loading…
Reference in New Issue