diff --git a/src/views/modules/visual/basicinfo/cpts/incident-info.vue b/src/views/modules/visual/basicinfo/cpts/incident-info.vue index f3a86089..9dda7949 100644 --- a/src/views/modules/visual/basicinfo/cpts/incident-info.vue +++ b/src/views/modules/visual/basicinfo/cpts/incident-info.vue @@ -399,7 +399,13 @@ export default { //加载组织数据 async getInfo() { - const url = "/gov/project/resievent/eventdetail-icdata"; + let url = "/gov/project/icEvent/icevent-eventdetail-icdata"; + // 市北沿用旧接口 + if ( + this.$store.state.user.customerId == "b09527201c4409e19d1dbc5e3c3429a1" + ) { + url = "/gov/project/resievent/eventdetail-icdata"; + } const { data, code, msg } = await requestPost(url, { resiEventId: this.resiEventId, @@ -414,7 +420,12 @@ export default { //加载组织数据 async getComment() { - const url = "/gov/project/resieventreply/list"; + let url = "/gov/project/icEvent/icevent-list"; + if ( + this.$store.state.user.customerId == "b09527201c4409e19d1dbc5e3c3429a1" + ) { + url = "/gov/project/resieventreply/list"; + } const { data, code, msg } = await requestPost(url, { resiEventId: this.resiEventId, diff --git a/src/views/modules/visual/basicinfo/people.vue b/src/views/modules/visual/basicinfo/people.vue index c754ff01..03b9a57e 100644 --- a/src/views/modules/visual/basicinfo/people.vue +++ b/src/views/modules/visual/basicinfo/people.vue @@ -811,7 +811,15 @@ export default { //加载组织数据 async getIncidentData() { - const url = "/gov/project/resievent/pageuserreported"; + let url = "/gov/project/icEvent/icevent-pageuserreported"; + + // 市北沿用旧接口 + if ( + this.$store.state.user.customerId == "b09527201c4409e19d1dbc5e3c3429a1" + ) { + url = "/gov/project/resievent/pageuserreported"; + } + let params = { epmetUserIdList: this.info.epmetUserIdList, userId: this.userId,