风险
This commit is contained in:
@@ -32,10 +32,10 @@
|
||||
<el-button icon="iconfont iconDelete" size="small" @click="removeAll" :disabled="ids.length == 0">删除 </el-button>
|
||||
</template>
|
||||
<template #right>
|
||||
<ai-download :instance="instance" url="/app/apppreventionreturntopovertyriskperson/export" :params="search" fileName="风险预警人员" :disabled="tableData.length == 0">
|
||||
<ai-download :instance="instance" url="/app/apppreventionreturntopovertyriskperson/export" :params="params" fileName="风险预警人员" :disabled="tableData.length == 0">
|
||||
<el-button icon="iconfont iconExported" :disabled="tableData.length == 0">导出</el-button>
|
||||
</ai-download>
|
||||
<ai-import :instance="instance" :dict="dict" type="apppreventionreturntopovertyriskperson" :importParams="search" name="风险预警人员" @success="getList()">
|
||||
<ai-import :instance="instance" :dict="dict" type="apppreventionreturntopovertyriskperson" name="风险预警人员" @success="getList()">
|
||||
<el-button icon="iconfont iconImport">导入</el-button>
|
||||
</ai-import>
|
||||
</template>
|
||||
@@ -95,8 +95,8 @@
|
||||
{prop: 'areaName', label: '所属区域', align: 'center' },
|
||||
{prop: 'remarks', label: '备注说明', align: 'center' },
|
||||
{prop: 'createTime', label: '操作时间', align: 'center'},
|
||||
{prop: 'visitUserName', label: '操作人', align: 'center' },
|
||||
{prop: 'createTime', label: '归口部门', align: 'center' },
|
||||
{prop: 'createUserName', label: '操作人', align: 'center' },
|
||||
{prop: 'departmentName', label: '归口部门', align: 'center' },
|
||||
{slot: 'options', label: '操作'}
|
||||
],
|
||||
tableData: []
|
||||
@@ -104,7 +104,17 @@
|
||||
},
|
||||
|
||||
computed: {
|
||||
...mapState(['user'])
|
||||
...mapState(['user']),
|
||||
|
||||
params () {
|
||||
if (this.ids.length) {
|
||||
return {
|
||||
ids: this.ids
|
||||
}
|
||||
}
|
||||
|
||||
return this.search
|
||||
}
|
||||
},
|
||||
|
||||
created () {
|
||||
|
||||
Reference in New Issue
Block a user