表单预览和修改

This commit is contained in:
cxc
2022-12-20 16:32:39 +08:00
parent a0c3e7bd00
commit 9b33e7e846
14 changed files with 743 additions and 223 deletions

View File

@ -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>