diff --git a/src/components/work-flow/super-flow.vue b/src/components/work-flow/super-flow.vue
index 3ce22d03770d6095ae21ff3b4704000b3121329c..d66b8ddf649ff396b9560d69db800442a84f583d 100644
--- a/src/components/work-flow/super-flow.vue
+++ b/src/components/work-flow/super-flow.vue
@@ -75,6 +75,40 @@
+
已选插件
+
+
+
![]()
+
![]()
+
接口插件
+
+
+
![]()
+
![]()
+
流程服务
+
+
+
![]()
+
![]()
+
超时管理
+
+
我的服务:
-
+
@@ -107,7 +120,6 @@ export default {
data: () => {
return {
step: 0,
- done: false,
basic_form: {
name: "",
workplace: "",
@@ -132,8 +144,7 @@ export default {
methods: {
verification() {
let self = this;
- let data = JSON.parse(JSON.stringify(self.$refs.workFlow.getData()));
- console.log(JSON.stringify(data));
+ let data = { ...self.$refs.workFlow.getData() };
let start_num = 0;
let end_num = 0;
let start_id = "";
@@ -143,7 +154,6 @@ export default {
let in_edge = 0;
let out_edge = 0;
let datas = { ...data.obj };
- console.log(data);
datas.nodeList.forEach((item) => {
let da = data.params.find((nodep) => {
return nodep.id == item.meta.id;
@@ -210,7 +220,7 @@ export default {
}
},
backToList() {
- this.$router.push("/message/directed_push");
+ this.$router.push("/progress/designer");
},
changeWorkPlace() {},
cancel() {
@@ -239,6 +249,9 @@ export default {
};
this.$api.workbench.addProcess(query).then((response) => {
if (response.data.success == 1) {
+ this.step = 2;
+ } else {
+ this.$message.error(response.data.errMsg);
}
});
}
@@ -291,6 +304,47 @@ export default {
.work_flow {
height: calc(100% - 70px);
}
+.steps_container {
+ flex-grow: 1;
+}
+.steps_done {
+ position: relative;
+ height: 100%;
+}
+.steps_done_info {
+ position: absolute;
+ top: calc(50% - 40px);
+ left: 50%;
+ transform: translate(-50%, -50%);
+}
+.steps_done_info > * {
+ display: inline-block;
+ vertical-align: middle;
+}
+.steps_done_info > .left_container {
+ width: 70px;
+ font-size: 0;
+ margin-right: 10px;
+}
+.steps_done_info > .right_container > p:nth-child(1) {
+ font-size: 18px;
+ font-weight: 700;
+ line-height: 24px;
+ color: #242c43;
+}
+.steps_done_info > .right_container > p:nth-child(2) {
+ font-size: 14px;
+ line-height: 20px;
+ color: #8890a7;
+ margin-top: 5px;
+}
+.btn_footer_1 {
+ position: absolute;
+ bottom: 0;
+ padding: 15px;
+ width: 100%;
+ text-align: right;
+}