积分审核
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<ai-list class="list">
|
||||
<ai-list class="list" isTabs>
|
||||
<template slot="content">
|
||||
<ai-table
|
||||
:tableData="tableData"
|
||||
@@ -14,7 +14,9 @@
|
||||
<ai-uploader
|
||||
:instance="instance"
|
||||
disabled
|
||||
:value="row.voucherImageUrl"
|
||||
:value="[{
|
||||
url: row.voucherImageUrl
|
||||
}]"
|
||||
:limit="1">
|
||||
</ai-uploader>
|
||||
</template>
|
||||
@@ -22,7 +24,7 @@
|
||||
<el-table-column slot="options" width="120px" fixed="right" label="操作" align="center">
|
||||
<template slot-scope="{ row }">
|
||||
<div class="table-options">
|
||||
<el-button type="text" @click="operation(row.id)">审核</el-button>
|
||||
<el-button type="text" @click="operation(row.id)" v-if="row.status === '0'">审核</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -62,7 +64,7 @@
|
||||
prop: 'status',
|
||||
align: 'center',
|
||||
label: '状态',
|
||||
formart: v => this.dict.getLable('integralApplyStatus', v)
|
||||
formart: v => this.dict.getLabel('integralApplyStatus', v)
|
||||
}
|
||||
],
|
||||
tableData: [],
|
||||
@@ -78,7 +80,7 @@
|
||||
|
||||
methods: {
|
||||
getList () {
|
||||
this.instance.post(`/app/appintegralmemberapply/listByGirdMember`, null, {
|
||||
this.instance.post(`/app/appintegralmemberapply/list`, null, {
|
||||
params: {
|
||||
...this.search
|
||||
}
|
||||
@@ -91,17 +93,20 @@
|
||||
},
|
||||
|
||||
operation (id) {
|
||||
this.$confirm('请根据申请事项和凭证选是否审核通过').then(() => {
|
||||
this.$confirm('请根据申请事项和凭证选是否审核通过', {
|
||||
confirmButtonText: '审核通过',
|
||||
cancelButtonText: '审核拒绝',
|
||||
}).then(() => {
|
||||
this.instance.post(`/app/appintegralmemberapply/auditApply?id=${id}&opType=1`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success('操作成功')
|
||||
this.$message.success('审核通过成功')
|
||||
this.getList()
|
||||
}
|
||||
})
|
||||
}).catch(() => {
|
||||
this.instance.post(`/app/appintegralmemberapply/auditApply?id=${id}&opType=2`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success('操作成功')
|
||||
this.$message.success('审核拒绝成功')
|
||||
this.getList()
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<section class="gridScoreManage">
|
||||
<ai-list>
|
||||
<ai-list isTabs>
|
||||
<template #content>
|
||||
<ai-search-bar>
|
||||
<template #left>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<section class="gridScoreRules">
|
||||
<!-- v-if="permissions('app_appvillagerintegralrule_detail')" -->
|
||||
<ai-list>
|
||||
<ai-list isTabs>
|
||||
<template slot="content">
|
||||
<ai-search-bar>
|
||||
<template #left>
|
||||
|
||||
Reference in New Issue
Block a user