终端培训增加地址

This commit is contained in:
Yjhon 2022-02-16 17:52:08 +08:00
parent 342d267007
commit 367e3336ea
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,9 @@
<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 label="培训地点" prop="trainAddress">
<a-input v-model="form.trainAddress" />
</a-form-model-item>
<a-form-model-item label="主持人" prop="host">
<a-input v-model="form.host" />
</a-form-model-item>
@ -88,6 +91,7 @@ export default {
trainName: '',
trainSdate: '',
trainEdate: '',
trainAddress: '',
host: '',
personNum: 1,
learningContent: '',
@ -102,6 +106,7 @@ export default {
trainName: [{ required: true, message: '培训名称不能为空', trigger: 'blur' }],
trainSdate: [{ required: true, message: '培训开始时间不能为空', trigger: 'change' }],
trainEdate: [{ required: true, message: '培训结束时间不能为空', trigger: 'change' }],
trainAddress: [{ required: true, message: '培训地点不能为空', trigger: 'blur' }],
host: [{ required: true, message: '主持人不能为空', trigger: 'blur' }],
personNum: [{ required: true, message: '会议人数不能为空', trigger: 'blur' }],
learningContent: [{ required: true, message: '学习内容不能为空', trigger: 'blur' }],