|
@@ -113,14 +113,14 @@ export default {
|
|
|
await Add({
|
|
|
...this.form,
|
|
|
subjectIds: this.form.subjectIds.join(','),
|
|
|
- type: this.type,
|
|
|
+ type: 'COMMON',
|
|
|
})
|
|
|
this.$message.success('提交成功')
|
|
|
} else {
|
|
|
await Update({
|
|
|
...this.form,
|
|
|
subjectIds: this.form.subjectIds.join(','),
|
|
|
- type: this.type,
|
|
|
+ type: this.detail.type,
|
|
|
id: this.detail.id
|
|
|
})
|
|
|
this.$message.success('修改成功')
|