1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- import request from '@/utils/request'
- /**
- * 列表查询检查记录
- * @param data
- * @returns {AxiosPromise}
- */
- export function getCheckRecordByList(data) {
- return request({
- url: `/goaf/goafcheckRecord/list`,
- method: 'get',
- params: data
- })
- }
- /**
- * 分页查询检查记录
- * @param data
- * @returns {AxiosPromise}
- */
- export function getCheckRecordByPage(data) {
- return request({
- url: '/goaf/goafcheckRecord/page',
- method: 'GET',
- params: data
- })
- }
- /**
- * 根据检查记录id获取检查记录的详细信息
- * @param data
- * @returns {AxiosPromise}
- */
- export function getCheckRecordById(id) {
- return request({
- url: `/goaf/goafcheckRecord/${id}`,
- method: 'GET'
- })
- }
- /**
- * 增加检查记录 hh
- * @param data
- * @returns {AxiosPromise}
- */
- export function createCheckRecord(data) {
- return request({
- url: '/goaf/goafChecklist/add',
- method: 'POST',
- data
- })
- }
|