Browse Source

11

shibei_master
jiangyy 3 years ago
parent
commit
bd14b36bbd
  1. 7
      src/App.vue
  2. 5
      src/assets/scss/modules/management/epidemic.scss
  3. 56
      src/views/modules/base/epidemic/natFocus/natFocusAdd.vue
  4. 4
      src/views/modules/base/epidemic/natFocus/natFocusList.vue
  5. 101
      src/views/modules/base/epidemic/natInfo/natList.vue
  6. 3
      src/views/modules/base/epidemic/veroFocus/veroFocusAdd.vue
  7. 4
      src/views/modules/base/epidemic/veroFocus/veroFocusList.vue
  8. 30
      src/views/modules/communityService/ninePlaces/inspect/inspect.vue
  9. 377
      src/views/modules/shequ/index.vue

7
src/App.vue

@ -187,4 +187,11 @@ export default {
padding: 6px !important; padding: 6px !important;
background-color: rgb(247, 250, 253); background-color: rgb(247, 250, 253);
} }
//
.table-more-btn {
display: flex;
flex-direction: column;
justify-content: center;
}
</style> </style>

5
src/assets/scss/modules/management/epidemic.scss

@ -75,11 +75,6 @@
} }
} }
.more-btn {
display: flex;
flex-direction: column;
justify-content: center;
}
.div-mult-form { .div-mult-form {
margin-top: 20px; margin-top: 20px;

56
src/views/modules/base/epidemic/natFocus/natFocusAdd.vue

@ -127,14 +127,29 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="疫苗接种次数小于"
<el-form-item label="检测时间"
prop="startTime">
<el-date-picker v-model="timeRange"
size="mini"
type="daterange"
@change="handleTimeChange"
format="yyyy-MM-dd"
value-format="yyyyMMdd"
range-separator="至"
start-placeholder="开始时间"
end-placeholder="结束时间">
</el-date-picker>
</el-form-item>
<el-form-item label="核酸检测次数小于"
label-width="150px"> label-width="150px">
<el-input-number class="item_width_3" <el-input-number class="item_width_3"
v-model="formDataSearch.vaccineCount" v-model="formDataSearch.natCount"
size="mini" size="mini"
:min="0" :min="0"
:max="20" :max="20"
label="疫苗接种次数小于"></el-input-number> label="核酸检测次数小于"></el-input-number>
</el-form-item> </el-form-item>
<el-button style="margin-left:30px" <el-button style="margin-left:30px"
size="mini" size="mini"
@ -183,7 +198,7 @@
label="身份证" label="身份证"
min-width="170"> min-width="170">
</el-table-column> </el-table-column>
<el-table-column prop="vaccineCount" <el-table-column prop="natCount"
header-align="center" header-align="center"
align="center" align="center"
label="疫苗接种次数" label="疫苗接种次数"
@ -324,8 +339,12 @@ export default {
formDataSearch: { formDataSearch: {
gridId: '', gridId: '',
vaccineCount: undefined, natCount: undefined,
startDate: '',
endDate: '',
attentionType: 2
}, },
timeRange: [],
formData1: { formData1: {
attentionType: 2, attentionType: 2,
@ -384,7 +403,7 @@ export default {
async loadTable () { async loadTable () {
this.tableLoading = true this.tableLoading = true
const url = "/epmetuser/epidemicPrevention/page" const url = "/epmetuser/epidemicPrevention/user-list"
// const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/epidemicPrevention/page" // const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/epidemicPrevention/page"
let params = { let params = {
pageSize: this.pageSize, pageSize: this.pageSize,
@ -410,6 +429,19 @@ export default {
this.tableLoading = false this.tableLoading = false
}, },
handleTimeChange (time) {
if (time) {
this.formData.startDate = time[0]
this.formData.endDate = time[1]
} else {
this.formData.startDate = ''
this.formData.endDate = ''
}
},
handleSelectTable (selection, row) { handleSelectTable (selection, row) {
row.isSel = !row.isSel row.isSel = !row.isSel
@ -656,14 +688,9 @@ export default {
resetSearch () { resetSearch () {
this.formDataSearch = { this.formDataSearch = {
gridId: '', gridId: '',
vaccineCount: undefined, natCount: undefined,
} }
}, this.timeRange = []
destroyed () {
console.log(11111111)
}, },
resetData () { resetData () {
@ -690,12 +717,11 @@ export default {
} }
this.formDataSearch = { this.formDataSearch = {
gridId: '', gridId: '',
vaccineCount: undefined, natCount: undefined,
} }
this.selectionAll = []// this.selectionAll = []//
}, },
handleSizeChange (val) { handleSizeChange (val) {

4
src/views/modules/base/epidemic/natFocus/natFocusList.vue

@ -189,14 +189,14 @@
style="margin-left:10px" style="margin-left:10px"
width="20" width="20"
trigger="click"> trigger="click">
<div class="more-btn"> <div class="table-more-btn">
<el-button type="text" <el-button type="text"
class="div-table-button--detail--noline" class="div-table-button--detail--noline"
size="small" size="small"
@click="handleNoticeList(scope.row)">通知记录</el-button> @click="handleNoticeList(scope.row)">通知记录</el-button>
</div> </div>
<div class="more-btn"> <div class="table-more-btn">
<el-button type="text" <el-button type="text"
class="div-table-button--detail--noline" class="div-table-button--detail--noline"
size="small" size="small"

101
src/views/modules/base/epidemic/natInfo/natList.vue

@ -19,6 +19,36 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="本辖区居民">
<el-select class="list_item_width_1"
size="small"
:disabled="formData.orgType!='current'"
v-model.trim="formData.isResiUser"
placeholder="请选择">
<el-option v-for="item in isResiUserList"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="接种时间"
prop="startTime">
<el-date-picker v-model="timeRange"
size="small"
type="datetimerange"
@change="handleTimeChange"
format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm"
range-separator="至"
start-placeholder="开始时间"
end-placeholder="结束时间">
</el-date-picker>
</el-form-item>
<div>
<el-form-item label="姓名" <el-form-item label="姓名"
prop="name"> prop="name">
<el-input v-model="formData.name" <el-input v-model="formData.name"
@ -49,22 +79,6 @@
placeholder="请输入身份证"> placeholder="请输入身份证">
</el-input> </el-input>
</el-form-item>
<div>
<el-form-item label="接种时间"
prop="startTime">
<el-date-picker v-model="timeRange"
size="small"
type="datetimerange"
@change="handleTimeChange"
format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm"
range-separator="至"
start-placeholder="开始时间"
end-placeholder="结束时间">
</el-date-picker>
</el-form-item> </el-form-item>
<el-button style="margin-left:30px" <el-button style="margin-left:30px"
@ -160,6 +174,14 @@
label="检测结果" label="检测结果"
width="100"> width="100">
</el-table-column> </el-table-column>
<el-table-column v-if="formData.orgType==='current'"
prop="isResiUserShow"
header-align="center"
align="center"
show-overflow-tooltip
label="是否本辖区居民"
width="120">
</el-table-column>
<el-table-column label="操作" <el-table-column label="操作"
fixed="right" fixed="right"
@ -174,48 +196,30 @@
size="small" size="small"
@click="handleDetail(scope.row)">查看</el-button> @click="handleDetail(scope.row)">查看</el-button>
<el-button v-if="scope.row.userType==='resi'||scope.row.userType==='icresi'" <el-button v-if="formData.orgType==='all'"
type="text"
class="div-table-button--edit"
size="small"
@click="handleEdit(scope.row)">修改</el-button>
<el-button v-if="scope.row.userType==='resi'||scope.row.userType==='icresi'"
type="text"
class="div-table-button--delete "
size="small"
@click="handleDelete(scope.row,'delete')">删除</el-button>
<el-button v-if="scope.row.userType==='import'&&scope.row.agencyId!==agencyId"
type="text" type="text"
class="div-table-button--edit" class="div-table-button--edit"
size="small" size="small"
@click="handleAttention(scope.row)">同步</el-button> @click="handleAttention(scope.row)">同步</el-button>
<el-button v-if="scope.row.userType==='synchro'&&scope.row.agencyId===agencyId" <el-button v-if="formData.orgType==='current'&&(scope.row.userType==='resi'||scope.row.userType==='icresi') &&scope.row.agencyId===agencyId"
type="text" type="text"
class="div-table-button--delete "
size="small"
@click="handleDelete(scope.row,'attention')">取消同步</el-button>
<!-- <el-button type="text"
class="div-table-button--edit" class="div-table-button--edit"
size="small" size="small"
@click="handleEdit(scope.row)">修改</el-button> @click="handleEdit(scope.row)">修改</el-button>
<el-button type="text" <el-button v-if="formData.orgType==='current'&&(scope.row.userType==='resi'||scope.row.userType==='icresi') &&scope.row.agencyId===agencyId"
type="text"
class="div-table-button--delete " class="div-table-button--delete "
size="small" size="small"
@click="handleDelete(scope.row,'delete')">删除</el-button> @click="handleDelete(scope.row,'delete')">删除</el-button>
<el-button type="text" <el-button v-if="formData.orgType==='current'&&scope.row.userType==='synchro'&&scope.row.agencyId===agencyId"
class="div-table-button--edit" type="text"
size="small"
@click="handleAttention(scope.row)">关注</el-button>
<el-button type="text"
class="div-table-button--delete " class="div-table-button--delete "
size="small" size="small"
@click="handleDelete(scope.row,'attention')">取消关注</el-button> --> @click="handleDelete(scope.row,'attention')">取消同步</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -277,6 +281,16 @@ export default {
label: '全部检测记录' label: '全部检测记录'
}, },
], ],
isResiUserList: [
{
value: '0',
label: '否'
},
{
value: '1',
label: '是'
},
],
timeRange: [], timeRange: [],
formData: { formData: {
@ -286,6 +300,7 @@ export default {
idCard: '',// idCard: '',//
startTime: '',//yyyy-MM-dd HH:mm startTime: '',//yyyy-MM-dd HH:mm
endTime: '',//yyyy-MM-dd HH:mm endTime: '',//yyyy-MM-dd HH:mm
isResiUser: ''//0: 1:
}, },
@ -337,6 +352,8 @@ export default {
this.tableData = data.list this.tableData = data.list
this.tableData.forEach(item => { this.tableData.forEach(item => {
item.isResiUserShow = item.isResiUser === '0' ? '否' : '是'
if (item.natResult === '1') { if (item.natResult === '1') {
item.natResultShow = '阳性' item.natResultShow = '阳性'
} else if (item.natResult === '0') { } else if (item.natResult === '0') {

3
src/views/modules/base/epidemic/veroFocus/veroFocusAdd.vue

@ -303,6 +303,7 @@ export default {
formDataSearch: { formDataSearch: {
gridId: '', gridId: '',
vaccineCount: undefined, vaccineCount: undefined,
attentionType: 1
}, },
formData1: { formData1: {
@ -361,7 +362,7 @@ export default {
async loadTable () { async loadTable () {
this.tableLoading = true this.tableLoading = true
const url = "/epmetuser/epidemicPrevention/page" const url = "/epmetuser/epidemicPrevention/user-list"
// const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/epidemicPrevention/page" // const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/epidemicPrevention/page"
let params = { let params = {
pageSize: this.pageSize, pageSize: this.pageSize,

4
src/views/modules/base/epidemic/veroFocus/veroFocusList.vue

@ -184,14 +184,14 @@
style="margin-left:10px" style="margin-left:10px"
width="20" width="20"
trigger="click"> trigger="click">
<div class="more-btn"> <div class="table-more-btn">
<el-button type="text" <el-button type="text"
class="div-table-button--detail--noline" class="div-table-button--detail--noline"
size="small" size="small"
@click="handleNoticeList(scope.row)">通知记录</el-button> @click="handleNoticeList(scope.row)">通知记录</el-button>
</div> </div>
<div class="more-btn"> <div class="table-more-btn">
<el-button type="text" <el-button type="text"
class="div-table-button--detail--noline" class="div-table-button--detail--noline"
size="small" size="small"

30
src/views/modules/communityService/ninePlaces/inspect/inspect.vue

@ -183,14 +183,36 @@
class="div-table-button--detail" class="div-table-button--detail"
size="small" size="small"
@click="handleDetail(scope.row)">查看</el-button> @click="handleDetail(scope.row)">查看</el-button>
<el-button type="text"
class="div-table-button--edit"
size="small"
:disabled="true"
@click="handleEdit(scope.row)">修改</el-button>
<el-popover popper-class="btn-popper"
placement="bottom"
style="margin-left:10px"
width="20"
trigger="click">
<div class="table-more-btn">
<el-button type="text" <el-button type="text"
class="div-table-button--edit" class="div-table-button--edit"
size="small" size="small"
@click="handleReview(scope.row)">复查记录</el-button> @click="handleReview(scope.row)">复查记录</el-button>
</div>
<div class="table-more-btn">
<el-button type="text" <el-button type="text"
class="div-table-button--delete" class="div-table-button--delete"
size="small" size="small"
@click="handleDelete(scope.row)">删除</el-button> @click="handleDelete(scope.row)">删除</el-button>
</div>
<el-button type="text"
size="small"
class="div-table-button--more"
slot="reference">更多<i class="el-icon-caret-bottom"></i></el-button>
</el-popover>
</template> </template>
</el-table-column> </el-table-column>
@ -428,6 +450,14 @@ export default {
}) })
}, },
handleEdit (row) {
this.formTitle = '编辑'
this.formShow = true
this.$nextTick(() => {
this.$refs.ref_form.initForm('edit', row)
})
},
handleReview (row) { handleReview (row) {
this.reviewShow = true this.reviewShow = true
this.$nextTick(() => { this.$nextTick(() => {

377
src/views/modules/shequ/index.vue

@ -10,12 +10,10 @@
<div class="search"> <div class="search">
<div class="input"> <div class="input">
<el-dropdown <el-dropdown class="select"
class="select"
placement="bottom" placement="bottom"
v-model="searchData.type" v-model="searchData.type"
@command="(type) => (searchData.type = type)" @command="(type) => (searchData.type = type)">
>
<span class="select-show"> <span class="select-show">
{{ {{
{ jumin: "居民", fangwu: "房屋", xuqiu: "需求" }[ { jumin: "居民", fangwu: "房屋", xuqiu: "需求" }[
@ -30,48 +28,38 @@
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<input <input type="text"
type="text"
:placeholder="typePlaceholder[searchData.type]" :placeholder="typePlaceholder[searchData.type]"
v-model="searchData.keyword" v-model="searchData.keyword"
@keyup.enter="handleClickSearchBtn" @keyup.enter="handleClickSearchBtn" />
/>
<div <div class="close-btn"
class="close-btn"
v-if="searchData.keyword != ''" v-if="searchData.keyword != ''"
@click="searchData.keyword = ''" @click="searchData.keyword = ''">
>
<img src="@/assets/img/shequ/close.png" /> <img src="@/assets/img/shequ/close.png" />
</div> </div>
</div> </div>
<div class="btn" @click="handleClickSearchBtn">搜索</div> <div class="btn"
@click="handleClickSearchBtn">搜索</div>
</div> </div>
<div <div class="m-tb"
class="m-tb"
v-if=" v-if="
searchData.type == 'jumin' && searchData.type == 'jumin' &&
searchData.keyword != '' && searchData.keyword != '' &&
searchStatus == 'ing' searchStatus == 'ing'
" ">
>
<div class="tb"> <div class="tb">
<el-table <el-table :data="searchJumin.list"
:data="searchJumin.list"
border border
style="width: 100%" style="width: 100%"
class="resi-table" class="resi-table"
:max-height="1000" :max-height="1000">
> <el-table-column label="序号"
<el-table-column
label="序号"
type="index" type="index"
align="center" align="center"
width="50" width="50" />
/> <el-table-column v-for="item in searchJumin.header"
<el-table-column
v-for="item in searchJumin.header"
:key="item.columnName" :key="item.columnName"
:prop="item.columnName" :prop="item.columnName"
:label="item.label" :label="item.label"
@ -81,238 +69,199 @@
item.itemType === 'radio' item.itemType === 'radio'
? computedWidth(item.label) ? computedWidth(item.label)
: 180 : 180
" ">
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ handleFilterSpan(scope.row, item) }}</span> <span>{{ handleFilterSpan(scope.row, item) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" align="center"> <el-table-column fixed="right"
label="操作"
align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button @click="handleWatchSearchJumin(scope.$index)"
@click="handleWatchSearchJumin(scope.$index)"
type="text" type="text"
size="small" size="small">查看</el-button>
>查看</el-button
>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div> <div>
<el-pagination <el-pagination @size-change="handleSizeChangeSearchJumin"
@size-change="handleSizeChangeSearchJumin"
@current-change="handleCurrentChangeSearchJumin" @current-change="handleCurrentChangeSearchJumin"
:current-page.sync="searchJumin.pageNo" :current-page.sync="searchJumin.pageNo"
:page-sizes="[20, 50, 100, 200]" :page-sizes="[20, 50, 100, 200]"
:page-size="parseInt(searchJumin.pageSize)" :page-size="parseInt(searchJumin.pageSize)"
layout="sizes, prev, pager, next" layout="sizes, prev, pager, next, total"
:total="searchJumin.total" :total="searchJumin.total">
>
</el-pagination> </el-pagination>
</div> </div>
</div> </div>
</div> </div>
<div <div class="m-tb"
class="m-tb"
v-if=" v-if="
searchData.type == 'fangwu' && searchData.type == 'fangwu' &&
searchData.keyword != '' && searchData.keyword != '' &&
searchStatus == 'ing' searchStatus == 'ing'
" ">
>
<div class="tb"> <div class="tb">
<el-table <el-table :data="searchFangwu.list"
:data="searchFangwu.list"
v-loading="searchFangwu.loading" v-loading="searchFangwu.loading"
border border
:max-height="1000" :max-height="1000"
style="width: 100%" style="width: 100%">
> <el-table-column label="序号"
<el-table-column
label="序号"
type="index" type="index"
align="center" align="center"
width="50" width="50" />
/> <el-table-column prop="houseName"
<el-table-column
prop="houseName"
label="房屋名称" label="房屋名称"
width="120" width="120">
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="neighborHoodName"
prop="neighborHoodName"
label="所属小区" label="所属小区"
width="160" width="160">
>
</el-table-column> </el-table-column>
<el-table-column prop="buildingName" label="所属楼栋"> <el-table-column prop="buildingName"
label="所属楼栋">
</el-table-column> </el-table-column>
<el-table-column prop="unitNum" label="单元号"> <el-table-column prop="unitNum"
label="单元号">
</el-table-column> </el-table-column>
<el-table-column prop="doorName" label="门牌号"> <el-table-column prop="doorName"
label="门牌号">
</el-table-column> </el-table-column>
<el-table-column prop="houseType" label="类型"> <el-table-column prop="houseType"
label="类型">
</el-table-column> </el-table-column>
<el-table-column prop="purpose" label="用途"> <el-table-column prop="purpose"
label="用途">
</el-table-column> </el-table-column>
<el-table-column prop="rentFlag" label="是否出租"> <el-table-column prop="rentFlag"
label="是否出租">
</el-table-column> </el-table-column>
<el-table-column prop="ownerName" label="房主姓名"> <el-table-column prop="ownerName"
label="房主姓名">
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="ownerPhone"
prop="ownerPhone"
label="房主电话" label="房主电话"
width="110" width="110">
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="ownerIdCard"
prop="ownerIdCard"
label="身份证" label="身份证"
width="170" width="170">
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="操作"
label="操作"
fixed="right" fixed="right"
header-align="center" header-align="center"
align="center" align="center"
class="operate" class="operate">
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button type="text"
type="text"
style="color: #1c6afd; text-decoration: underline" style="color: #1c6afd; text-decoration: underline"
size="small" size="small"
@click="handleWatchSearchFangwu(scope.row)" @click="handleWatchSearchFangwu(scope.row)">查看</el-button>
>查看</el-button
>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div> <div>
<el-pagination <el-pagination @size-change="handleSizeChangeSearchFangwu"
@size-change="handleSizeChangeSearchFangwu"
@current-change="handleCurrentChangeSearchFangwu" @current-change="handleCurrentChangeSearchFangwu"
:current-page.sync="searchFangwu.pageNo" :current-page.sync="searchFangwu.pageNo"
:page-sizes="[20, 50, 100, 200]" :page-sizes="[20, 50, 100, 200]"
:page-size="parseInt(searchFangwu.pageSize)" :page-size="parseInt(searchFangwu.pageSize)"
layout="sizes, prev, pager, next" layout="sizes, prev, pager, next"
:total="searchFangwu.total" :total="searchFangwu.total">
>
</el-pagination> </el-pagination>
</div> </div>
</div> </div>
</div> </div>
<div <div class="m-tb"
class="m-tb"
v-if=" v-if="
searchData.type == 'xuqiu' && searchData.type == 'xuqiu' &&
searchData.keyword != '' && searchData.keyword != '' &&
searchStatus == 'ing' searchStatus == 'ing'
" ">
>
<div class="tb"> <div class="tb">
<el-table <el-table :data="searchXuqiu.list"
:data="searchXuqiu.list"
v-loading="searchXuqiu.loading" v-loading="searchXuqiu.loading"
border border
:max-height="1000" :max-height="1000"
style="width: 100%" style="width: 100%">
> <el-table-column label="序号"
<el-table-column
label="序号"
type="index" type="index"
align="center" align="center"
width="50" width="50" />
/>
<el-table-column <el-table-column v-for="item in searchXuqiu.header"
v-for="item in searchXuqiu.header"
:key="item.columnName" :key="item.columnName"
:prop="item.columnName" :prop="item.columnName"
:label="item.label" :label="item.label"
:align="item.align" :align="item.align"
:width="item.width" :width="item.width"
:show-overflow-tooltip="true" :show-overflow-tooltip="true">
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ handleFilterSpan(scope.row, item) }}</span> <span>{{ handleFilterSpan(scope.row, item) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="操作"
label="操作"
fixed="right" fixed="right"
header-align="center" header-align="center"
align="center" align="center"
class="operate" class="operate">
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button type="text"
type="text"
style="color: #1c6afd; text-decoration: underline" style="color: #1c6afd; text-decoration: underline"
size="small" size="small"
@click="handleWatchSearchXuqiu(scope.row)" @click="handleWatchSearchXuqiu(scope.row)">查看</el-button>
>查看</el-button
>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div> <div>
<el-pagination <el-pagination @size-change="handleSizeChangeSearchXuqiu"
@size-change="handleSizeChangeSearchXuqiu"
@current-change="handleCurrentChangeSearchXuqiu" @current-change="handleCurrentChangeSearchXuqiu"
:current-page.sync="searchXuqiu.pageNo" :current-page.sync="searchXuqiu.pageNo"
:page-sizes="[20, 50, 100, 200]" :page-sizes="[20, 50, 100, 200]"
:page-size="parseInt(searchXuqiu.pageSize)" :page-size="parseInt(searchXuqiu.pageSize)"
layout="sizes, prev, pager, next" layout="sizes, prev, pager, next"
:total="searchXuqiu.total" :total="searchXuqiu.total">
>
</el-pagination> </el-pagination>
</div> </div>
</div> </div>
</div> </div>
<div <div class="m-tb"
class="m-tb"
v-if=" v-if="
searchData.type == 'xuqiu' && searchData.type == 'xuqiu' &&
searchData.keyword != '' && searchData.keyword != '' &&
searchStatus == 'ing' searchStatus == 'ing'
" ">
>
<div class="tb"></div> <div class="tb"></div>
</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-title">常用功能</div>
<div class="list"> <div class="list">
<div <div class="item"
class="item"
:key="item.menuId" :key="item.menuId"
@click="handleClickFunc(item)" @click="handleClickFunc(item)"
v-for="item in funcList" v-for="item in funcList">
>
<div class="icon"> <div class="icon">
<svg <svg class="icon-svg aui-sidebar__menu-icon"
class="icon-svg aui-sidebar__menu-icon" aria-hidden="true">
aria-hidden="true"
>
<use :xlink:href="`#${item.icon}`" /> <use :xlink:href="`#${item.icon}`" />
</svg> </svg>
</div> </div>
<p>{{ item.menuName }}</p> <p>{{ item.menuName }}</p>
</div> </div>
<div class="item" @click="showedFuncPanel = true"> <div class="item"
@click="showedFuncPanel = true">
<div class="icon"> <div class="icon">
<img <img src="@/assets/img/shequ/function/tianjiayingyong.png" />
src="@/assets/img/shequ/function/tianjiayingyong.png"
/>
</div> </div>
<p>添加应用</p> <p>添加应用</p>
</div> </div>
@ -321,21 +270,22 @@
</div> </div>
</div> </div>
<div class="m-data" v-if="searchStatus == 'ini'"> <div class="m-data"
v-if="searchStatus == 'ini'">
<div class="wrap"> <div class="wrap">
<div class="header"> <div class="header">
<div class="headline">人员预警</div> <div class="headline">人员预警</div>
<div class="notice" v-if="noticeList.length > 0"> <div class="notice"
<div class="notice-btn" @click="toNoticeInfo">通知</div> v-if="noticeList.length > 0">
<div class="notice-btn"
@click="toNoticeInfo">通知</div>
<div class="notice-list"> <div class="notice-list">
<scroll-notice :list="noticeList"> <scroll-notice :list="noticeList">
<a <a class="notice-item"
class="notice-item"
v-for="(item, index) in noticeList" v-for="(item, index) in noticeList"
:key="item.configId + item.buildingId + index" :key="item.configId + item.buildingId + index"
@click="toNoticeInfo(item)" @click="toNoticeInfo(item)">
>
{{ item.noticeContent }} {{ item.noticeContent }}
</a> </a>
</scroll-notice> </scroll-notice>
@ -345,59 +295,55 @@
<div class="cnt"> <div class="cnt">
<div class="chart"> <div class="chart">
<bar-chart <bar-chart :width="520"
:width="520"
:height="420" :height="420"
v-if="warningChart.loading" v-if="warningChart.loading"
:total="warningChart.total" :total="warningChart.total"
:list="warningChart.list" :list="warningChart.list"
@clickBar="changeCategoryCode" @clickBar="changeCategoryCode" />
/>
</div> </div>
<div class="tb"> <div class="tb">
<el-table <el-table :data="warningTb.list"
:data="warningTb.list"
border border
style="width: 100%" style="width: 100%"
class="resi-table" class="resi-table"
:max-height="maxTableHeight" :max-height="maxTableHeight">
> <el-table-column label="序号"
<el-table-column
label="序号"
type="index" type="index"
align="center" align="center"
width="50" width="50" />
/> <el-table-column prop="typeName"
<el-table-column prop="typeName" label="类型"> label="类型">
</el-table-column> </el-table-column>
<el-table-column prop="gridName" label="所属网格"> <el-table-column prop="gridName"
label="所属网格">
</el-table-column> </el-table-column>
<el-table-column prop="name" label="姓名"> </el-table-column> <el-table-column prop="name"
<el-table-column prop="family" label="所属家庭"> label="姓名"> </el-table-column>
<el-table-column prop="family"
label="所属家庭">
</el-table-column> </el-table-column>
<el-table-column prop="mobile" label="电话"> <el-table-column prop="mobile"
label="电话">
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" align="center"> <el-table-column fixed="right"
label="操作"
align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button @click="handleWatchWarning(scope.$index)"
@click="handleWatchWarning(scope.$index)"
type="text" type="text"
size="small" size="small">查看</el-button>
>查看</el-button
>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div> <div>
<el-pagination <el-pagination @size-change="handleSizeChangeWarning"
@size-change="handleSizeChangeWarning"
@current-change="handleCurrentChangeWarning" @current-change="handleCurrentChangeWarning"
:current-page.sync="warningTb.pageNo" :current-page.sync="warningTb.pageNo"
:page-sizes="[20, 50, 100, 200]" :page-sizes="[20, 50, 100, 200]"
:page-size="parseInt(warningTb.pageSize)" :page-size="parseInt(warningTb.pageSize)"
layout="sizes, prev, pager, next" layout="sizes, prev, pager, next, total"
:total="warningTb.total" :total="warningTb.total">
>
</el-pagination> </el-pagination>
</div> </div>
</div> </div>
@ -407,35 +353,27 @@
</div> </div>
<!-- 修改弹出框 --> <!-- 修改弹出框 -->
<div <div v-show="showedFuncPanel"
v-show="showedFuncPanel"
v-if=" v-if="
Array.isArray($store.state.sidebarMenuList) && Array.isArray($store.state.sidebarMenuList) &&
$store.state.sidebarMenuList.length > 0 $store.state.sidebarMenuList.length > 0
" ">
>
<div class="m-panel"> <div class="m-panel">
<div <div class="m-list"
class="m-list" v-if="selectedFuncList && selectedFuncList.length > 0">
v-if="selectedFuncList && selectedFuncList.length > 0"
>
<div class="list-title">常用功能</div> <div class="list-title">常用功能</div>
<div class="list"> <div class="list">
<div <div class="item"
class="item"
:key="item.menuId" :key="item.menuId"
@click="selectFuncItem(item.menuId)" @click="selectFuncItem(item.menuId)"
v-for="item in selectedFuncList" v-for="item in selectedFuncList">
>
<div class="corner-mark z-on"> <div class="corner-mark z-on">
<i class="el-icon-success"></i> <i class="el-icon-success"></i>
</div> </div>
<div class="icon"> <div class="icon">
<svg <svg class="icon-svg aui-sidebar__menu-icon"
class="icon-svg aui-sidebar__menu-icon" aria-hidden="true">
aria-hidden="true"
>
<use :xlink:href="`#${item.icon}`" /> <use :xlink:href="`#${item.icon}`" />
</svg> </svg>
</div> </div>
@ -447,33 +385,25 @@
<div class="m-list"> <div class="m-list">
<div class="list-title">所有功能</div> <div class="list-title">所有功能</div>
<div <div :key="'one' + menu.id"
:key="'one' + menu.id"
v-show="menu.children && menu.children.length > 0" 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-title2">{{ menu.name }}</div>
<div class="list"> <div class="list">
<div <div class="item"
class="item"
:key="'two' + item.id" :key="'two' + item.id"
@click="selectFuncItem(item.id)" @click="selectFuncItem(item.id)"
v-for="item in menu.children" v-for="item in menu.children">
> <div class="corner-mark"
<div
class="corner-mark"
:class="{ :class="{
'z-on': selectedFuncIdList.indexOf(item.id) !== -1, 'z-on': selectedFuncIdList.indexOf(item.id) !== -1,
}" }">
>
<i class="el-icon-success"></i> <i class="el-icon-success"></i>
</div> </div>
<div class="icon"> <div class="icon">
<svg <svg class="icon-svg aui-sidebar__menu-icon"
class="icon-svg aui-sidebar__menu-icon" aria-hidden="true">
aria-hidden="true"
>
<use :xlink:href="`#${item.icon}`" /> <use :xlink:href="`#${item.icon}`" />
</svg> </svg>
</div> </div>
@ -484,10 +414,11 @@
</div> </div>
<div class="operate"> <div class="operate">
<el-button round @click="showedFuncPanel = false">返回</el-button> <el-button round
<el-button type="primary" round @click="editFuncList" @click="showedFuncPanel = false">返回</el-button>
>确认</el-button <el-button type="primary"
> round
@click="editFuncList">确认</el-button>
</div> </div>
</div> </div>
</div> </div>
@ -500,47 +431,35 @@
<span>人员预警</span> <span>人员预警</span>
</div> </div>
<warning-list <warning-list :buildingId="currentNoticeBuildingId"
:buildingId="currentNoticeBuildingId" :configId="currentNoticeConfigId" />
:configId="currentNoticeConfigId"
/>
</div> </div>
<people-more <people-more v-if="showedPeopleMoreInfo && currentPepeleId"
v-if="showedPeopleMoreInfo && currentPepeleId"
:userId="currentPepeleId" :userId="currentPepeleId"
:gridName="currentPepeleGridName" :gridName="currentPepeleGridName"
@close="showedPeopleMoreInfo = false" @close="showedPeopleMoreInfo = false" />
/>
<!-- 修改弹出框 --> <!-- 修改弹出框 -->
<el-dialog <el-dialog :visible.sync="showedFangwuInfo"
:visible.sync="showedFangwuInfo"
:close-on-click-modal="false" :close-on-click-modal="false"
:close-on-press-escape="false" :close-on-press-escape="false"
title="房屋详情" title="房屋详情"
width="900px" width="900px"
@closed="showedFangwuInfo = false" @closed="showedFangwuInfo = false">
> <fangwu-info ref="fangwu_info"
<fangwu-info @dialogCancle="showedFangwuInfo = false"></fangwu-info>
ref="fangwu_info"
@dialogCancle="showedFangwuInfo = false"
></fangwu-info>
</el-dialog> </el-dialog>
<!-- 修改弹出框 --> <!-- 修改弹出框 -->
<el-dialog <el-dialog :visible.sync="showedXuqiuInfo"
:visible.sync="showedXuqiuInfo"
:close-on-click-modal="false" :close-on-click-modal="false"
:close-on-press-escape="false" :close-on-press-escape="false"
title="需求详情" title="需求详情"
width="900px" width="900px"
@closed="showedXuqiuInfo = false" @closed="showedXuqiuInfo = false">
> <xuqiu-info ref="xuqiu_info"
<xuqiu-info @dialogCancle="showedXuqiuInfo = false"></xuqiu-info>
ref="xuqiu_info"
@dialogCancle="showedXuqiuInfo = false"
></xuqiu-info>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>

Loading…
Cancel
Save