认领添加菜单权限
This commit is contained in:
@@ -64,11 +64,12 @@
|
||||
underline="never"
|
||||
@click="handleView(scope.row)"
|
||||
style="margin-right: 8px"
|
||||
v-if="hasAuth('claim@show')"
|
||||
>
|
||||
<i class="iconfont-sys"></i> 查看
|
||||
</el-link>
|
||||
<el-link
|
||||
v-if="!scope.row.payment_apply_id"
|
||||
v-if="!scope.row.payment_apply_id && hasAuth('claim@claim')"
|
||||
type="success"
|
||||
underline="never"
|
||||
@click="handleClaim(scope.row)"
|
||||
@@ -102,8 +103,8 @@
|
||||
import PaymentRecordDialog from '@/components/custom/PaymentRecordDialog.vue'
|
||||
import ClaimRecordDetailDialog from '@/components/custom/ClaimRecordDetailDialog.vue'
|
||||
import dayjs from 'dayjs'
|
||||
defineOptions({ name: 'Adminclaim' })
|
||||
const { hasAuth } = useAuth()
|
||||
defineOptions({ name: 'Adminclaim' })
|
||||
const loading = ref(false)
|
||||
const keyword = ref('')
|
||||
const tableRef = ref()
|
||||
|
||||
@@ -62,9 +62,15 @@
|
||||
<ElTableColumn label="入账" prop="id" min-width="120">
|
||||
<template #default="scope">
|
||||
<span v-if="scope.row.received_at">{{ scope.row.received_at }}</span>
|
||||
<el-button v-else type="primary" size="small" @click="handlebtn(scope.row)">
|
||||
<el-button
|
||||
v-else-if="hasAuth('receipt_records@confirmentry')"
|
||||
type="primary"
|
||||
size="small"
|
||||
@click="handlebtn(scope.row)"
|
||||
>
|
||||
确认入账
|
||||
</el-button>
|
||||
<span v-else></span>
|
||||
</template>
|
||||
</ElTableColumn>
|
||||
<ElTableColumn label="操作" fixed="right" min-width="180" align="center">
|
||||
|
||||
Reference in New Issue
Block a user