| | |
| | | }); |
| | | }; |
| | | |
| | | export const getStatistic = (params) => { |
| | | return request({ |
| | | url: "/api/blade-backblastPubRecord/backblastPubRecord/getStatistic", |
| | | method: "get", |
| | | meta: { |
| | | isToken: true, |
| | | }, |
| | | params: params, |
| | | }); |
| | | }; |
| | | |
| | | /** |
| | | * 获得反诈预警列表 |
| | | * @param {*} params |
| | |
| | | } |
| | | |
| | | /** |
| | | * 租户查询统计 |
| | | * @param {*} params |
| | | * @returns |
| | | */ |
| | | export const selectTenantStatistic = (params) => { |
| | | return request({ |
| | | url: "/api/blade-household/household/selectTenantStatistic", |
| | | method: "get", |
| | | meta: { |
| | | isToken: true, |
| | | }, |
| | | params: params, |
| | | }) |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获得租客列表 |
| | | * @param {*} params |
| | | * @returns |
| | |
| | | <el-button @click="searchBtn" icon="el-icon-search" class="bjnr-btn">搜索</el-button> |
| | | <el-button @click="resetBtn" icon="el-icon-delete" class="bjnr-btn">清除</el-button> |
| | | </div> |
| | | <div class="search-item-box" style="overflow-wrap: break-word;" v-if=" chooseTab == 1"> |
| | | <el-button @click="filterAppBtn(1)" class="bjnr-btn" |
| | | :class="{ isOneClick: criminalRecordFlag == 1 }">已下载反炸app({{ isFzAppNum ? isFzAppNum : |
| | | '0' |
| | | }}) 宣防人员数({{ isFzAppPersonNum ? isFzAppPersonNum : |
| | | '0' }})</el-button> |
| | | </div> |
| | | <div class="search-item-box" style="overflow-wrap: break-word;" v-if=" chooseTab == 1"> |
| | | <el-button @click="filterAlarmBtn(1)" class="bjnr-btn" |
| | | :class="{ isOneClick: criminalRecordFlag == 1 }">打开预警功能({{ isOpenAlarmNum ? isOpenAlarmNum : |
| | | '0' |
| | | }})宣防人员数({{ isOpenAlarmPersonNum ? isOpenAlarmPersonNum : |
| | | '0' }})</el-button> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="list police-info" ref="tableBox"> |
| | |
| | | import { initMapPosition } from '@/utils/mapPositionInit' |
| | | import { |
| | | getBackblastPubRecordList, |
| | | getBackblastWarnHanRecList |
| | | getBackblastWarnHanRecList, |
| | | getStatistic |
| | | } from "@/api/antiFraudShow/index.js" |
| | | import detailDialog from './components/detailDialog.vue' |
| | | |
| | |
| | | |
| | | data () { |
| | | return { |
| | | isFzAppNum:0, |
| | | isFzAppPersonNum:0, |
| | | isOpenAlarmNum:0, |
| | | isOpenAlarmPersonNum:0, |
| | | isFzApp:null, |
| | | isOpenAlarm:null, |
| | | chooseTab: 1, |
| | | searchKey: '', |
| | | realEmptyText: "", |
| | |
| | | that.$nextTick(() => { |
| | | initMapPosition() |
| | | that.getList() |
| | | that.getStatistic() |
| | | }) |
| | | }, |
| | | |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | // 过滤 |
| | | filterAppBtn(isFzApp){ |
| | | this.isFzApp = isFzApp; |
| | | this.getList() |
| | | }, |
| | | filterAlarmBtn(isOpenAlarm){ |
| | | this.isOpenAlarm = isOpenAlarm; |
| | | this.getList() |
| | | }, |
| | | getStatistic(){ |
| | | var that = this |
| | | getStatistic({ |
| | | searchKey: this.searchKey, |
| | | }).then(res=>{ |
| | | that.isFzAppNum = res.data.data.isFzApp; |
| | | that.isFzAppPersonNum = res.data.data.isFzAppPersonNum; |
| | | that.isOpenAlarmNum = res.data.data.isOpenAlarm; |
| | | that.isOpenAlarmPersonNum = res.data.data.isOpenAlarmPersonNum; |
| | | }) |
| | | }, |
| | | // 切换tab |
| | | tabClick (curTab) { |
| | | this.chooseTab = curTab |
| | |
| | | getList () { |
| | | this.loading() |
| | | let params = { |
| | | isFzApp:this.isFzApp, |
| | | isOpenAlarm:this.isOpenAlarm, |
| | | searchKey: this.searchKey, |
| | | size: this.pages.pageSize, |
| | | current: this.pages.currentPage |
| | |
| | | // 反诈宣防列表 |
| | | if (this.chooseTab == 1) { |
| | | this.getBackblastPubRecordList(params) |
| | | this.getStatistic() |
| | | } else {// 反诈预警列表 |
| | | this.getBackblastWarnHanRecList(params) |
| | | } |
| | |
| | | |
| | | // 清空按钮 |
| | | resetBtn () { |
| | | this.isFzApp = null |
| | | this.isOpenAlarm = null |
| | | this.searchKey = '' |
| | | this.pages.currentPage = 1 |
| | | this.getList() |
| | |
| | | <el-button @click="resetSearch" icon="el-icon-delete" class="bjnr-btn">清除</el-button> |
| | | </div> |
| | | <div class="search-item-box" style="justify-content: flex-start;" v-if="chooseTab == '租客管理'"> |
| | | <el-button @click="filterBtn" icon="el-icon-s-check" class="bjnr-btn" |
| | | :class="{ isOneClick: keyManFlag == 3 }">重点人员</el-button> |
| | | <el-button @click="filterBtn" class="bjnr-btn" |
| | | :class="{ isOneClick: keyManFlag == 3 }">重点人员({{zdryNum}})</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="list police-info" ref="tableBox"> |
| | |
| | | |
| | | <script> |
| | | import { initMapPosition } from '@/utils/mapPositionInit' |
| | | import { getTaskResidencePermitApplyList, getHouseRentalList, getHouseholdSelectTenantList, getDictionaryListByCode } from "@/api/rentalInfo/index.js" |
| | | import { getTaskResidencePermitApplyList, getHouseRentalList, getHouseholdSelectTenantList, getDictionaryListByCode,selectTenantStatistic } from "@/api/rentalInfo/index.js" |
| | | import detailDialog from './components/detailDialog.vue' |
| | | |
| | | let loading = null |
| | |
| | | |
| | | data () { |
| | | return { |
| | | zdryNum:0, |
| | | boxShow: false, |
| | | tabList: ['居住证申请', '出租屋管理', '租客管理'], |
| | | chooseTab: '居住证申请', |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | selectTenantStatistic(){ |
| | | var that = this; |
| | | selectTenantStatistic({ |
| | | keyword:this.keyword |
| | | }).then(res=>{ |
| | | that.zdryNum = res.data.data.count; |
| | | }) |
| | | }, |
| | | // 下拉值发生改变 |
| | | changeSelect () { |
| | | this.pages.current = 1 |
| | |
| | | this.getHouseRentalList() |
| | | } else if (this.chooseTab == '租客管理') { |
| | | this.getHouseholdSelectTenantList() |
| | | this.selectTenantStatistic() |
| | | } |
| | | }, |
| | | |