fix: fix: 通过Model获得流程列表
parent
b2d360af0f
commit
71dfc6eb38
|
|
@ -20,9 +20,3 @@ export const getProcessDefinitionList = async (params) => {
|
|||
params
|
||||
})
|
||||
}
|
||||
|
||||
export const getProcessListByProcessType = async (processType) => {
|
||||
return await request.get({
|
||||
url: '/bpm/process-definition/list-all-simple?processType=' + processType
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,3 +72,10 @@ export const deleteModel = async (id: number) => {
|
|||
export const deployModel = async (id: number) => {
|
||||
return await request.post({ url: '/bpm/model/deploy?id=' + id })
|
||||
}
|
||||
|
||||
|
||||
export const getProcessListByProcessType = async (processType) => {
|
||||
return await request.get({
|
||||
url: '/bpm/model/list-all-simple?processType=' + processType
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@
|
|||
</el-drawer>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { getProcessListByProcessType } from '@/api/bpm/definition'
|
||||
import { getProcessListByProcessType } from '@/api/bpm/model'
|
||||
import {
|
||||
SimpleFlowNode,
|
||||
NodeType,
|
||||
|
|
|
|||
Loading…
Reference in New Issue