表单预览和修改
This commit is contained in:
@ -451,7 +451,7 @@ import {
|
||||
delModel,
|
||||
deployModel,
|
||||
} from "@/api/flowable/model";
|
||||
import { listCategory } from "@/api/flowable/category";
|
||||
import { listAllCategory } from "@/api/flowable/category";
|
||||
import { ArrowDown } from "@element-plus/icons-vue";
|
||||
import ProcessDesigner from "@/components/ProcessDesigner";
|
||||
import ProcessViewer from "@/components/ProcessViewer";
|
||||
@ -557,7 +557,7 @@ const {
|
||||
|
||||
/** 查询流程分类列表 */
|
||||
function getCategoryList() {
|
||||
listCategory().then((response) => (categoryOptions.value = response.rows));
|
||||
listAllCategory().then((response) => (categoryOptions.value = response.rows));
|
||||
}
|
||||
/** 查询流程模型列表 */
|
||||
function getList() {
|
||||
@ -608,12 +608,12 @@ function handleDeploy(row) {
|
||||
.then((response) => {
|
||||
ElMessage.success(response.msg);
|
||||
let obj = { name: "Deploy", path: "/workflow/deploy" };
|
||||
return this.$store
|
||||
.dispatch("tagsView/delCachedView", obj)
|
||||
// return this.$store
|
||||
// .dispatch("tagsView/delCachedView", obj)
|
||||
|
||||
.then(() => {
|
||||
this.$router.push(obj);
|
||||
});
|
||||
// .then(() => {
|
||||
// this.$router.push(obj);
|
||||
// });
|
||||
})
|
||||
.finally(() => {
|
||||
loading.value = false;
|
||||
@ -826,6 +826,7 @@ getCategoryList();
|
||||
<style scoped>
|
||||
.model-operation {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user