BUG 28859

This commit is contained in:
aixianling
2022-04-11 11:18:01 +08:00
parent 7b949beaac
commit 15bdd4951d

View File

@@ -8,10 +8,10 @@
<el-button type="primary" icon="iconfont iconAdd" @click="toAdd('')">添加</el-button> <el-button type="primary" icon="iconfont iconAdd" @click="toAdd('')">添加</el-button>
</template> </template>
<template #right> <template #right>
<el-input size="small" placeholder="经营主体/统一信用代码" v-model="search.enterpriseName" clearable <el-input size="small" placeholder="经营主体/统一信用代码" v-model="search.enterpriseName" clearable
@clear="page.current = 1, search.enterpriseName = '', getTableData()" suffix-icon="iconfont iconSearch" @clear="page.current = 1, search.enterpriseName = '', getTableData()" suffix-icon="iconfont iconSearch"
v-throttle="() => {(page.current = 1), getTableData();}"/> v-throttle="() => {(page.current = 1), getTableData();}"/>
<ai-import :instance="instance" :dict="dict" importUrl="/appcreditadminstrativelicense/import" url="/appcreditadminstrativelicense/downloadTemplate" type="appjob" name="行政许可信息" @success="getTableData(), $message.success('导入成功!')"> <ai-import :instance="instance" importUrl="/appcreditadminstrativelicense/import" url="/appcreditadminstrativelicense/downloadTemplate" type="appjob" name="行政许可信息" @success="getTableData(), $message.success('导入成功!')">
<el-button size="small">导入</el-button> <el-button size="small">导入</el-button>
</ai-import> </ai-import>
<ai-download :instance="instance" url="/appcreditadminstrativelicense/export" :params="search" fileName="行政许可信息" <ai-download :instance="instance" url="/appcreditadminstrativelicense/export" :params="search" fileName="行政许可信息"
@@ -20,7 +20,7 @@
</ai-download> </ai-download>
</template> </template>
</ai-search-bar> </ai-search-bar>
<ai-table :tableData="tableData" :total="page.total" :current.sync="page.current" :size.sync="page.size" @getList="getTableData" :col-configs="colConfigs" :dict="dict" @selection-change=" (v) => (ids = v.filter((e) => e.sysUserId).map((e) => e.sysUserId)) "> <ai-table :tableData="tableData" :total="page.total" :current.sync="page.current" :size.sync="page.size" @getList="getTableData" :col-configs="colConfigs" :dict="dict" @selection-change=" (v) => (ids = v.filter((e) => e.sysUserId).map((e) => e.sysUserId)) ">
<el-table-column slot="options" label="操作" fixed="right" align="center"> <el-table-column slot="options" label="操作" fixed="right" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-button type="text" @click.native="toAdd(row.id)">详情</el-button> <el-button type="text" @click.native="toAdd(row.id)">详情</el-button>
@@ -83,7 +83,7 @@ export default {
} }
}) })
}, },
toAdd(id) { toAdd(id) {
this.$emit('change', { this.$emit('change', {
type: 'Add', type: 'Add',
@@ -109,4 +109,4 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.AppAdministrativeLicense { .AppAdministrativeLicense {
} }
</style> </style>