| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- import request from "@/utils/request";
- //获取列表
- export function dataList(data) {
- return request({
- url: "/core/safetycheck/register/page",
- method: "post",
- data,
- });
- }
- //获取详情
- export function registerDetail(id){
- return request({
- url: "/core/safetycheck/register/app/"+id,
- method: "get",
- });
- }
- //查询机构可用的规范
- export function registerSubmit(data){
- return request({
- url: "/core/safetycheck/register/submit",
- method: "post",
- data
- });
- }
- //查询授权
- export function registerGrant(data){
- return request({
- url: "/core/safetycheck/register/grant",
- method: "post",
- data
- });
- }
- //查询角色
- export function registerRole(orgId){
- return request({
- url: "/system/role/getnamesbyorgid/"+orgId,
- method: "get",
- });
- }
- //获取检查内容库
- export function checkItemList(params){
- return request({
- url: "core/safetycheck/rule/ruleListForOrg",
- method: "get",
- params
- });
- }
- //
- export function checkList(params){
- return request({
- url: "core/safetycheck/ruleItem/pointSelectionPage",
- method: "get",
- params
- });
- }
|