走访情况

This commit is contained in:
yanran200730
2022-03-26 15:34:50 +08:00
parent 88775a9bdb
commit 8fe222ba4b
9 changed files with 2259 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
<template>
<ai-list class="AppAssessment">
<template slot="title">
<ai-title title="工作考核" isShowBottomBorder :isShowArea="true" v-model="search.areaId" :instance="instance" @change="getList"></ai-title>
<ai-title title="工作考核" isShowBottomBorder :hideLevel="hideLevel" :isShowArea="true" v-model="search.areaId" :instance="instance" @change="getList"></ai-title>
</template>
<template slot="content">
<div class="statistics-top">
@@ -52,19 +52,45 @@
<template #content>
<ai-search-bar bottomBorder>
<template #left>
<el-date-picker
value-format="yyyy-MM-dd"
v-model="search.createTimeStart"
type="date"
size="small"
unlink-panels
placeholder="请选择开始日期"
@change="search.current = 1, getList()" />
<el-date-picker
value-format="yyyy-MM-dd"
v-model="search.createTimeEnd"
type="date"
size="small"
unlink-panels
placeholder="请选择结束日期"
@change="search.current = 1, getList()" />
<ai-select
v-model="search.riskType"
clearable
placeholder="请选择风险类型"
placeholder="请选择是否关联网格"
:selectList="dict.getDict('fpRiskType')"
@change="search.current = 1, getList()">
</ai-select>
<ai-select
v-model="search.riskType"
clearable
placeholder="请选择走访次数"
:selectList="dict.getDict('fpRiskType')"
@change="search.current = 1, getList()">
</ai-select>
<ai-download :instance="instance" url="/app/apppreventionreturntopovertyriskperson/export" :params="search" fileName="帮扶走访" :disabled="tableData.length == 0">
<el-button icon="iconfont iconExported" :disabled="tableData.length == 0">导出</el-button>
</ai-download>
</template>
<template #right>
<el-input
v-model="search.name"
size="small"
placeholder="姓名/风险说明/操作人"
placeholder="户主姓名/身份证号/网格员"
clearable
v-throttle="() => {search.current = 1, getList()}"
@clear="search.current = 1, search.name = '', getList()"
@@ -76,6 +102,8 @@
:tableData="tableData"
:col-configs="colConfigs"
:total="total"
tableSize="small"
border
style="margin-top: 12px;"
:current.sync="search.current"
:size.sync="search.size"
@@ -98,7 +126,7 @@
import { mapState } from 'vuex'
export default {
name: 'AppAssessment',
label: '工作考核',
props: {
instance: Function,
dict: Object
@@ -117,6 +145,7 @@
},
ids: [],
total: 10,
hideLevel: 3,
tableData: []
}
},
@@ -137,6 +166,7 @@
created () {
this.search.areaId = this.user.info.areaId
this.hideLevel = this.user.info.areaList.length
this.dict.load('epidemicRecentTestResult').then(() => {
this.getList()
})
@@ -209,12 +239,12 @@
}
.progress-wrapper {
height: 190px;
overflow: hidden;
}
.progress {
overflow-y: auto;
height: 190px;
.item {
display: flex;
align-items: center;