diff --git a/flowable-engine-web/src/api/processInstance.js b/flowable-engine-web/src/api/processInstance.js index 1c9b07e..8d6109c 100644 --- a/flowable-engine-web/src/api/processInstance.js +++ b/flowable-engine-web/src/api/processInstance.js @@ -12,6 +12,13 @@ export function startProcessInstance(param) { data: param }) } +export function restartProcessInstance(param) { + return request({ + url: "/flowable/process/instance/restart", + method: "post", + data: param + }) +} export function getAboutInstanceList() { return request({ @@ -33,3 +40,11 @@ export function getInitiatedInstanceInfo(processInstanceId) { method: "get", }) } + + +export function getInitiatedInstanceReInfo(instanceId) { + return request({ + url: "/flowable/process/instance/re/info/"+instanceId, + method: "get", + }) +} diff --git a/flowable-engine-web/src/api/request.js b/flowable-engine-web/src/api/request.js index cdf1367..909558b 100644 --- a/flowable-engine-web/src/api/request.js +++ b/flowable-engine-web/src/api/request.js @@ -10,8 +10,8 @@ Vue.prototype.$axios = axios; // 字体图标 export function getBaseUrl(){ - return "http://gateway.mytwins.top" - // return "http://192.168.101.7:8000" + // return "http://gateway.mytwins.top" + return "http://192.168.101.7:8000" // return "http://localhost:8000" } @@ -51,7 +51,7 @@ service.interceptors.response.use( console.log("请求", err); switch (err.response.status) { case 401: - MessageBox.alert("登陆已过期,请关闭当前窗口重新进入-能臣工作台"); + MessageBox.alert("登陆已过期,请关闭当前窗口重新进入"); break; case 403: //Message.warning("抱歉,您无权访问!") diff --git a/flowable-engine-web/src/views/common/form/FormRenderView.vue b/flowable-engine-web/src/views/common/form/FormRenderView.vue index 0de5034..df36722 100644 --- a/flowable-engine-web/src/views/common/form/FormRenderView.vue +++ b/flowable-engine-web/src/views/common/form/FormRenderView.vue @@ -63,8 +63,6 @@ export default { }, methods: { validate(call) { - console.log("我被执行了") - let success = true this.$refs.formView.validate(valid => { success = valid diff --git a/flowable-engine-web/src/views/common/operation/OperationRender.vue b/flowable-engine-web/src/views/common/operation/OperationRender.vue index 0eb3904..6bdc6df 100644 --- a/flowable-engine-web/src/views/common/operation/OperationRender.vue +++ b/flowable-engine-web/src/views/common/operation/OperationRender.vue @@ -11,8 +11,7 @@