Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
4fc238bf
authored
2023-03-13 08:55:35 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式调整
1 parent
06f63028
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
228 additions
and
275 deletions
src/layout/index.vue
src/layout1/index.vue
src/permission copy.js
src/permission.js
src/router/index.js
src/store/modules/permission.js
src/views/home/dataView/index.vue
src/views/loginjg/index.vue
src/views/loginsb/index.vue
src/views/system/menus/index.vue
src/views/system/roles/index.vue
src/views/system/roles/roleslistdiglog.vue
src/layout/index.vue
View file @
4fc238b
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-
07 09:15:01
* @LastEditTime: 2023-03-
10 14:59:43
-->
<
template
>
<div
class=
"app-wrapper jgWrapper"
>
...
...
@@ -12,57 +12,61 @@
</div>
</
template
>
<
script
>
import
{
AppMain
,
Navbar
,
Sidebar
,
TagsView
}
from
'./components'
import
ResizeMixin
from
'./mixin/ResizeHandler'
import
{
mapState
}
from
'vuex'
export
default
{
name
:
'Layout'
,
components
:
{
AppMain
,
Navbar
,
Sidebar
,
TagsView
},
mixins
:
[
ResizeMixin
],
computed
:
{
...
mapState
({
sidebar
:
state
=>
state
.
app
.
sidebar
,
needTagsView
:
state
=>
state
.
settings
.
tagsView
,
fixedHeader
:
state
=>
state
.
settings
.
fixedHeader
})
import
{
AppMain
,
Navbar
,
Sidebar
,
TagsView
}
from
'./components'
import
ResizeMixin
from
'./mixin/ResizeHandler'
import
{
mapState
}
from
'vuex'
export
default
{
name
:
'Layout'
,
components
:
{
AppMain
,
Navbar
,
Sidebar
,
TagsView
},
created
()
{
this
.
$store
.
dispatch
(
"products/setData"
,
"BDCJGPT"
);
console
.
log
(
"ZOULEJG"
);
},
mixins
:
[
ResizeMixin
],
computed
:
{
...
mapState
({
sidebar
:
state
=>
state
.
app
.
sidebar
,
needTagsView
:
state
=>
state
.
settings
.
tagsView
,
fixedHeader
:
state
=>
state
.
settings
.
fixedHeader
})
}
}
}
</
script
>
<
style
lang=
"scss"
>
@import
"~@/styles/jgSidebar.scss"
;
@import
"~@/styles/jgSidebar.scss"
;
</
style
>
<
style
lang=
"scss"
scoped
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/mixin.scss"
;
.app-wrapper
{
@include
clearfix;
position
:
relative
;
height
:
100%
;
width
:
100%
;
min-width
:
1280px
;
background
:
url('~@/image/bg.png'
)
no-repeat
;
background-size
:
100%
100%
;
padding
:
12px
;
box-sizing
:
border-box
;
.app-wrapper
{
@include
clearfix;
position
:
relative
;
height
:
100%
;
width
:
100%
;
min-width
:
1280px
;
background
:
url("~@/image/bg.png"
)
no-repeat
;
background-size
:
100%
100%
;
padding
:
12px
;
box-sizing
:
border-box
;
&.mobile.openSidebar
{
position
:
fixed
;
top
:
0
;
&.mobile.openSidebar
{
position
:
fixed
;
top
:
0
;
}
}
}
.appMain
{
min-width
:
1290px
;
height
:
calc
(
100vh
-
101px
)
!important
;
box-sizing
:
border-box
;
.appMain
{
min-width
:
1290px
;
height
:
calc
(
100vh
-
101px
)
!important
;
box-sizing
:
border-box
;
.app-main
{
height
:
100%
;
.app-main
{
height
:
100%
;
}
}
}
</
style
>
...
...
src/layout1/index.vue
View file @
4fc238b
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-
07 09:11:01
* @LastEditTime: 2023-03-
10 15:00:56
-->
<
template
>
<div
class=
"app-wrapper scWrapper"
>
...
...
@@ -13,62 +13,66 @@
</div>
</
template
>
<
script
>
import
{
AppMain
,
Navbar
,
Sidebar
,
TagsView
}
from
'./components'
import
ResizeMixin
from
'./mixin/ResizeHandler'
import
{
mapState
}
from
'vuex'
export
default
{
name
:
'Layout'
,
components
:
{
AppMain
,
Navbar
,
Sidebar
,
TagsView
},
mixins
:
[
ResizeMixin
],
computed
:
{
...
mapState
({
sidebar
:
state
=>
state
.
app
.
sidebar
,
needTagsView
:
state
=>
state
.
settings
.
tagsView
,
fixedHeader
:
state
=>
state
.
settings
.
fixedHeader
})
import
{
AppMain
,
Navbar
,
Sidebar
,
TagsView
}
from
'./components'
import
ResizeMixin
from
'./mixin/ResizeHandler'
import
{
mapState
}
from
'vuex'
export
default
{
name
:
'Layout'
,
components
:
{
AppMain
,
Navbar
,
Sidebar
,
TagsView
},
mixins
:
[
ResizeMixin
],
created
()
{
this
.
$store
.
dispatch
(
"products/setData"
,
"BDCSBPT"
);
console
.
log
(
"ZOULEJG"
);
},
computed
:
{
...
mapState
({
sidebar
:
state
=>
state
.
app
.
sidebar
,
needTagsView
:
state
=>
state
.
settings
.
tagsView
,
fixedHeader
:
state
=>
state
.
settings
.
fixedHeader
})
}
}
}
</
script
>
<
style
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
'~@/styles/sbSidebar.scss'
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/sbSidebar.scss"
;
.app-wrapper
{
@include
clearfix;
position
:
relative
;
height
:
100%
;
width
:
100%
;
//
background-color
:
$
containerbg
;
padding
:
0
;
.app-wrapper
{
@include
clearfix;
position
:
relative
;
height
:
100%
;
width
:
100%
;
//
background-color
:
$
containerbg
;
padding
:
0
;
&.mobile.openSidebar
{
position
:
fixed
;
top
:
0
;
&.mobile.openSidebar
{
position
:
fixed
;
top
:
0
;
}
}
}
.drawer-bg
{
background
:
#000
;
opacity
:
0.3
;
width
:
100%
;
top
:
0
;
height
:
100%
;
position
:
absolute
;
z-index
:
999
;
}
.drawer-bg
{
background
:
#000
;
opacity
:
0.3
;
width
:
100%
;
top
:
0
;
height
:
100%
;
position
:
absolute
;
z-index
:
999
;
}
.fixed-header
{
width
:
100%
;
transition
:
width
0.28s
;
}
.fixed-header
{
width
:
100%
;
transition
:
width
0.28s
;
}
.el-dropdown-menu--small
{
padding
:
0
;
width
:
5px
;
}
.el-dropdown-menu--small
{
padding
:
0
;
width
:
5px
;
}
</
style
>
...
...
src/permission copy.js
deleted
100644 → 0
View file @
06f6302
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-09 21:06:38
*/
import
router
from
"./router"
;
import
store
from
"./store"
;
import
{
getMenuInfo
}
from
"@/api/user"
;
import
NProgress
from
"nprogress"
;
// progress bar
import
"nprogress/nprogress.css"
;
// progress bar style
import
getPageTitle
from
"@/utils/get-page-title"
;
import
Cookies
from
"js-cookie"
;
NProgress
.
configure
({
showSpinner
:
false
});
// NProgress Configuration
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
NProgress
.
start
();
document
.
title
=
getPageTitle
(
to
.
meta
.
title
);
let
hasAddDict
=
store
.
state
.
dict
.
addDict
;
let
hasUser
=
store
.
state
.
user
.
hasUser
;
let
hasAddRoute
=
store
.
state
.
permission
.
addRoutes
;
if
(
to
.
path
==
"/sb"
||
to
.
path
==
"/jg"
)
{
sessionStorage
.
removeItem
(
"token"
);
sessionStorage
.
setItem
(
"psth"
,
to
.
path
)
next
();
}
else
{
let
code
=
sessionStorage
.
getItem
(
"psth"
)
==
"/sb"
?
"BDCSBPT"
:
"BDCJGPT"
//判断token是否存在
const
hasToken
=
sessionStorage
.
getItem
(
"token"
);
if
(
hasToken
)
{
//请求用户信息
if
(
!
hasUser
)
{
store
.
dispatch
(
"user/getUserInfo"
);
import
(
"@/styles/public.scss"
);
}
if
(
hasAddRoute
)
{
next
();
}
else
{
//请求菜单
const
{
result
:
getMenuData
}
=
(
await
getMenuInfo
(
code
))
||
[];
const
accessRoutes
=
await
store
.
dispatch
(
"permission/generateRoutes"
,
getMenuData
);
router
.
addRoutes
([
...
accessRoutes
,
{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
true
},
]);
const
routeTo
=
Cookies
.
get
(
"routerTo"
);
if
(
!
hasAddDict
)
{
await
store
.
dispatch
(
"dict/generateDic"
);
}
if
(
routeTo
&&
routeTo
!==
"/"
)
{
next
({
...
to
,
replace
:
true
});
}
else
{
next
(
"/home"
);
}
}
}
else
{
next
(
sessionStorage
.
getItem
(
"psth"
));
}
}
NProgress
.
done
();
});
router
.
afterEach
((
to
)
=>
{
// 解决刷新页面报404问题
Cookies
.
set
(
"routerTo"
,
to
.
fullPath
);
NProgress
.
done
();
});
src/permission.js
View file @
4fc238b
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-
09 21:06:38
* @LastEditTime: 2023-03-
10 16:43:16
*/
import
router
from
"./router"
;
import
store
from
"./store"
;
...
...
@@ -11,7 +11,6 @@ import "nprogress/nprogress.css"; // progress bar style
import
getPageTitle
from
"@/utils/get-page-title"
;
import
Cookies
from
"js-cookie"
;
NProgress
.
configure
({
showSpinner
:
false
});
// NProgress Configuration
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
NProgress
.
start
();
document
.
title
=
getPageTitle
(
to
.
meta
.
title
);
...
...
src/router/index.js
View file @
4fc238b
import
Vue
from
'vue'
import
Router
from
'vue-router'
Vue
.
use
(
Router
)
/* Layout */
import
Layout
from
'@/layout'
// const p = 'layout1'
// const Layout = require('@/layout')
/* Router Modules */
// import componentsRouter from './modules/components'
export
const
constantRoutes
=
[
{
path
:
'/404'
,
...
...
src/store/modules/permission.js
View file @
4fc238b
import
{
constantRoutes
}
from
'@/router'
/*
* @Author: xiaomiao 1158771342@qq.com
* @Date: 2023-03-09 15:24:53
* @LastEditors: xiaomiao 1158771342@qq.com
* @LastEditTime: 2023-03-10 17:24:21
* @FilePath: \上报\bdcjg-web\src\store\modules\permission.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import
{
constantRoutes
}
from
'@/router'
console
.
log
(
"HAHAHHAHAHAH"
);
import
asyncRouter
from
'@/utils/asyncRouter.js'
const
state
=
{
routes
:
[],
addRoutes
:
false
,
routes
:
[],
addRoutes
:
false
,
}
const
mutations
=
{
SET_ROUTES
:
(
state
,
routes
)
=>
{
state
.
addRoutes
=
true
state
.
routes
=
routes
},
RESET_ROUTE
:
(
state
)
=>
{
state
.
addRoutes
=
false
}
SET_ROUTES
:
(
state
,
routes
)
=>
{
state
.
addRoutes
=
true
state
.
routes
=
routes
},
RESET_ROUTE
:
(
state
)
=>
{
state
.
addRoutes
=
false
}
}
const
actions
=
{
// 添加全部菜单
generateRoutes
({
commit
},
getMenuInfo
)
{
return
new
Promise
(
resolve
=>
{
// 将权限菜单数组转成路由树数据结构
let
permission_tree
=
asyncRouter
(
getMenuInfo
)
const
mergeResult
=
_
.
cloneDeep
(
constantRoutes
).
concat
(
permission_tree
);
commit
(
'SET_ROUTES'
,
mergeResult
)
resolve
(
permission_tree
)
})
},
// 重置路由
resetRoutes
({
commit
})
{
commit
(
'RESET_ROUTE'
)
}
// 添加全部菜单
generateRoutes
({
commit
},
getMenuInfo
)
{
return
new
Promise
(
resolve
=>
{
// 将权限菜单数组转成路由树数据结构
let
permission_tree
=
asyncRouter
(
getMenuInfo
)
const
mergeResult
=
_
.
cloneDeep
(
constantRoutes
).
concat
(
permission_tree
);
commit
(
'SET_ROUTES'
,
mergeResult
)
resolve
(
permission_tree
)
})
},
// 重置路由
resetRoutes
({
commit
})
{
commit
(
'RESET_ROUTE'
)
}
}
// 树转数组
function
dfs
(
root
,
fVisit
)
{
let
stack
=
Array
.
isArray
(
root
)
?
[...
root
]
:
[
root
];
while
(
stack
.
length
)
{
let
node
=
stack
.
pop
();
fVisit
&&
fVisit
(
node
);
let
children
=
node
.
children
;
if
(
children
&&
children
.
length
)
{
for
(
let
i
=
children
.
length
-
1
;
i
>=
0
;
i
--
)
stack
.
push
(
children
[
i
]);
}
let
stack
=
Array
.
isArray
(
root
)
?
[...
root
]
:
[
root
];
while
(
stack
.
length
)
{
let
node
=
stack
.
pop
();
fVisit
&&
fVisit
(
node
);
let
children
=
node
.
children
;
if
(
children
&&
children
.
length
)
{
for
(
let
i
=
children
.
length
-
1
;
i
>=
0
;
i
--
)
stack
.
push
(
children
[
i
]);
}
}
}
// 数组转树
//需要插入父节点id,pid为null或'',就是找root节点,然后root节点再去找自己的子节点
function
array2Tree
(
data
,
pid
)
{
let
res
=
[];
data
.
forEach
(
item
=>
{
if
(
item
.
parentId
===
pid
)
{
let
itemChildren
=
array2Tree
(
data
,
item
.
id
);
if
(
itemChildren
.
length
)
item
.
children
=
itemChildren
;
res
.
push
(
item
);
}
});
// 菜单数据反转,保持一致
res
.
reverse
()
_
.
each
(
res
,
c
=>
{
if
(
c
.
children
&&
c
.
children
.
length
>
0
)
{
c
.
children
.
reverse
()
}
})
return
res
;
let
res
=
[];
data
.
forEach
(
item
=>
{
if
(
item
.
parentId
===
pid
)
{
let
itemChildren
=
array2Tree
(
data
,
item
.
id
);
if
(
itemChildren
.
length
)
item
.
children
=
itemChildren
;
res
.
push
(
item
);
}
});
// 菜单数据反转,保持一致
res
.
reverse
()
_
.
each
(
res
,
c
=>
{
if
(
c
.
children
&&
c
.
children
.
length
>
0
)
{
c
.
children
.
reverse
()
}
})
return
res
;
}
export
default
{
namespaced
:
true
,
state
,
mutations
,
actions
namespaced
:
true
,
state
,
mutations
,
actions
}
...
...
src/views/home/dataView/index.vue
View file @
4fc238b
...
...
@@ -9,7 +9,6 @@
<div
class=
"d-flex"
>
<dv-decoration-8
class=
"dv-dec-8"
:color=
"decorationColor"
/>
<div
class=
"title"
>
<span
class=
"title-text"
>
{{
products
.
name
}}
}
</span>
<dv-decoration-5
:dur=
"1"
class=
"dv-dec-5"
...
...
@@ -58,9 +57,6 @@
},
500
);
},
},
computed
:
{
...
mapGetters
([
"products"
]),
},
};
</
script
>
...
...
src/views/loginjg/index.vue
View file @
4fc238b
...
...
@@ -59,8 +59,11 @@
//根据子系统code获取子系统详细信息
getAction
(
api
.
subsystem
,
params
).
then
((
res
)
=>
{
if
(
res
.
status
===
1
)
{
this
.
productName
=
res
.
content
[
0
].
name
;
console
.
log
(
" res.contentJJJGGG"
,
res
.
content
);
// this.productName = res.content[0].name;
this
.
$store
.
dispatch
(
"products/setData"
,
res
.
content
[
0
].
code
);
sessionStorage
.
setItem
(
"products"
,
res
.
content
[
0
].
code
)
console
.
log
(
"jjjggg的product"
);
}
else
{
this
.
$message
.
error
({
message
:
res
.
message
,
showClose
:
true
});
}
...
...
src/views/loginsb/index.vue
View file @
4fc238b
...
...
@@ -55,7 +55,7 @@
conditions
:
[
{
property
:
"code"
,
value
:
"BDC
JG
PT"
,
value
:
"BDC
SB
PT"
,
operator
:
"EQ"
,
},
],
...
...
@@ -67,7 +67,10 @@
getAction
(
api
.
subsystem
,
params
).
then
((
res
)
=>
{
if
(
res
.
status
===
1
)
{
this
.
productName
=
res
.
content
[
0
].
name
;
// console.log(" res.contentSSSSSBBBBB", res.content);
this
.
$store
.
dispatch
(
"products/setData"
,
res
.
content
[
0
].
code
);
sessionStorage
.
setItem
(
"products"
,
res
.
content
[
0
].
code
)
}
else
{
this
.
$message
.
error
({
message
:
res
.
message
,
showClose
:
true
});
}
...
...
src/views/system/menus/index.vue
View file @
4fc238b
...
...
@@ -106,19 +106,18 @@
this
.
getTableList
();
},
computed
:
{
...
mapGetters
([
"products"
])
,
...
mapGetters
([
"products"
])
},
methods
:
{
// 加载表格数据
getTableList
()
{
const
queryOptionsid
=
{
conditionGroup
:
{
queryRelation
:
"AND"
,
conditions
:
[
{
property
:
"code"
,
value
:
this
.
products
,
value
:
sessionStorage
.
getItem
(
"products"
)
,
operator
:
"EQ"
,
},
],
...
...
src/views/system/roles/index.vue
View file @
4fc238b
...
...
@@ -32,6 +32,7 @@
import
{
getRolesById
,
getAuthorityListAction
}
from
"@/api/authorityManage"
;
import
{
getUserRoles
}
from
"@/api/personnelManage"
;
import
data
from
"./data"
;
import
{
getMenuInfo
}
from
"@/api/user"
;
import
{
api
,
getAction
,
deleteAction
}
from
"@/api/manageApi"
;
import
tableMixin
from
"@/mixins/tableMixin.js"
;
import
EditDialog
from
"./edit-dialog.vue"
;
...
...
@@ -213,13 +214,13 @@
data
:
[],
}
},
computed
:
{
...
mapGetters
([
"products"
]),
},
created
()
{
this
.
getTableData
();
this
.
getTableList
()
},
computed
:
{
...
mapGetters
([
"products"
])
},
mounted
()
{
},
methods
:
{
// 获取角色列表
...
...
@@ -235,8 +236,9 @@
Publicrole
=
res
.
content
;
this
.
listdata
=
Builtinrole
.
concat
(
Publicrole
);
console
.
log
(
"this.listdata1"
,
Builtinrole
.
concat
(
Publicrole
));
this
.
listdata
=
judgeSort
(
this
.
listdata
);
console
.
log
(
"this.listdata2"
,
this
.
listdata
);
})
.
catch
((
e
)
=>
console
.
error
(
e
));
})
...
...
@@ -245,6 +247,15 @@
// 获取菜单列表
getTableList
()
{
console
.
log
(
"角色走了"
);
getMenuInfo
(
sessionStorage
.
getItem
(
"products"
)).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
console
.
log
(
"列表"
,
this
.
products
,
judgeSort
(
res
.
result
));
this
.
menutablelistData
=
judgeSort
(
res
.
result
)
}
else
{
this
.
$message
.
error
({
message
:
res
.
message
,
showClose
:
true
})
}
})
const
queryOptionsid
=
{
conditionGroup
:
{
queryRelation
:
"AND"
,
...
...
@@ -266,41 +277,42 @@
this
.
productId
=
res
.
content
[
0
].
id
;
this
.
getAuthorityList
(
res
.
content
[
0
].
id
,
res
.
content
[
0
].
code
)
this
.
selectedSubsystemCode
=
res
.
content
[
0
].
code
let
queryOptions
=
{
conditionGroup
:
{
conditions
:
[
{
property
:
"productId"
,
value
:
this
.
productId
,
operator
:
"EQ"
,
},
],
queryRelation
:
"AND"
,
},
orderBys
:
[{
property
:
"sort"
,
direction
:
"desc"
}],
};
if
(
!
this
.
tableUrl
)
{
console
.
log
(
"请设置tableUrl属性为接口地址!"
);
return
;
}
if
(
this
.
queryOptions
!==
""
)
{
this
.
queryParam
.
queryOptions
=
JSON
.
stringify
(
queryOptions
);
}
//
let queryOptions = {
//
conditionGroup: {
//
conditions: [
//
{
//
property: "productId",
//
value: this.productId,
//
operator: "EQ",
//
},
//
],
//
queryRelation: "AND",
//
},
//
orderBys: [{ property: "sort", direction: "desc" }],
//
};
//
if (!this.tableUrl) {
//
console.log("请设置tableUrl属性为接口地址!");
//
return;
//
}
//
if (this.queryOptions !== "") {
//
this.queryParam.queryOptions = JSON.stringify(queryOptions);
//
}
// 查询系统菜单
getAction
(
this
.
tableUrl
,
this
.
queryParam
)
.
then
((
res
)
=>
{
if
(
res
.
status
===
1
)
{
this
.
loading
=
false
;
this
.
menutablelistData
=
res
.
content
;
}
else
{
this
.
$message
.
error
({
message
:
res
.
message
,
showClose
:
true
});
this
.
loading
=
false
;
}
})
.
catch
((
error
)
=>
{
console
.
log
(
"er"
,
error
);
this
.
loading
=
false
;
});
// getAction(this.tableUrl, this.queryParam)
// .then((res) => {
// if (res.status === 1) {
// this.loading = false;
// // this.menutablelistData = res.content;
// console.log("res.content菜单", res.content);
// } else {
// this.$message.error({ message: res.message, showClose: true });
// this.loading = false;
// }
// })
// .catch((error) => {
// console.log("er", error);
// this.loading = false;
// });
})
.
catch
((
error
)
=>
{
console
.
log
(
"er"
,
error
);
...
...
@@ -380,7 +392,7 @@
this
.
$refs
.
addEditDialog
.
menuType
=
this
.
menuType
;
this
.
$refs
.
addEditDialog
.
roleId
=
value
.
id
;
this
.
roleSort
=
value
.
sort
?
value
.
sort
:
0
;
this
.
$refs
.
addEditDialog
.
dialogForm
.
roleType
=
this
.
products
;
this
.
$refs
.
addEditDialog
.
dialogForm
.
roleType
=
sessionStorage
.
getItem
(
"products"
)
;
if
(
value
.
id
)
{
this
.
$refs
.
addEditDialog
.
dialogForm
.
roleName
=
value
.
name
;
...
...
src/views/system/roles/roleslistdiglog.vue
View file @
4fc238b
...
...
@@ -103,16 +103,12 @@
// 角色id
roleId
:
""
,
menuList
:
[],
// 菜单列表
queryParam
:
{},
menukey
:
0
,
activeName
:
"first"
,
lastuserList
:
[],
// 人员表格数据
lastMenuList
:
[],
// 重构完成的菜单表格数据
usermultipleSelection
:
[],
// 选中菜单列表
menumultipleSelection
:
[],
tableUrl
:
api
.
menus
,
// 菜单接口地址
meumurlid
:
api
.
subsystem
,
// 项目id接口地址
checkArr
:
[],
// 重构操作符列表
authorityList
:
[],
// 授权回显数组
checklistbor
:
[],
...
...
@@ -172,6 +168,7 @@
// 获取授权主体的菜单权限
// getMenuAuthorityList
menulist
(
operationList
,
id
,
Code
,
menutablelistData
,
operationCodes
)
{
console
.
log
(
"Code"
,
Code
);
this
.
selectedSubsystemCode
=
Code
this
.
menuList
=
menutablelistData
;
getRoleAuthorityList
(
...
...
Please
register
or
sign in
to post a comment