增加门禁设备
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
15683799673
2025-06-29 02:59:14 +08:00
parent 54cea19b78
commit ffb32c817a
25 changed files with 1004 additions and 116 deletions

View File

@@ -1,15 +1,13 @@
<script setup lang="ts">
import type { VbenFormProps } from '@vben/common-ui';
import { Page, useVbenModal } from '@vben/common-ui';
import type { VxeGridProps } from '#/adapter/vxe-table';
import { useVbenVxeGrid, vxeCheckboxChecked } from '#/adapter/vxe-table';
import type { PersonLibImgForm } from '#/api/sis/personLibImg/model';
import { Page, useVbenModal } from '@vben/common-ui';
import { getVxePopupContainer } from '@vben/utils';
import { Modal, Popconfirm, Space } from 'ant-design-vue';
import { useVbenVxeGrid, vxeCheckboxChecked } from '#/adapter/vxe-table';
import {
personLibImgExport,
personLibImgList,
@@ -121,6 +119,11 @@ function handleDownloadExcel() {
},
);
}
/**
* 对图像进行门禁授权
*/
function accessControlAuth() {}
</script>
<template>
@@ -128,6 +131,14 @@ function handleDownloadExcel() {
<BasicTable table-title="人像信息列表">
<template #toolbar-tools>
<Space>
<a-button
type="primary"
:disabled="!vxeCheckboxChecked(tableApi)"
v-access:code="['system:personLibImg:add']"
@click="accessControlAuth"
>
门禁授权
</a-button>
<a-button
v-access:code="['system:personLibImg:export']"
@click="handleDownloadExcel"
@@ -160,6 +171,7 @@ function handleDownloadExcel() {
>
{{ $t('pages.common.edit') }}
</ghost-button>
<Popconfirm
:get-popup-container="getVxePopupContainer"
placement="left"