This commit is contained in:
liushuai
2020-03-26 18:32:14 +08:00
8 changed files with 95 additions and 53 deletions

View File

@@ -110,3 +110,21 @@ export function submitAdd(name) {
}
})
}
// 查询二级模块分给那些角色
export function searchJS(name) {
return request({
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '3',
name: ` select 角色功能,title from
基础表_模块信息 inner join 基础表_角色模块信息 on 基础表_角色模块信息.id = 基础表_模块信息.id
inner join 菜单系统模块_项目角色 on 基础表_角色模块信息.角色编号 = 菜单系统模块_项目角色.角色编号
order by title`,
param: `模块名称=${name}`
}
})
}

View File

@@ -113,3 +113,28 @@ export function searchPurchaseContract(check1, check, num) {
}
})
}
// 请款审批查看状态
export function RequestFund() {
return request({
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: '采购管理_离线合同_请款查看状态_查询数据'
}
})
}
export function setChakan2() {
return request({
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '采购管理_离线合同_更新查看状态_修改数据'
}
})
}