|
|
@ -1,12 +1,11 @@ |
|
|
|
<template> |
|
|
|
<div class="g-wrr"> |
|
|
|
<div class="g-bread" v-if="breadList.length > 1"> |
|
|
|
<div class="g-bread" |
|
|
|
v-if="breadList.length > 1"> |
|
|
|
<el-breadcrumb separator-class="el-icon-arrow-right"> |
|
|
|
<el-breadcrumb-item |
|
|
|
v-for="item in breadList" |
|
|
|
<el-breadcrumb-item v-for="item in breadList" |
|
|
|
:key="item.path" |
|
|
|
:to="{ path: item.path }" |
|
|
|
> |
|
|
|
:to="{ path: item.path }"> |
|
|
|
{{ item.meta.title }} |
|
|
|
</el-breadcrumb-item> |
|
|
|
</el-breadcrumb> |
|
|
@ -20,9 +19,11 @@ |
|
|
|
<img src="@/assets/img/shuju/title-tip.png" /> |
|
|
|
<span>人员情况</span> |
|
|
|
</div> |
|
|
|
<div class="more" @click="showedMoreInfo = true">查看更多</div> |
|
|
|
<div class="more" |
|
|
|
@click="showedMoreInfo = true">查看更多</div> |
|
|
|
<div class="ren"> |
|
|
|
<img class="pic-ren" src="@/assets/img/shuju/people/ren.png" /> |
|
|
|
<img class="pic-ren" |
|
|
|
src="@/assets/img/shuju/people/ren.png" /> |
|
|
|
<div class="ren-name"> |
|
|
|
<span>{{ info.name }}</span> |
|
|
|
<img src="@/assets/img/shuju/people/arrow.png" /> |
|
|
@ -119,13 +120,11 @@ |
|
|
|
</cpt-card> |
|
|
|
</div> |
|
|
|
|
|
|
|
<people-more |
|
|
|
v-show="showedMoreInfo" |
|
|
|
<people-more v-show="showedMoreInfo" |
|
|
|
v-if="userId" |
|
|
|
:userId="userId" |
|
|
|
:gridName="info.gridName" |
|
|
|
@close="showedMoreInfo = false" |
|
|
|
/> |
|
|
|
@close="showedMoreInfo = false" /> |
|
|
|
|
|
|
|
<div class="m-relation"> |
|
|
|
<cpt-card> |
|
|
@ -135,14 +134,10 @@ |
|
|
|
</div> |
|
|
|
<div class="info"> |
|
|
|
<div class="huzhu"> |
|
|
|
<img |
|
|
|
class="huzhu-bg" |
|
|
|
src="@/assets/img/shuju/people/huzhu.png" |
|
|
|
/> |
|
|
|
<img |
|
|
|
class="huzhu-ico" |
|
|
|
src="@/assets/img/shuju/people/huzhu-home.png" |
|
|
|
/> |
|
|
|
<img class="huzhu-bg" |
|
|
|
src="@/assets/img/shuju/people/huzhu.png" /> |
|
|
|
<img class="huzhu-ico" |
|
|
|
src="@/assets/img/shuju/people/huzhu-home.png" /> |
|
|
|
<div class="huzhu-name"> |
|
|
|
{{ |
|
|
|
houseInfo && houseInfo.ownerName |
|
|
@ -153,23 +148,15 @@ |
|
|
|
<p>(户主)</p> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
class="rel z-zuo-2" |
|
|
|
<div class="rel z-zuo-2" |
|
|
|
@click="toUserInfo(houseInfo.userList[0].userId)" |
|
|
|
v-if="houseInfo.userList[0]" |
|
|
|
> |
|
|
|
<img |
|
|
|
class="rel-bg" |
|
|
|
src="@/assets/img/shuju/people/huzhu-kuang-zuo.png" |
|
|
|
/> |
|
|
|
<img |
|
|
|
class="rel-line" |
|
|
|
src="@/assets/img/shuju/people/huzhu-line/zuo2.png" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="rel-text" |
|
|
|
:class="houseInfo.userList[0].isSelf == '1' ? 'z-on' : ''" |
|
|
|
> |
|
|
|
v-if="houseInfo.userList[0]"> |
|
|
|
<img class="rel-bg" |
|
|
|
src="@/assets/img/shuju/people/huzhu-kuang-zuo.png" /> |
|
|
|
<img class="rel-line" |
|
|
|
src="@/assets/img/shuju/people/huzhu-line/zuo2.png" /> |
|
|
|
<div class="rel-text" |
|
|
|
:class="houseInfo.userList[0].isSelf == '1' ? 'z-on' : ''"> |
|
|
|
<div class="rel-call"> |
|
|
|
{{ houseInfo.userList[0].relation }} |
|
|
|
</div> |
|
|
@ -179,23 +166,15 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
class="rel z-you-2" |
|
|
|
<div class="rel z-you-2" |
|
|
|
@click="toUserInfo(houseInfo.userList[1].userId)" |
|
|
|
v-if="houseInfo.userList[1]" |
|
|
|
> |
|
|
|
<img |
|
|
|
class="rel-bg" |
|
|
|
src="@/assets/img/shuju/people/huzhu-kuang-you.png" |
|
|
|
/> |
|
|
|
<img |
|
|
|
class="rel-line" |
|
|
|
src="@/assets/img/shuju/people/huzhu-line/you2.png" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="rel-text" |
|
|
|
:class="houseInfo.userList[1].isSelf == '1' ? 'z-on' : ''" |
|
|
|
> |
|
|
|
v-if="houseInfo.userList[1]"> |
|
|
|
<img class="rel-bg" |
|
|
|
src="@/assets/img/shuju/people/huzhu-kuang-you.png" /> |
|
|
|
<img class="rel-line" |
|
|
|
src="@/assets/img/shuju/people/huzhu-line/you2.png" /> |
|
|
|
<div class="rel-text" |
|
|
|
:class="houseInfo.userList[1].isSelf == '1' ? 'z-on' : ''"> |
|
|
|
<div class="rel-call"> |
|
|
|
{{ houseInfo.userList[1].relation }} |
|
|
|
</div> |
|
|
@ -205,23 +184,15 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
class="rel z-zuo-1" |
|
|
|
<div class="rel z-zuo-1" |
|
|
|
@click="toUserInfo(houseInfo.userList[2].userId)" |
|
|
|
v-if="houseInfo.userList[2]" |
|
|
|
> |
|
|
|
<img |
|
|
|
class="rel-bg" |
|
|
|
src="@/assets/img/shuju/people/huzhu-kuang-zuo.png" |
|
|
|
/> |
|
|
|
<img |
|
|
|
class="rel-line" |
|
|
|
src="@/assets/img/shuju/people/huzhu-line/zuo1.png" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="rel-text" |
|
|
|
:class="houseInfo.userList[2].isSelf == '1' ? 'z-on' : ''" |
|
|
|
> |
|
|
|
v-if="houseInfo.userList[2]"> |
|
|
|
<img class="rel-bg" |
|
|
|
src="@/assets/img/shuju/people/huzhu-kuang-zuo.png" /> |
|
|
|
<img class="rel-line" |
|
|
|
src="@/assets/img/shuju/people/huzhu-line/zuo1.png" /> |
|
|
|
<div class="rel-text" |
|
|
|
:class="houseInfo.userList[2].isSelf == '1' ? 'z-on' : ''"> |
|
|
|
<div class="rel-call"> |
|
|
|
{{ houseInfo.userList[2].relation }} |
|
|
|
</div> |
|
|
@ -231,23 +202,15 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
class="rel z-you-1" |
|
|
|
<div class="rel z-you-1" |
|
|
|
@click="toUserInfo(houseInfo.userList[3].userId)" |
|
|
|
v-if="houseInfo.userList[3]" |
|
|
|
> |
|
|
|
<img |
|
|
|
class="rel-bg" |
|
|
|
src="@/assets/img/shuju/people/huzhu-kuang-you.png" |
|
|
|
/> |
|
|
|
<img |
|
|
|
class="rel-line" |
|
|
|
src="@/assets/img/shuju/people/huzhu-line/you1.png" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="rel-text" |
|
|
|
:class="houseInfo.userList[3].isSelf == '1' ? 'z-on' : ''" |
|
|
|
> |
|
|
|
v-if="houseInfo.userList[3]"> |
|
|
|
<img class="rel-bg" |
|
|
|
src="@/assets/img/shuju/people/huzhu-kuang-you.png" /> |
|
|
|
<img class="rel-line" |
|
|
|
src="@/assets/img/shuju/people/huzhu-line/you1.png" /> |
|
|
|
<div class="rel-text" |
|
|
|
:class="houseInfo.userList[3].isSelf == '1' ? 'z-on' : ''"> |
|
|
|
<div class="rel-call"> |
|
|
|
{{ houseInfo.userList[3].relation }} |
|
|
|
</div> |
|
|
@ -257,23 +220,15 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
class="rel z-zuo-3" |
|
|
|
<div class="rel z-zuo-3" |
|
|
|
@click="toUserInfo(houseInfo.userList[4].userId)" |
|
|
|
v-if="houseInfo.userList[4]" |
|
|
|
> |
|
|
|
<img |
|
|
|
class="rel-bg" |
|
|
|
src="@/assets/img/shuju/people/huzhu-kuang-zuo.png" |
|
|
|
/> |
|
|
|
<img |
|
|
|
class="rel-line" |
|
|
|
src="@/assets/img/shuju/people/huzhu-line/zuo3.png" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="rel-text" |
|
|
|
:class="houseInfo.userList[4].isSelf == '1' ? 'z-on' : ''" |
|
|
|
> |
|
|
|
v-if="houseInfo.userList[4]"> |
|
|
|
<img class="rel-bg" |
|
|
|
src="@/assets/img/shuju/people/huzhu-kuang-zuo.png" /> |
|
|
|
<img class="rel-line" |
|
|
|
src="@/assets/img/shuju/people/huzhu-line/zuo3.png" /> |
|
|
|
<div class="rel-text" |
|
|
|
:class="houseInfo.userList[4].isSelf == '1' ? 'z-on' : ''"> |
|
|
|
<div class="rel-call"> |
|
|
|
{{ houseInfo.userList[4].relation }} |
|
|
|
</div> |
|
|
@ -283,23 +238,15 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
class="rel z-you-3" |
|
|
|
<div class="rel z-you-3" |
|
|
|
@click="toUserInfo(houseInfo.userList[5].userId)" |
|
|
|
v-if="houseInfo.userList[5]" |
|
|
|
> |
|
|
|
<img |
|
|
|
class="rel-bg" |
|
|
|
src="@/assets/img/shuju/people/huzhu-kuang-you.png" |
|
|
|
/> |
|
|
|
<img |
|
|
|
class="rel-line" |
|
|
|
src="@/assets/img/shuju/people/huzhu-line/you3.png" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="rel-text" |
|
|
|
:class="houseInfo.userList[5].isSelf == '1' ? 'z-on' : ''" |
|
|
|
> |
|
|
|
v-if="houseInfo.userList[5]"> |
|
|
|
<img class="rel-bg" |
|
|
|
src="@/assets/img/shuju/people/huzhu-kuang-you.png" /> |
|
|
|
<img class="rel-line" |
|
|
|
src="@/assets/img/shuju/people/huzhu-line/you3.png" /> |
|
|
|
<div class="rel-text" |
|
|
|
:class="houseInfo.userList[5].isSelf == '1' ? 'z-on' : ''"> |
|
|
|
<div class="rel-call"> |
|
|
|
{{ houseInfo.userList[5].relation }} |
|
|
|
</div> |
|
|
@ -321,23 +268,21 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="tb"> |
|
|
|
<cpt-tb |
|
|
|
:col-list="demand.colList" |
|
|
|
<cpt-tb :col-list="demand.colList" |
|
|
|
:loading="demand.loading" |
|
|
|
:header="demand.header" |
|
|
|
:list="demand.list" |
|
|
|
@operate="handleOperateDemandList" |
|
|
|
></cpt-tb> |
|
|
|
@operate="handleOperateDemandList"></cpt-tb> |
|
|
|
|
|
|
|
<div class="m-pagination" v-if="demand.total > demand.pageSize"> |
|
|
|
<div class="m-pagination" |
|
|
|
v-if="demand.total > demand.pageSize"> |
|
|
|
<el-pagination hide-on-single-page |
|
|
|
:current-page="demand.pageNo" |
|
|
|
:page-size="demand.pageSize" |
|
|
|
:total="demand.total" |
|
|
|
background |
|
|
|
layout="prev, pager, next" |
|
|
|
@current-change="handlePageNoChangeDemand" |
|
|
|
> |
|
|
|
@current-change="handlePageNoChangeDemand"> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -349,86 +294,70 @@ |
|
|
|
<cpt-card> |
|
|
|
<div class="title"> |
|
|
|
<img src="@/assets/img/shuju/title-tip.png" /> |
|
|
|
<a |
|
|
|
:class="{ 'z-on': showedIncidentOrTopic == 'incident' }" |
|
|
|
@click="showedIncidentOrTopic = 'incident'" |
|
|
|
>上报事件</a |
|
|
|
> |
|
|
|
<a |
|
|
|
:class="{ 'z-on': showedIncidentOrTopic == 'topic' }" |
|
|
|
@click="showedIncidentOrTopic = 'topic'" |
|
|
|
>发布话题</a |
|
|
|
> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="list-wrap" |
|
|
|
v-show="showedIncidentOrTopic == 'incident'" |
|
|
|
> |
|
|
|
<a :class="{ 'z-on': showedIncidentOrTopic == 'incident' }" |
|
|
|
@click="showedIncidentOrTopic = 'incident'">上报事件</a> |
|
|
|
<a :class="{ 'z-on': showedIncidentOrTopic == 'topic' }" |
|
|
|
@click="showedIncidentOrTopic = 'topic'">发布话题</a> |
|
|
|
</div> |
|
|
|
<div class="list-wrap" |
|
|
|
v-show="showedIncidentOrTopic == 'incident'"> |
|
|
|
<div class="list"> |
|
|
|
<div |
|
|
|
class="item" |
|
|
|
<div class="item" |
|
|
|
:key="'incident' + index" |
|
|
|
v-for="(item, index) in incident.list" |
|
|
|
@click="handleClickIncident(index)" |
|
|
|
> |
|
|
|
@click="handleClickIncident(index)"> |
|
|
|
<div class="item-title">{{ item.eventContent }}</div> |
|
|
|
<div class="item-date">{{ item.reportTime }}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
class="m-pagination" |
|
|
|
v-if="incident.total > incident.pageSize" |
|
|
|
> |
|
|
|
<div class="m-pagination" |
|
|
|
v-if="incident.total > incident.pageSize"> |
|
|
|
<el-pagination hide-on-single-page |
|
|
|
:current-page="incident.pageNo" |
|
|
|
:page-size="incident.pageSize" |
|
|
|
:total="incident.total" |
|
|
|
background |
|
|
|
layout="prev, pager, next" |
|
|
|
@current-change="handlePageNoChangeIncident" |
|
|
|
> |
|
|
|
@current-change="handlePageNoChangeIncident"> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-if="incident.list.length == 0" class="m-hint"> |
|
|
|
<img |
|
|
|
src="@/assets/img/modules/visual/noData.png" |
|
|
|
class="no-data-img" |
|
|
|
/> |
|
|
|
<div v-if="incident.list.length == 0" |
|
|
|
class="m-hint"> |
|
|
|
<img src="@/assets/img/modules/visual/noData.png" |
|
|
|
class="no-data-img" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="list-wrap" v-show="showedIncidentOrTopic == 'topic'"> |
|
|
|
<div class="list-wrap" |
|
|
|
v-show="showedIncidentOrTopic == 'topic'"> |
|
|
|
<div class="list"> |
|
|
|
<div |
|
|
|
class="item" |
|
|
|
<div class="item" |
|
|
|
:key="'topic' + index" |
|
|
|
v-for="(item, index) in topic.list" |
|
|
|
@click="handleClickTopic(index)" |
|
|
|
> |
|
|
|
@click="handleClickTopic(index)"> |
|
|
|
<div class="item-title">{{ item.topicContent }}</div> |
|
|
|
<div class="item-date">{{ item.releaseTime }}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="m-pagination" v-if="topic.total > topic.pageSize"> |
|
|
|
<div class="m-pagination" |
|
|
|
v-if="topic.total > topic.pageSize"> |
|
|
|
<el-pagination hide-on-single-page |
|
|
|
:current-page="topic.pageNo" |
|
|
|
:page-size="topic.pageSize" |
|
|
|
:total="topic.total" |
|
|
|
background |
|
|
|
layout="prev, pager, next" |
|
|
|
@current-change="handlePageNoChangeTopic" |
|
|
|
> |
|
|
|
@current-change="handlePageNoChangeTopic"> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-if="topic.list.length == 0" class="m-hint"> |
|
|
|
<img |
|
|
|
src="@/assets/img/modules/visual/noData.png" |
|
|
|
class="no-data-img" |
|
|
|
/> |
|
|
|
<div v-if="topic.list.length == 0" |
|
|
|
class="m-hint"> |
|
|
|
<img src="@/assets/img/modules/visual/noData.png" |
|
|
|
class="no-data-img" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</cpt-card> |
|
|
@ -443,12 +372,10 @@ |
|
|
|
|
|
|
|
<div class="list-wrap"> |
|
|
|
<div class="list"> |
|
|
|
<div |
|
|
|
class="item" |
|
|
|
<div class="item" |
|
|
|
:key="'point' + index" |
|
|
|
v-for="(item, index) in point.list" |
|
|
|
@click="handleClickPoint(index)" |
|
|
|
> |
|
|
|
@click="handleClickPoint(index)"> |
|
|
|
<div class="item-row"> |
|
|
|
<div class="item-l"> |
|
|
|
<div class="item-point">{{ item.point }}</div> |
|
|
@ -461,23 +388,22 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="m-pagination" v-if="point.total > point.pageSize"> |
|
|
|
<div class="m-pagination" |
|
|
|
v-if="point.total > point.pageSize"> |
|
|
|
<el-pagination hide-on-single-page |
|
|
|
:current-page="point.pageNo" |
|
|
|
:page-size="point.pageSize" |
|
|
|
:total="point.total" |
|
|
|
background |
|
|
|
layout="prev, pager, next" |
|
|
|
@current-change="handlePageNoChangePoint" |
|
|
|
> |
|
|
|
@current-change="handlePageNoChangePoint"> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-if="point.list.length == 0" class="m-hint"> |
|
|
|
<img |
|
|
|
src="@/assets/img/modules/visual/noData.png" |
|
|
|
class="no-data-img" |
|
|
|
/> |
|
|
|
<div v-if="point.list.length == 0" |
|
|
|
class="m-hint"> |
|
|
|
<img src="@/assets/img/modules/visual/noData.png" |
|
|
|
class="no-data-img" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</cpt-card> |
|
|
@ -485,40 +411,33 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<demand-info |
|
|
|
v-if="demand.list.length > 0 && showedDemandInfo" |
|
|
|
<demand-info v-if="demand.list.length > 0 && showedDemandInfo" |
|
|
|
:userId="userId" |
|
|
|
queryOrigin="personal-data" |
|
|
|
:demandId="demand.srcList[demand.currentIndex].demandRecId" |
|
|
|
@close="showedDemandInfo = false" |
|
|
|
/> |
|
|
|
@handleAssignOk="handleAssignOk" /> |
|
|
|
|
|
|
|
<template v-if="incident.list.length > 0 && incident.showedInfo"> |
|
|
|
<incident-info |
|
|
|
v-if=" |
|
|
|
<incident-info v-if=" |
|
|
|
$store.state.user.customerId == 'b09527201c4409e19d1dbc5e3c3429a1' |
|
|
|
" |
|
|
|
:resiEventId="incident.list[incident.currentIndex].resiEventId" |
|
|
|
:epmetUserIdList="info.epmetUserIdList" |
|
|
|
:icResiUserId="userId" |
|
|
|
@close="incident.showedInfo = false" |
|
|
|
/> |
|
|
|
<event-info |
|
|
|
v-else |
|
|
|
@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" |
|
|
|
/> |
|
|
|
@close="incident.showedInfo = false" /> |
|
|
|
</template> |
|
|
|
|
|
|
|
<topic-info |
|
|
|
v-if="topic.list.length > 0 && topic.showedInfo" |
|
|
|
<topic-info v-if="topic.list.length > 0 && topic.showedInfo" |
|
|
|
:topicId="topic.list[topic.currentIndex].topicId" |
|
|
|
:epmetUserIdList="info.epmetUserIdList" |
|
|
|
:icResiUserId="userId" |
|
|
|
@close="topic.showedInfo = false" |
|
|
|
/> |
|
|
|
@close="topic.showedInfo = false" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -555,7 +474,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
data() { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
breadList: [], |
|
|
|
showedMoreInfo: false, |
|
|
@ -659,7 +578,7 @@ export default { |
|
|
|
|
|
|
|
computed: {}, |
|
|
|
|
|
|
|
beforeRouteEnter(to, from, next) { |
|
|
|
beforeRouteEnter (to, from, next) { |
|
|
|
console.log("让我看看", to); |
|
|
|
if (from) { |
|
|
|
const arr = [{ ...from }, { ...to, meta: { title: "个人详情" } }]; |
|
|
@ -671,14 +590,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; |
|
|
@ -687,21 +606,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( |
|
|
@ -717,16 +636,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(); |
|
|
@ -735,12 +654,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, |
|
|
@ -756,7 +675,7 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
//加载组织数据 |
|
|
|
async getHouseInfo() { |
|
|
|
async getHouseInfo () { |
|
|
|
const url = "/epmetuser/icresiuser/ownerrelation"; |
|
|
|
let params = { |
|
|
|
userId: this.userId, |
|
|
@ -771,20 +690,25 @@ 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; |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
//指派成功后刷新 |
|
|
|
handleAssignOk () { |
|
|
|
this.getDemandData(); |
|
|
|
}, |
|
|
|
|
|
|
|
//加载组织数据 |
|
|
|
async getDemandData() { |
|
|
|
async getDemandData () { |
|
|
|
const url = "/heart/userdemand/mydemand"; |
|
|
|
let params = { |
|
|
|
epmetUserIdList: this.info.epmetUserIdList, |
|
|
@ -814,18 +738,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"; |
|
|
|
|
|
|
|
// 市北沿用旧接口 |
|
|
@ -853,18 +777,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, |
|
|
@ -884,18 +808,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, |
|
|
|