You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
439 B
21 lines
439 B
import { defineStore } from 'pinia'
|
|
/**
|
|
* 审计模块
|
|
*/
|
|
export const useAuditStore = defineStore('audit', () => {
|
|
// 设置菜单配置
|
|
const auditMenus = [{
|
|
name: '操作记录',
|
|
code: 'operationRecord',
|
|
roleType: 'admin',
|
|
}, {
|
|
name: '消毒记录',
|
|
code: 'history',
|
|
roleType: 'admin,maintainer',
|
|
}]
|
|
const historyList: Record<string, string>[] = []
|
|
return {
|
|
auditMenus,
|
|
historyList,
|
|
}
|
|
})
|