| <ApplyForAdmission ref="ApplyForAdmission" /> | <ApplyForAdmission ref="ApplyForAdmission" /> | ||||
| <!-- 消息详情 --> | <!-- 消息详情 --> | ||||
| <MessageDetailDialog ref="MessageDetailDialog" @close="initData" /> | <MessageDetailDialog ref="MessageDetailDialog" @close="initData" /> | ||||
| <!-- 认领企业 --> | |||||
| <claim-dialog | |||||
| v-if="claimDialog" | |||||
| :claimDialog="claimDialog" | |||||
| @close="claimDialog = false" | |||||
| @updateData="initData" | |||||
| ></claim-dialog> | |||||
| </div> | </div> | ||||
| </template> | </template> | ||||
| import ApplyForAdmission from "@/views/index/ApplyForAdmission.vue"; | import ApplyForAdmission from "@/views/index/ApplyForAdmission.vue"; | ||||
| import MessageDetailDialog from "../mseeage/components/MessageDetailDialog/index.vue"; | import MessageDetailDialog from "../mseeage/components/MessageDetailDialog/index.vue"; | ||||
| import { getMessageNoticeList, markReadMessage } from "@api/my-related"; | import { getMessageNoticeList, markReadMessage } from "@api/my-related"; | ||||
| import ClaimDialog from "@/views/park-enterprises/components/ClaimDialog.vue"; | |||||
| export default { | export default { | ||||
| components: { | components: { | ||||
| Nav, | Nav, | ||||
| Footer, | Footer, | ||||
| ApplyForAdmission, | ApplyForAdmission, | ||||
| MessageDetailDialog, | MessageDetailDialog, | ||||
| ClaimDialog, | |||||
| }, | }, | ||||
| computed: { | computed: { | ||||
| ...mapGetters({ | ...mapGetters({ | ||||
| this.getMessageNoticeList(), | this.getMessageNoticeList(), | ||||
| ]).then(() => { | ]).then(() => { | ||||
| this.pageLoading = false; | this.pageLoading = false; | ||||
| this.claimDialog = false; | |||||
| }); | }); | ||||
| }, | }, | ||||
| // 获取企业信息 | // 获取企业信息 | ||||
| goDetail(companyDetail) { | goDetail(companyDetail) { | ||||
| // 如果是未认证 | // 如果是未认证 | ||||
| if (!this.isClaimed) { | if (!this.isClaimed) { | ||||
| this.claimDialog = true; | |||||
| this.$router.push("/company-list"); | |||||
| return; | return; | ||||
| } | } | ||||
| // companyDetail.companyId/ | // companyDetail.companyId/ |