diff --git a/apps/web-antd/src/views/sis/personLib/data.ts b/apps/web-antd/src/views/sis/personLib/data.ts
index ab64c53b..8a64e9c5 100644
--- a/apps/web-antd/src/views/sis/personLib/data.ts
+++ b/apps/web-antd/src/views/sis/personLib/data.ts
@@ -1,7 +1,6 @@
import type { FormSchemaGetter } from '#/adapter/form';
import type { VxeGridProps } from '#/adapter/vxe-table';
-
export const querySchema: FormSchemaGetter = () => [
{
component: 'Input',
@@ -20,32 +19,15 @@ export const querySchema: FormSchemaGetter = () => [
},
{
component: 'Select',
- componentProps: {
- },
+ componentProps: {},
fieldName: 'libType',
- label: '库类型,1:人员库,2:工服库',
+ label: '库类型',
},
{
component: 'Select',
- componentProps: {
- },
+ componentProps: {},
fieldName: 'busiType',
- label: '库的业务类型 1: 门禁库,2: 黑名单库',
- },
- {
- component: 'Input',
- fieldName: 'createById',
- label: '创建人id',
- },
- {
- component: 'Input',
- fieldName: 'updateById',
- label: '更新人id',
- },
- {
- component: 'Input',
- fieldName: 'searchValue',
- label: '搜索值',
+ label: '业务类型',
},
];
@@ -126,32 +108,15 @@ export const modalSchema: FormSchemaGetter = () => [
component: 'Input',
},
{
- label: '库类型,1:人员库,2:工服库',
+ label: '库类型',
fieldName: 'libType',
component: 'Select',
- componentProps: {
- },
+ componentProps: {},
},
{
- label: '库的业务类型 1: 门禁库,2: 黑名单库',
+ label: '业务类型',
fieldName: 'busiType',
component: 'Select',
- componentProps: {
- },
- },
- {
- label: '创建人id',
- fieldName: 'createById',
- component: 'Input',
- },
- {
- label: '更新人id',
- fieldName: 'updateById',
- component: 'Input',
- },
- {
- label: '搜索值',
- fieldName: 'searchValue',
- component: 'Input',
+ componentProps: {},
},
];
diff --git a/apps/web-antd/src/views/sis/personLib/index.vue b/apps/web-antd/src/views/sis/personLib/index.vue
index 68710759..da110e76 100644
--- a/apps/web-antd/src/views/sis/personLib/index.vue
+++ b/apps/web-antd/src/views/sis/personLib/index.vue
@@ -1,30 +1,24 @@
@@ -138,9 +137,10 @@ function handleDownloadExcel() {
+ type="primary"
+ v-access:code="['sis:personLib:remove']"
+ @click="handleMultiDelete"
+ >
{{ $t('pages.common.delete') }}
[
{
component: 'Input',
@@ -25,11 +24,9 @@ export const querySchema: FormSchemaGetter = () => [
},
{
component: 'Select',
- componentProps: {
- },
+ componentProps: {},
fieldName: 'sex',
- label: '性别 1:男
-2:女 99:未说明',
+ label: '性别',
},
{
component: 'Input',
@@ -43,12 +40,9 @@ export const querySchema: FormSchemaGetter = () => [
},
{
component: 'Select',
- componentProps: {
- },
+ componentProps: {},
fieldName: 'certificateType',
- label: '证件类型
-1:身份证 2:护照
-3:行驶证 99:其它',
+ label: '证件类型',
},
{
component: 'Input',
@@ -102,9 +96,7 @@ export const columns: VxeGridProps['columns'] = [
field: 'imgUrl',
},
{
- title: '性别 1:男
-2:女 99:未说明',
- field: 'sex',
+ title: '性别',
},
{
title: '邮箱',
@@ -115,9 +107,7 @@ export const columns: VxeGridProps['columns'] = [
field: 'tel',
},
{
- title: '证件类型
-1:身份证 2:护照
-3:行驶证 99:其它',
+ title: '证件类型',
field: 'certificateType',
},
{
@@ -143,7 +133,9 @@ export const columns: VxeGridProps['columns'] = [
{
field: 'action',
fixed: 'right',
- slots: { default: 'action' },
+ slots: {
+ default: 'action',
+ },
title: '操作',
width: 180,
},
@@ -183,12 +175,10 @@ export const modalSchema: FormSchemaGetter = () => [
rules: 'required',
},
{
- label: '性别 1:男
-2:女 99:未说明',
+ label: '性别 1:男',
fieldName: 'sex',
component: 'Select',
- componentProps: {
- },
+ componentProps: {},
},
{
label: '邮箱',
@@ -201,13 +191,10 @@ export const modalSchema: FormSchemaGetter = () => [
component: 'Input',
},
{
- label: '证件类型
-1:身份证 2:护照
-3:行驶证 99:其它',
+ label: '证件类型',
fieldName: 'certificateType',
component: 'Select',
- componentProps: {
- },
+ componentProps: {},
},
{
label: '证件号码',