认领添加菜单权限

This commit is contained in:
浅念
2025-11-04 16:21:04 +08:00
parent 0e8cec4af0
commit 6e2cd44f55
2 changed files with 10 additions and 3 deletions
+3 -2
View File
@@ -64,11 +64,12 @@
underline="never"
@click="handleView(scope.row)"
style="margin-right: 8px"
v-if="hasAuth('claim@show')"
>
<i class="iconfont-sys">&#xe76c;</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()