123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- import request from '@/utils/httpRequest'
- import { BUSINESS_PATH as prefix } from "../AppPath";
- export default class NotifyService {
- save (inputForm) {
- return request({
- url: prefix+`/jy/notify/save`,
- method: 'post',
- data: inputForm
- })
- }
- delete (ids) {
- return request({
- url: prefix+'/jy/notify/delete',
- method: 'delete',
- params: {ids: ids}
- })
- }
- close (id) {
- return request({
- url:prefix+ '/jy/notify/close',
- method: 'delete',
- params: {id: id}
- })
- }
- queryById (id) {
- return request({
- url:prefix+ `/jy/notify/queryById`,
- method: 'get',
- params: {id: id}
- })
- }
- query (params) {
- return request({
- url:prefix+ `/jy/notify/query`,
- method: 'get',
- params: params
- })
- }
- list (params) {
- return request({
- url:prefix+ '/jy/notify/list',
- method: 'get',
- params: params
- })
- }
- myNotifyList (params) {
- return request({
- url:prefix+ '/jy/notify/myNotifyList',
- method: 'get',
- params: params
- })
- }
- updateStatusById (data) {
- return request({
- url:prefix+ '/jy/notify/updateStatusById',
- method: 'post',
- data: data
- })
- }
- pushNotifyRecord (id) {
- return request({
- url:prefix+ '/jy/notify/pushNotifyRecord',
- method: 'post',
- data: {id: id}
- })
- }
- saveForm (inputForm) {
- return request({
- url: prefix+`/jy/notify/saveForm`,
- method: 'post',
- data: inputForm
- })
- }
- addComment (param) {
- return request({
- url:prefix+ '/jy/notify/addComment',
- method: 'post',
- data: param
- })
- }
- findComment (notifyId) {
- return request({
- url:prefix+ '/jy/notify/findComment',
- method: 'get',
- params: {notifyId:notifyId}
- })
- }
- delComment (id) {
- return request({
- url:prefix+ '/jy/notify/delComment',
- method: 'get',
- params: {id: id}
- })
- }
- portionRead (ids) {
- return request({
- url:prefix+ '/jy/notify/portionRead',
- method: 'post',
- params: {ids: ids}
- })
- }
- readAll () {
- return request({
- url:prefix+ '/jy/notify/readAll',
- method: 'post'
- })
- }
- saveLog(inputForm){
- return request({
- url: prefix+`/jy/notify/saveLog`,
- method: 'post',
- data: inputForm
- })
- }
- }
|