|
@@ -102,7 +102,7 @@ export default {
|
|
|
}
|
|
|
this.form.fileGuids = guids
|
|
|
// this.$commonJS.allUploadFile(this.form)
|
|
|
-
|
|
|
+
|
|
|
//判断报告是否是已完成的
|
|
|
this.$refs.addMatter.submitForm1()
|
|
|
this.form.status = 3
|
|
@@ -110,7 +110,7 @@ export default {
|
|
|
if (this.form.scenarioIds && this.form.scenarioIds.length > 0) {
|
|
|
var scenarioIds = JSON.parse(JSON.stringify(this.form.scenarioIds))
|
|
|
}
|
|
|
- if (this.form.eventId) {
|
|
|
+ if (this.form.eventIds && this.form.eventIds.length) {
|
|
|
this.form.events = []
|
|
|
this.form.scenarioIds = []
|
|
|
this.form.matterIds.forEach(item => {
|
|
@@ -118,7 +118,7 @@ export default {
|
|
|
{
|
|
|
matterId: item,
|
|
|
scenarioId: scenarioIds[0],
|
|
|
- eventId: this.form.eventId
|
|
|
+ eventId: this.form.eventIds[0]
|
|
|
}
|
|
|
)
|
|
|
})
|