+
常规设置
@@ -59,7 +59,7 @@
插件设置
-
+
接口插件
@@ -84,7 +84,7 @@
>
节点编号:
-
WF0000000101
+
{{ nodeParams(nodeItem.id).node_code }}
节点名称:
@@ -95,15 +95,169 @@
+
+
+
+
+ 接口插件设置后,流程服务在节点完成时自动调取该接口,同步节点业务数据,保存到流程服务中。
+
+
+
服务地址:
+
+
+
+
+
+
+ 连接测试
+
+
+
+
+
+
+
+
+ JSON
+
+
+
+
+
+
+
+ 授权方式:
+
+
+
+
+
+
+
+
+ Token:
+
+
+
+
+
+
+
+
请求参数信息填写:
+
+
返回参数信息填写:
+
+
+
+
测试服务信息:
+
+
+

测试失败
+
+
+
+
+
+
+
@@ -494,7 +846,7 @@ export default {
z-index: 2;
top: 0;
right: 0;
- animation: myfirst 1s;
+ animation: myfirst 0.5s;
display: flex;
overflow: hidden;
justify-content: space-around;
@@ -600,6 +952,111 @@ export default {
}
}
}
+.general_settings {
+ font-size: 14px;
+ text-align: left;
+ .general_title {
+ margin-bottom: 20px;
+ padding-left: 10px;
+ }
+ .general_val {
+ margin-bottom: 30px;
+ padding-left: 10px;
+ }
+ .general_input {
+ margin-bottom: 50px;
+ }
+}
+.interface_plugin {
+ .interface_msg {
+ font-size: 12px;
+ color: #58617a;
+ width: 570px;
+ margin: 0 auto;
+ padding: 10px 0;
+ background-color: #f4f7fc;
+ border-radius: 8px;
+ }
+ .interface_plugin_item {
+ text-align: left;
+ .fwcs_fwdz {
+ color: #58617a;
+ margin: 20px 15px 15px;
+ font-size: 14px;
+ }
+ .fwcs_fwdz_inner {
+ margin-bottom: 20px;
+ }
+ .input-with-select {
+ width: 70%;
+ }
+ .fwcs_btn_fwcs {
+ background-color: #0f2683;
+ color: #ffffff;
+ margin-left: 10px;
+ }
+ .fwcs_tabs {
+ .sqxx_row {
+ padding: 0 20px;
+ .sqxx_title {
+ color: #58617a;
+ font-size: 14px;
+ margin: 10px 15px;
+ }
+ .sqxx_select {
+ width: 100%;
+ }
+ .center_line_c {
+ margin: 0 auto;
+ .center_line {
+ background-color: #f4f7fc;
+ width: 2px;
+ height: 400px;
+ position: relative;
+ left: 50%;
+ }
+ }
+ }
+ }
+ .split_line {
+ width: 100%;
+ height: 1px;
+ background-color: #f4f7fc;
+ margin: 30px 0;
+ }
+ .sjfw_qqcstx {
+ color: #58617a;
+ margin: 10px 15px;
+ font-size: 14px;
+ }
+ .sjfw_fhcstx {
+ color: #58617a;
+ margin: 30px 15px 10px;
+ font-size: 14px;
+ }
+ }
+}
+.dia_footer {
+ font-size: 14px;
+ text-align: center;
+ display: flex;
+ justify-content: flex-end;
+ margin-top: 20px;
+ .cancel {
+ background-color: #c3caf8;
+ color: #0f2683;
+ width: 90px;
+ height: 34px;
+ padding: 0 20px;
+ }
+ .submit {
+ background-color: #0f2683;
+ color: #f8f9fd;
+ width: 90px;
+ height: 34px;
+ padding: 0 20px;
+ }
+}
\ No newline at end of file
diff --git a/src/components/work-flow/workflows-view.vue b/src/components/work-flow/workflows-view.vue
new file mode 100644
index 0000000000000000000000000000000000000000..f28064b3c9ea873cb3ba9518ec9d5d4da6eaed2e
--- /dev/null
+++ b/src/components/work-flow/workflows-view.vue
@@ -0,0 +1,182 @@
+
+
+
+
+
+
+
+
+
+
当前实例数:{{ meta.running_nodes || 0 }}
+
当前超时比率:{{ (meta.cur_timeout_rate || 0) / 100 }}%
+
总超时比率:{{ (meta.total_timeout_rate || 0) / 100 }}%
+
节点平均耗时:{{ meta.avg_elapsed_time || 0 }}分钟
+
节点最大耗时:{{ meta.max_elapsed_time || 0 }}分钟
+
节点插件:
+
+
+ {{
+ ["-", "接口插件", "流程插件", "超时插件"][
+ plugin.plugin_type || 0
+ ]
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/index.vue b/src/pages/index.vue
index 78be45440281119443cee55df040664cd21dad20..77050b7a2b5c6edfa8535e965c727f0eff3229b4 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -16,7 +16,8 @@ export default {
'/intelligent_drawing',
'/intelligent_details',
'/intelligent_appbuilder',
- '/search_engine'
+ '/search_engine',
+ '/technical_support'
]
}),
created(){
diff --git a/src/pages/service_shop/zhfwDetail.vue b/src/pages/service_shop/zhfwDetail.vue
index e677e773d051f498c3563fa98ba30ed3c3a36da6..0effd191ae958479339aba84b015e3eb5b671c3d 100644
--- a/src/pages/service_shop/zhfwDetail.vue
+++ b/src/pages/service_shop/zhfwDetail.vue
@@ -38,11 +38,6 @@ export default {
providerData: null,
commentsData: null,
}),
- computed: {
- id() {
- return this.$route.params.id;
- },
- },
computed: {
id() {
return this.$route.params.id;
@@ -93,7 +88,6 @@ export default {
descript: datas.descript,
serviceRequestSpcs: specificationData,
};
-
this.detailData = [
{
name: "获取流程",
@@ -136,6 +130,13 @@ export default {
},
}, */
];
+ if (datas.workflows_id) {
+ this.detailData.push({
+ name: "流程详情",
+ type: "workflows",
+ value: datas.workflows_id,
+ });
+ }
this.specificationData = specificationData;
this.providerData = {
organization_name: datas.organization_name,
@@ -150,7 +151,7 @@ export default {
});
},
},
- mounted() {
+ created() {
this.init();
},
};
diff --git a/src/pages/technical-support/index.vue b/src/pages/technical-support/index.vue
new file mode 100644
index 0000000000000000000000000000000000000000..3c7f3d279afb6b6ede619d39f51fe327078a124d
--- /dev/null
+++ b/src/pages/technical-support/index.vue
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
diff --git a/src/pages/workbench/component-center/process-management/process-design/index.vue b/src/pages/workbench/component-center/process-management/process-design/index.vue
index 5351ea12e478c97e92a4192269548701d654010e..c7f28f014ff444a9ec09bc6e062855bf68bac247 100644
--- a/src/pages/workbench/component-center/process-management/process-design/index.vue
+++ b/src/pages/workbench/component-center/process-management/process-design/index.vue
@@ -128,6 +128,7 @@ export default {
verification() {
let self = this;
let data = JSON.parse(JSON.stringify(self.$refs.workFlow.getData()));
+ console.log(JSON.stringify(data))
let start_num = 0;
let end_num = 0;
let start_id = "";
@@ -143,11 +144,11 @@ export default {
return nodep.id == item.meta.id;
});
item.meta = da;
- if (item.meta.type == 0) {
+ if (item.meta.type == 1) {
start_num++;
start_id = item.id;
}
- if (item.meta.type == 1) {
+ if (item.meta.type == 2) {
end_num++;
end_id = item.id;
}
diff --git a/src/router/index.js b/src/router/index.js
index fa75a94ef09775e83dd9293ce107eb1596bb091b..dec4e135427cc85381aa4887ea89504b82ac7797 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -143,6 +143,12 @@ export default new Router({
},
],
}, // 工作台 - 应用管理模块
+ {
+ path: "/technical_support", // 技术支持
+ name: "technicalSupport",
+ component: () => import("@/pages/technical-support/index"),
+
+ },
{
path: "/shop", // 服务超市
name: "shop",