开办开始时间结束时间规则更改(开始时间为:班级创建时间,结束时间为发包单位确定时间)
parent
5dc74cc129
commit
11c158477b
|
@ -59,8 +59,8 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="培训有效期" prop="VALIDITY_PERIOD">
|
||||
<el-col v-if="false" :span="12">
|
||||
<el-form-item v-if="false" label="培训有效期" prop="VALIDITY_PERIOD">
|
||||
<el-date-picker
|
||||
v-model="form.VALIDITY_PERIOD"
|
||||
:disabled="isShow"
|
||||
|
@ -226,8 +226,6 @@ export default {
|
|||
return
|
||||
}
|
||||
this.form.list = JSON.stringify(this.peopleList)
|
||||
this.form.VALIDITY_PERIOD_START = this.form.VALIDITY_PERIOD[0]
|
||||
this.form.VALIDITY_PERIOD_END = this.form.VALIDITY_PERIOD[1]
|
||||
this.$refs.form.validate((valid) => {
|
||||
if (valid) {
|
||||
requestFN(
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
<div class="text textone">所在单位</div>
|
||||
</td>
|
||||
<td colspan="3">
|
||||
<div class="text">{{ item.DEPARTMENT_NAME }}</div>
|
||||
<div class="text">{{ item.BELONG_TO_CORP_NAME }}</div>
|
||||
</td>
|
||||
<td rowspan="3" style="padding-top: 6px" @click="click()">
|
||||
<vue-qr :text="qrCodeStr" :margin="0" :size="110" color-dark="#000" color-light="#fff"/>
|
||||
|
|
|
@ -39,6 +39,11 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="form.STATUS === '1' && !form.STEP " :span="12">
|
||||
<el-form-item v-if="form.STATUS === '1'" prop="LIMIT_END_TIME" 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-form>
|
||||
|
||||
|
@ -77,6 +82,7 @@ export default {
|
|||
APPOINT_USER_NAME: '',
|
||||
OPINION: '',
|
||||
STEP: false,
|
||||
LIMIT_END_TIME: '',
|
||||
user: '',
|
||||
tm: new Date().getTime(),
|
||||
list: [],
|
||||
|
@ -95,6 +101,9 @@ export default {
|
|||
],
|
||||
OPINION: [
|
||||
{ required: true, message: '请填写打回原因', trigger: 'change' }
|
||||
],
|
||||
LIMIT_END_TIME: [
|
||||
{ required: true, message: '请选择指定培训有效截至时间', trigger: 'change' }
|
||||
]
|
||||
},
|
||||
heirloom: {},
|
||||
|
@ -113,7 +122,6 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
async init(e) {
|
||||
console.log(e)
|
||||
this.loading = true
|
||||
this.visible = true
|
||||
this.heirloom = JSON.stringify(e)
|
||||
|
|
Loading…
Reference in New Issue