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