From 3647ffb3d7ae1ff6a33815f77d43e856213daa18 Mon Sep 17 00:00:00 2001 From: ZLY Date: Thu, 13 Nov 2025 13:39:19 +0800 Subject: [PATCH] =?UTF-8?q?feat(isdp):=20=E7=A7=BB=E9=99=A4=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=8D=8F=E4=BD=9C=E6=9D=83=E9=99=90=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E5=B8=B8=E9=87=8F=E5=92=8C=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/const/isdp/mod/componentCollaboration.ts | 59 -------------------- 1 file changed, 59 deletions(-) delete mode 100644 src/const/isdp/mod/componentCollaboration.ts diff --git a/src/const/isdp/mod/componentCollaboration.ts b/src/const/isdp/mod/componentCollaboration.ts deleted file mode 100644 index 8169ed7..0000000 --- a/src/const/isdp/mod/componentCollaboration.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { option as baseOption } from '../componentBase'; -import { deepClone } from '@/util/util'; -import { globalOption } from '@/const/globalOption'; - -export const permissionConstant = { - ADMIN: 'admin', - READ: 'read', - WRITE: 'write', -}; - -// 系统模块 -export const permissionDic = [ - { - label: '管理', - value: 'admin', - }, - { - label: '读', - value: 'read', - }, - { - label: '写', - value: 'write', - }, -]; - -export const userOption = { - ...globalOption, - addBtn: false, - editBtn: false, - viewBtn: false, - header: false, - delBtn: false, - height: 200, - menuWidth: 100, - column: [ - { - label: '用户账号', - prop: 'collaboratorAccount', - }, - { - label: '操作权限', - prop: 'permission', - slot: true, - width: '120px', - }, - ], -}; - -export const option = deepClone(baseOption); -option.header = false; -option.addBtn = false; -option.column.push({ - label: '权限', - prop: 'permission', - type: 'select', - dicData: permissionDic, - display: false, -});