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