|
@@ -8,20 +8,24 @@ export interface FlowDTO {
|
|
|
export interface FlowCreateDTO {
|
|
|
templateId: string
|
|
|
}
|
|
|
-/**
|
|
|
- * 获取下一步活动
|
|
|
- * **/
|
|
|
+
|
|
|
+/** 获取下一步流程(转件) */
|
|
|
export const getNextActivity = async (data: FlowDTO) => {
|
|
|
return await reqest.post(`/workflow/Transfer/getNextActivity`, data,{
|
|
|
headers: { 'Authorization': 'Bearer test83e06d0d-af60-4419-9437-c9a68bf1b669' }
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-/**
|
|
|
- * 发起流程
|
|
|
- * **/
|
|
|
+/** 发起流程 */
|
|
|
export const createProcessByModalId = async (createData: FlowCreateDTO) => {
|
|
|
return await reqest.post(`/workflow/TProcessEngine/addMobile`, createData,{
|
|
|
headers: { 'Authorization': 'Bearer test83e06d0d-af60-4419-9437-c9a68bf1b669' }
|
|
|
});
|
|
|
+}
|
|
|
+
|
|
|
+/** 获取流程意见 */
|
|
|
+export const getOpinionListByFlowInstanceId = async (flowInstanceId: String) => {
|
|
|
+ return await reqest.get(`/workflow/IFlowOpinion/getOpinionListByFlowInstanceId?flowInstanceId=${flowInstanceId}`,{
|
|
|
+ headers: { 'Authorization': 'Bearer test83e06d0d-af60-4419-9437-c9a68bf1b669' }
|
|
|
+ });
|
|
|
}
|