12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- import request from '@/utils/request'
- import qs from 'qs'
- export const getPeriodicalInformationByUserCenter = (items, token) => {
- return new request({
- url: './project/infoJournalViews/getPeriodicalInformationByUserCenter',
- method: 'get',
- headers: {
- token
- },
- params: items
- });
- }
- export const getAllJournalClassificationByUserCenter = (params) => {
- return new request({
- url: './project/journalClassifications/getAllJournalClassificationByUserCenter/',
- method: 'get',
- params: params
- });
- }
- export function saveOrUpdateByUserCenter(infoJournalView, token) {
- return new request({
- url: './project/infoJournalViews/saveOrUpdateByUserCenter',
- method: (infoJournalView.id ? 'put' : 'post'),
- headers: {
- token
- },
- data: {
- infoJournalView
- }
- });
- }
- export const getInfoDataByUserCenter = (params) => {
- return new request({
- url: './project/infoJournalViews/getInfoDataByUserCenter/',
- method: 'get',
- params: params
- });
- }
- export const deleteJournalByUserCenter = (params) => {
- return new request({
- url: './project/infoJournalViews/deleteJournalByUserCenter/',
- method: 'get',
- params: params
- });
- }
- export const commitJournalByUserCenter = (params) => {
- return new request({
- url: './project/infoJournalViews/commitJournalByUserCenter/',
- method: 'get',
- params: params
- });
- }
|