|
@@ -2273,12 +2273,16 @@ export default {
|
|
|
let param = {
|
|
|
parentId: that.eventType
|
|
|
}
|
|
|
- await listSJfl(param).then(res => {
|
|
|
- //事件类型
|
|
|
- if (res.code == 200) {
|
|
|
- that.eventTypeList = res.data
|
|
|
- }
|
|
|
- })
|
|
|
+ if (that.eventTypeXl != null) {
|
|
|
+ that.sendEventType = that.eventTypeXl;
|
|
|
+ } else {
|
|
|
+ await listSJfl(param).then((res) => {
|
|
|
+ //事件类型
|
|
|
+ if (res.code == 200) {
|
|
|
+ that.eventTypeList = res.data;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
await listYuAn({}).then(res => {
|
|
|
//关联预案
|
|
|
if (res.code == 200) {
|