From 6e48606ee4721482f2f754b21f462704fff7ccbc Mon Sep 17 00:00:00 2001
From: pyt <626651354@qq.com>
Date: 星期二, 13 五月 2025 16:44:57 +0800
Subject: [PATCH] Merge branch 'main' of http://120.76.84.145:10101/gitblit/r/H5/leshan-laboratory

---
 laboratory/src/views/dataManagement/dispatching/service.js |   40 +++++++++++++++++++++++++++++++++++++---
 1 files changed, 37 insertions(+), 3 deletions(-)

diff --git a/laboratory/src/views/dataManagement/dispatching/service.js b/laboratory/src/views/dataManagement/dispatching/service.js
index 186968b..784a490 100644
--- a/laboratory/src/views/dataManagement/dispatching/service.js
+++ b/laboratory/src/views/dataManagement/dispatching/service.js
@@ -1,6 +1,40 @@
 import axios from '@/utils/request';
 
-// 列表
-export const getList = (data) => {
-  return axios.post('/t-experiment-dispatch/api/t-experiment-dispatch/pageList', { ...data })
+// 添加项目课题方案
+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 })
 }
\ No newline at end of file

--
Gitblit v1.7.1