diff --git a/src/assets/scss/modules/visual/people.scss b/src/assets/scss/modules/visual/people.scss index ba67b1aaf..06a879759 100644 --- a/src/assets/scss/modules/visual/people.scss +++ b/src/assets/scss/modules/visual/people.scss @@ -372,7 +372,7 @@ z-index: 1; } .rel-bg { - height: 70px; + height: 90px; width: 128px; } @@ -384,7 +384,7 @@ left: 0; width: 100%; padding: 7px 10px; - line-height: 24px; + line-height: 20px; text-align: center; color: #fff; font-size: 18px; @@ -395,6 +395,9 @@ .rel-name { font-size: 14px; } + .rel-call { + font-size: 15px; + } } &.z-zuo-2 { diff --git a/src/views/modules/visual/basicinfo/people.vue b/src/views/modules/visual/basicinfo/people.vue index 39604913e..53c4c01ba 100644 --- a/src/views/modules/visual/basicinfo/people.vue +++ b/src/views/modules/visual/basicinfo/people.vue @@ -1,12 +1,11 @@ @@ -557,7 +476,7 @@ export default { }, }, - data() { + data () { return { breadList: [], showedMoreInfo: false, @@ -660,12 +579,12 @@ export default { }, computed: { - isShundeju() { + isShundeju () { return this.$store.state.user.customerId == "1550309684576591874"; }, }, - beforeRouteEnter(to, from, next) { + beforeRouteEnter (to, from, next) { console.log("让我看看", to); if (from) { const arr = [{ ...from }, { ...to, meta: { title: "个人详情" } }]; @@ -677,14 +596,14 @@ export default { } }, watch: { - uid(id) { + uid (id) { this.userId = id; }, - userId() { + userId () { this.getApiData(); window.scrollTo(0, 0); }, - $route(route) { + $route (route) { // if you go to the redirect page, do not update the breadcrumbs if (route.path.startsWith("/redirect/")) { return; @@ -693,21 +612,21 @@ export default { }, }, - async mounted() { + async mounted () { this.userId = this.uid; console.log(this.$router); this.getApiData(); }, - deactivated() { + deactivated () { this.breadList = []; console.log("breadList-----", this.breadList); }, - destroyed() { + destroyed () { this.breadList = []; console.log("breadList-----", this.breadList); }, methods: { - getBreadcrumb() { + getBreadcrumb () { // only show routes with meta.title console.log("routest----", this.$route); let matched = this.$route.matched.filter( @@ -723,16 +642,16 @@ export default { (item) => item.meta && item.meta.title && item.meta.breadcrumb !== false ); }, - isDashboard(route) { + isDashboard (route) { const name = route && route.name; if (!name) { return false; } return name.trim().toLocaleLowerCase() === "Home".toLocaleLowerCase(); }, - handleSearch() {}, + handleSearch () { }, - async getApiData() { + async getApiData () { await this.getInfo(); this.getHouseInfo(); this.getDemandData(); @@ -741,12 +660,12 @@ export default { this.getPointData(); }, - toUserInfo(uid) { + toUserInfo (uid) { this.$router.push({ path: `/main-shuju/visual-basicinfo-people/${uid}` }); }, //加载组织数据 - async getInfo() { + async getInfo () { const url = "/epmetuser/icresiuser/persondata"; let params = { userId: this.userId, @@ -762,7 +681,7 @@ export default { }, //加载组织数据 - async getHouseInfo() { + async getHouseInfo () { const url = "/epmetuser/icresiuser/ownerrelation"; let params = { userId: this.userId, @@ -777,12 +696,12 @@ export default { } }, - handlePageNoChangeDemand(val) { + handlePageNoChangeDemand (val) { this.demand.pageNo = val; this.getDemandData(); }, - handleOperateDemandList(index, type) { + handleOperateDemandList (index, type) { if (type == "查看") { this.showedDemandInfo = true; this.demand.currentIndex = index; @@ -790,12 +709,12 @@ export default { }, //指派成功后刷新 - handleAssignOk() { + handleAssignOk () { this.getDemandData(); }, //加载组织数据 - async getDemandData() { + async getDemandData () { const url = "/heart/userdemand/mydemand"; let params = { epmetUserIdList: this.info.epmetUserIdList, @@ -825,18 +744,18 @@ export default { } }, - handlePageNoChangeIncident(val) { + handlePageNoChangeIncident (val) { this.incident.pageNo = val; this.getIncidentData(); }, - handleClickIncident(index) { + handleClickIncident (index) { this.incident.showedInfo = true; this.incident.currentIndex = index; }, //加载组织数据 - async getIncidentData() { + async getIncidentData () { let url = "/gov/project/icEvent/icevent-pageuserreported"; // 市北沿用旧接口 @@ -864,18 +783,18 @@ export default { } }, - handlePageNoChangeTopic(val) { + handlePageNoChangeTopic (val) { this.topic.pageNo = val; this.getTopicData(); }, - handleClickTopic(index) { + handleClickTopic (index) { this.topic.showedInfo = true; this.topic.currentIndex = index; }, //加载组织数据 - async getTopicData() { + async getTopicData () { const url = "/data/aggregator/resigroup/pageusertopic"; let params = { epmetUserIdList: this.info.epmetUserIdList, @@ -895,18 +814,18 @@ export default { } }, - handlePageNoChangePoint(val) { + handlePageNoChangePoint (val) { this.point.pageNo = val; this.getPointData(); }, - handleClickPoint(index) { + handleClickPoint (index) { this.point.showedInfo = true; this.point.currentIndex = index; }, //加载组织数据 - async getPointData() { + async getPointData () { const url = "/point/resi/point/pageuserpoint"; let params = { epmetUserIdList: this.info.epmetUserIdList,