Browse Source

个人中心-事件来源修改

master
dai 3 years ago
parent
commit
a987177c17
  1. 61
      src/views/modules/visual/basicinfo/people.vue

61
src/views/modules/visual/basicinfo/people.vue

@ -493,13 +493,24 @@
@close="showedDemandInfo = false" @close="showedDemandInfo = false"
/> />
<incident-info <template v-if="incident.list.length > 0 && incident.showedInfo">
v-if="incident.list.length > 0 && incident.showedInfo" <incident-info
:resiEventId="incident.list[incident.currentIndex].resiEventId" v-if="
:epmetUserIdList="info.epmetUserIdList" $store.state.user.customerId == 'b09527201c4409e19d1dbc5e3c3429a1'
:icResiUserId="userId" "
@close="incident.showedInfo = false" :resiEventId="incident.list[incident.currentIndex].resiEventId"
/> :epmetUserIdList="info.epmetUserIdList"
:icResiUserId="userId"
@close="incident.showedInfo = false"
/>
<event-info
v-else
:eventId="incident.list[incident.currentIndex].resiEventId"
:orgId="$store.state.user.agencyId"
orgType="agency"
@close="incident.showedInfo = false"
/>
</template>
<topic-info <topic-info
v-if="topic.list.length > 0 && topic.showedInfo" v-if="topic.list.length > 0 && topic.showedInfo"
@ -519,11 +530,31 @@ import cptCard from "@/views/modules/visual/cpts/card";
import peopleMore from "@/views/modules/visual/basicinfo/cpts/people-more"; import peopleMore from "@/views/modules/visual/basicinfo/cpts/people-more";
import demandInfo from "@/views/modules/visual/measure/dialogInfo"; import demandInfo from "@/views/modules/visual/measure/dialogInfo";
import incidentInfo from "@/views/modules/visual/basicinfo/cpts/incident-info"; import incidentInfo from "@/views/modules/visual/basicinfo/cpts/incident-info";
import eventInfo from "@/views/modules/visual/communityGovern/shijianchuli/event-info.vue";
import topicInfo from "@/views/modules/visual/basicinfo/cpts/topic-info"; import topicInfo from "@/views/modules/visual/basicinfo/cpts/topic-info";
import cptTb from "@/views/modules/visual/cpts/tb"; import cptTb from "@/views/modules/visual/cpts/tb";
export default { export default {
name: "HomeMap", name: "HomeMap",
components: {
cptCard,
peopleMore,
cptTb,
demandInfo,
incidentInfo,
topicInfo,
eventInfo,
},
props: {
uid: {
type: String,
default: "",
// default: "8ada68cb6f1e4b9a8333348a39ef3aee",
},
},
data() { data() {
return { return {
breadList: [], breadList: [],
@ -626,24 +657,8 @@ export default {
}; };
}, },
props: {
uid: {
type: String,
default: "",
// default: "8ada68cb6f1e4b9a8333348a39ef3aee",
},
},
computed: {}, computed: {},
components: {
cptCard,
peopleMore,
cptTb,
demandInfo,
incidentInfo,
topicInfo,
},
beforeRouteEnter(to, from, next) { beforeRouteEnter(to, from, next) {
console.log("让我看看", to); console.log("让我看看", to);
if (from) { if (from) {

Loading…
Cancel
Save