adtec-core-package 1.8.5 → 1.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -47,10 +47,6 @@ export const permissionStore = defineStore({
|
|
|
47
47
|
},
|
|
48
48
|
},
|
|
49
49
|
actions: {
|
|
50
|
-
getOpenMenuInfoWujie(){
|
|
51
|
-
const data=JSON.parse(Base64.parse(sessionStorage.getItem("permissionStore")+"").toString(Utf8))
|
|
52
|
-
return data.openMenuInfo
|
|
53
|
-
},
|
|
54
50
|
/**
|
|
55
51
|
* 判断是否有按钮权限
|
|
56
52
|
* @param operCode
|
|
@@ -2,6 +2,8 @@ import elTableTool from '../components/Table/ElTableTool.ts'
|
|
|
2
2
|
import { ElMessage } from 'element-plus'
|
|
3
3
|
import * as XLSX from 'xlsx-js-style'
|
|
4
4
|
import { Linq } from 'linq-to-ts'
|
|
5
|
+
import Base64 from 'crypto-js/enc-base64'
|
|
6
|
+
import Utf8 from 'crypto-js/enc-utf8'
|
|
5
7
|
/**
|
|
6
8
|
* Create by丁盼
|
|
7
9
|
* 说明: FrameworkUtils
|
|
@@ -17,6 +19,27 @@ export default {
|
|
|
17
19
|
validateTableData(table: any, rules: any): Boolean {
|
|
18
20
|
return elTableTool.validateTableData(table, rules)
|
|
19
21
|
},
|
|
22
|
+
/**
|
|
23
|
+
* 获取当前已经打开的菜单
|
|
24
|
+
*/
|
|
25
|
+
getOpenMenuInfoWujie(){
|
|
26
|
+
const data=JSON.parse(Base64.parse(sessionStorage.getItem("permissionStore")+"").toString(Utf8))
|
|
27
|
+
return data.openMenuInfo
|
|
28
|
+
},
|
|
29
|
+
/**
|
|
30
|
+
* 获取当前已经打开的菜单
|
|
31
|
+
*/
|
|
32
|
+
getActiveMenuInfoWujie(){
|
|
33
|
+
const data=JSON.parse(Base64.parse(sessionStorage.getItem("permissionStore")+"").toString(Utf8))
|
|
34
|
+
return data.activeMenuInfo
|
|
35
|
+
},
|
|
36
|
+
/**
|
|
37
|
+
* 获取当前已经打开的菜单
|
|
38
|
+
*/
|
|
39
|
+
getActiveMenuInfoLevel1(){
|
|
40
|
+
const data=JSON.parse(Base64.parse(sessionStorage.getItem("permissionStore")+"").toString(Utf8))
|
|
41
|
+
return data.activeMenuInfoLevel1
|
|
42
|
+
},
|
|
20
43
|
/**
|
|
21
44
|
* 获取系统分页数
|
|
22
45
|
*/
|