This commit is contained in:
Vergil
2020-04-13 15:13:24 +08:00
parent 37d1a82b07
commit af2f5c5e4e
4 changed files with 53 additions and 9 deletions

View File

@@ -69,8 +69,9 @@ export default {
url: '',
method: 'post',
data: {
type: '3',
name: `select * from 基础表_角色模块信息 inner join 基础表_模块信息 on 基础表_角色模块信息.id = 基础表_模块信息.id where 角色编号= ${this.token} and [path] = '/'`
type: '1',
name: `菜单系统模块_首页信息_查询数据1`,
param: '角色编号=' + this.token
}
}).then(data => {
this.fathers = []
@@ -92,8 +93,9 @@ export default {
url: '',
method: 'post',
data: {
type: '3',
name: `select * from 基础表_角色模块信息 inner join 基础表_模块信息 on 基础表_角色模块信息.id = 基础表_模块信息.id where 角色编号= ${this.token} and [path] <> '/'`
type: '1',
name: `菜单系统模块_首页信息_查询数据2`,
param: '角色编号=' + this.token
}
}).then(data => {
this.sons = []
@@ -113,8 +115,9 @@ export default {
url: '',
method: 'post',
data: {
type: '3',
name: `select * from 基础表_角色模块信息 inner join 基础表_模块信息 on 基础表_角色模块信息.id = 基础表_模块信息.id where 角色编号=${this.token} and 是否通知 = 1`
type: '1',
name: `菜单系统模块_通知信息_查询数据`,
param: '角色编号=' + this.token
}
}).then(data => {
this.sudokus = []