13404089107
2 天以前 e950c38ba82e5e6bc8b0c50c35e5dbb6a180165a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import axios from '@/utils/request';
 
// 添加项目课题方案
export function addDispatch(data) {
  return axios.post('/api/t-experiment-dispatch/add', { ...data })
}
//修改方案
export function updateDispatch(data) {
  return axios.post('/api/t-experiment-dispatch/update', { ...data })
}
//查询方案列表
export function getDispatchList(data) {
  return axios.post('/api/t-experiment-dispatch/pageList', { ...data })
}
//上下架
// export function upAndDown(data) {
//   return axios.post('/api/t-project-proposal/upAndDown', { ...data })
// }
//获取项目课题方案列表(下拉框
export function getProposalList(data) {
  return axios.get('/open/t-project-proposal/list', {params:data })
}
 
//删除
export function deleteById(data) {
  return axios.delete('/open/t-experiment-dispatch/deleteById', { params:data })
}
 
//批量删除
export function deleteByIds(data) {
  return axios.delete('/open/t-experiment-dispatch/deleteByIds', { params:data })
}
//根据id查询方案详情
export function getDetailById(data) {
  return axios.get('/open/t-experiment-dispatch/getDetailById', {params:data })
}
// 签名
export function sign(data) {
  return axios.post('/api/t-experiment-dispatch/sign', { ...data })
}