开办开始时间结束时间规则更改(开始时间为:班级创建时间,结束时间为发包单位确定时间)
parent
c51be84642
commit
98aa24aee7
|
@ -64,6 +64,11 @@
|
||||||
:upload-type="1"/>
|
:upload-type="1"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col v-if="menu.limitFlag === '1' && form.STATUS === '1'" :span="12">
|
||||||
|
<el-form-item label="培训有效期结束时间:">
|
||||||
|
<el-date-picker v-model="form.LIMIT_END_TIME" value-format="yyyy-MM-dd" type="date" placeholder="选择日期" style="width:300px "/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
|
@ -125,6 +130,9 @@ export default {
|
||||||
],
|
],
|
||||||
APPOINT_ANNEX: [
|
APPOINT_ANNEX: [
|
||||||
{ required: true, message: '请上传文件', trigger: 'change' }
|
{ required: true, message: '请上传文件', trigger: 'change' }
|
||||||
|
],
|
||||||
|
LIMIT_END_TIME: [
|
||||||
|
{ required: true, message: '请选择指定培训有效截至时间', trigger: 'change' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
heirloom: {},
|
heirloom: {},
|
||||||
|
@ -143,7 +151,8 @@ export default {
|
||||||
menu: {
|
menu: {
|
||||||
department: '',
|
department: '',
|
||||||
user: '',
|
user: '',
|
||||||
uploadFile: ''
|
uploadFile: '',
|
||||||
|
limitFlag: ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -187,6 +196,7 @@ export default {
|
||||||
this.menu.department = data.Department
|
this.menu.department = data.Department
|
||||||
this.menu.user = data.User
|
this.menu.user = data.User
|
||||||
this.menu.uploadFile = data.UploadFile
|
this.menu.uploadFile = data.UploadFile
|
||||||
|
this.menu.limitFlag = data.limitFlag
|
||||||
resolve(true)
|
resolve(true)
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue