fix:按钮权限
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m52s

This commit is contained in:
2025-08-22 09:21:25 +08:00
parent a43cb1b390
commit 7b2c8e47dd
18 changed files with 19 additions and 19 deletions

View File

@@ -164,7 +164,7 @@ const { hasAccessByCodes } = useAccess();
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['property:depot:info']"
v-access:code="['property:depot:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}

View File

@@ -162,7 +162,7 @@ const { hasAccessByCodes } = useAccess();
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['property:suppliers:info']"
v-access:code="['property:suppliers:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}

View File

@@ -154,7 +154,7 @@ function handleDownloadExcel() {
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['Property:group:info']"
v-access:code="['Property:group:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}

View File

@@ -75,7 +75,7 @@ function handleInfo(row:any) {
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['property:workOrders:info']"
v-access:code="['property:workOrders:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}

View File

@@ -75,7 +75,7 @@ function handleInfo(row:any) {
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['property:workOrders:info']"
v-access:code="['property:workOrders:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}

View File

@@ -196,7 +196,7 @@ onMounted(async () => {
{{ '抢单' }}
</ghost-button>
<ghost-button
v-access:code="['property:workOrders:info']"
v-access:code="['property:workOrders:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}

View File

@@ -152,7 +152,7 @@ function handleDownloadExcel() {
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['property:carCharge:info']"
v-access:code="['property:carCharge:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}

View File

@@ -164,7 +164,7 @@ function handleDownloadExcel() {
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['property:houseCharge:info']"
v-access:code="['property:houseCharge:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}

View File

@@ -158,7 +158,7 @@ function handleDownloadExcel() {
审核
</ghost-button>
<ghost-button
v-access:code="['property:returnPayFee:info']"
v-access:code="['property:returnPayFee:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}

View File

@@ -122,7 +122,7 @@ function handleDownloadExcel() {
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['system:feedbacks:info']"
v-access:code="['system:feedbacks:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}
@@ -134,7 +134,7 @@ function handleDownloadExcel() {
{{ $t('pages.common.edit') }}
</ghost-button>
<ghost-button
v-access:code="['system:feedbacks:info']"
v-access:code="['system:feedbacks:query']"
@click.stop="handleOrderInfo(row)"
:disabled="row.isWorkOrder=='1'"
>

View File

@@ -147,7 +147,7 @@ async function handleDelete(row: Required<QuestionnaireForm>) {
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['property:questionnaire:info']"
v-access:code="['property:questionnaire:query']"
@click.stop="handleInfo(row)"
>
预览问卷

View File

@@ -173,7 +173,7 @@ function handleDownloadExcel() {
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['property:machine:info']"
v-access:code="['property:machine:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}

View File

@@ -153,7 +153,7 @@ function handleDownloadExcel() {
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['property:maintainPlan:info']"
v-access:code="['property:maintainPlan:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}

View File

@@ -145,7 +145,7 @@ function handleDownloadExcel() {
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['property:rentalOrder:info']"
v-access:code="['property:rentalOrder:query']"
@click.stop="handleInfo(row)">
{{ $t('pages.common.info') }}
</ghost-button>

View File

@@ -105,7 +105,7 @@ function handleDownloadExcel() {
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['property:inspectionTask:info']"
v-access:code="['property:inspectionTask:query']"
@click.stop="handInfo(row)"
>
{{ $t('pages.common.info') }}

View File

@@ -149,7 +149,7 @@ const { hasAccessByCodes } = useAccess();
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['property:inspectionPlan:info']"
v-access:code="['property:inspectionPlan:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}

View File

@@ -155,7 +155,7 @@ async function handleDownload(row){
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['property:inspectionPoint:info']"
v-access:code="['property:inspectionPoint:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}

View File

@@ -147,7 +147,7 @@ function handleDownloadExcel() {
<template #action="{ row }">
<Space>
<ghost-button
v-access:code="['domain:knowledge:info']"
v-access:code="['domain:knowledge:query']"
@click.stop="handleInfo(row)"
>
{{ $t('pages.common.info') }}