parent
df78271dc5
commit
bc8ff65d07
|
@ -122,6 +122,9 @@ export default {
|
||||||
],
|
],
|
||||||
APPOINT_CORP_ID: [
|
APPOINT_CORP_ID: [
|
||||||
{ required: true, message: '请选择企业', trigger: 'change' }
|
{ required: true, message: '请选择企业', trigger: 'change' }
|
||||||
|
],
|
||||||
|
APPOINT_ANNEX: [
|
||||||
|
{ required: true, message: '请上传文件', trigger: 'change' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -190,7 +193,6 @@ export default {
|
||||||
Object.keys(this.form).map(key => {
|
Object.keys(this.form).map(key => {
|
||||||
formData.append(key, this.form[key])
|
formData.append(key, this.form[key])
|
||||||
})
|
})
|
||||||
formData.append('chenNuoShu', this.form.APPOINT_ANNEX[0].raw)
|
|
||||||
upload('/trainingbatch/sendMessage', formData
|
upload('/trainingbatch/sendMessage', formData
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
if (data.code !== '0') {
|
if (data.code !== '0') {
|
||||||
|
|
Loading…
Reference in New Issue