|
@ -146,7 +146,7 @@
|
146
|
146
|
if (response.success && response.data) {
|
147
|
147
|
const info = response.data
|
148
|
148
|
this.ruleForm2 = {
|
149
|
|
catalog: info.catalog,
|
|
149
|
catalog: info.catalog || '',
|
150
|
150
|
cnt: info.cnt,
|
151
|
151
|
title: info.title,
|
152
|
152
|
source: info.source,
|
|
@ -228,6 +228,10 @@
|
228
|
228
|
this.ruleForm2.professors = [value]
|
229
|
229
|
},
|
230
|
230
|
change(value) {
|
|
231
|
if (!value) {
|
|
232
|
this.$refs.ruleForm2.validateField('title')
|
|
233
|
return
|
|
234
|
}
|
231
|
235
|
if (this.ruleForm2.title) {
|
232
|
236
|
this.$refs.ruleForm2.validateField('title')
|
233
|
237
|
}
|
|
@ -321,6 +325,7 @@
|
321
|
325
|
}
|
322
|
326
|
},
|
323
|
327
|
submitForm(formName) {
|
|
328
|
this.change()
|
324
|
329
|
this.ruleForm2.cnt = this.$refs.ueBox.getUEContent()
|
325
|
330
|
this.$refs[formName].validate((valid) => {
|
326
|
331
|
if (valid) {
|