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
b996758e
Commit
b996758e
authored
Nov 13, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了基础标准页
parent
2230dbf5
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
801 additions
and
30 deletions
+801
-30
index.ts
src/router/routes/index.ts
+10
-0
VersionModal.vue
src/views/dataStandards/basicStandards/VersionModal.vue
+8
-1
basicStandards.data.ts
...views/dataStandards/basicStandards/basicStandards.data.ts
+241
-0
basicStandardsContrast.vue
...s/dataStandards/basicStandards/basicStandardsContrast.vue
+9
-2
basicStandardsData.ts
src/views/dataStandards/basicStandards/basicStandardsData.ts
+149
-0
index.vue
src/views/dataStandards/basicStandards/index.vue
+9
-27
relatedRelationships.vue
...ews/dataStandards/basicStandards/relatedRelationships.vue
+375
-0
No files found.
src/router/routes/index.ts
View file @
b996758e
...
...
@@ -128,6 +128,7 @@ export const UserRoute: AppRouteRecordRaw = {
],
};
/**通用文件*/
export
const
CommonFileRoute
:
AppRouteRecordRaw
=
{
path
:
'/commonFile'
,
name
:
'commonFile'
,
...
...
@@ -335,6 +336,15 @@ export const DataStandardRoute: AppRouteRecordRaw = {
icon
:
''
,
},
},
{
path
:
'basicStandards/relatedRelationships'
,
name
:
'relatedRelationships'
,
component
:
()
=>
import
(
'@/views/dataStandards/basicStandards/relatedRelationships.vue'
),
meta
:
{
title
:
'关联关系'
,
icon
:
''
,
},
},
],
};
...
...
src/views/dataStandards/basicStandards/VersionModal.vue
View file @
b996758e
...
...
@@ -39,6 +39,7 @@
import
{
useFilterStore
}
from
'@/store/modules/filterData'
;
import
{
useUserStore
}
from
"@/store/modules/user"
;
import
{
userData
}
from
"@/views/system/institution/institutionData"
;
import
{
router
}
from
"@/router"
;
defineOptions
({
name
:
'AccountManagement'
});
const
{
createMessage
}
=
useMessage
();
...
...
@@ -104,7 +105,13 @@ const [registerTable, { reload, updateTableDataRecord, getSearchInfo,getForm,get
/** 对比成功*/
function
contrastButton
()
{
closeModal
()
router
.
push
({
path
:
'/dataStandards/basicStandards/basicStandardsContrast'
,
query
:
{
businessId
:
route
.
query
.
businessId
,
},
});
}
/** 撤回成功*/
...
...
src/views/dataStandards/basicStandards/basicStandards.data.ts
View file @
b996758e
...
...
@@ -2293,3 +2293,244 @@ export const contrastSchema: FormSchema[] = [
},
}
];
/**关联关系 表头1*/
export
const
relatedRelationshipColumns1
:
BasicColumn
[]
=
[
{
title
:
'质量模版名称'
,
dataIndex
:
'qualityTemplateName'
,
width
:
150
,
slots
:
{
customRender
:
'qualityTemplateName'
},
},
{
title
:
'数据源'
,
dataIndex
:
'dataSource'
,
width
:
150
,
slots
:
{
customRender
:
'dataSource'
},
},
{
title
:
'质量模版编号'
,
dataIndex
:
'qualityTemplateNumber'
,
width
:
150
,
},
{
title
:
'路径'
,
dataIndex
:
'path'
,
width
:
150
,
},
{
title
:
'关联描述'
,
dataIndex
:
'associationDescription'
,
width
:
150
,
},
{
title
:
'关联时间'
,
dataIndex
:
'associationTime'
,
width
:
150
,
},
{
title
:
'操作用户'
,
dataIndex
:
'operatorUser'
,
width
:
150
,
},
];
/**关联关系 表头2*/
export
const
relatedRelationshipColumns2
:
BasicColumn
[]
=
[
{
title
:
'文档名称'
,
dataIndex
:
'documentName'
,
width
:
150
,
slots
:
{
customRender
:
'documentName'
},
},
{
title
:
'文档编号'
,
dataIndex
:
'documentNumber'
,
width
:
150
,
},
{
title
:
'路径'
,
dataIndex
:
'path'
,
width
:
150
,
},
{
title
:
'关联描述'
,
dataIndex
:
'associationDescription'
,
width
:
150
,
},
{
title
:
'关联关系'
,
dataIndex
:
'associationRelation'
,
width
:
150
,
},
{
title
:
'关联时间'
,
dataIndex
:
'associationTime'
,
width
:
150
,
},
{
title
:
'操作用户'
,
dataIndex
:
'operatorUser'
,
width
:
150
,
},
];
/**关联关系 表头3*/
export
const
relatedRelationshipColumns3
:
BasicColumn
[]
=
[
{
title
:
'标准名称'
,
dataIndex
:
'standardName'
,
width
:
150
,
slots
:
{
customRender
:
'standardName'
},
},
{
title
:
'标准编号'
,
dataIndex
:
'standardNumber'
,
width
:
150
,
},
{
title
:
'路径'
,
dataIndex
:
'path'
,
width
:
150
,
},
{
title
:
'关联描述'
,
dataIndex
:
'associationDescription'
,
width
:
150
,
},
{
title
:
'关联关系'
,
dataIndex
:
'associationRelation'
,
width
:
150
,
},
{
title
:
'关联时间'
,
dataIndex
:
'associationTime'
,
width
:
150
,
},
{
title
:
'操作用户'
,
dataIndex
:
'operatorUser'
,
width
:
150
,
},
];
/**关联关系 表头4*/
export
const
relatedRelationshipColumns4
:
BasicColumn
[]
=
[
{
title
:
'公共代码名称'
,
dataIndex
:
'commonCodeName'
,
width
:
150
,
slots
:
{
customRender
:
''
},
},
{
title
:
'标准编号'
,
dataIndex
:
'standardNumber'
,
width
:
150
,
},
{
title
:
'路径'
,
dataIndex
:
'path'
,
width
:
150
,
},
{
title
:
'关联描述'
,
dataIndex
:
'associationDescription'
,
width
:
150
,
},
{
title
:
'关联关系'
,
dataIndex
:
'associationRelation'
,
width
:
150
,
},
{
title
:
'关联时间'
,
dataIndex
:
'associationTime'
,
width
:
150
,
},
{
title
:
'操作用户'
,
dataIndex
:
'operatorUser'
,
width
:
150
,
},
];
/**关联关系 表头5*/
export
const
relatedRelationshipColumns5
:
BasicColumn
[]
=
[
{
title
:
'标准名称'
,
dataIndex
:
'standardName'
,
width
:
150
,
slots
:
{
customRender
:
''
},
},
{
title
:
'标准编号'
,
dataIndex
:
'standardNumber'
,
width
:
150
,
},
{
title
:
'路径'
,
dataIndex
:
'path'
,
width
:
150
,
},
{
title
:
'关联描述'
,
dataIndex
:
'associationDescription'
,
width
:
150
,
},
{
title
:
'关联关系'
,
dataIndex
:
'associationRelation'
,
width
:
150
,
},
{
title
:
'关联时间'
,
dataIndex
:
'associationTime'
,
width
:
150
,
},
{
title
:
'操作用户'
,
dataIndex
:
'operatorUser'
,
width
:
150
,
},
];
/**关联关系 表头6*/
export
const
relatedRelationshipColumns6
:
BasicColumn
[]
=
[
{
title
:
'数据源'
,
dataIndex
:
'dataSource'
,
width
:
150
,
slots
:
{
customRender
:
'dataSource'
},
},
{
title
:
'目录'
,
dataIndex
:
'directory'
,
width
:
150
,
},
{
title
:
'数据库'
,
dataIndex
:
'database'
,
width
:
150
,
},
{
title
:
'数据表'
,
dataIndex
:
'dataTable'
,
width
:
150
,
},
{
title
:
'字段'
,
dataIndex
:
'field'
,
width
:
150
,
},
{
title
:
'关联描述'
,
dataIndex
:
'associationDescription'
,
width
:
150
,
},
{
title
:
'关联时间'
,
dataIndex
:
'associationTime'
,
width
:
150
,
},
{
title
:
'操作用户'
,
dataIndex
:
'operatorUser'
,
width
:
150
,
},
];
src/views/dataStandards/basicStandards/basicStandardsContrast.vue
View file @
b996758e
...
...
@@ -64,8 +64,10 @@
import
{
onMounted
,
ref
}
from
"vue"
;
import
{
Select
}
from
'ant-design-vue'
;
import
Icon
from
'@/components/Icon/Icon.vue'
;
import
{
router
}
from
"@/router"
;
import
{
useRoute
,
onBeforeRouteLeave
}
from
'vue-router'
;
defineOptions
({
name
:
'Metadata'
});
const
route
=
useRoute
();
const
title
=
ref
(
'对外投资出资方式'
)
const
options
=
ref
<
any
>
([
{
value
:
'V1'
,
label
:
'V1'
},
...
...
@@ -91,7 +93,12 @@
/**结束对比*/
function
endContrast
()
{
createMessage
.
success
(
'结束对比'
);
router
.
push
({
path
:
'/dataStandards/basicStandards/detailStandard'
,
query
:
{
businessId
:
route
.
query
.
businessId
,
},
});
}
onMounted
(()
=>
{
...
...
src/views/dataStandards/basicStandards/basicStandardsData.ts
View file @
b996758e
...
...
@@ -623,3 +623,152 @@ export const rightContrastData = [
"collaborativeDepartment"
:
"人力资源部, 技术部"
},
]
/**关联关系 表格1 数据*/
export
const
relatedRelationshipsData1
=
[
{
businessId
:
'1'
,
qualityTemplateName
:
'非空检查(不为NULL)'
,
dataSource
:
[
{
icon
:
'🌐🔍'
,
text
:
'数据源1'
},
],
qualityTemplateNumber
:
'BIDQ000000001'
,
path
:
'/质量模版/DMP_admin-个人工作区/...'
,
associationDescription
:
'"是否全日"作为毕业...'
,
associationTime
:
'2024-01-01 10:00:00'
,
operatorUser
:
'DMP_admin'
,
},
{
businessId
:
'2'
,
qualityTemplateName
:
'长度检查=2'
,
dataSource
:
[
{
icon
:
'🌐🔍'
,
text
:
'数据源1'
},
],
qualityTemplateNumber
:
'DQ000011'
,
path
:
'/质量模版/DMP_admin-个人工作区/...'
,
associationDescription
:
'"是否全日"作为毕业...'
,
associationTime
:
'2024-01-02 11:00:00'
,
operatorUser
:
'DMP_admin'
,
},
{
businessId
:
'3'
,
qualityTemplateName
:
'值域检查'
,
dataSource
:
[
{
icon
:
'🌐🔍'
,
text
:
'数据源1'
},
],
qualityTemplateNumber
:
'DQ000013'
,
path
:
'/质量模版/DMP_admin-个人工作区/...'
,
associationDescription
:
'"是否全日"作为毕业...'
,
associationTime
:
'2024-01-03 12:00:00'
,
operatorUser
:
'DMP_admin'
,
},
]
/**关联关系 表格2 数据*/
export
const
relatedRelationshipsData2
=
[
{
businessId
:
'1'
,
documentName
:
'非空检查(不为NULL)'
,
documentNumber
:
'BIDQ000000001'
,
path
:
'/引用文档/DMP_admin-个人工作区/...'
,
associationRelation
:
'无'
,
associationDescription
:
'"是否全日"作为毕业...'
,
associationTime
:
'2024-01-01 10:00:00'
,
operatorUser
:
'DMP_admin'
,
},
{
businessId
:
'2'
,
documentName
:
'长度检查=2'
,
documentNumber
:
'DQ000011'
,
path
:
'/引用文档/DMP_admin-个人工作区/...'
,
associationRelation
:
'无'
,
associationDescription
:
'"是否全日"作为毕业...'
,
associationTime
:
'2024-01-02 11:00:00'
,
operatorUser
:
'DMP_admin'
,
},
{
businessId
:
'3'
,
documentName
:
'值域检查'
,
documentNumber
:
'DQ000013'
,
path
:
'/引用文档/DMP_admin-个人工作区/...'
,
associationRelation
:
'无'
,
associationDescription
:
'"是否全日"作为毕业...'
,
associationTime
:
'2024-01-03 12:00:00'
,
operatorUser
:
'DMP_admin'
,
},
]
/**关联关系 表格3 数据*/
export
const
relatedRelationshipsData3
=
[
{
businessId
:
'1'
,
standardName
:
'当前就读学校'
,
standardNumber
:
'BIDQ000000001'
,
path
:
'/基础标准/DMP_admin-个人工作区/...'
,
associationRelation
:
'无'
,
associationDescription
:
'无'
,
associationTime
:
'2024-01-01 10:00:00'
,
operatorUser
:
'DMP_admin'
,
},
]
/**关联关系 表格4 数据*/
export
const
relatedRelationshipsData4
=
[
{
businessId
:
'1'
,
commonCodeName
:
'是否为全日制'
,
standardNumber
:
'COM000002'
,
path
:
'/公共代码/DMP_admin-个人工作区/...'
,
associationRelation
:
'无'
,
associationDescription
:
'"是否全日"作为毕业...'
,
associationTime
:
'2024-01-01 10:00:00'
,
operatorUser
:
'DMP_admin'
,
},
]
/**关联关系 表格5 数据*/
export
const
relatedRelationshipsData5
=
[
{
businessId
:
'1'
,
standardName
:
'当前就读学校'
,
standardNumber
:
'BIDQ000000001'
,
path
:
'/基础标准/DMP_admin-个人工作区/...'
,
associationRelation
:
'无'
,
associationDescription
:
'无'
,
associationTime
:
'2024-01-01 10:00:00'
,
operatorUser
:
'DMP_admin'
,
},
]
/**关联关系 表格6 数据*/
export
const
relatedRelationshipsData6
=
[
{
businessId
:
'1'
,
dataSource
:
'mysql_test'
,
directory
:
''
,
database
:
'moe_data'
,
dataTable
:
'graduates_info_bak'
,
field
:
'is_full_time'
,
associationDescription
:
'无'
,
associationTime
:
'2024-01-01 10:00:00'
,
operatorUser
:
'DMP_admin'
,
},
{
businessId
:
'2'
,
dataSource
:
'mysql_test'
,
directory
:
''
,
database
:
'moe_data'
,
dataTable
:
'graduates_info'
,
field
:
'is_full_time'
,
associationDescription
:
'无'
,
associationTime
:
'2024-01-02 11:00:00'
,
operatorUser
:
'DMP_admin'
,
},
{
businessId
:
'3'
,
dataSource
:
'mysql_test'
,
directory
:
''
,
database
:
'moe_data'
,
dataTable
:
'graduates_info'
,
field
:
'is_full_time'
,
associationDescription
:
'无'
,
associationTime
:
'2024-01-03 12:00:00'
,
operatorUser
:
'DMP_admin'
,
},
]
src/views/dataStandards/basicStandards/index.vue
View file @
b996758e
...
...
@@ -51,7 +51,7 @@
{
icon: 'ant-design:api-outlined',
// label: '关联关系',
onClick:
detail
Button.bind(null, record),
onClick:
relatedRelationships
Button.bind(null, record),
},
]"
/>
...
...
@@ -278,32 +278,14 @@
reload
();
}
function
handleEdit
(
record
:
Recordable
)
{
}
function
handleResetName
(
record
:
Recordable
)
{
}
/** 删除按钮*/
function
handleDelete
(
record
:
Recordable
)
{
tableData
.
value
.
splice
(
tableData
.
value
.
findIndex
(
item
=>
item
.
businessId
===
record
.
businessId
),
1
);
createMessage
.
success
(
'删除成功!'
);
reload
();
}
function
handleMove
(
record
:
Recordable
)
{
}
function
handleMoveSuccess
({
isMove
,
values
})
{
/**关联关系*/
function
relatedRelationshipsButton
(
record
:
Recordable
)
{
router
.
push
({
path
:
'/dataStandards/basicStandards/relatedRelationships'
,
query
:
{
businessId
:
record
.
businessId
,
},
});
}
onMounted
(()
=>
{
...
...
src/views/dataStandards/basicStandards/relatedRelationships.vue
0 → 100644
View file @
b996758e
This diff is collapsed.
Click to expand it.
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