|
|
@ -10,12 +10,10 @@ |
|
|
|
|
|
|
|
<div class="search"> |
|
|
|
<div class="input"> |
|
|
|
<el-dropdown |
|
|
|
class="select" |
|
|
|
<el-dropdown class="select" |
|
|
|
placement="bottom" |
|
|
|
v-model="searchData.type" |
|
|
|
@command="(type) => (searchData.type = type)" |
|
|
|
> |
|
|
|
@command="(type) => (searchData.type = type)"> |
|
|
|
<span class="select-show"> |
|
|
|
{{ |
|
|
|
{ jumin: "居民", fangwu: "房屋", xuqiu: "需求" }[ |
|
|
@ -30,48 +28,38 @@ |
|
|
|
</el-dropdown-menu> |
|
|
|
</el-dropdown> |
|
|
|
|
|
|
|
<input |
|
|
|
type="text" |
|
|
|
<input type="text" |
|
|
|
:placeholder="typePlaceholder[searchData.type]" |
|
|
|
v-model="searchData.keyword" |
|
|
|
@keyup.enter="handleClickSearchBtn" |
|
|
|
/> |
|
|
|
@keyup.enter="handleClickSearchBtn" /> |
|
|
|
|
|
|
|
<div |
|
|
|
class="close-btn" |
|
|
|
<div class="close-btn" |
|
|
|
v-if="searchData.keyword != ''" |
|
|
|
@click="searchData.keyword = ''" |
|
|
|
> |
|
|
|
@click="searchData.keyword = ''"> |
|
|
|
<img src="@/assets/img/shequ/close.png" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="btn" @click="handleClickSearchBtn">搜索</div> |
|
|
|
<div class="btn" |
|
|
|
@click="handleClickSearchBtn">搜索</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
class="m-tb" |
|
|
|
<div class="m-tb" |
|
|
|
v-if=" |
|
|
|
searchData.type == 'jumin' && |
|
|
|
searchData.keyword != '' && |
|
|
|
searchStatus == 'ing' |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
<div class="tb"> |
|
|
|
<el-table |
|
|
|
:data="searchJumin.list" |
|
|
|
<el-table :data="searchJumin.list" |
|
|
|
border |
|
|
|
style="width: 100%" |
|
|
|
class="resi-table" |
|
|
|
:max-height="1000" |
|
|
|
> |
|
|
|
<el-table-column |
|
|
|
label="序号" |
|
|
|
:max-height="1000"> |
|
|
|
<el-table-column label="序号" |
|
|
|
type="index" |
|
|
|
align="center" |
|
|
|
width="50" |
|
|
|
/> |
|
|
|
<el-table-column |
|
|
|
v-for="item in searchJumin.header" |
|
|
|
width="50" /> |
|
|
|
<el-table-column v-for="item in searchJumin.header" |
|
|
|
:key="item.columnName" |
|
|
|
:prop="item.columnName" |
|
|
|
:label="item.label" |
|
|
@ -81,238 +69,199 @@ |
|
|
|
item.itemType === 'radio' |
|
|
|
? computedWidth(item.label) |
|
|
|
: 180 |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ handleFilterSpan(scope.row, item) }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column fixed="right" label="操作" align="center"> |
|
|
|
<el-table-column fixed="right" |
|
|
|
label="操作" |
|
|
|
align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button |
|
|
|
@click="handleWatchSearchJumin(scope.$index)" |
|
|
|
<el-button @click="handleWatchSearchJumin(scope.$index)" |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
>查看</el-button |
|
|
|
> |
|
|
|
size="small">查看</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
|
|
|
|
<div> |
|
|
|
<el-pagination |
|
|
|
@size-change="handleSizeChangeSearchJumin" |
|
|
|
<el-pagination @size-change="handleSizeChangeSearchJumin" |
|
|
|
@current-change="handleCurrentChangeSearchJumin" |
|
|
|
:current-page.sync="searchJumin.pageNo" |
|
|
|
:page-sizes="[20, 50, 100, 200]" |
|
|
|
:page-size="parseInt(searchJumin.pageSize)" |
|
|
|
layout="sizes, prev, pager, next" |
|
|
|
:total="searchJumin.total" |
|
|
|
> |
|
|
|
layout="sizes, prev, pager, next, total" |
|
|
|
:total="searchJumin.total"> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
class="m-tb" |
|
|
|
<div class="m-tb" |
|
|
|
v-if=" |
|
|
|
searchData.type == 'fangwu' && |
|
|
|
searchData.keyword != '' && |
|
|
|
searchStatus == 'ing' |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
<div class="tb"> |
|
|
|
<el-table |
|
|
|
:data="searchFangwu.list" |
|
|
|
<el-table :data="searchFangwu.list" |
|
|
|
v-loading="searchFangwu.loading" |
|
|
|
border |
|
|
|
:max-height="1000" |
|
|
|
style="width: 100%" |
|
|
|
> |
|
|
|
<el-table-column |
|
|
|
label="序号" |
|
|
|
style="width: 100%"> |
|
|
|
<el-table-column label="序号" |
|
|
|
type="index" |
|
|
|
align="center" |
|
|
|
width="50" |
|
|
|
/> |
|
|
|
<el-table-column |
|
|
|
prop="houseName" |
|
|
|
width="50" /> |
|
|
|
<el-table-column prop="houseName" |
|
|
|
label="房屋名称" |
|
|
|
width="120" |
|
|
|
> |
|
|
|
width="120"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="neighborHoodName" |
|
|
|
<el-table-column prop="neighborHoodName" |
|
|
|
label="所属小区" |
|
|
|
width="160" |
|
|
|
> |
|
|
|
width="160"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="buildingName" label="所属楼栋"> |
|
|
|
<el-table-column prop="buildingName" |
|
|
|
label="所属楼栋"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="unitNum" label="单元号"> |
|
|
|
<el-table-column prop="unitNum" |
|
|
|
label="单元号"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="doorName" label="门牌号"> |
|
|
|
<el-table-column prop="doorName" |
|
|
|
label="门牌号"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="houseType" label="类型"> |
|
|
|
<el-table-column prop="houseType" |
|
|
|
label="类型"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="purpose" label="用途"> |
|
|
|
<el-table-column prop="purpose" |
|
|
|
label="用途"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="rentFlag" label="是否出租"> |
|
|
|
<el-table-column prop="rentFlag" |
|
|
|
label="是否出租"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="ownerName" label="房主姓名"> |
|
|
|
<el-table-column prop="ownerName" |
|
|
|
label="房主姓名"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="ownerPhone" |
|
|
|
<el-table-column prop="ownerPhone" |
|
|
|
label="房主电话" |
|
|
|
width="110" |
|
|
|
> |
|
|
|
width="110"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="ownerIdCard" |
|
|
|
<el-table-column prop="ownerIdCard" |
|
|
|
label="身份证" |
|
|
|
width="170" |
|
|
|
> |
|
|
|
width="170"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
label="操作" |
|
|
|
<el-table-column label="操作" |
|
|
|
fixed="right" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
class="operate" |
|
|
|
> |
|
|
|
class="operate"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button |
|
|
|
type="text" |
|
|
|
<el-button type="text" |
|
|
|
style="color: #1c6afd; text-decoration: underline" |
|
|
|
size="small" |
|
|
|
@click="handleWatchSearchFangwu(scope.row)" |
|
|
|
>查看</el-button |
|
|
|
> |
|
|
|
@click="handleWatchSearchFangwu(scope.row)">查看</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<div> |
|
|
|
<el-pagination |
|
|
|
@size-change="handleSizeChangeSearchFangwu" |
|
|
|
<el-pagination @size-change="handleSizeChangeSearchFangwu" |
|
|
|
@current-change="handleCurrentChangeSearchFangwu" |
|
|
|
:current-page.sync="searchFangwu.pageNo" |
|
|
|
:page-sizes="[20, 50, 100, 200]" |
|
|
|
:page-size="parseInt(searchFangwu.pageSize)" |
|
|
|
layout="sizes, prev, pager, next" |
|
|
|
:total="searchFangwu.total" |
|
|
|
> |
|
|
|
:total="searchFangwu.total"> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
class="m-tb" |
|
|
|
<div class="m-tb" |
|
|
|
v-if=" |
|
|
|
searchData.type == 'xuqiu' && |
|
|
|
searchData.keyword != '' && |
|
|
|
searchStatus == 'ing' |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
<div class="tb"> |
|
|
|
<el-table |
|
|
|
:data="searchXuqiu.list" |
|
|
|
<el-table :data="searchXuqiu.list" |
|
|
|
v-loading="searchXuqiu.loading" |
|
|
|
border |
|
|
|
:max-height="1000" |
|
|
|
style="width: 100%" |
|
|
|
> |
|
|
|
<el-table-column |
|
|
|
label="序号" |
|
|
|
style="width: 100%"> |
|
|
|
<el-table-column label="序号" |
|
|
|
type="index" |
|
|
|
align="center" |
|
|
|
width="50" |
|
|
|
/> |
|
|
|
width="50" /> |
|
|
|
|
|
|
|
<el-table-column |
|
|
|
v-for="item in searchXuqiu.header" |
|
|
|
<el-table-column v-for="item in searchXuqiu.header" |
|
|
|
:key="item.columnName" |
|
|
|
:prop="item.columnName" |
|
|
|
:label="item.label" |
|
|
|
:align="item.align" |
|
|
|
:width="item.width" |
|
|
|
:show-overflow-tooltip="true" |
|
|
|
> |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ handleFilterSpan(scope.row, item) }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column |
|
|
|
label="操作" |
|
|
|
<el-table-column label="操作" |
|
|
|
fixed="right" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
class="operate" |
|
|
|
> |
|
|
|
class="operate"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button |
|
|
|
type="text" |
|
|
|
<el-button type="text" |
|
|
|
style="color: #1c6afd; text-decoration: underline" |
|
|
|
size="small" |
|
|
|
@click="handleWatchSearchXuqiu(scope.row)" |
|
|
|
>查看</el-button |
|
|
|
> |
|
|
|
@click="handleWatchSearchXuqiu(scope.row)">查看</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<div> |
|
|
|
<el-pagination |
|
|
|
@size-change="handleSizeChangeSearchXuqiu" |
|
|
|
<el-pagination @size-change="handleSizeChangeSearchXuqiu" |
|
|
|
@current-change="handleCurrentChangeSearchXuqiu" |
|
|
|
:current-page.sync="searchXuqiu.pageNo" |
|
|
|
:page-sizes="[20, 50, 100, 200]" |
|
|
|
:page-size="parseInt(searchXuqiu.pageSize)" |
|
|
|
layout="sizes, prev, pager, next" |
|
|
|
:total="searchXuqiu.total" |
|
|
|
> |
|
|
|
:total="searchXuqiu.total"> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
class="m-tb" |
|
|
|
<div class="m-tb" |
|
|
|
v-if=" |
|
|
|
searchData.type == 'xuqiu' && |
|
|
|
searchData.keyword != '' && |
|
|
|
searchStatus == 'ing' |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
<div class="tb"></div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="m-list" v-if="searchStatus == 'ini'"> |
|
|
|
<div class="m-list" |
|
|
|
v-if="searchStatus == 'ini'"> |
|
|
|
<div class="list-title">常用功能</div> |
|
|
|
<div class="list"> |
|
|
|
<div |
|
|
|
class="item" |
|
|
|
<div class="item" |
|
|
|
:key="item.menuId" |
|
|
|
@click="handleClickFunc(item)" |
|
|
|
v-for="item in funcList" |
|
|
|
> |
|
|
|
v-for="item in funcList"> |
|
|
|
<div class="icon"> |
|
|
|
<svg |
|
|
|
class="icon-svg aui-sidebar__menu-icon" |
|
|
|
aria-hidden="true" |
|
|
|
> |
|
|
|
<svg class="icon-svg aui-sidebar__menu-icon" |
|
|
|
aria-hidden="true"> |
|
|
|
<use :xlink:href="`#${item.icon}`" /> |
|
|
|
</svg> |
|
|
|
</div> |
|
|
|
<p>{{ item.menuName }}</p> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="item" @click="showedFuncPanel = true"> |
|
|
|
<div class="item" |
|
|
|
@click="showedFuncPanel = true"> |
|
|
|
<div class="icon"> |
|
|
|
<img |
|
|
|
src="@/assets/img/shequ/function/tianjiayingyong.png" |
|
|
|
/> |
|
|
|
<img src="@/assets/img/shequ/function/tianjiayingyong.png" /> |
|
|
|
</div> |
|
|
|
<p>添加应用</p> |
|
|
|
</div> |
|
|
@ -321,21 +270,22 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="m-data" v-if="searchStatus == 'ini'"> |
|
|
|
<div class="m-data" |
|
|
|
v-if="searchStatus == 'ini'"> |
|
|
|
<div class="wrap"> |
|
|
|
<div class="header"> |
|
|
|
<div class="headline">人员预警</div> |
|
|
|
|
|
|
|
<div class="notice" v-if="noticeList.length > 0"> |
|
|
|
<div class="notice-btn" @click="toNoticeInfo">通知</div> |
|
|
|
<div class="notice" |
|
|
|
v-if="noticeList.length > 0"> |
|
|
|
<div class="notice-btn" |
|
|
|
@click="toNoticeInfo">通知</div> |
|
|
|
<div class="notice-list"> |
|
|
|
<scroll-notice :list="noticeList"> |
|
|
|
<a |
|
|
|
class="notice-item" |
|
|
|
<a class="notice-item" |
|
|
|
v-for="(item, index) in noticeList" |
|
|
|
:key="item.configId + item.buildingId + index" |
|
|
|
@click="toNoticeInfo(item)" |
|
|
|
> |
|
|
|
@click="toNoticeInfo(item)"> |
|
|
|
{{ item.noticeContent }} |
|
|
|
</a> |
|
|
|
</scroll-notice> |
|
|
@ -345,59 +295,55 @@ |
|
|
|
|
|
|
|
<div class="cnt"> |
|
|
|
<div class="chart"> |
|
|
|
<bar-chart |
|
|
|
:width="520" |
|
|
|
<bar-chart :width="520" |
|
|
|
:height="420" |
|
|
|
v-if="warningChart.loading" |
|
|
|
:total="warningChart.total" |
|
|
|
:list="warningChart.list" |
|
|
|
@clickBar="changeCategoryCode" |
|
|
|
/> |
|
|
|
@clickBar="changeCategoryCode" /> |
|
|
|
</div> |
|
|
|
<div class="tb"> |
|
|
|
<el-table |
|
|
|
:data="warningTb.list" |
|
|
|
<el-table :data="warningTb.list" |
|
|
|
border |
|
|
|
style="width: 100%" |
|
|
|
class="resi-table" |
|
|
|
:max-height="maxTableHeight" |
|
|
|
> |
|
|
|
<el-table-column |
|
|
|
label="序号" |
|
|
|
:max-height="maxTableHeight"> |
|
|
|
<el-table-column label="序号" |
|
|
|
type="index" |
|
|
|
align="center" |
|
|
|
width="50" |
|
|
|
/> |
|
|
|
<el-table-column prop="typeName" label="类型"> |
|
|
|
width="50" /> |
|
|
|
<el-table-column prop="typeName" |
|
|
|
label="类型"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="gridName" label="所属网格"> |
|
|
|
<el-table-column prop="gridName" |
|
|
|
label="所属网格"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="name" label="姓名"> </el-table-column> |
|
|
|
<el-table-column prop="family" label="所属家庭"> |
|
|
|
<el-table-column prop="name" |
|
|
|
label="姓名"> </el-table-column> |
|
|
|
<el-table-column prop="family" |
|
|
|
label="所属家庭"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="mobile" label="电话"> |
|
|
|
<el-table-column prop="mobile" |
|
|
|
label="电话"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column fixed="right" label="操作" align="center"> |
|
|
|
<el-table-column fixed="right" |
|
|
|
label="操作" |
|
|
|
align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button |
|
|
|
@click="handleWatchWarning(scope.$index)" |
|
|
|
<el-button @click="handleWatchWarning(scope.$index)" |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
>查看</el-button |
|
|
|
> |
|
|
|
size="small">查看</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<div> |
|
|
|
<el-pagination |
|
|
|
@size-change="handleSizeChangeWarning" |
|
|
|
<el-pagination @size-change="handleSizeChangeWarning" |
|
|
|
@current-change="handleCurrentChangeWarning" |
|
|
|
:current-page.sync="warningTb.pageNo" |
|
|
|
:page-sizes="[20, 50, 100, 200]" |
|
|
|
:page-size="parseInt(warningTb.pageSize)" |
|
|
|
layout="sizes, prev, pager, next" |
|
|
|
:total="warningTb.total" |
|
|
|
> |
|
|
|
layout="sizes, prev, pager, next, total" |
|
|
|
:total="warningTb.total"> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -407,35 +353,27 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 修改弹出框 --> |
|
|
|
<div |
|
|
|
v-show="showedFuncPanel" |
|
|
|
<div v-show="showedFuncPanel" |
|
|
|
v-if=" |
|
|
|
Array.isArray($store.state.sidebarMenuList) && |
|
|
|
$store.state.sidebarMenuList.length > 0 |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
<div class="m-panel"> |
|
|
|
<div |
|
|
|
class="m-list" |
|
|
|
v-if="selectedFuncList && selectedFuncList.length > 0" |
|
|
|
> |
|
|
|
<div class="m-list" |
|
|
|
v-if="selectedFuncList && selectedFuncList.length > 0"> |
|
|
|
<div class="list-title">常用功能</div> |
|
|
|
<div class="list"> |
|
|
|
<div |
|
|
|
class="item" |
|
|
|
<div class="item" |
|
|
|
:key="item.menuId" |
|
|
|
@click="selectFuncItem(item.menuId)" |
|
|
|
v-for="item in selectedFuncList" |
|
|
|
> |
|
|
|
v-for="item in selectedFuncList"> |
|
|
|
<div class="corner-mark z-on"> |
|
|
|
<i class="el-icon-success"></i> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="icon"> |
|
|
|
<svg |
|
|
|
class="icon-svg aui-sidebar__menu-icon" |
|
|
|
aria-hidden="true" |
|
|
|
> |
|
|
|
<svg class="icon-svg aui-sidebar__menu-icon" |
|
|
|
aria-hidden="true"> |
|
|
|
<use :xlink:href="`#${item.icon}`" /> |
|
|
|
</svg> |
|
|
|
</div> |
|
|
@ -447,33 +385,25 @@ |
|
|
|
<div class="m-list"> |
|
|
|
<div class="list-title">所有功能</div> |
|
|
|
|
|
|
|
<div |
|
|
|
:key="'one' + menu.id" |
|
|
|
<div :key="'one' + menu.id" |
|
|
|
v-show="menu.children && menu.children.length > 0" |
|
|
|
v-for="menu in $store.state.sidebarMenuList" |
|
|
|
> |
|
|
|
v-for="menu in $store.state.sidebarMenuList"> |
|
|
|
<div class="list-title2">{{ menu.name }}</div> |
|
|
|
<div class="list"> |
|
|
|
<div |
|
|
|
class="item" |
|
|
|
<div class="item" |
|
|
|
:key="'two' + item.id" |
|
|
|
@click="selectFuncItem(item.id)" |
|
|
|
v-for="item in menu.children" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="corner-mark" |
|
|
|
v-for="item in menu.children"> |
|
|
|
<div class="corner-mark" |
|
|
|
:class="{ |
|
|
|
'z-on': selectedFuncIdList.indexOf(item.id) !== -1, |
|
|
|
}" |
|
|
|
> |
|
|
|
}"> |
|
|
|
<i class="el-icon-success"></i> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="icon"> |
|
|
|
<svg |
|
|
|
class="icon-svg aui-sidebar__menu-icon" |
|
|
|
aria-hidden="true" |
|
|
|
> |
|
|
|
<svg class="icon-svg aui-sidebar__menu-icon" |
|
|
|
aria-hidden="true"> |
|
|
|
<use :xlink:href="`#${item.icon}`" /> |
|
|
|
</svg> |
|
|
|
</div> |
|
|
@ -484,10 +414,11 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="operate"> |
|
|
|
<el-button round @click="showedFuncPanel = false">返回</el-button> |
|
|
|
<el-button type="primary" round @click="editFuncList" |
|
|
|
>确认</el-button |
|
|
|
> |
|
|
|
<el-button round |
|
|
|
@click="showedFuncPanel = false">返回</el-button> |
|
|
|
<el-button type="primary" |
|
|
|
round |
|
|
|
@click="editFuncList">确认</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -500,47 +431,35 @@ |
|
|
|
<span>人员预警</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<warning-list |
|
|
|
:buildingId="currentNoticeBuildingId" |
|
|
|
:configId="currentNoticeConfigId" |
|
|
|
/> |
|
|
|
<warning-list :buildingId="currentNoticeBuildingId" |
|
|
|
:configId="currentNoticeConfigId" /> |
|
|
|
</div> |
|
|
|
|
|
|
|
<people-more |
|
|
|
v-if="showedPeopleMoreInfo && currentPepeleId" |
|
|
|
<people-more v-if="showedPeopleMoreInfo && currentPepeleId" |
|
|
|
:userId="currentPepeleId" |
|
|
|
:gridName="currentPepeleGridName" |
|
|
|
@close="showedPeopleMoreInfo = false" |
|
|
|
/> |
|
|
|
@close="showedPeopleMoreInfo = false" /> |
|
|
|
|
|
|
|
<!-- 修改弹出框 --> |
|
|
|
<el-dialog |
|
|
|
:visible.sync="showedFangwuInfo" |
|
|
|
<el-dialog :visible.sync="showedFangwuInfo" |
|
|
|
:close-on-click-modal="false" |
|
|
|
:close-on-press-escape="false" |
|
|
|
title="房屋详情" |
|
|
|
width="900px" |
|
|
|
@closed="showedFangwuInfo = false" |
|
|
|
> |
|
|
|
<fangwu-info |
|
|
|
ref="fangwu_info" |
|
|
|
@dialogCancle="showedFangwuInfo = false" |
|
|
|
></fangwu-info> |
|
|
|
@closed="showedFangwuInfo = false"> |
|
|
|
<fangwu-info ref="fangwu_info" |
|
|
|
@dialogCancle="showedFangwuInfo = false"></fangwu-info> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!-- 修改弹出框 --> |
|
|
|
<el-dialog |
|
|
|
:visible.sync="showedXuqiuInfo" |
|
|
|
<el-dialog :visible.sync="showedXuqiuInfo" |
|
|
|
:close-on-click-modal="false" |
|
|
|
:close-on-press-escape="false" |
|
|
|
title="需求详情" |
|
|
|
width="900px" |
|
|
|
@closed="showedXuqiuInfo = false" |
|
|
|
> |
|
|
|
<xuqiu-info |
|
|
|
ref="xuqiu_info" |
|
|
|
@dialogCancle="showedXuqiuInfo = false" |
|
|
|
></xuqiu-info> |
|
|
|
@closed="showedXuqiuInfo = false"> |
|
|
|
<xuqiu-info ref="xuqiu_info" |
|
|
|
@dialogCancle="showedXuqiuInfo = false"></xuqiu-info> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -566,7 +485,7 @@ export default { |
|
|
|
scrollNotice, |
|
|
|
}, |
|
|
|
|
|
|
|
data() { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
searchStatus: "ini", //ing over |
|
|
|
searchData: { |
|
|
@ -763,7 +682,7 @@ export default { |
|
|
|
}; |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
selectedFuncList() { |
|
|
|
selectedFuncList () { |
|
|
|
const { |
|
|
|
selectedFuncIdList, |
|
|
|
$store: { |
|
|
@ -795,7 +714,7 @@ export default { |
|
|
|
}); |
|
|
|
return selectedFuncIdList.map((id) => obj[id]); |
|
|
|
}, |
|
|
|
maxTableHeight() { |
|
|
|
maxTableHeight () { |
|
|
|
// return this.clientHeight - 450; |
|
|
|
return 420; |
|
|
|
}, |
|
|
@ -808,7 +727,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted () { |
|
|
|
this.getApiData(); |
|
|
|
console.log( |
|
|
|
"dynamicMenuRoutes----------------------------", |
|
|
@ -816,18 +735,18 @@ export default { |
|
|
|
); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
changeCategoryCode({ code }) { |
|
|
|
changeCategoryCode ({ code }) { |
|
|
|
this.currentCategoryCode = code || ""; |
|
|
|
|
|
|
|
this.warningTb.pageNo = 1; |
|
|
|
this.getWarningTb(); |
|
|
|
}, |
|
|
|
|
|
|
|
computedWidth(label) { |
|
|
|
computedWidth (label) { |
|
|
|
const wd = 20 * label.length; |
|
|
|
return wd > 80 ? wd : 80; |
|
|
|
}, |
|
|
|
handleFilterSpan(row, item) { |
|
|
|
handleFilterSpan (row, item) { |
|
|
|
let _val = ""; |
|
|
|
if (item.options && item.options.length > 0) { |
|
|
|
item.options.forEach((n) => { |
|
|
@ -837,7 +756,7 @@ export default { |
|
|
|
return _val || row[item.columnName]; |
|
|
|
}, |
|
|
|
|
|
|
|
handleClickSearchBtn() { |
|
|
|
handleClickSearchBtn () { |
|
|
|
const { |
|
|
|
searchData: { type, keyword }, |
|
|
|
} = this; |
|
|
@ -858,18 +777,18 @@ export default { |
|
|
|
this.searchStatus = "ing"; |
|
|
|
}, |
|
|
|
|
|
|
|
handleSizeChangeWarning(val) { |
|
|
|
handleSizeChangeWarning (val) { |
|
|
|
console.log(`每页 ${val} 条`); |
|
|
|
this.warningTb.pageSize = val; |
|
|
|
window.localStorage.setItem("pageSize", val); |
|
|
|
this.getWarningTb(); |
|
|
|
}, |
|
|
|
handleCurrentChangeWarning(val) { |
|
|
|
handleCurrentChangeWarning (val) { |
|
|
|
console.log(`当前页: ${val}`); |
|
|
|
this.warningTb.pageNo = val; |
|
|
|
this.getWarningTb(); |
|
|
|
}, |
|
|
|
async handleWatchWarning(rowIndex) { |
|
|
|
async handleWatchWarning (rowIndex) { |
|
|
|
let item = this.warningTb.list[rowIndex]; |
|
|
|
this.currentPepeleId = item.userId; |
|
|
|
this.currentPepeleGridName = item.gridName; |
|
|
@ -877,18 +796,18 @@ export default { |
|
|
|
this.showedPeopleMoreInfo = true; |
|
|
|
}, |
|
|
|
|
|
|
|
handleSizeChangeSearchJumin(val) { |
|
|
|
handleSizeChangeSearchJumin (val) { |
|
|
|
console.log(`每页 ${val} 条`); |
|
|
|
this.searchJumin.pageSize = val; |
|
|
|
window.localStorage.setItem("pageSize", val); |
|
|
|
this.getSearchJumin(); |
|
|
|
}, |
|
|
|
handleCurrentChangeSearchJumin(val) { |
|
|
|
handleCurrentChangeSearchJumin (val) { |
|
|
|
console.log(`当前页: ${val}`); |
|
|
|
this.searchJumin.pageNo = val; |
|
|
|
this.getSearchJumin(); |
|
|
|
}, |
|
|
|
async handleWatchSearchJumin(rowIndex) { |
|
|
|
async handleWatchSearchJumin (rowIndex) { |
|
|
|
let item = this.searchJumin.list[rowIndex]; |
|
|
|
this.currentPepeleId = item.icResiUserId; |
|
|
|
this.currentPepeleGridName = item.GRID_ID; |
|
|
@ -896,41 +815,41 @@ export default { |
|
|
|
this.showedPeopleMoreInfo = true; |
|
|
|
}, |
|
|
|
|
|
|
|
handleSizeChangeSearchFangwu(val) { |
|
|
|
handleSizeChangeSearchFangwu (val) { |
|
|
|
console.log(`每页 ${val} 条`); |
|
|
|
this.searchFangwu.pageSize = val; |
|
|
|
window.localStorage.setItem("pageSize", val); |
|
|
|
this.getSearchFangwu(); |
|
|
|
}, |
|
|
|
handleCurrentChangeSearchFangwu(val) { |
|
|
|
handleCurrentChangeSearchFangwu (val) { |
|
|
|
console.log(`当前页: ${val}`); |
|
|
|
this.searchFangwu.pageNo = val; |
|
|
|
this.getSearchFangwu(); |
|
|
|
}, |
|
|
|
async handleWatchSearchFangwu(row) { |
|
|
|
async handleWatchSearchFangwu (row) { |
|
|
|
this.showedFangwuInfo = true; |
|
|
|
await nextTick(); |
|
|
|
this.$refs.fangwu_info.initForm("detail", row); |
|
|
|
}, |
|
|
|
|
|
|
|
handleSizeChangeSearchXuqiu(val) { |
|
|
|
handleSizeChangeSearchXuqiu (val) { |
|
|
|
console.log(`每页 ${val} 条`); |
|
|
|
this.searchXuqiu.pageSize = val; |
|
|
|
window.localStorage.setItem("pageSize", val); |
|
|
|
this.getSearchXuqiu(); |
|
|
|
}, |
|
|
|
handleCurrentChangeSearchXuqiu(val) { |
|
|
|
handleCurrentChangeSearchXuqiu (val) { |
|
|
|
console.log(`当前页: ${val}`); |
|
|
|
this.searchXuqiu.pageNo = val; |
|
|
|
this.getSearchXuqiu(); |
|
|
|
}, |
|
|
|
async handleWatchSearchXuqiu(row) { |
|
|
|
async handleWatchSearchXuqiu (row) { |
|
|
|
this.showedXuqiuInfo = true; |
|
|
|
await nextTick(); |
|
|
|
this.$refs.xuqiu_info.initForm("detail", row); |
|
|
|
}, |
|
|
|
|
|
|
|
handleClickFunc(menu) { |
|
|
|
handleClickFunc (menu) { |
|
|
|
const menuId = menu.menuId; |
|
|
|
var route = window.SITE_CONFIG["dynamicMenuRoutes"].filter( |
|
|
|
(item) => item.meta.menuId === menuId |
|
|
@ -940,7 +859,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
getApiData() { |
|
|
|
getApiData () { |
|
|
|
this.getFuncList(); |
|
|
|
this.getWarningList(); |
|
|
|
this.getWarningTb(); |
|
|
@ -948,7 +867,7 @@ export default { |
|
|
|
this.getNoticeList(); |
|
|
|
}, |
|
|
|
|
|
|
|
selectFuncItem(id) { |
|
|
|
selectFuncItem (id) { |
|
|
|
let index = this.selectedFuncIdList.indexOf(id); |
|
|
|
if (index === -1) { |
|
|
|
this.selectedFuncIdList.push(id); |
|
|
@ -957,7 +876,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
toNoticeInfo(item) { |
|
|
|
toNoticeInfo (item) { |
|
|
|
console.log(item); |
|
|
|
this.currentPage = "yujing"; |
|
|
|
if (item) { |
|
|
@ -969,7 +888,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
async getNoticeList() { |
|
|
|
async getNoticeList () { |
|
|
|
const url = "/epmetuser/statsresiwarn/queryuserwarnnotice"; |
|
|
|
const { data, code, msg } = await requestPost(url, { |
|
|
|
agencyId: this.$store.state.user.agencyId, |
|
|
@ -981,7 +900,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
async getSearchJuminHeader() { |
|
|
|
async getSearchJuminHeader () { |
|
|
|
const url = "/oper/customize/icform/tableheaders"; |
|
|
|
const { data, code, msg } = await requestPost(url, { |
|
|
|
formCode: "resi_base_info", |
|
|
@ -994,7 +913,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
async getSearchXuqiu() { |
|
|
|
async getSearchXuqiu () { |
|
|
|
const url = "/heart/userdemand/search"; |
|
|
|
const { |
|
|
|
searchData: { keyword }, |
|
|
@ -1017,7 +936,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
async getSearchJumin() { |
|
|
|
async getSearchJumin () { |
|
|
|
const url = "/epmetuser/icresiuser/search"; |
|
|
|
const { |
|
|
|
searchData: { keyword }, |
|
|
@ -1040,7 +959,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
async getSearchFangwu() { |
|
|
|
async getSearchFangwu () { |
|
|
|
const url = "/gov/org/house/search"; |
|
|
|
const { |
|
|
|
searchData: { keyword }, |
|
|
@ -1063,7 +982,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
async getWarningTb() { |
|
|
|
async getWarningTb () { |
|
|
|
const url = "/epmetuser/icresiuser/personwarn/rightlist"; |
|
|
|
const { |
|
|
|
warningTb: { pageSize, pageNo }, |
|
|
@ -1087,7 +1006,7 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
//加载组织数据 |
|
|
|
async getWarningList() { |
|
|
|
async getWarningList () { |
|
|
|
const url = "/epmetuser/icstatsresiwarn/personwarn/leftpie"; |
|
|
|
let params = {}; |
|
|
|
|
|
|
@ -1110,7 +1029,7 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
//加载组织数据 |
|
|
|
async getFuncList() { |
|
|
|
async getFuncList () { |
|
|
|
const url = "/gov/access/icoftenusefunction/oftenusefunctionlist"; |
|
|
|
let params = {}; |
|
|
|
|
|
|
@ -1125,7 +1044,7 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
//加载组织数据 |
|
|
|
async editFuncList() { |
|
|
|
async editFuncList () { |
|
|
|
const url = "/gov/access/icoftenusefunction/addoftenusefunction"; |
|
|
|
const { selectedFuncIdList } = this; |
|
|
|
let params = selectedFuncIdList.map((menuId, sort) => { |
|
|
|