1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- import request from '@/utils/request'
- import qs from 'qs'
- export const getWtWorkReportReplys = (params) => {
- return new request({
- url: './work/wtWorkReportReplys/',
- method: 'get',
- params: params
- });
- }
- export const get = (id) => {
- return new request({
- url: './work/wtWorkReportReplys/' + id,
- method: 'get',
- });
- }
- export function saveOrUpdate(wtWorkReportReply, token) {
- return new request({
- url: './work/wtWorkReportReplys',
- method: (wtWorkReportReply.id ? 'put' : 'post'),
- headers: {
- token
- },
- data: {
- wtWorkReportReply
- }
- });
- }
- export function del(id) {
- return new request({
- url: './work/wtWorkReportReplys/' + id,
- method: 'delete',
- });
- }
- export const getReportReplysByReportId = (id) => {
- return new request({
- url: './work/wtWorkReportReplys/getReportReplysByReportId/' + id,
- method: 'get'
- });
- }
|