This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user