|
@@ -67,8 +67,9 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column label="操作" width="240px" align="center">
|
|
|
|
|
|
+ <el-table-column label="操作" width="280px" align="center">
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
|
+ <!-- <audit-button-group type="result" :is-dot="true" :margin-right="true" @click="onClick(row, $event)" /> -->
|
|
<el-button
|
|
<el-button
|
|
v-if="row.auditStatus !== 1"
|
|
v-if="row.auditStatus !== 1"
|
|
type="warning"
|
|
type="warning"
|
|
@@ -88,12 +89,7 @@
|
|
</el-table>
|
|
</el-table>
|
|
<!-- 表格区域END -->
|
|
<!-- 表格区域END -->
|
|
<!-- 页码 -->
|
|
<!-- 页码 -->
|
|
- <pagination
|
|
|
|
- :total="total"
|
|
|
|
- :page.sync="listQuery.pageNum"
|
|
|
|
- :limit.sync="listQuery.pageSize"
|
|
|
|
- @pagination="getList"
|
|
|
|
- />
|
|
|
|
|
|
+ <pagination :total="total" :page.sync="listQuery.pageNum" :limit.sync="listQuery.pageSize" @pagination="getList" />
|
|
<!-- 审核弹窗 -->
|
|
<!-- 审核弹窗 -->
|
|
<el-dialog title="授权机构审核" :visible.sync="dialogVisible" width="450px" @close="dialogClosed">
|
|
<el-dialog title="授权机构审核" :visible.sync="dialogVisible" width="450px" @close="dialogClosed">
|
|
<div class="auth-info">
|
|
<div class="auth-info">
|
|
@@ -170,6 +166,26 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
...mapMutations({ setMessageState: 'webSocket/SET_MESSAGE_STATE' }),
|
|
...mapMutations({ setMessageState: 'webSocket/SET_MESSAGE_STATE' }),
|
|
|
|
+
|
|
|
|
+ // 按钮组点击事件
|
|
|
|
+ onClick(row, type) {
|
|
|
|
+ const actions = {
|
|
|
|
+ review: this.onReview,
|
|
|
|
+ result: this.onResult,
|
|
|
|
+ audit: this.onAudit
|
|
|
|
+ }
|
|
|
|
+ actions[type](row)
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ // 预览
|
|
|
|
+ onReview(row) {},
|
|
|
|
+ // 驳回
|
|
|
|
+ onResult(row) {},
|
|
|
|
+ // 审核
|
|
|
|
+ onAudit(row) {
|
|
|
|
+ this.$router.push(`/audit/club/club-detail?authId=${row.authId}`)
|
|
|
|
+ },
|
|
|
|
+
|
|
// 获取授权列表
|
|
// 获取授权列表
|
|
getList() {
|
|
getList() {
|
|
this.listLoading = true
|
|
this.listLoading = true
|