fix(新建流程): 修改新建流程页面获取流程分类接口,修复操作权限不足问题。

This commit is contained in:
konbai
2022-10-16 17:05:40 +08:00
parent b87b85c55e
commit 8cceb61b81

View File

@@ -78,7 +78,7 @@
<script> <script>
import { listProcess, getBpmnXml } from "@/api/workflow/process"; import { listProcess, getBpmnXml } from "@/api/workflow/process";
import { listCategory } from '@/api/workflow/category' import { listAllCategory } from '@/api/workflow/category'
import ProcessViewer from '@/components/ProcessViewer' import ProcessViewer from '@/components/ProcessViewer'
export default { export default {
@@ -122,7 +122,7 @@ export default {
methods: { methods: {
/** 查询流程分类列表 */ /** 查询流程分类列表 */
getCategoryList() { getCategoryList() {
listCategory().then(response => this.categoryOptions = response.rows) listAllCategory().then(response => this.categoryOptions = response.data)
}, },
/** 查询流程定义列表 */ /** 查询流程定义列表 */
getList() { getList() {