diff --git a/ruoyi-ui/src/api/flowable/definition.js b/ruoyi-ui/src/api/flowable/definition.js
index d2243df..e9e6c5a 100644
--- a/ruoyi-ui/src/api/flowable/definition.js
+++ b/ruoyi-ui/src/api/flowable/definition.js
@@ -86,6 +86,14 @@ export function saveXml(data) {
})
}
+// 获取最新流程id
+export function getLatestIdByKey(procKey) {
+ return request({
+ url: '/flowable/definition/getLatestIdByKey/' + procKey,
+ method: 'get'
+ });
+}
+
// 新增流程定义
export function addDeployment(data) {
return request({
diff --git a/ruoyi-ui/src/api/system/project.js b/ruoyi-ui/src/api/system/project.js
index 3573d28..2198236 100644
--- a/ruoyi-ui/src/api/system/project.js
+++ b/ruoyi-ui/src/api/system/project.js
@@ -8,6 +8,12 @@ export function listProject(query) {
params: query
})
}
+export function optionProject() {
+ return request({
+ url: '/system/project/option',
+ method: 'get'
+ })
+}
// 查询项目详细
export function getProject(projectId) {
diff --git a/ruoyi-ui/src/views/flowable/definition/index.vue b/ruoyi-ui/src/views/flowable/definition/index.vue
index 55c2d6c..a64459c 100644
--- a/ruoyi-ui/src/views/flowable/definition/index.vue
+++ b/ruoyi-ui/src/views/flowable/definition/index.vue
@@ -404,7 +404,7 @@ export default {
})
},
/** 启动流程 */
- handleDefinitionStart(row){
+ handleDefinitionStart(){
definitionStart(row.id).then(res =>{
this.msgSuccess(res.msg);
})
diff --git a/ruoyi-ui/src/views/flowable/oa-project-flow.vue b/ruoyi-ui/src/views/flowable/oa-project-flow.vue
index 6af294c..dd66e16 100644
--- a/ruoyi-ui/src/views/flowable/oa-project-flow.vue
+++ b/ruoyi-ui/src/views/flowable/oa-project-flow.vue
@@ -12,8 +12,8 @@