diff --git a/src/assets/css/index.css b/src/assets/css/index.css
index 53fdf6377765456f558e83e8b95cbe1e063f52f3..debe42d8a6a0721c9c43cfce5111baeed33ca478 100644
--- a/src/assets/css/index.css
+++ b/src/assets/css/index.css
@@ -574,7 +574,7 @@ border-radius:8px;
.apaas_button .el-button--warning {
background-color: #e56600;
border-color: #e56600;
- color: #fff;
+ color: #fcefd6;
}
.apaas_button .el-button.is-disabled,
.apaas_button .el-button.is-disabled:focus,
diff --git a/src/assets/imgs/ic_xitong.png b/src/assets/imgs/ic_xitong.png
index f03d86264f40198869675c461d733c04de01e637..d96cf22198a5c7bb804d28797897574bcce4ca9d 100644
Binary files a/src/assets/imgs/ic_xitong.png and b/src/assets/imgs/ic_xitong.png differ
diff --git a/src/assets/imgs/lcsj_btn_node_delete.png b/src/assets/imgs/lcsj_btn_node_delete.png
new file mode 100644
index 0000000000000000000000000000000000000000..a5890b34360b2d968221d7825f5459fc3d4cb82b
Binary files /dev/null and b/src/assets/imgs/lcsj_btn_node_delete.png differ
diff --git a/src/components/app-list/app-card.vue b/src/components/app-list/app-card.vue
index f0fbdd7d524ca723b0b529a82c14de5dfb617e48..e06354d74a3376d4996a447c8688802a5f10dabf 100644
--- a/src/components/app-list/app-card.vue
+++ b/src/components/app-list/app-card.vue
@@ -101,11 +101,17 @@ export default {
margin-right: 18px;
cursor: pointer;
}
+.app_card > .app_card-icon .el-avatar--square {
+ border: 3px solid #f6f7fb;
+ border-radius: 8px;
+ overflow: hidden;
+}
.app_card > .app_card-info {
width: calc(100% - 56px - 20px);
}
.app_card-info > .app_card-name {
font-size: 18px;
+ font-weight: 600;
line-height: 32px;
color: #0d1847;
cursor: pointer;
diff --git a/src/components/general/side-nav-bar-class.vue b/src/components/general/side-nav-bar-class.vue
index 440a6767b0ef5565094871f06bb85d3e46900226..c37138197b5d75a8c6b240740c7374f6871af0f7 100644
--- a/src/components/general/side-nav-bar-class.vue
+++ b/src/components/general/side-nav-bar-class.vue
@@ -96,7 +96,7 @@ export default {
border-left: 5px solid #0d1847;
font-size: 14px;
line-height: 24px;
- color: #e6ebfe;
+ color: #6573ae;
cursor: pointer;
}
.side_nav_bar_list > li:hover,
diff --git a/src/components/organization-list/organization-card.vue b/src/components/organization-list/organization-card.vue
index a95dab76baf03b68a505110527ad0d1cb27bd10a..74997975a664379d6ee1b1115a8e9d90f46b39c7 100644
--- a/src/components/organization-list/organization-card.vue
+++ b/src/components/organization-list/organization-card.vue
@@ -20,21 +20,21 @@
-
+
业务系统数
-
+
组织管理员
-
+
创建时间
@@ -102,11 +102,17 @@ export default {
margin-right: 18px;
cursor: pointer;
}
+.organization_card > .organization_card-icon .el-avatar--square {
+ border: 3px solid #f6f7fb;
+ border-radius: 8px;
+ overflow: hidden;
+}
.organization_card > .organization_card-info {
width: calc(100% - 56px - 20px);
}
.organization_card-info > .organization_card-name {
font-size: 18px;
+ font-weight: 600;
line-height: 32px;
color: #0d1847;
cursor: pointer;
@@ -129,6 +135,12 @@ export default {
.organization_card-text > span:nth-child(1) {
flex-shrink: 0;
color: #8890a7;
+ display: inline-flex;
+ justify-content: flex-start;
+ align-items: center;
+}
+.organization_card-text > span:nth-child(1) > img {
+ margin-right: 5px;
}
diff --git a/src/components/service-info/app-info.vue b/src/components/service-info/app-info.vue
index c131e94768a94a940e538f029dc334d4f1f66e5e..e07106ee9873e28e81c702ded5958f99e51a735a 100644
--- a/src/components/service-info/app-info.vue
+++ b/src/components/service-info/app-info.vue
@@ -214,6 +214,7 @@ export default {
}
.commodity_information > .btn_container > .el-button {
margin: 0 30px 15px 0;
+ border-width: 2px;
}
.commodity_action {
margin-top: 50px;
@@ -222,6 +223,7 @@ export default {
.commodity_action > .el-button {
width: 220px;
margin-left: 20px;
+ font-size: 16px;
}
@@ -231,4 +233,23 @@ export default {
background-color: #515fe7;
border-color: #515fe7;
}
+.application_info .el-input-number .el-input-number__decrease {
+ top: 2px;
+ left: 2px;
+ width: 38px;
+ line-height: 36px;
+ border-radius: 8px 0 0 8px;
+ border-right-width: 2px;
+}
+.application_info .el-input-number .el-input-number__increase {
+ top: 2px;
+ right: 2px;
+ width: 38px;
+ line-height: 36px;
+ border-radius: 0 8px 8px 0;
+ border-left-width: 2px;
+}
+.application_info .el-input-number .el-input__inner {
+ border-width: 2px;
+}
diff --git a/src/components/service-info/service-info.vue b/src/components/service-info/service-info.vue
index f93617eee09c16a52823283c0ca52f00ac65d70a..c1ed894a176682b3c1d442804e3a3e5b7cf74e09 100644
--- a/src/components/service-info/service-info.vue
+++ b/src/components/service-info/service-info.vue
@@ -386,6 +386,9 @@ export default {
.commodity_information > .btn_container {
margin-bottom: -15px;
}
+.commodity_information > .btn_container > .el-button {
+ border-width: 2px;
+}
.commodity_information > .btn_container > .el-button,
.commodity_information > .btn_container > .el-input-number {
margin: 0 20px 15px 0;
@@ -397,6 +400,7 @@ export default {
.commodity_action > .el-button {
width: 220px;
margin-left: 20px;
+ font-size: 16px;
}
@@ -406,4 +410,23 @@ export default {
background-color: #515fe7;
border-color: #515fe7;
}
+.service_info .el-input-number .el-input-number__decrease {
+ top: 2px;
+ left: 2px;
+ width: 38px;
+ line-height: 36px;
+ border-radius: 8px 0 0 8px;
+ border-right-width: 2px;
+}
+.service_info .el-input-number .el-input-number__increase {
+ top: 2px;
+ right: 2px;
+ width: 38px;
+ line-height: 36px;
+ border-radius: 0 8px 8px 0;
+ border-left-width: 2px;
+}
+.service_info .el-input-number .el-input__inner {
+ border-width: 2px;
+}
diff --git a/src/components/side-nav-bar.vue b/src/components/side-nav-bar.vue
index f4e250873549f5d9f875082ac0c0ff469705393d..a918dae96bc3361e1280a1745de49699e449fb5c 100644
--- a/src/components/side-nav-bar.vue
+++ b/src/components/side-nav-bar.vue
@@ -78,7 +78,7 @@ export default {
border-left: 5px solid #0d1847;
font-size: 14px;
line-height: 24px;
- color: #e6ebfe;
+ color: #6573ae;
cursor: pointer;
}
.side_nav_bar_list > li:hover,
diff --git a/src/components/work-flow/super-flow.vue b/src/components/work-flow/super-flow.vue
index 3bcf06981c1a42fb3bab21c1195fabcbec2aacb9..5a93e3ce5061feb3dc23a41bb64f05b473940054 100644
--- a/src/components/work-flow/super-flow.vue
+++ b/src/components/work-flow/super-flow.vue
@@ -35,16 +35,18 @@
onLineColor="#94a8c8"
:origin="origin"
>
-
+
{{nodeParams(meta.id).name}}
+ :title="nodeParams(node.meta.id).name"
+ >{{nodeParams(node.meta.id).name}}
+
@@ -792,9 +794,42 @@ export default {
self.dialog_general = true;
}
},
- showInterfacePlugin(query) {
- if (this.checkNodeCouldEdit()) {
- this.dialog_interface = true;
+ showInterfacePlugin() {
+ let self = this;
+ if (self.checkNodeCouldEdit()) {
+ let meta = self.nodeParamsList.find((item) => {
+ return item.id == self.nodeItem.id;
+ });
+ if (meta) {
+ let index = meta.plugins.findIndex((item) => {
+ return item.plugin_type === 1;
+ });
+ if (index !== -1) {
+ let data = meta.plugins[index];
+ let arr0 = JSON.parse(data.body_fields);
+ let arr1 = JSON.parse(data.query_fields);
+ let arr_res = JSON.parse(data.response_fields);
+ self.serviceUrl = data.url;
+ self.activeName = "0";
+ self.sqfsVal = data.auth_method;
+ self.tokenVal = data.auth_token;
+ self.noSearchUrl = "";
+ self.datasQqcs = arr0.length != 0 ? arr0 : arr1;
+ self.datasFhcs = arr_res;
+ self.resSuccess = true;
+ self.resultShow = true;
+ self.dataType = arr0.length != 0 ? "body" : "param";
+ self.body_fields = arr0;
+ self.param_fields = arr1;
+ self.select = data.req_type;
+ self.getUrl(self.serviceUrl);
+ } else {
+ self.refleshItem();
+ }
+ } else {
+ self.refleshItem();
+ }
+ self.dialog_interface = true;
}
},
nodeParams(id) {
@@ -825,7 +860,6 @@ export default {
});
}
}
-
self.dialog_general = false;
},
clickTab() {},
@@ -914,8 +948,8 @@ export default {
this.$api.workbench.fwzcFwcs(query).then((response) => {
if (response.data.success == 1) {
let data = response.data.data;
- this.body_fields = data.body_fields;
- this.param_fields = data.param_fields;
+ this.body_fields = data.body_fields || [];
+ this.param_fields = data.param_fields || [];
if (data.body_fields && data.body_fields.length != 0) {
this.datasQqcs = data.body_fields;
this.dataType = "body";
@@ -933,7 +967,7 @@ export default {
}
});
},
- interfaceCancel() {
+ refleshItem() {
this.serviceUrl = "";
this.activeName = "0";
this.sqfsVal = "";
@@ -949,6 +983,10 @@ export default {
this.param_fields = [];
this.request_fields = [];
this.response_fields = [];
+ this.select = 1;
+ },
+ interfaceCancel() {
+ this.refleshItem();
this.dialog_interface = false;
},
interfaceSubmit() {
@@ -1007,7 +1045,6 @@ export default {
response_fields: JSON.stringify(self.response_fields),
};
}
- console.log(self.nodeParamsList);
self.interfaceCancel();
} else if (this.requestRules != 0) {
this.$message.error("请完善请求参数信息中的字段名称");
@@ -1112,6 +1149,28 @@ export default {
});
this.nodeParamsList[index].plugins.split(plugin_index, 1);
},
+ delNode(item) {
+ console.log(item);
+ let obj = this.$refs.superFlow.toJSON();
+ let nodes = obj.nodeList;
+ let links = obj.linkList;
+ for (let i = 0; i < nodes.length; i++) {
+ console.log(nodes[i]);
+ if (nodes[i].id == item) {
+ nodes.splice(i, 1);
+ }
+ }
+ for (let i = 0; i < links.length; i++) {
+ console.log(links[i]);
+ if (links[i].startId == item || links[i].endId == item) {
+ links.splice(i, 1);
+ i--;
+ }
+ }
+ this.nodeList = nodes;
+ this.linkList = links;
+ console.log(this.nodeList, this.linkList);
+ },
},
};
@@ -1225,7 +1284,7 @@ export default {
}
.checked_item {
margin-top: 20px;
- cursor: pointer;
+ cursor: default;
position: relative;
&:hover {
color: #515fe7;
@@ -1236,6 +1295,7 @@ export default {
}
.checked_item_del {
position: absolute;
+ cursor: pointer;
width: 12px;
height: 12px;
top: -4px;
@@ -1495,6 +1555,21 @@ export default {
padding: 0 20px;
}
}
+.node_del {
+ width: 18px;
+ height: 18px;
+ background: url("~@/assets/imgs/lcsj_btn_node_delete.png") no-repeat center
+ center;
+ cursor: pointer;
+ display: none;
+ position: absolute;
+ top: -12px;
+ right: -12px;
+ z-index: 1999;
+}
+.super-flow__node:hover .node_del {
+ display: block;
+}
+
+
diff --git a/src/pages/workbench/component-center/process-management/process-design/edit.vue b/src/pages/workbench/component-center/process-management/process-design/edit.vue
index 516c1bcb82ea78353607fc9d6ffe16fe92d4f30d..1b6be6f39d31f9b2de6c1256add1bdfa65dc09cd 100644
--- a/src/pages/workbench/component-center/process-management/process-design/edit.vue
+++ b/src/pages/workbench/component-center/process-management/process-design/edit.vue
@@ -58,7 +58,7 @@
class="apaas_step"
>
-
+
-
+
工作区域审批({{ cloud_admin.unapprove }})
span,
.cloud_title > span::before {
@@ -1876,7 +1887,7 @@ export default {
.admin_preview {
display: flex;
justify-content: space-between;
- align-items: center;
+ align-items: flex-start;
}
.admin_preview > * {
width: calc(50% - 10px);
@@ -1896,3 +1907,9 @@ export default {
z-index: 9;
}
+
+
diff --git a/src/pages/workbench/fwgl/organizationCloudResource.vue b/src/pages/workbench/fwgl/organizationCloudResource.vue
index 14115e626c9e28854ab3301ccf8a8317ee17c0df..895ae453d85094acdb66c5ac08e08e7651cbd11c 100644
--- a/src/pages/workbench/fwgl/organizationCloudResource.vue
+++ b/src/pages/workbench/fwgl/organizationCloudResource.vue
@@ -110,25 +110,25 @@ export default {
name: "CPU使用量",
value: cloud.cpu_use,
total: cloud.cpu_total,
- unit: "(核)",
+ unit: "核",
},
{
name: "内存使用量",
value: cloud.memory_use,
total: cloud.memory_total,
- unit: "(GB)",
+ unit: "GB",
},
/* {
name: "数据盘使用量",
value: cloud.disk_use,
total: cloud.disk_total,
- unit: "(GB)",
+ unit: "GB",
}, */
{
name: "容器组使用量",
value: cloud.containers_use,
total: cloud.containers_total,
- unit: "(个)",
+ unit: "个",
},
];
})
@@ -164,31 +164,50 @@ export default {
let percent = parseFloat(
((item.value / item.total) * 100 || 0).toFixed(1)
);
- let colors = ["#515fe7", "#e7ecfd"];
+ let colors = [];
- if (percent >= 80) {
- colors = ["#e3606d", "#f6d0d0"];
+ if (this.level == 2) {
+ if (percent >= 80) {
+ colors = ["#e3606d", "#f6d0d0"];
+ } else {
+ colors = ["#515fe7", "#e7ecfd"];
+ }
+ } else {
+ if (percent >= 80) {
+ colors = ["#e3606d", "#f6d0d0"];
+ this.cloud_admin_warn = true;
+ } else if (percent >= 60) {
+ colors = ["#ef9535", "#fcefd8"];
+ } else {
+ colors = ["#515fe7", "#e7ecfd"];
+ }
}
return {
title: [
{
- text: percent + "%",
+ text: percent + "{a|%}",
x: "center",
- y: "28%",
+ y: "30%",
textStyle: {
- fontSize: 34,
- fontWeight: "100",
+ fontSize: 36,
+ fontWeight: "lighter",
color: ["#0d1847"],
+ rich: {
+ a: {
+ fontSize: 14,
+ padding: [0, 0, 4, 0],
+ },
+ },
},
},
{
text: item.name,
x: "center",
- y: "55%",
+ y: "58%",
textStyle: {
fontSize: 12,
- fontWeight: "100",
+ fontWeight: "normal",
color: "#707693",
},
},
@@ -255,7 +274,7 @@ export default {
barMaxWidth: 10,
name: "C",
roundCap: true,
- color: "#ddd",
+ color: "#f4f4f5",
barGap: "-100%",
},
{
@@ -272,7 +291,7 @@ export default {
axisLine: {
show: true,
lineStyle: {
- width: 0.5,
+ width: 1,
color: [[1, "rgba(0,0,0,0)"]],
},
}, //仪表盘轴线
@@ -283,17 +302,16 @@ export default {
show: true,
splitNumber: 5,
lineStyle: {
- color: "#e3e4ea",
- width: 0.5,
+ color: "#c9cee0",
+ width: 1,
},
- length: 3,
+ length: 4,
}, //刻度样式
splitLine: {
show: true,
- length: 4,
+ length: 6,
lineStyle: {
- color: "#e3e4ea",
- width: 0.5,
+ color: "#c9cee0",
},
}, //分隔线样式
detail: {
@@ -317,7 +335,6 @@ export default {
color: "#fff",
},
},
-
data: [, percent],
},
],
diff --git a/src/pages/workbench/fwgl/serviceDetail.vue b/src/pages/workbench/fwgl/serviceDetail.vue
index 127bd750f641d87509d53e411f53c0bfa28376e0..f7155ca40757b75f3e9f1796fa734411b09c6db4 100644
--- a/src/pages/workbench/fwgl/serviceDetail.vue
+++ b/src/pages/workbench/fwgl/serviceDetail.vue
@@ -604,9 +604,6 @@ export default {
getCurrentUser() {
this.$api.user.getNowUser().then(({ data }) => {
if (data.success == 1) {
- console.log("--- user info ---");
- console.log(data.data);
- console.log("--- user info ---");
this.$store.commit("userInfofun", data.data);
this.now_user = this.level;
console.log(this.level);
diff --git a/src/pages/workbench/fwgl/serviceEdit.vue b/src/pages/workbench/fwgl/serviceEdit.vue
index aa7de0a5cfbeeb74b2139ec7b51655c524a80f13..69850298208a5213bfcfa1ca1f9be9117768b79b 100644
--- a/src/pages/workbench/fwgl/serviceEdit.vue
+++ b/src/pages/workbench/fwgl/serviceEdit.vue
@@ -245,9 +245,6 @@ export default {
getCurrentUser() {
this.$api.user.getNowUser().then(({ data }) => {
if (data.success == 1) {
- console.log("--- user info ---");
- console.log(data.data);
- console.log("--- user info ---");
this.$store.commit("userInfofun", data.data);
this.now_user = this.level
console.log(this.level);
diff --git a/src/pages/workbench/workPlace.vue b/src/pages/workbench/workPlace.vue
index 5fcef759f635a37df6b82dd8d4f4da1736e625ad..ff4c5b03345653abbf79c63cfc52dffd6f4f6d25 100644
--- a/src/pages/workbench/workPlace.vue
+++ b/src/pages/workbench/workPlace.vue
@@ -1325,9 +1325,6 @@ export default {
getCurrentUser() {
this.$api.user.getNowUser().then(({ data }) => {
if (data.success == 1) {
- console.log("--- user info ---");
- console.log(data.data);
- console.log("--- user info ---");
this.$store.commit("userInfofun", data.data);
this.now_user = this.level;
this.manage_arr[0].url = data.data.department_id;
diff --git a/src/pages/workbench/yygl/app_detail.vue b/src/pages/workbench/yygl/app_detail.vue
index 79f83fc5b9a40645389349582d78997127a87fcd..0d02909a206e699a8b3e3a0fd2e5b7fe4d97f026 100644
--- a/src/pages/workbench/yygl/app_detail.vue
+++ b/src/pages/workbench/yygl/app_detail.vue
@@ -426,9 +426,6 @@ export default {
getCurrentUser() {
this.$api.user.getNowUser().then(({ data }) => {
if (data.success == 1) {
- console.log("--- user info ---");
- console.log(data.data);
- console.log("--- user info ---");
this.$store.commit("userInfofun", data.data);
this.now_user = this.level;
this.getServiceInfo();
diff --git a/src/pages/workbench/yygl/approval_app_detail.vue b/src/pages/workbench/yygl/approval_app_detail.vue
index cf29e9942630dd88824da82d7d8e5affb4787636..b77226bc8befdaffe67fa69b73f5e622abbbe51d 100644
--- a/src/pages/workbench/yygl/approval_app_detail.vue
+++ b/src/pages/workbench/yygl/approval_app_detail.vue
@@ -271,9 +271,6 @@ export default {
getCurrentUser() {
this.$api.user.getNowUser().then(({ data }) => {
if (data.success == 1) {
- console.log("--- user info ---");
- console.log(data.data);
- console.log("--- user info ---");
this.$store.commit("userInfofun", data.data);
this.now_user = this.level
this.getheaderinfo();
diff --git a/src/pages/workbench/yygl/deploy_app_detail.vue b/src/pages/workbench/yygl/deploy_app_detail.vue
index b77e93b251c3d6c16dffb0fbebd1940f1fd81ae5..efb7da8dd467dfc8ab864a286f836f6981eea654 100644
--- a/src/pages/workbench/yygl/deploy_app_detail.vue
+++ b/src/pages/workbench/yygl/deploy_app_detail.vue
@@ -630,9 +630,6 @@ export default {
getCurrentUser() {
this.$api.user.getNowUser().then(({ data }) => {
if (data.success == 1) {
- console.log("--- user info ---");
- console.log(data.data);
- console.log("--- user info ---");
this.$store.commit("userInfofun", data.data);
this.now_user = this.level;
console.log(this.level);