| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- 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/appsubmit",
- 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
- });
- }
- //授权人员列表
- export function workerList(params){
- return request({
- url: "/system/user/list",
- method: "get",
- params
- });
- }
- //授权提交
- export function accredit(data){
- return request({
- url: "/core/safetycheck/register/grant",
- method: "post",
- data
- });
- }
|