对比新文件 |
| | |
| | | import {getToken} from "../utils/auth"; |
| | | import request from '@/utils/request' |
| | | |
| | | export function safetySelfInspectionList(data) { |
| | | return request({ |
| | | headers:{ |
| | | 'Authorization': getToken() |
| | | }, |
| | | url: process.env.BASE_API+'/safetySelfInspection/page', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | |
| | | export function safetySelfInspectionInfo(data) { |
| | | return request({ |
| | | headers:{ |
| | | 'Authorization': getToken() |
| | | }, |
| | | url: process.env.BASE_API+'/safetySelfInspection/info', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | |
| | | export function safetySelfInspectionItemInfo(data) { |
| | | return request({ |
| | | headers:{ |
| | | 'Authorization': getToken() |
| | | }, |
| | | url: process.env.BASE_API+'/safetySelfInspection/itemInfo', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | |
| | | export function safetySelfInspectionModItemInfo(data) { |
| | | return request({ |
| | | headers:{ |
| | | 'Authorization': getToken() |
| | | }, |
| | | url: process.env.BASE_API+'/safetySelfInspection/modItemInfo', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | |
| | | export function safetySelfInspectionAdd(data) { |
| | | return request({ |
| | | headers:{ |
| | | 'Authorization': getToken() |
| | | }, |
| | | url: process.env.BASE_API+'/safetySelfInspection/add', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | |
| | | export function safetySelfInspectionMod(data) { |
| | | return request({ |
| | | headers:{ |
| | | 'Authorization': getToken() |
| | | }, |
| | | url: process.env.BASE_API+'/safetySelfInspection/mod', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | |
| | | export function safetySelfInspectionDel(data) { |
| | | return request({ |
| | | headers:{ |
| | | 'Authorization': getToken() |
| | | }, |
| | | url: process.env.BASE_API+'/safetySelfInspection/del', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | export function safetyInspectionItemTreeA(data) { |
| | | return request({ |
| | | headers:{ |
| | | 'Authorization': getToken() |
| | | }, |
| | | url: process.env.BASE_API+'/elementManagement/getElementTree', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | export function safetyInspectionItemName(data) { |
| | | return request({ |
| | | headers:{ |
| | | 'Authorization': getToken() |
| | | }, |
| | | url: process.env.BASE_API+'/getUserList', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | export function safetyInspectionItemTreeB(data) { |
| | | return request({ |
| | | headers:{ |
| | | 'Authorization': getToken() |
| | | }, |
| | | url: process.env.BASE_API+'/safetyInspectionItem/infoElementA', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | |
| | | export function safetyInspectionItemId(data) { |
| | | return request({ |
| | | headers:{ |
| | | 'Authorization': getToken() |
| | | }, |
| | | url: process.env.BASE_API+'/safetyInspectionItem/info', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |