lyh
12 小时以前 b6247699693bdc200539f20851b3d2105fe8b674
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import http from '@/base/api/public'
import querystring from 'querystring'
let sysConfig = require('@/../config/sysConfig');
let apiUrl = sysConfig.lxznApiUrlPre;
 
export const task_list = () => {
  return http.requestQuickGet(apiUrl + '/nc/activit/find/task/list');
};
 
export const approve_task = (taskId, streamId, param) => {
  return http.requestPost(apiUrl + '/nc/activit/assign/file/approve/' + taskId + '/' + streamId, param);
};
 
export const approve_batch_task = (param) => {
  return http.requestPost(apiUrl + '/nc/activit/assign/file/batch/approve', param);
};
/*文件预览*/
export const file_preview =(id) =>{
  return http.requestGetInfo(apiUrl+'/nc/file/preview/'+id)
};
/*pdf文件预览*/
export const file_preview_pdf =(id) =>{
  return http.requestGetInfo(apiUrl+'/nc/file/preview/pdf/'+id)
};