|
@@ -291,15 +291,17 @@ export default {
|
|
|
} else {
|
|
|
this.title = '批量新增事件'
|
|
|
}
|
|
|
- this.formData = [
|
|
|
- {
|
|
|
+ var obj = {
|
|
|
name: '',
|
|
|
eventDate: '',
|
|
|
description: '',
|
|
|
clientId:'',
|
|
|
- scenarioId: data.scenarioId,
|
|
|
+ scenarioId: '',
|
|
|
}
|
|
|
- ]
|
|
|
+ if(data.scenarioId && data.scenarioId.length>0){
|
|
|
+ obj.scenarioId = data.scenarioId[0]
|
|
|
+ }
|
|
|
+ this.formData = [obj]
|
|
|
}
|
|
|
this.getAdminClientList()
|
|
|
this.dialogVisible = true
|