完善菜单
This commit is contained in:
@@ -7,7 +7,7 @@ let tokens = window.sessionStorage.getItem('token');
|
||||
//获取菜单 分页列表
|
||||
export function pageList(data) {
|
||||
return request({
|
||||
url: '/wms/apiadmin/sysmenu/listAllVoForSource',
|
||||
url: '/wms/apiadmin/sysmenu/listAllVoForSourceG',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
headers: {
|
||||
@@ -23,7 +23,9 @@ export function saveMenusInfo(data) {
|
||||
url: '/wms/apiadmin/sysmenu/save',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
headers: {'Content-Type': 'application/json'}
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -33,7 +35,9 @@ export function putMenusInfo(data) {
|
||||
url: '/wms/apiadmin/sysmenu/update/' + data.sid,
|
||||
method: 'POST',
|
||||
data: data,
|
||||
headers: {'Content-Type': 'application/json'}
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -70,7 +74,9 @@ export function roleList(data) {
|
||||
url: '/system/v1/menus/list',
|
||||
method: 'post',
|
||||
data: data,
|
||||
headers: {'Content-Type': 'application/json'}
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -80,7 +86,9 @@ export function menusPageList(data) {
|
||||
url: '/system/v1/menus/pagelist',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
headers: {'Content-Type': 'application/json'}
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -90,7 +98,9 @@ export function menusTreelist(data) {
|
||||
url: '/system/v1/menus/treelist',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
headers: {'Content-Type': 'application/json'}
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -103,7 +113,3 @@ export function getRoleInfo(data) {
|
||||
data: qs.stringify(data)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -446,6 +446,7 @@
|
||||
},
|
||||
getPageList() { // 获取列表
|
||||
this.loading = true
|
||||
this.page.params.orgSid = window.sessionStorage.getItem('orgSid')
|
||||
pageList(this.page).then((res) => {
|
||||
this.loading = false
|
||||
console.log('这里是条件查询', this.page)
|
||||
|
||||
Reference in New Issue
Block a user