|
@@ -23,6 +23,14 @@ export interface PageParam {
|
|
|
workstationId: number,
|
|
workstationId: number,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+export interface NotificationsVO{
|
|
|
|
|
+ id: number,
|
|
|
|
|
+ enableNotifications:number
|
|
|
|
|
+}
|
|
|
|
|
+export interface ExecutionPlanVO{
|
|
|
|
|
+ id: number,
|
|
|
|
|
+ enableExecutionPlan:number
|
|
|
|
|
+}
|
|
|
// 查询SOP列表
|
|
// 查询SOP列表
|
|
|
export const getSopPage = async (params: PageParam) => {
|
|
export const getSopPage = async (params: PageParam) => {
|
|
|
return await request.get({ url: '/iscs/sop/getSopPage', params })
|
|
return await request.get({ url: '/iscs/sop/getSopPage', params })
|
|
@@ -47,6 +55,14 @@ export const updateSop = async (data: sopVO) => {
|
|
|
export const updateSopStatus = async (data: sopVO) => {
|
|
export const updateSopStatus = async (data: sopVO) => {
|
|
|
return await request.put({ url: '/iscs/sop/updateSopStatus', data })
|
|
return await request.put({ url: '/iscs/sop/updateSopStatus', data })
|
|
|
}
|
|
}
|
|
|
|
|
+// 更新启用通知
|
|
|
|
|
+export const updateSopEnableNotification=async(data:NotificationsVO)=>{
|
|
|
|
|
+return await request.put({ url: '/iscs/sop/updateSopEnableNotification', data })
|
|
|
|
|
+}
|
|
|
|
|
+// 更新执行计划
|
|
|
|
|
+export const updateSopEnableExecutionPlan=async(data:ExecutionPlanVO)=>{
|
|
|
|
|
+ return await request.put({ url: '/iscs/sop/updateSopEnableExecutionPlan', data })
|
|
|
|
|
+}
|
|
|
// 删除SOP
|
|
// 删除SOP
|
|
|
export const deleteSopList = async (ids: number) => {
|
|
export const deleteSopList = async (ids: number) => {
|
|
|
return await request.delete({
|
|
return await request.delete({
|