|
@ -5,13 +5,13 @@ import { defineStore } from 'pinia' |
|
|
export const useAuditStore = defineStore('audit', () => { |
|
|
export const useAuditStore = defineStore('audit', () => { |
|
|
// 设置菜单配置
|
|
|
// 设置菜单配置
|
|
|
const auditMenus = [{ |
|
|
const auditMenus = [{ |
|
|
name: '操作记录', |
|
|
|
|
|
code: 'operationRecord', |
|
|
|
|
|
roleType: 'admin', |
|
|
|
|
|
}, { |
|
|
|
|
|
name: '消毒记录', |
|
|
name: '消毒记录', |
|
|
code: 'history', |
|
|
code: 'history', |
|
|
roleType: 'admin,maintainer', |
|
|
roleType: 'admin,maintainer', |
|
|
|
|
|
}, { |
|
|
|
|
|
name: '操作记录', |
|
|
|
|
|
code: 'operationRecord', |
|
|
|
|
|
roleType: 'admin', |
|
|
}] |
|
|
}] |
|
|
const historyList: Record<string, string>[] = [] |
|
|
const historyList: Record<string, string>[] = [] |
|
|
return { |
|
|
return { |
|
|