Compare commits

..

No commits in common. "3d3586cd3cfb1079e503d934463b93ebd28a2da7" and "67cf39dc3afb14f79a708dbb15b24ab46fb0ee69" have entirely different histories.

2 changed files with 3 additions and 26 deletions

View File

@ -10,7 +10,7 @@
<el-form-item label="课件名称" prop="COURSEWARENAME">
<el-input id="COURSEWARENAME" ref="COURSEWARENAME" :disabled="dialogType == 'info'" v-model="form.COURSEWARENAME" maxlength="255" placeholder="这里输入课件名称..." title="课件名称"/>
</el-form-item>
<el-form-item label="培训类型" prop="trainAllName" class="is-required">
<el-form-item label="培训类型" prop="trainAllName">
<div @click="dialogFormVisible = true">
<el-input v-model="form.trainAllName" :readonly="true" maxlength="255" placeholder="这里输入培训类型..." title="培训类型"/>
</div>
@ -559,18 +559,7 @@ export default {
// return false
// }
// }
if (!this.TRAINTYPE) {
this.$message.warning('培训类型不能为空')
return false
}
if (!this.INDUSTRY_END_ID) {
this.$message.warning('行业类型不能为空')
return false
}
if (!this.POSTTYPE) {
this.$message.warning('岗位类型不能为空')
return false
}
// if (!this.form.INDUSTRY_END_ID) {
// this.$message.warning('')
// return false

View File

@ -10,7 +10,7 @@
<el-form-item label="课件名称" prop="COURSEWARENAME">
<el-input id="COURSEWARENAME" ref="COURSEWARENAME" :disabled="dialogType == 'info'" v-model="form.COURSEWARENAME" maxlength="255" placeholder="这里输入课件名称..." title="课件名称"/>
</el-form-item>
<el-form-item label="培训类型" prop="trainAllName" class="is-required">
<el-form-item label="培训类型" prop="trainAllName">
<div @click="dialogFormVisible = true">
<el-input v-model="form.trainAllName" :readonly="true" maxlength="255" placeholder="这里输入培训类型..." title="培训类型"/>
</div>
@ -535,18 +535,6 @@ export default {
return false
}
}
if (!this.TRAINTYPE) {
this.$message.warning('培训类型不能为空')
return false
}
if (!this.INDUSTRY_END_ID) {
this.$message.warning('行业类型不能为空')
return false
}
if (!this.POSTTYPE) {
this.$message.warning('岗位类型不能为空')
return false
}
this.$refs.form.validate(valid => {
if (valid) {
Object.keys(this.form).map(key => {