Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
bigDataSystem
Commits
5f8da8d0
Commit
5f8da8d0
authored
Nov 14, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了指标标准页面
parent
53b915d2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
281 additions
and
117 deletions
+281
-117
indicatorStandardsData.ts
...ataStandards/IndicatorStandards/indicatorStandardsData.ts
+278
-114
relatedBasicStandardModal.vue
...tandards/IndicatorStandards/relatedBasicStandardModal.vue
+2
-2
basicStandardsData.ts
src/views/dataStandards/basicStandards/basicStandardsData.ts
+1
-1
No files found.
src/views/dataStandards/IndicatorStandards/indicatorStandardsData.ts
View file @
5f8da8d0
...
...
@@ -720,7 +720,7 @@ export const relatedRelationshipsData3 = [
businessId
:
'1'
,
standardName
:
'当前就读学校'
,
standardNumber
:
'BIDQ000000001'
,
path
:
'/
基础
标准/DMP_admin-个人工作区/...'
,
path
:
'/
指标
标准/DMP_admin-个人工作区/...'
,
associationRelation
:
'无'
,
associationDescription
:
'无'
,
associationTime
:
'2024-01-01 10:00:00'
,
...
...
@@ -828,61 +828,6 @@ export const qualityTreeData: any[] = [
"icon"
:
"ant-design:partition-outlined"
,
}
];
/**关联关系-文档-树 数据*/
export
const
documentTreeData
:
any
[]
=
[
{
"businessId"
:
100
,
"documentName"
:
"文档模版"
,
"anotherName"
:
"文档模版"
,
"parentId"
:
0
,
"location"
:
"/文档模版"
,
"icon"
:
"ant-design:folder-open-outlined"
,
},
{
"businessId"
:
101
,
"documentName"
:
"CEA_POC_模版"
,
"anotherName"
:
"CEA_POC_模版"
,
"parentId"
:
100
,
"ancestors"
:
"0,100"
,
"icon"
:
"ant-design:folder-open-outlined"
,
},
{
"businessId"
:
102
,
"documentName"
:
"数据中台工作区01"
,
"anotherName"
:
"数据中台工作区01"
,
"parentId"
:
100
,
"ancestors"
:
"0,100"
,
"location"
:
"/文档模版/数据中台工作区01"
,
"icon"
:
"ant-design:folder-open-outlined"
,
},
{
"businessId"
:
201
,
"documentName"
:
"值域检查(倍数)"
,
"anotherName"
:
"值域检查(倍数)"
,
"parentId"
:
102
,
"ancestors"
:
"0,100,102"
,
"location"
:
"/文档模版/数据中台工作区01/值域检查(倍数)"
,
"icon"
:
"ant-design:partition-outlined"
,
},
{
"businessId"
:
202
,
"documentName"
:
"值域检查(数值大于零)"
,
"anotherName"
:
"值域检查(数值大于零)"
,
"parentId"
:
102
,
"ancestors"
:
"0,100,102"
,
"location"
:
"/文档模版/数据中台工作区01/值域检查(数值大于零)"
,
"icon"
:
"ant-design:partition-outlined"
,
},
{
"businessId"
:
204
,
"documentName"
:
"准取检查-数值大于等于n"
,
"anotherName"
:
"准取检查-数值大于等于n"
,
"parentId"
:
101
,
"ancestors"
:
"0,100,101"
,
"location"
:
"/文档模版/CEA_POC_模版/准取检查-数值大于等于n"
,
"icon"
:
"ant-design:partition-outlined"
,
}
];
/**关联关系-元数据-树 数据*/
export
const
meteDataTreeData
:
any
[]
=
[
{
...
...
@@ -997,96 +942,315 @@ export const indicatorTreeData: any[] = [
"icon"
:
"ant-design:partition-outlined"
,
}
];
/**关联关系-
公共代码
-树 数据*/
export
const
publicCode
TreeData
:
any
[]
=
[
/**关联关系-
基本标准
-树 数据*/
export
const
basicStandards
TreeData
:
any
[]
=
[
{
"businessId"
:
100
,
"
publicCodeName"
:
"公共代码
"
,
"anotherName"
:
"
公共代码
"
,
"
standardChineseName"
:
"基础标准
"
,
"anotherName"
:
"
基础标准
"
,
"parentId"
:
0
,
"location"
:
"/公共代码"
,
"icon"
:
"ant-design:folder-open-outlined"
,
"businessDefinition"
:
"基础标准"
,
"location"
:
"/基础标准"
,
"publishStatus"
:
"已发布"
,
"holderGroup"
:
"默认工作组"
,
"standardCode"
:
"BAS000001"
,
"referenceStandard"
:[
{
icon
:
'😂'
,
text
:
'数据源1'
},
{
icon
:
'🔍'
,
text
:
'数据源2'
},
],
"createDate"
:
"2024-10-24 10:04:04"
,
"updateDate"
:
"2024-10-24 10:04:04"
,
"icon"
:
"ant-design:partition-outlined"
,
"businessAttribute"
:
"通用"
,
"standardNumber"
:
"BAS-001"
,
"standardEnglishName"
:
"Basic Standard"
,
"standardAlias"
:
"Basic Standard"
,
"standardSource"
:
"1"
,
"definitionBasis"
:
"相关法律法规"
,
"businessRule"
:
"所有基础标准必须经过审核才能发布。"
,
"dataType"
:
"1"
,
"tecDataType"
:
"varchar"
,
"valueRange"
:
"非空字符串"
,
"codeNumber"
:
"CODE-100"
,
"adaptability"
:
"1"
,
"technicalAttribute"
:
"通用技术属性"
,
"dataDisplay"
:
"文本显示"
,
"dataPrecision"
:
"无"
,
"dataLength"
:
"255"
,
"measurementUnit"
:
"无"
,
"managementAttribute"
:
"通用管理属性"
,
"creator"
:
"张三"
,
"updater"
:
"李四"
,
"secondaryAuthorityDepartment"
:
"技术部"
,
"tertiaryAuthorityDepartment"
:
"研发组"
,
"coreSystem"
:
"核心系统A"
,
"dataStandardStatus"
:
"有效"
,
"expirationDate"
:
"2025-10-24"
,
"expirationReason"
:
"无"
,
"collaborativeDepartment"
:
"财务部, 市场部"
},
{
"businessId"
:
101
,
"
publicCodeName"
:
"CEA_POC_模版
"
,
"anotherName"
:
"
CEA_POC_模版
"
,
"
standardChineseName"
:
"共享工作区
"
,
"anotherName"
:
"
共享工作区
"
,
"parentId"
:
100
,
"businessDefinition"
:
"共享工作区"
,
"publishStatus"
:
"已发布"
,
"ancestors"
:
"0,100"
,
"standardCode"
:
"BAS000002"
,
"location"
:
"/基础标准/共享工作区"
,
"holderGroup"
:
"共享工作区"
,
"createDate"
:
"2024-10-24 10:04:04"
,
"updateDate"
:
"2024-10-24 10:04:04"
,
"icon"
:
"ant-design:folder-open-outlined"
,
"businessAttribute"
:
"协作"
,
"standardNumber"
:
"BAS-002"
,
"standardEnglishName"
:
"Shared Workspace"
,
"standardAlias"
:
"Shared Workspace"
,
"standardSource"
:
"1"
,
"definitionBasis"
:
"用户需求分析"
,
"businessRule"
:
"共享工作区内的文件必须定期备份。"
,
"dataType"
:
"1"
,
"tecDataType"
:
"varchar"
,
"valueRange"
:
"非空字符串"
,
"codeNumber"
:
"CODE-101"
,
"adaptability"
:
"1"
,
"technicalAttribute"
:
"通用技术属性"
,
"dataDisplay"
:
"文本显示"
,
"dataPrecision"
:
"无"
,
"dataLength"
:
"255"
,
"measurementUnit"
:
"无"
,
"managementAttribute"
:
"通用管理属性"
,
"creator"
:
"张三"
,
"updater"
:
"李四"
,
"secondaryAuthorityDepartment"
:
"技术部"
,
"tertiaryAuthorityDepartment"
:
"研发组"
,
"coreSystem"
:
"核心系统A"
,
"dataStandardStatus"
:
"有效"
,
"expirationDate"
:
"2025-10-24"
,
"expirationReason"
:
"无"
,
"collaborativeDepartment"
:
"财务部, 市场部"
},
{
"businessId"
:
102
,
"
publicCodeName"
:
"数据中台工作区01
"
,
"anotherName"
:
"
数据中台工作区01
"
,
"
standardChineseName"
:
"个人工作区
"
,
"anotherName"
:
"
个人工作区
"
,
"parentId"
:
100
,
"publishStatus"
:
"未发布"
,
"businessDefinition"
:
"个人工作区"
,
"standardCode"
:
"BAS000003"
,
"ancestors"
:
"0,100"
,
"location"
:
"/文档模版/数据中台工作区01"
,
"location"
:
"/基础标准/个人工作区"
,
"holderGroup"
:
"个人工作区"
,
"createDate"
:
"2024-10-24 10:04:04"
,
"updateDate"
:
"2024-10-24 10:04:04"
,
"icon"
:
"ant-design:folder-open-outlined"
,
"businessAttribute"
:
"个人"
,
"standardNumber"
:
"BAS-003"
,
"standardEnglishName"
:
"Personal Workspace"
,
"standardAlias"
:
"Personal Workspace"
,
"standardSource"
:
"1"
,
"definitionBasis"
:
"用户需求分析"
,
"businessRule"
:
"个人工作区内的文件必须定期清理。"
,
"dataType"
:
"1"
,
"tecDataType"
:
"varchar"
,
"valueRange"
:
"非空字符串"
,
"codeNumber"
:
"CODE-102"
,
"adaptability"
:
"1"
,
"technicalAttribute"
:
"通用技术属性"
,
"dataDisplay"
:
"文本显示"
,
"dataPrecision"
:
"无"
,
"dataLength"
:
"255"
,
"measurementUnit"
:
"无"
,
"managementAttribute"
:
"通用管理属性"
,
"creator"
:
"王五"
,
"updater"
:
"赵六"
,
"secondaryAuthorityDepartment"
:
"技术部"
,
"tertiaryAuthorityDepartment"
:
"运维组"
,
"coreSystem"
:
"核心系统B"
,
"dataStandardStatus"
:
"1"
,
"expirationDate"
:
"2025-10-24"
,
"expirationReason"
:
"无"
,
"collaborativeDepartment"
:
"人力资源部, 技术部"
},
{
"businessId"
:
201
,
"
publicCodeName"
:
"值域检查(倍数)
"
,
"anotherName"
:
"
值域检查(倍数)
"
,
"
standardChineseName"
:
"对外投资出资方式
"
,
"anotherName"
:
"
对外投资出资方式
"
,
"parentId"
:
102
,
"publishStatus"
:
"已发布"
,
"businessDefinition"
:
"对外投资出资方式"
,
"standardCode"
:
"BAS000004"
,
"referenceStandard"
:[
{
icon
:
'🌐🔍'
,
text
:
'数据源1'
},
],
"ancestors"
:
"0,100,102"
,
"location"
:
"/文档模版/数据中台工作区01/值域检查(倍数)"
,
"location"
:
"/基础标准/个人工作区/对外投资出资方式"
,
"holderGroup"
:
"个人工作区"
,
"createDate"
:
"2024-10-22 8:04:04"
,
"updateDate"
:
"2024-10-22 8:04:04"
,
"icon"
:
"ant-design:partition-outlined"
,
"businessAttribute"
:
"财务"
,
"standardNumber"
:
"BAS-004"
,
"standardEnglishName"
:
"Investment Contribution Method"
,
"standardAlias"
:
"Investment Contribution Method"
,
"standardSource"
:
"国家标准化管理委员会"
,
"definitionBasis"
:
"相关法律法规"
,
"businessRule"
:
"对外投资的出资方式必须明确记录。"
,
"dataType"
:
"1"
,
"tecDataType"
:
"varchar"
,
"valueRange"
:
"非空字符串"
,
"codeNumber"
:
"CODE-201"
,
"adaptability"
:
"1"
,
"technicalAttribute"
:
"通用技术属性"
,
"dataDisplay"
:
"文本显示"
,
"dataPrecision"
:
"无"
,
"dataLength"
:
"255"
,
"measurementUnit"
:
"无"
,
"managementAttribute"
:
"通用管理属性"
,
"creator"
:
"王五"
,
"updater"
:
"赵六"
,
"secondaryAuthorityDepartment"
:
"技术部"
,
"tertiaryAuthorityDepartment"
:
"运维组"
,
"coreSystem"
:
"核心系统B"
,
"dataStandardStatus"
:
"有效"
,
"expirationDate"
:
"2025-10-24"
,
"expirationReason"
:
"无"
,
"collaborativeDepartment"
:
"人力资源部, 技术部"
},
{
"referenceStandard"
:[
{
icon
:
'🌐🔍'
,
text
:
'数据源1'
},
],
"businessId"
:
202
,
"
publicCodeName"
:
"值域检查(数值大于零)
"
,
"anotherName"
:
"
值域检查(数值大于零)
"
,
"
standardChineseName"
:
"对外投资控股标志
"
,
"anotherName"
:
"
对外投资控股标志
"
,
"parentId"
:
102
,
"publishStatus"
:
"未发布"
,
"businessDefinition"
:
"对外投资控股标志"
,
"standardCode"
:
"BAS000005"
,
"ancestors"
:
"0,100,102"
,
"location"
:
"/文档模版/数据中台工作区01/值域检查(数值大于零)"
,
"location"
:
"/基础标准/个人工作区/对外投资控股标志"
,
"holderGroup"
:
"个人工作区"
,
"createDate"
:
"2024-10-22 8:04:04"
,
"updateDate"
:
"2024-10-22 8:04:04"
,
"icon"
:
"ant-design:partition-outlined"
,
"businessAttribute"
:
"财务"
,
"standardNumber"
:
"BAS-005"
,
"standardEnglishName"
:
"Investment Holding Mark"
,
"standardAlias"
:
"Investment Holding Mark"
,
"standardSource"
:
"国家标准化管理委员会"
,
"definitionBasis"
:
"相关法律法规"
,
"businessRule"
:
"对外投资的控股标志必须明确记录。"
,
"dataType"
:
"1"
,
"tecDataType"
:
"varchar"
,
"valueRange"
:
"非空字符串"
,
"codeNumber"
:
"CODE-202"
,
"adaptability"
:
"1"
,
"technicalAttribute"
:
"通用技术属性"
,
"dataDisplay"
:
"文本显示"
,
"dataPrecision"
:
"无"
,
"dataLength"
:
"255"
,
"measurementUnit"
:
"无"
,
"managementAttribute"
:
"通用管理属性"
,
"creator"
:
"王五"
,
"updater"
:
"赵六"
,
"secondaryAuthorityDepartment"
:
"技术部"
,
"tertiaryAuthorityDepartment"
:
"运维组"
,
"coreSystem"
:
"核心系统B"
,
"dataStandardStatus"
:
"有效"
,
"expirationDate"
:
"2025-10-24"
,
"expirationReason"
:
"无"
,
"collaborativeDepartment"
:
"人力资源部, 技术部"
},
{
"referenceStandard"
:[
{
icon
:
'🌐🔍'
,
text
:
'数据源1'
},
],
"businessId"
:
203
,
"standardChineseName"
:
"对外投资企业证明"
,
"anotherName"
:
"对外投资企业证明"
,
"parentId"
:
102
,
"publishStatus"
:
"已发布"
,
"businessDefinition"
:
"对外投资企业证明"
,
"standardCode"
:
"BAS000006"
,
"ancestors"
:
"0,100,102"
,
"location"
:
"/基础标准/个人工作区/对外投资企业证明"
,
"holderGroup"
:
"个人工作区"
,
"createDate"
:
"2024-10-22 8:04:04"
,
"updateDate"
:
"2024-10-22 8:04:04"
,
"icon"
:
"ant-design:partition-outlined"
,
"businessAttribute"
:
"财务"
,
"standardNumber"
:
"BAS-006"
,
"standardEnglishName"
:
"Investment Company Proof"
,
"standardAlias"
:
"Investment Company Proof"
,
"standardSource"
:
"国家标准化管理委员会"
,
"definitionBasis"
:
"相关法律法规"
,
"businessRule"
:
"对外投资的企业证明必须合法有效。"
,
"dataType"
:
"1"
,
"tecDataType"
:
"varchar"
,
"valueRange"
:
"非空字符串"
,
"codeNumber"
:
"CODE-203"
,
"adaptability"
:
"1"
,
"technicalAttribute"
:
"通用技术属性"
,
"dataDisplay"
:
"文本显示"
,
"dataPrecision"
:
"无"
,
"dataLength"
:
"255"
,
"measurementUnit"
:
"无"
,
"managementAttribute"
:
"通用管理属性"
,
"creator"
:
"王五"
,
"updater"
:
"赵六"
,
"secondaryAuthorityDepartment"
:
"技术部"
,
"tertiaryAuthorityDepartment"
:
"运维组"
,
"coreSystem"
:
"核心系统B"
,
"dataStandardStatus"
:
"有效"
,
"expirationDate"
:
"2025-10-24"
,
"expirationReason"
:
"无"
,
"collaborativeDepartment"
:
"人力资源部, 技术部"
},
{
"referenceStandard"
:[
{
icon
:
'🌐🔍'
,
text
:
'数据源1'
},
],
"businessId"
:
204
,
"
publicCodeName"
:
"准取检查-数值大于等于n
"
,
"anotherName"
:
"
准取检查-数值大于等于n
"
,
"
standardChineseName"
:
"zy_basic_standard
"
,
"anotherName"
:
"
zy_basic_standard
"
,
"parentId"
:
101
,
"publishStatus"
:
"已发布"
,
"businessDefinition"
:
"zy_basic_standard"
,
"standardCode"
:
"BAS000007"
,
"ancestors"
:
"0,100,101"
,
"location"
:
"/文档模版/CEA_POC_模版/准取检查-数值大于等于n"
,
"location"
:
"/基础标准/共享工作区/zy_basic_standard"
,
"holderGroup"
:
"共享工作区"
,
"createDate"
:
"2024-10-22 8:04:04"
,
"updateDate"
:
"2024-10-22 8:04:04"
,
"icon"
:
"ant-design:partition-outlined"
,
"businessAttribute"
:
"通用"
,
"standardNumber"
:
"BAS-007"
,
"standardEnglishName"
:
"ZY Basic Standard"
,
"standardAlias"
:
"ZY Basic Standard"
,
"standardSource"
:
"1"
,
"definitionBasis"
:
"用户需求分析"
,
"businessRule"
:
"所有基本标准必须经过审核才能发布。"
,
"dataType"
:
"1"
,
"tecDataType"
:
"varchar"
,
"valueRange"
:
"非空字符串"
,
"codeNumber"
:
"CODE-204"
,
"adaptability"
:
"1"
,
"technicalAttribute"
:
"通用技术属性"
,
"dataDisplay"
:
"文本显示"
,
"dataPrecision"
:
"无"
,
"dataLength"
:
"255"
,
"measurementUnit"
:
"无"
,
"managementAttribute"
:
"通用管理属性"
,
"creator"
:
"王五"
,
"updater"
:
"赵六"
,
"secondaryAuthorityDepartment"
:
"技术部"
,
"tertiaryAuthorityDepartment"
:
"运维组"
,
"coreSystem"
:
"核心系统B"
,
"dataStandardStatus"
:
"有效"
,
"expirationDate"
:
"2025-10-24"
,
"expirationReason"
:
"无"
,
"collaborativeDepartment"
:
"人力资源部, 技术部"
}
];
/**关联关系-智能推荐元数据 数据*/
export
const
recommendedMetadataData
=
[
{
fieldName
:
'current_school'
,
fieldComment
:
'数值类'
,
fieldType
:
'string'
,
recommendationLevel
:
'100%'
,
mappingDescription
:
''
},
{
fieldName
:
'current_school'
,
fieldComment
:
'数值类'
,
fieldType
:
'string'
,
recommendationLevel
:
'98%'
,
mappingDescription
:
''
},{
fieldName
:
'current_school'
,
fieldComment
:
'数值类'
,
fieldType
:
'string'
,
recommendationLevel
:
'99%'
,
mappingDescription
:
''
},
{
fieldName
:
'current_school'
,
fieldComment
:
'数值类'
,
fieldType
:
'string'
,
recommendationLevel
:
'100%'
,
mappingDescription
:
''
},
{
fieldName
:
'current_school'
,
fieldComment
:
'数值类'
,
fieldType
:
'string'
,
recommendationLevel
:
'95'
,
mappingDescription
:
''
},
]
src/views/dataStandards/IndicatorStandards/relatedBasicStandardModal.vue
View file @
5f8da8d0
...
...
@@ -9,7 +9,7 @@
import
{
BasicForm
,
useForm
}
from
'@/components/Form'
;
import
{
relatedBasicStandardsSchema
}
from
'./indicatorStandards.data'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
qualityTreeData
,
TreeData
}
from
"./indicatorStandardsData"
;
import
{
basicStandardsTreeData
,
qualityTreeData
,
TreeData
}
from
"./indicatorStandardsData"
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
defineOptions
({
name
:
'AccountModal'
});
...
...
@@ -35,7 +35,7 @@
setFieldsValue
({
...
data
.
record
,
})
const
treeList
=
handleTree
(
TreeData
,
'businessId'
,
undefined
,
undefined
,
undefined
)
const
treeList
=
handleTree
(
basicStandards
TreeData
,
'businessId'
,
undefined
,
undefined
,
undefined
)
updateSchema
([
{
field
:
'basicStandardsTree'
,
...
...
src/views/dataStandards/basicStandards/basicStandardsData.ts
View file @
5f8da8d0
...
...
@@ -730,7 +730,7 @@ export const relatedRelationshipsData5 = [
businessId
:
'1'
,
standardName
:
'当前就读学校'
,
standardNumber
:
'BIDQ000000001'
,
path
:
'/
基础
标准/DMP_admin-个人工作区/...'
,
path
:
'/
指标
标准/DMP_admin-个人工作区/...'
,
associationRelation
:
'无'
,
associationDescription
:
'无'
,
associationTime
:
'2024-01-01 10:00:00'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment