From ed1198ca97ff371cb22421b23e179ba8b79e2a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Fri, 3 Nov 2023 17:07:28 +0800 Subject: [PATCH] bug 77919 --- src/common/lang/businessSupport/zh.js | 3 +- src/components/InternalDetailPage.vue | 42 ++- src/components/customField/AddForm.vue | 312 ++++++++++-------- .../selection/StandardSelectionModal.vue | 9 +- .../modules/EnterpriseStandardModal.vue | 1 + .../modules/DomesticStandardModal.vue | 7 + .../modules/OverseasStandardModal.vue | 7 + yarn.lock | 127 ------- 8 files changed, 235 insertions(+), 273 deletions(-) diff --git a/src/common/lang/businessSupport/zh.js b/src/common/lang/businessSupport/zh.js index eb8a13f2..ea6d8a24 100644 --- a/src/common/lang/businessSupport/zh.js +++ b/src/common/lang/businessSupport/zh.js @@ -1,7 +1,8 @@ module.exports = { // 标准化活动 standardizationActivity: { - nodeName: '节点名称' // 节点名称 + nodeName: '节点名称', // 节点名称 + currentNode: '当前节点' }, // 问答库 questionAnswer: { diff --git a/src/components/InternalDetailPage.vue b/src/components/InternalDetailPage.vue index d3fdeada..edccef98 100644 --- a/src/components/InternalDetailPage.vue +++ b/src/components/InternalDetailPage.vue @@ -2,8 +2,16 @@
- - {{ title }} + + +
+ {{ title }} + + +
{{ subTitle }}
+
+
{{ subTitle }}
+
@@ -42,6 +50,24 @@ export default { type: Boolean, required: false, default: false + }, + // 自定义图标 + customIcon: { + type: Boolean, + required: false, + default: false + }, + // 副标题 + subTitle: { + type: String, + required: false, + default: null + }, + // 副标题是否需要tooltip + subTitleTooltip: { + type: Boolean, + required: false, + default: false } }, methods: { @@ -84,11 +110,21 @@ export default { font-weight: bold; color: #1D2129; flex: 1; - display: inline-block; width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; + display: flex; + align-items: center; + } + + &-sub-title { + font-size: 16px; + font-family: PingFang SC-Regular, PingFang SC, sans-serif; + font-weight: 400; + color: #4E5969; + margin-left: 12px; + display: inline-block; } } diff --git a/src/components/customField/AddForm.vue b/src/components/customField/AddForm.vue index 093c12ed..b7910a0f 100644 --- a/src/components/customField/AddForm.vue +++ b/src/components/customField/AddForm.vue @@ -1,146 +1,149 @@