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
5e9e3c75
Commit
5e9e3c75
authored
Jan 08, 2025
by
baiyinhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
cd30d558
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
1614 additions
and
119 deletions
+1614
-119
index.vue
src/views/mallResourceDevelopment/API/apiByCreate/index.vue
+7
-4
mock.ts
...mallResourceDevelopment/API/departmentalResources/mock.ts
+8
-8
AddUserModal.vue
...ourceDevelopment/dataSet/datasetByCreate/AddUserModal.vue
+12
-1
editFileModal.vue
...urceDevelopment/dataSet/datasetByCreate/editFileModal.vue
+17
-5
versionPublishModal.vue
...velopment/dataSet/datasetByCreate/versionPublishModal.vue
+16
-5
fileByApplyData.ts
...llResourceDevelopment/file/fileByApply/fileByApplyData.ts
+78
-78
fileByApplyDetail.vue
...esourceDevelopment/file/fileByApply/fileByApplyDetail.vue
+4
-4
AddUserModal.vue
...allResourceDevelopment/file/fileByCreate/AddUserModal.vue
+147
-0
basicStandardsData.ts
...sourceDevelopment/file/fileByCreate/basicStandardsData.ts
+1293
-0
data.ts
src/views/mallResourceDevelopment/file/fileByCreate/data.ts
+1
-1
fileByCreateDetail.vue
...ourceDevelopment/file/fileByCreate/fileByCreateDetail.vue
+21
-9
index.vue
...views/mallResourceDevelopment/file/fileByCreate/index.vue
+1
-0
versionPublishModal.vue
...urceDevelopment/file/fileByCreate/versionPublishModal.vue
+9
-4
No files found.
src/views/mallResourceDevelopment/API/apiByCreate/index.vue
View file @
5e9e3c75
...
@@ -51,7 +51,12 @@
...
@@ -51,7 +51,12 @@
:actions=
"[
:actions=
"[
{
{
label: '上架',
label: '上架',
onClick: handleUpload.bind(null),
popConfirm: {
title: '是否确认上架',
placement: 'left',
confirm: handleUpload.bind(null),
},
ifShow: record.uploadStatus === '1',
},
},
{
{
label: '编辑',
label: '编辑',
...
@@ -202,9 +207,7 @@
...
@@ -202,9 +207,7 @@
}
}
function
handleUpload
()
{
function
handleUpload
()
{
openUploadModal
(
true
,
{
createMessage
.
success
(
'上架成功!'
);
isUpdate
:
false
,
});
}
}
function
handDelete
()
{
function
handDelete
()
{
createMessage
.
success
(
'删除成功!'
);
createMessage
.
success
(
'删除成功!'
);
...
...
src/views/mallResourceDevelopment/API/departmentalResources/mock.ts
View file @
5e9e3c75
...
@@ -9,7 +9,7 @@ export const resourceList = [
...
@@ -9,7 +9,7 @@ export const resourceList = [
applicantOrganization
:
'开发部'
,
applicantOrganization
:
'开发部'
,
description
:
'自动生成 RESTful 和 GraphQL API 的文档,支持多种输出格式。'
,
description
:
'自动生成 RESTful 和 GraphQL API 的文档,支持多种输出格式。'
,
label
:
'工具'
,
label
:
'工具'
,
permissionType
:
'
推送
'
,
permissionType
:
'
调用
'
,
applicant
:
'admin'
,
applicant
:
'admin'
,
createdTime
:
'2023/10/01 09:00:00'
,
createdTime
:
'2023/10/01 09:00:00'
,
view
:
'150'
,
view
:
'150'
,
...
@@ -24,7 +24,7 @@ export const resourceList = [
...
@@ -24,7 +24,7 @@ export const resourceList = [
color
:
'#71c8d5'
,
color
:
'#71c8d5'
,
ownershipBody
:
'测试部'
,
ownershipBody
:
'测试部'
,
applicantOrganization
:
'测试部'
,
applicantOrganization
:
'测试部'
,
permissionType
:
'
推送
'
,
permissionType
:
'
调用
'
,
description
:
'提供一个全面的 API 测试环境,包括自动化测试和性能测试。'
,
description
:
'提供一个全面的 API 测试环境,包括自动化测试和性能测试。'
,
label
:
'测试'
,
label
:
'测试'
,
applicant
:
'admin'
,
applicant
:
'admin'
,
...
@@ -41,7 +41,7 @@ export const resourceList = [
...
@@ -41,7 +41,7 @@ export const resourceList = [
color
:
'#71c8d5'
,
color
:
'#71c8d5'
,
ownershipBody
:
'安全部'
,
ownershipBody
:
'安全部'
,
applicantOrganization
:
'安全部'
,
applicantOrganization
:
'安全部'
,
permissionType
:
'
下载
'
,
permissionType
:
'
调用
'
,
description
:
'定期进行 API 安全审查,确保所有接口符合安全标准。'
,
description
:
'定期进行 API 安全审查,确保所有接口符合安全标准。'
,
label
:
'安全'
,
label
:
'安全'
,
applicant
:
'admin'
,
applicant
:
'admin'
,
...
@@ -58,7 +58,7 @@ export const resourceList = [
...
@@ -58,7 +58,7 @@ export const resourceList = [
color
:
'#71c8d5'
,
color
:
'#71c8d5'
,
ownershipBody
:
'架构部'
,
ownershipBody
:
'架构部'
,
applicantOrganization
:
'架构部'
,
applicantOrganization
:
'架构部'
,
permissionType
:
'
推送
'
,
permissionType
:
'
调用
'
,
description
:
'管理和维护不同版本的 API,确保向后兼容性和稳定性。'
,
description
:
'管理和维护不同版本的 API,确保向后兼容性和稳定性。'
,
label
:
'管理'
,
label
:
'管理'
,
applicant
:
'admin'
,
applicant
:
'admin'
,
...
@@ -75,7 +75,7 @@ export const resourceList = [
...
@@ -75,7 +75,7 @@ export const resourceList = [
color
:
'#71c8d5'
,
color
:
'#71c8d5'
,
ownershipBody
:
'运维部'
,
ownershipBody
:
'运维部'
,
applicantOrganization
:
'运维部'
,
applicantOrganization
:
'运维部'
,
permissionType
:
'
下载
'
,
permissionType
:
'
调用
'
,
description
:
'实时监控 API 的性能指标,如响应时间和吞吐量,以保证服务的高可用性。'
,
description
:
'实时监控 API 的性能指标,如响应时间和吞吐量,以保证服务的高可用性。'
,
label
:
'监控'
,
label
:
'监控'
,
applicant
:
'admin'
,
applicant
:
'admin'
,
...
@@ -92,7 +92,7 @@ export const resourceList = [
...
@@ -92,7 +92,7 @@ export const resourceList = [
color
:
'#71c8d5'
,
color
:
'#71c8d5'
,
ownershipBody
:
'数据分析部'
,
ownershipBody
:
'数据分析部'
,
applicantOrganization
:
'数据分析部'
,
applicantOrganization
:
'数据分析部'
,
permissionType
:
'
推送
'
,
permissionType
:
'
调用
'
,
description
:
'分析 API 的流量模式,识别使用趋势和潜在问题。'
,
description
:
'分析 API 的流量模式,识别使用趋势和潜在问题。'
,
label
:
'分析'
,
label
:
'分析'
,
applicant
:
'admin'
,
applicant
:
'admin'
,
...
@@ -109,7 +109,7 @@ export const resourceList = [
...
@@ -109,7 +109,7 @@ export const resourceList = [
color
:
'#71c8d5'
,
color
:
'#71c8d5'
,
ownershipBody
:
'安全部'
,
ownershipBody
:
'安全部'
,
applicantOrganization
:
'安全部'
,
applicantOrganization
:
'安全部'
,
permissionType
:
'
下载
'
,
permissionType
:
'
调用
'
,
description
:
'实现强大的认证和授权机制,保护 API 不受未授权访问。'
,
description
:
'实现强大的认证和授权机制,保护 API 不受未授权访问。'
,
label
:
'安全'
,
label
:
'安全'
,
applicant
:
'admin'
,
applicant
:
'admin'
,
...
@@ -126,7 +126,7 @@ export const resourceList = [
...
@@ -126,7 +126,7 @@ export const resourceList = [
color
:
'#71c8d5'
,
color
:
'#71c8d5'
,
ownershipBody
:
'运维部'
,
ownershipBody
:
'运维部'
,
applicantOrganization
:
'运维部'
,
applicantOrganization
:
'运维部'
,
permissionType
:
'
推送
'
,
permissionType
:
'
调用
'
,
description
:
'详细记录 API 调用的日志,便于故障排查和行为审计。'
,
description
:
'详细记录 API 调用的日志,便于故障排查和行为审计。'
,
label
:
'监控'
,
label
:
'监控'
,
applicant
:
'admin'
,
applicant
:
'admin'
,
...
...
src/views/mallResourceDevelopment/dataSet/datasetByCreate/AddUserModal.vue
View file @
5e9e3c75
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
</
template
>
</
template
>
</template>
</template>
</BasicTable>
</BasicTable>
<VersionPublishModal
@
register=
"registerVersionPublishModal"
/>
</BasicModal>
</BasicModal>
</template>
</template>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
...
@@ -43,6 +44,8 @@
...
@@ -43,6 +44,8 @@
import
{
useUserStore
}
from
'@/store/modules/user'
;
import
{
useUserStore
}
from
'@/store/modules/user'
;
import
{
userData
}
from
'@/views/system/institution/institutionData'
;
import
{
userData
}
from
'@/views/system/institution/institutionData'
;
import
{
router
}
from
'@/router'
;
import
{
router
}
from
'@/router'
;
import
VersionPublishModal
from
'./versionPublishModal.vue'
;
import
{
message
}
from
'ant-design-vue'
;
defineOptions
({
name
:
'AccountManagement'
});
defineOptions
({
name
:
'AccountManagement'
});
const
{
createMessage
}
=
useMessage
();
const
{
createMessage
}
=
useMessage
();
...
@@ -55,6 +58,7 @@
...
@@ -55,6 +58,7 @@
const
getTitle
=
computed
(()
=>
'版本管理'
);
const
getTitle
=
computed
(()
=>
'版本管理'
);
const
tableData
=
ref
([]);
const
tableData
=
ref
([]);
const
isAdd
=
ref
(
true
);
const
isAdd
=
ref
(
true
);
const
[
registerVersionPublishModal
,
{
openModal
:
openVersionPublishModal
}]
=
useModal
();
const
[
const
[
registerTable
,
registerTable
,
{
reload
,
updateTableDataRecord
,
getSearchInfo
,
getForm
,
getRowSelection
},
{
reload
,
updateTableDataRecord
,
getSearchInfo
,
getForm
,
getRowSelection
},
...
@@ -110,6 +114,7 @@
...
@@ -110,6 +114,7 @@
/** 对比成功*/
/** 对比成功*/
function
contrastButton
()
{
function
contrastButton
()
{
handleVersionPublish
();
closeModal
();
closeModal
();
// router.push({
// router.push({
// path: '/dataStandards/namingDictionary/domain/versionContrast',
// path: '/dataStandards/namingDictionary/domain/versionContrast',
...
@@ -127,9 +132,15 @@
...
@@ -127,9 +132,15 @@
/** 查看*/
/** 查看*/
function
detailButton
(
record
)
{
function
detailButton
(
record
)
{
emit
(
'success'
,
{
values
:
{
...
record
}
});
emit
(
'success'
,
{
values
:
{
...
record
}
});
message
.
success
(
'查看'
+
record
.
versionName
+
'版本!'
);
closeModal
();
closeModal
();
}
}
function
handleVersionPublish
()
{
openVersionPublishModal
(
true
,
{
title
:
'版本对比:数据集1'
,
isPublish
:
false
,
});
}
onMounted
(()
=>
{
onMounted
(()
=>
{
tableData
.
value
=
versionData
;
tableData
.
value
=
versionData
;
});
});
...
...
src/views/mallResourceDevelopment/dataSet/datasetByCreate/editFileModal.vue
View file @
5e9e3c75
...
@@ -48,11 +48,12 @@
...
@@ -48,11 +48,12 @@
<div>
<div>
<BasicForm
@
register=
"registerOptionsForm"
/>
<BasicForm
@
register=
"registerOptionsForm"
/>
</div>
</div>
<VersionPublishModal
@
register=
"registerVersionPublishModal"
/>
</BasicModal>
</BasicModal>
</template>
</template>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
ref
,
unref
}
from
'vue'
;
import
{
ref
,
unref
}
from
'vue'
;
import
{
BasicModal
,
useModalInner
}
from
'@/components/Modal'
;
import
{
BasicModal
,
useModalInner
,
useModal
}
from
'@/components/Modal'
;
import
{
BasicForm
,
useForm
}
from
'@/components/Form'
;
import
{
BasicForm
,
useForm
}
from
'@/components/Form'
;
import
{
import
{
editColumns
,
editColumns
,
...
@@ -68,6 +69,7 @@
...
@@ -68,6 +69,7 @@
import
{
BasicTable
,
TableAction
,
useTable
}
from
'@/components/Table'
;
import
{
BasicTable
,
TableAction
,
useTable
}
from
'@/components/Table'
;
import
{
Alert
}
from
'ant-design-vue'
;
import
{
Alert
}
from
'ant-design-vue'
;
import
{
router
}
from
'@/router'
;
import
{
router
}
from
'@/router'
;
import
VersionPublishModal
from
'./versionPublishModal.vue'
;
defineOptions
({
name
:
'AccountModal'
});
defineOptions
({
name
:
'AccountModal'
});
...
@@ -75,6 +77,7 @@
...
@@ -75,6 +77,7 @@
const
isUpdate
=
ref
(
true
);
const
isUpdate
=
ref
(
true
);
const
{
createMessage
}
=
useMessage
();
const
{
createMessage
}
=
useMessage
();
const
title
=
ref
();
const
title
=
ref
();
//获取接口数据并放在下拉框里(这里是打开了一个弹框)
//获取接口数据并放在下拉框里(这里是打开了一个弹框)
//初始化表单
//初始化表单
const
[
registerForm
,
{
setFieldsValue
,
updateSchema
,
resetFields
,
validate
}]
=
useForm
({
const
[
registerForm
,
{
setFieldsValue
,
updateSchema
,
resetFields
,
validate
}]
=
useForm
({
...
@@ -155,6 +158,7 @@
...
@@ -155,6 +158,7 @@
...
data
.
record
,
...
data
.
record
,
});
});
}
}
const
[
registerVersionPublishModal
,
{
openModal
:
openVersionPublishModal
}]
=
useModal
();
title
.
value
=
data
.
title
;
title
.
value
=
data
.
title
;
const
treeList
=
handleTree
(
TreeData
,
'businessId'
,
undefined
,
undefined
,
undefined
);
const
treeList
=
handleTree
(
TreeData
,
'businessId'
,
undefined
,
undefined
,
undefined
);
updateSchema
([
updateSchema
([
...
@@ -204,29 +208,37 @@
...
@@ -204,29 +208,37 @@
closeModal
();
closeModal
();
createMessage
.
success
(
'提交成功'
);
createMessage
.
success
(
'提交成功'
);
}
}
function
handleVersionPublish
()
{
openVersionPublishModal
(
true
,
{
title
:
'申请发布V10.0版本:数据集1'
,
});
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.modalRow
{
.modalRow
{
padding
:
0
20px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
0
20px
;
.clearAll
{
.clearAll
{
padding-right
:
10px
;
padding-right
:
10px
;
font-size
:
16px
;
font-size
:
16px
;
}
}
.right
{
.right
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
}
}
}
}
.addDialogBG
{
.addDialogBG
{
width
:
98%
;
height
:
400px
;
margin
:
10px
;
margin
:
10px
;
border-radius
:
10px
;
padding
:
20px
;
padding
:
20px
;
border-radius
:
10px
;
background-color
:
#e8ecf7
;
background-color
:
#e8ecf7
;
width
:
98%
;
height
:
400px
;
}
}
</
style
>
</
style
>
src/views/mallResourceDevelopment/dataSet/datasetByCreate/versionPublishModal.vue
View file @
5e9e3c75
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
@
ok=
"handleSubmit"
@
ok=
"handleSubmit"
>
>
<div>
<div>
<BasicForm
@
register=
"registerForm"
/>
<BasicForm
@
register=
"registerForm"
v-if=
"isPublish"
/>
<Description
size=
"middle"
title=
"版本对比"
:bordered=
"false"
/>
<Description
size=
"middle"
title=
"版本对比"
:bordered=
"false"
/>
</div>
</div>
<div
class=
"flex"
>
<div
class=
"flex"
>
<div
style=
"width: 50%; border: rgb
a(26, 26, 26, 0.12
) 1px solid"
>
<div
style=
"width: 50%; border: rgb
(26 26 26 / 12%
) 1px solid"
>
<div
style=
"padding-left: 20px; font-size: 16px; font-weight: 500"
>
V9.0(当前)
</div>
<div
style=
"padding-left: 20px; font-size: 16px; font-weight: 500"
>
V9.0(当前)
</div>
<Description
<Description
size=
"middle"
size=
"middle"
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
:schema="permissionSchema"
:schema="permissionSchema"
/>
/>
</div>
</div>
<div
style=
"width: 50%; border: rgb
a(26, 26, 26, 0.12
) 1px solid"
>
<div
style=
"width: 50%; border: rgb
(26 26 26 / 12%
) 1px solid"
>
<div
style=
"padding-left: 20px; font-size: 16px; font-weight: 500"
>
发布版本
</div>
<div
style=
"padding-left: 20px; font-size: 16px; font-weight: 500"
>
发布版本
</div>
<Description
<Description
size=
"middle"
size=
"middle"
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
</BasicModal>
</BasicModal>
</
template
>
</
template
>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
ref
}
from
'vue'
;
import
{
onMounted
,
ref
}
from
'vue'
;
import
{
BasicModal
,
useModalInner
}
from
'@/components/Modal'
;
import
{
BasicModal
,
useModalInner
}
from
'@/components/Modal'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
BasicForm
,
useForm
}
from
'@/components/Form'
;
import
{
BasicForm
,
useForm
}
from
'@/components/Form'
;
...
@@ -114,16 +114,21 @@
...
@@ -114,16 +114,21 @@
}
from
'@/views/mallResourceDevelopment/dataSet/datasetByCreate/data'
;
}
from
'@/views/mallResourceDevelopment/dataSet/datasetByCreate/data'
;
import
Description
from
'@/components/Description/src/Description.vue'
;
import
Description
from
'@/components/Description/src/Description.vue'
;
import
{
import
{
basicData
,
basicNewData
,
basicOldData
,
basicData
,
basicNewData
,
basicOldData
,
optionData
,
optionData
,
permissionData
,
permissionData
,
sourceTableData
,
sourceTableData
,
}
from
'@/views/mallResourceDevelopment/dataSet/datasetByCreate/dataFileData'
;
}
from
'@/views/mallResourceDevelopment/dataSet/datasetByCreate/dataFileData'
;
import
{
t
}
from
'@/hooks/web/useI18n'
;
defineOptions
({
name
:
'KnowledgeModal'
});
defineOptions
({
name
:
'KnowledgeModal'
});
const
{
createMessage
}
=
useMessage
();
const
{
createMessage
}
=
useMessage
();
const
title
=
ref
();
const
title
=
ref
();
const
isPublish
=
ref
([]);
const
[
registerForm
,
{
resetFields
}]
=
useForm
({
const
[
registerForm
,
{
resetFields
}]
=
useForm
({
labelWidth
:
100
,
labelWidth
:
100
,
baseColProps
:
{
lg
:
12
,
md
:
12
},
baseColProps
:
{
lg
:
12
,
md
:
12
},
...
@@ -138,10 +143,16 @@
...
@@ -138,10 +143,16 @@
await
resetFields
();
await
resetFields
();
setModalProps
({
confirmLoading
:
false
});
setModalProps
({
confirmLoading
:
false
});
title
.
value
=
data
.
title
;
title
.
value
=
data
.
title
;
if
(
data
.
isPublish
===
false
)
{
isPublish
.
value
=
false
;
}
else
{
isPublish
.
value
=
true
;
}
});
});
async
function
handleSubmit
()
{
async
function
handleSubmit
()
{
closeModal
();
closeModal
();
createMessage
.
success
(
'提交成功'
);
createMessage
.
success
(
'提交成功'
);
}
}
onMounted
(()
=>
{});
</
script
>
</
script
>
src/views/mallResourceDevelopment/file/fileByApply/fileByApplyData.ts
View file @
5e9e3c75
...
@@ -347,30 +347,30 @@ export const samplingInfoData: any[] = [
...
@@ -347,30 +347,30 @@ export const samplingInfoData: any[] = [
},
},
];
];
export
const
associationRulesData
:
any
[]
=
[
export
const
associationRulesData
:
any
[]
=
[
{
//
{
applicant
:
'admin'
,
//
applicant: 'admin',
appInstitution
:
'机构1'
,
//
appInstitution: '机构1',
applicationTime
:
'2024-11-29 13:53:58'
,
//
applicationTime: '2024-11-29 13:53:58',
applicationType
:
'上线'
,
//
applicationType: '上线',
titleApplication
:
'人力资源信息'
,
//
titleApplication: '人力资源信息',
status
:
'审核中'
,
//
status: '审核中',
},
//
},
{
//
{
applicant
:
'admin'
,
//
applicant: 'admin',
appInstitution
:
'机构1'
,
//
appInstitution: '机构1',
applicationTime
:
'2024-11-19 13:53:58'
,
//
applicationTime: '2024-11-19 13:53:58',
applicationType
:
'推送'
,
//
applicationType: '推送',
titleApplication
:
'人力资源信息'
,
//
titleApplication: '人力资源信息',
status
:
'已驳回'
,
//
status: '已驳回',
},
//
},
{
//
{
applicant
:
'admin'
,
//
applicant: 'admin',
appInstitution
:
'机构1'
,
//
appInstitution: '机构1',
applicationTime
:
'2024-11-22 13:53:58'
,
//
applicationTime: '2024-11-22 13:53:58',
applicationType
:
'下线'
,
//
applicationType: '下线',
titleApplication
:
'人力资源信息'
,
//
titleApplication: '人力资源信息',
status
:
'审核中'
,
//
status: '审核中',
},
//
},
{
{
applicant
:
'admin'
,
applicant
:
'admin'
,
appInstitution
:
'机构1'
,
appInstitution
:
'机构1'
,
...
@@ -381,36 +381,36 @@ export const associationRulesData: any[] = [
...
@@ -381,36 +381,36 @@ export const associationRulesData: any[] = [
},
},
];
];
export
const
associationRulesInfoData
:
any
[]
=
[
export
const
associationRulesInfoData
:
any
[]
=
[
{
//
{
name
:
'admin'
,
//
name: 'admin',
appInstitution
:
'机构1'
,
//
appInstitution: '机构1',
target
:
'https://127.0.01'
,
//
target: 'https://127.0.01',
applicationTime
:
'2024-11-29 13:53:58'
,
//
applicationTime: '2024-11-29 13:53:58',
applicationType
:
'上线'
,
//
applicationType: '上线',
invalidReason
:
'-'
,
//
invalidReason: '-',
titleApplication
:
'人力资源信息'
,
//
titleApplication: '人力资源信息',
status
:
'审核中'
,
//
status: '审核中',
},
//
},
{
//
{
name
:
'admin'
,
//
name: 'admin',
appInstitution
:
'机构1'
,
//
appInstitution: '机构1',
target
:
'https://127.0.01'
,
//
target: 'https://127.0.01',
applicationTime
:
'2024-11-19 13:53:58'
,
//
applicationTime: '2024-11-19 13:53:58',
applicationType
:
'推送'
,
//
applicationType: '推送',
invalidReason
:
'-'
,
//
invalidReason: '-',
titleApplication
:
'人力资源信息'
,
//
titleApplication: '人力资源信息',
status
:
'已驳回'
,
//
status: '已驳回',
},
//
},
{
//
{
name
:
'admin'
,
//
name: 'admin',
target
:
'https://127.0.01'
,
//
target: 'https://127.0.01',
appInstitution
:
'机构1'
,
//
appInstitution: '机构1',
invalidReason
:
'-'
,
//
invalidReason: '-',
applicationTime
:
'2024-11-22 13:53:58'
,
//
applicationTime: '2024-11-22 13:53:58',
applicationType
:
'下线'
,
//
applicationType: '下线',
titleApplication
:
'人力资源信息'
,
//
titleApplication: '人力资源信息',
status
:
'审核中'
,
//
status: '审核中',
},
//
},
{
{
name
:
'admin'
,
name
:
'admin'
,
appInstitution
:
'机构1'
,
appInstitution
:
'机构1'
,
...
@@ -431,30 +431,30 @@ export const reviewData: any[] = [
...
@@ -431,30 +431,30 @@ export const reviewData: any[] = [
target
:
'https://127.0.0.1'
,
target
:
'https://127.0.0.1'
,
status
:
'成功'
,
status
:
'成功'
,
},
},
{
//
{
operator
:
'admin'
,
//
operator: 'admin',
mechanism
:
'-'
,
//
mechanism: '-',
infoTime
:
'2024-11-29 13:41:11'
,
//
infoTime: '2024-11-29 13:41:11',
operationType
:
'推送'
,
//
operationType: '推送',
target
:
'https://127.0.0.2'
,
//
target: 'https://127.0.0.2',
status
:
'成功'
,
//
status: '成功',
},
//
},
{
//
{
operator
:
'admin'
,
//
operator: 'admin',
mechanism
:
'-'
,
//
mechanism: '-',
infoTime
:
'2024-11-29 13:41:11'
,
//
infoTime: '2024-11-29 13:41:11',
operationType
:
'共享到智能平台'
,
//
operationType: '共享到智能平台',
target
:
'https://127.0.0.3'
,
//
target: 'https://127.0.0.3',
status
:
'成功'
,
//
status: '成功',
},
//
},
{
//
{
operator
:
'admin'
,
//
operator: 'admin',
mechanism
:
'-'
,
//
mechanism: '-',
infoTime
:
'2024-11-29 13:41:11'
,
//
infoTime: '2024-11-29 13:41:11',
operationType
:
'API调用'
,
//
operationType: 'API调用',
target
:
'https://127.0.0.4'
,
//
target: 'https://127.0.0.4',
status
:
'成功'
,
//
status: '成功',
},
//
},
];
];
export
const
pushTypeData
:
any
[]
=
[
export
const
pushTypeData
:
any
[]
=
[
{
{
...
...
src/views/mallResourceDevelopment/file/fileByApply/fileByApplyDetail.vue
View file @
5e9e3c75
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
/>
/>
<div
class=
"mianBodyEditContainer"
>
<div
class=
"mianBodyEditContainer"
>
<Tabs
style=
"padding-left: 20px"
v-model:activeKey=
"page"
size=
"large"
>
<Tabs
style=
"padding-left: 20px"
v-model:activeKey=
"page"
size=
"large"
>
<a-tab-pane
key=
"1"
tab=
"采样数据"
>
<
!-- <
a-tab-pane key="1" tab="采样数据">
<div v-if="page === '1'">
<div v-if="page === '1'">
<BasicTable @register="registerColumnInformationDataTable">
<BasicTable @register="registerColumnInformationDataTable">
<template #fileName="{ text }">
<template #fileName="{ text }">
...
@@ -100,9 +100,9 @@
...
@@ -100,9 +100,9 @@
</template>
</template>
</BasicTable>
</BasicTable>
</div>
</div>
</a-tab-pane>
</a-tab-pane>
-->
<a-tab-pane
key=
"
3
"
tab=
"我的权限"
>
<a-tab-pane
key=
"
1
"
tab=
"我的权限"
>
<div
v-if=
"page === '
3
'"
>
<div
v-if=
"page === '
1
'"
>
<BasicTable
@
register=
"registerAssociationRulesInfoTable"
>
<BasicTable
@
register=
"registerAssociationRulesInfoTable"
>
<
template
#
toolbar
>
<
template
#
toolbar
>
<a-button
type=
"primary"
@
click=
"handleCancelStatus"
>
批量取消权限
</a-button>
<a-button
type=
"primary"
@
click=
"handleCancelStatus"
>
批量取消权限
</a-button>
...
...
src/views/mallResourceDevelopment/file/fileByCreate/AddUserModal.vue
0 → 100644
View file @
5e9e3c75
<
template
>
<BasicModal
width=
"50%"
v-bind=
"$attrs"
@
register=
"registerModal"
:title=
"getTitle"
>
<BasicTable
@
register=
"registerTable"
>
<template
#
bodyCell=
"
{ column, record }">
<template
v-if=
"column.key === 'action'"
>
<TableAction
:actions=
"[
{
label: '对比',
onClick: contrastButton.bind(null, record),
},
{
label: '撤回',
popConfirm: {
title: '是否撤回该版本?',
placement: 'left',
confirm: withdrawButton.bind(null, record),
},
},
{
// icon: 'clarity:note-edit-line',
label: '查看',
onClick: detailButton.bind(null, record),
},
]"
/>
</
template
>
</template>
</BasicTable>
<VersionPublishModal
@
register=
"registerVersionPublishModal"
/>
</BasicModal>
</template>
<
script
lang=
"ts"
setup
>
import
{
BasicModal
,
useModalInner
,
useModal
}
from
'@/components/Modal'
;
import
{
BasicForm
,
useForm
}
from
'@/components/Form'
;
import
{
reactive
,
unref
,
onDeactivated
,
onMounted
,
ref
,
computed
}
from
'vue'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
searchFormSchema
,
versionColumns
,
versionData
}
from
'./basicStandardsData'
;
import
{
useGo
}
from
'@/hooks/web/usePage'
;
import
{
downloadByData
}
from
'@/utils/file/download'
;
import
{
useRoute
,
onBeforeRouteLeave
}
from
'vue-router'
;
import
{
useFilterStore
}
from
'@/store/modules/filterData'
;
import
{
useUserStore
}
from
'@/store/modules/user'
;
import
{
userData
}
from
'@/views/system/institution/institutionData'
;
import
{
router
}
from
'@/router'
;
import
VersionPublishModal
from
'./versionPublishModal.vue'
;
import
{
message
}
from
'ant-design-vue'
;
defineOptions
({
name
:
'AccountManagement'
});
const
{
createMessage
}
=
useMessage
();
const
filterStore
=
useFilterStore
();
const
route
=
useRoute
();
const
go
=
useGo
();
const
[
registerMoveUser
,
{
openModal
:
openMoveUserModal
}]
=
useModal
();
const
searchInfo
=
reactive
<
Recordable
>
({});
const
emit
=
defineEmits
([
'success'
,
'register'
]);
const
getTitle
=
computed
(()
=>
'版本管理'
);
const
tableData
=
ref
([]);
const
isAdd
=
ref
(
true
);
const
[
registerVersionPublishModal
,
{
openModal
:
openVersionPublishModal
}]
=
useModal
();
const
[
registerTable
,
{
reload
,
updateTableDataRecord
,
getSearchInfo
,
getForm
,
getRowSelection
},
]
=
useTable
({
api
:
async
(
params
)
=>
{
const
response
=
{
pageNu
:
'1'
,
pageSize
:
'10'
,
pages
:
'1'
,
total
:
tableData
.
value
.
length
,
code
:
''
,
message
:
''
,
data
:
[],
};
var
data
=
[];
data
=
tableData
.
value
;
if
(
params
.
name
!=
undefined
&&
params
.
name
!=
''
&&
params
.
name
!=
null
)
{
//过滤出名字包含params.name的数据
data
=
data
.
filter
((
item
)
=>
item
.
name
.
includes
(
params
.
name
));
}
if
(
params
.
username
!=
undefined
&&
params
.
username
!=
''
&&
params
.
username
!=
null
)
{
data
=
data
.
filter
((
item
)
=>
item
.
username
.
includes
(
params
.
username
));
}
return
{
...
response
,
data
:
data
};
},
rowKey
:
'businessId'
,
columns
:
versionColumns
,
rowSelection
:
true
,
formConfig
:
{
labelWidth
:
100
,
schemas
:
searchFormSchema
,
autoSubmitOnEnter
:
true
,
},
useSearchForm
:
true
,
showTableSetting
:
false
,
showIndexColumn
:
false
,
bordered
:
true
,
actionColumn
:
{
width
:
150
,
title
:
'操作'
,
dataIndex
:
'action'
,
},
handleSearchInfoFn
(
info
)
{
return
info
;
},
});
//初始化弹框
const
[
registerModal
,
{
setModalProps
,
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{
setModalProps
({
confirmLoading
:
false
,
showOkBtn
:
false
,
showCancelBtn
:
false
});
isAdd
.
value
=
!!
data
?.
isAdd
;
});
/** 对比成功*/
function
contrastButton
()
{
handleVersionPublish
();
closeModal
();
// router.push({
// path: '/dataStandards/namingDictionary/domain/versionContrast',
// query: {
// businessId: route.query.businessId,
// },
// });
}
/** 撤回成功*/
function
withdrawButton
()
{
createMessage
.
success
(
'撤回成功!'
);
}
/** 查看*/
function
detailButton
(
record
)
{
emit
(
'success'
,
{
values
:
{
...
record
}
});
message
.
success
(
'查看'
+
record
.
versionName
+
'版本!'
);
closeModal
();
}
function
handleVersionPublish
()
{
openVersionPublishModal
(
true
,
{
title
:
'版本对比:文件1'
,
isPublish
:
false
,
});
}
onMounted
(()
=>
{
tableData
.
value
=
versionData
;
});
</
script
>
src/views/mallResourceDevelopment/file/fileByCreate/basicStandardsData.ts
0 → 100644
View file @
5e9e3c75
import
{
getAllRoleList
}
from
'@/api/system/role/role'
;
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
import
{
h
}
from
'vue'
;
import
{
Tag
,
Switch
}
from
'ant-design-vue'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
changeFlagApi
}
from
'@/api/system/user/user'
;
import
{
relatedQualityColumns
}
from
'@/views/dataStandards/basicStandards/basicStandards.data'
;
// 引入开关组件
type
CheckedType
=
boolean
|
string
|
number
;
/**版本管理列表 表头*/
export
const
versionColumns
:
BasicColumn
[]
=
[
{
title
:
'版本ID'
,
dataIndex
:
'versionId'
,
width
:
150
,
},
{
title
:
'版本名称'
,
dataIndex
:
'versionName'
,
width
:
150
,
},
{
title
:
'提交人'
,
dataIndex
:
'submitBy'
,
width
:
150
,
},
{
title
:
'提交时间'
,
dataIndex
:
'submitDate'
,
width
:
150
,
},
{
title
:
'备注'
,
dataIndex
:
'remarks'
,
width
:
150
,
},
];
/**版本管理弹出框 搜索表头*/
export
const
searchFormSchema
:
FormSchema
[]
=
[
{
field
:
'name'
,
label
:
''
,
component
:
'Input'
,
componentProps
:
{
placeholder
:
'请输入版本名称'
,
},
colProps
:
{
span
:
7
},
},
];
/**主页面树/列表 数据*/
export
const
TreeData
:
any
[]
=
[
{
businessId
:
100
,
standardChineseName
:
'基础标准'
,
anotherName
:
'基础标准'
,
parentId
:
0
,
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
,
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
,
standardChineseName
:
'个人工作区'
,
anotherName
:
'个人工作区'
,
parentId
:
100
,
publishStatus
:
'未发布'
,
businessDefinition
:
'个人工作区'
,
standardCode
:
'BAS000003'
,
ancestors
:
'0,100'
,
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
,
standardChineseName
:
'对外投资出资方式'
,
anotherName
:
'对外投资出资方式'
,
parentId
:
102
,
publishStatus
:
'已发布'
,
businessDefinition
:
'对外投资出资方式'
,
standardCode
:
'BAS000004'
,
referenceStandard
:
[{
icon
:
'🌐🔍'
,
text
:
'数据源1'
}],
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-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
,
standardChineseName
:
'对外投资控股标志'
,
anotherName
:
'对外投资控股标志'
,
parentId
:
102
,
publishStatus
:
'未发布'
,
businessDefinition
:
'对外投资控股标志'
,
standardCode
:
'BAS000005'
,
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-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
,
standardChineseName
:
'zy_basic_standard'
,
anotherName
:
'zy_basic_standard'
,
parentId
:
101
,
publishStatus
:
'已发布'
,
businessDefinition
:
'zy_basic_standard'
,
standardCode
:
'BAS000007'
,
ancestors
:
'0,100,101'
,
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
fileData
:
any
[]
=
[
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
300
,
username
:
'file1'
,
nickName
:
'测试文件流1'
,
name
:
'测试文件流1'
,
fileSize
:
1024
,
holder
:
'admin'
,
createDate
:
'2024-10-24 10:04:04'
,
updateDate
:
'2024-10-24 10:04:04'
,
institutionId
:
105
,
institutionName
:
'财务部门'
,
menuList
:
[],
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
301
,
username
:
'file2'
,
nickName
:
'测试文件流2'
,
name
:
'测试文件流2'
,
fileSize
:
1024
,
holder
:
'admin'
,
createDate
:
'2024-10-24 10:04:04'
,
updateDate
:
'2024-10-24 10:04:04'
,
institutionId
:
105
,
institutionName
:
'财务部门'
,
menuList
:
[],
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
302
,
username
:
'file3'
,
nickName
:
'测试文件流3'
,
name
:
'测试文件流3'
,
fileSize
:
1024
,
holder
:
'admin'
,
createDate
:
'2024-10-24 10:04:04'
,
updateDate
:
'2024-10-24 10:04:04'
,
institutionId
:
105
,
institutionName
:
'财务部门'
,
menuList
:
[],
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
303
,
username
:
'file4'
,
nickName
:
'测试文件流4'
,
name
:
'测试文件流4'
,
fileSize
:
1024
,
holder
:
'admin'
,
createDate
:
'2024-10-24 10:04:04'
,
updateDate
:
'2024-10-24 10:04:04'
,
institutionId
:
105
,
institutionName
:
'财务部门'
,
menuList
:
[],
},
];
/**版本管理列表 数据*/
export
const
versionData
:
any
[]
=
[
{
versionId
:
'1'
,
versionName
:
'V1'
,
submitBy
:
'admin'
,
submitDate
:
'2021/11/15 18:55:06'
,
remarks
:
'STANDARD_BASIC添加发布的第一个版'
,
},
{
versionId
:
'2'
,
versionName
:
'V2'
,
submitBy
:
'admin'
,
submitDate
:
'2021/11/11 18:55:06'
,
remarks
:
'STANDARD_BASIC添加发布的第二个版'
,
},
{
versionId
:
'3'
,
versionName
:
'V3'
,
submitBy
:
'admin'
,
submitDate
:
'2021/11/11 18:55:06'
,
remarks
:
'标准导入'
,
},
];
/**首页 新增表单树 数据*/
export
const
treeDataListTwo
=
[
{
label
:
'默认工作组'
,
businessId
:
1
,
children
:
[
{
label
:
'默认工作组01'
,
businessId
:
2
},
{
label
:
'默认工作组02'
,
businessId
:
3
},
{
label
:
'默认工作组03'
,
businessId
:
4
},
{
label
:
'默认工作组04'
,
businessId
:
5
},
],
},
];
/**首页 新增基础分类 基础元模型树*/
export
const
dataBasicTreeData
:
any
[]
=
[
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
100
,
modelName
:
'数据标准模型'
,
parentId
:
0
,
code
:
'001'
,
ancestors
:
'0'
,
orderNum
:
0
,
holder
:
'admin'
,
createDate
:
'2024-10-24 10:04:04'
,
updateDate
:
'2024-10-24 10:04:04'
,
selectType
:
null
,
type
:
'MySQL'
,
icon
:
'ion:settings-outline'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
101
,
modelName
:
'数据标准模型文件夹1'
,
parentId
:
100
,
code
:
'002'
,
ancestors
:
'0,100'
,
orderNum
:
1
,
selectType
:
null
,
holder
:
'admin'
,
createDate
:
'2024-10-24 10:04:04'
,
updateDate
:
'2024-10-24 10:04:04'
,
type
:
'MySQL'
,
icon
:
'ant-design:folder-open-outlined'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
102
,
modelName
:
'数据标准模型文件夹2'
,
parentId
:
100
,
code
:
'002'
,
ancestors
:
'0,100'
,
orderNum
:
1
,
selectType
:
null
,
holder
:
'admin'
,
createDate
:
'2024-10-24 10:04:04'
,
updateDate
:
'2024-10-24 10:04:04'
,
type
:
'MySQL'
,
icon
:
'ant-design:folder-open-outlined'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
103
,
modelName
:
'数据标准模型文件夹3'
,
parentId
:
100
,
code
:
'002'
,
ancestors
:
'0,100'
,
orderNum
:
1
,
selectType
:
null
,
holder
:
'admin'
,
createDate
:
'2024-10-24 10:04:04'
,
updateDate
:
'2024-10-24 10:04:04'
,
type
:
'MySQL'
,
icon
:
'ant-design:folder-open-outlined'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
201
,
modelName
:
'argodb元模型'
,
parentId
:
101
,
'code:'
:
'002'
,
ancestors
:
'0,100,101'
,
orderNum
:
1
,
selectType
:
null
,
holder
:
'admin'
,
createDate
:
'2024-10-24 10:04:04'
,
updateDate
:
'2024-10-24 10:04:04'
,
type
:
'MySQL'
,
icon
:
'ant-design:codepen-outlined'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
202
,
modelName
:
'inceptor元模型'
,
parentId
:
101
,
'code:'
:
'002'
,
ancestors
:
'0,100,101'
,
orderNum
:
1
,
selectType
:
null
,
holder
:
'admin'
,
createDate
:
'2024-10-24 10:04:04'
,
updateDate
:
'2024-10-24 10:04:04'
,
type
:
'MySQL'
,
icon
:
'ant-design:codepen-outlined'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
203
,
modelName
:
'acc元模型'
,
parentId
:
102
,
'code:'
:
'002'
,
ancestors
:
'0,100,102'
,
orderNum
:
1
,
selectType
:
null
,
holder
:
'admin'
,
createDate
:
'2024-10-24 10:04:04'
,
updateDate
:
'2024-10-24 10:04:04'
,
type
:
'MySQL'
,
icon
:
'ant-design:codepen-outlined'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
204
,
modelName
:
'ctor元模型'
,
parentId
:
102
,
'code:'
:
'002'
,
ancestors
:
'0,100,102'
,
orderNum
:
1
,
selectType
:
null
,
holder
:
'admin'
,
createDate
:
'2024-10-24 10:04:04'
,
updateDate
:
'2024-10-24 10:04:04'
,
type
:
'MySQL'
,
icon
:
'ant-design:codepen-outlined'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
205
,
modelName
:
'octp元模型'
,
parentId
:
103
,
'code:'
:
'002'
,
ancestors
:
'0,100,103'
,
orderNum
:
1
,
selectType
:
null
,
holder
:
'admin'
,
createDate
:
'2024-10-24 10:04:04'
,
updateDate
:
'2024-10-24 10:04:04'
,
type
:
'MySQL'
,
icon
:
'ant-design:codepen-outlined'
,
},
];
/**编辑页 选择字典树 数据*/
export
const
chooseDictoryTreeData
=
[
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
100
,
basicStandardName
:
'所有命名字典'
,
anotherName
:
'所有命名字典'
,
parentId
:
0
,
ancestors
:
'0'
,
orderNum
:
0
,
children
:
[],
icon
:
'ion:settings-outline'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
101
,
basicStandardName
:
'共享工作区'
,
anotherName
:
'共享工作区'
,
parentId
:
100
,
ancestors
:
'0,100'
,
children
:
[],
icon
:
'ion:settings-outline'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
102
,
basicStandardName
:
'关联域'
,
anotherName
:
'关联域'
,
parentId
:
101
,
ancestors
:
'0,100,101'
,
children
:
[],
icon
:
'ion:settings-outline'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
103
,
basicStandardName
:
'日期'
,
anotherName
:
'日期'
,
parentId
:
102
,
ancestors
:
'0,100,101,102'
,
children
:
[],
icon
:
'ion:settings-outline'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
104
,
basicStandardName
:
'创建日期'
,
anotherName
:
'创建日期'
,
parentId
:
102
,
ancestors
:
'0,100,101,102'
,
children
:
[],
icon
:
'ion:settings-outline'
,
},
];
/**对比左侧数据*/
export
const
leftContrastData
:
any
[]
=
[
{
businessId
:
201
,
standardChineseName
:
'对外投资出资方式'
,
anotherName
:
'对外投资出资方式'
,
parentId
:
102
,
publishStatus
:
'已发布'
,
businessDefinition
:
'对外投资出资方式'
,
standardCode
:
'BAS000004'
,
referenceStandard
:
[{
icon
:
'🌐🔍'
,
text
:
'数据源1'
}],
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-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
:
'人力资源部, 技术部'
,
},
];
/**对比右侧数据*/
export
const
rightContrastData
=
[
{
businessId
:
201
,
standardChineseName
:
'对外投资出资方式'
,
anotherName
:
'对外投资出资方式'
,
parentId
:
102
,
publishStatus
:
'已发布'
,
businessDefinition
:
'对外投资出资方式'
,
standardCode
:
'BAS000004'
,
referenceStandard
:
[{
icon
:
'🌐🔍'
,
text
:
'数据源1'
}],
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-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
:
'人力资源部, 技术部'
,
},
];
/**关联关系 表格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'
,
},
];
/**关联关系 关联质量 数据*/
export
const
relatedQualityData
=
[
{
parameter
:
'value_a'
,
templateType
:
'数值类'
,
templateDescription
:
'数值类:大于n'
,
value
:
'0'
,
},
];
/**关联关系-质量模版-树 数据*/
export
const
qualityTreeData
:
any
[]
=
[
{
businessId
:
100
,
QualityName
:
'质量模版'
,
anotherName
:
'质量模版'
,
parentId
:
0
,
location
:
'/质量模版'
,
icon
:
'ant-design:folder-open-outlined'
,
},
{
businessId
:
101
,
QualityName
:
'CEA_POC_模版'
,
anotherName
:
'CEA_POC_模版'
,
parentId
:
100
,
ancestors
:
'0,100'
,
icon
:
'ant-design:folder-open-outlined'
,
},
{
businessId
:
102
,
QualityName
:
'数据中台工作区01'
,
anotherName
:
'数据中台工作区01'
,
parentId
:
100
,
ancestors
:
'0,100'
,
location
:
'/质量模版/数据中台工作区01'
,
icon
:
'ant-design:folder-open-outlined'
,
},
{
businessId
:
201
,
QualityName
:
'值域检查(倍数)'
,
anotherName
:
'值域检查(倍数)'
,
parentId
:
102
,
ancestors
:
'0,100,102'
,
location
:
'/质量模版/数据中台工作区01/值域检查(倍数)'
,
icon
:
'ant-design:partition-outlined'
,
},
{
businessId
:
202
,
QualityName
:
'值域检查(数值大于零)'
,
anotherName
:
'值域检查(数值大于零)'
,
parentId
:
102
,
ancestors
:
'0,100,102'
,
location
:
'/质量模版/数据中台工作区01/值域检查(数值大于零)'
,
icon
:
'ant-design:partition-outlined'
,
},
{
businessId
:
204
,
QualityName
:
'准取检查-数值大于等于n'
,
anotherName
:
'准取检查-数值大于等于n'
,
parentId
:
101
,
ancestors
:
'0,100,101'
,
location
:
'/质量模版/CEA_POC_模版/准取检查-数值大于等于n'
,
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
[]
=
[
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
100
,
workSpaceName
:
'数据库对象资源'
,
parentId
:
0
,
ancestors
:
'0'
,
orderNum
:
0
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
101
,
workSpaceName
:
'admin-个人工作区'
,
parentId
:
100
,
ancestors
:
'0,100'
,
orderNum
:
1
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
102
,
workSpaceName
:
'共享工作区'
,
parentId
:
100
,
ancestors
:
'0,100'
,
orderNum
:
2
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'0'
,
businessId
:
103
,
workSpaceName
:
'高级工作区'
,
parentId
:
100
,
ancestors
:
'0,100'
,
orderNum
:
2
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
201
,
workSpaceName
:
'mysql'
,
parentId
:
101
,
ancestors
:
'0,100,101'
,
orderNum
:
1
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
301
,
workSpaceName
:
'gxx'
,
parentId
:
201
,
ancestors
:
'0,100,101,201'
,
orderNum
:
1
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
401
,
workSpaceName
:
'batch3_prc'
,
parentId
:
301
,
ancestors
:
'0,100,101,201,301'
,
orderNum
:
1
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
202
,
workSpaceName
:
'oracle'
,
parentId
:
102
,
ancestors
:
'0,100,102'
,
orderNum
:
1
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
203
,
workSpaceName
:
'localhost'
,
parentId
:
103
,
ancestors
:
'0,100,103'
,
orderNum
:
1
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
];
/**关联关系-指标标准-树 数据*/
export
const
indicatorTreeData
:
any
[]
=
[
{
businessId
:
100
,
indicatorStandardsName
:
'指标标准'
,
anotherName
:
'指标标准'
,
parentId
:
0
,
location
:
'/指标标准'
,
icon
:
'ant-design:folder-open-outlined'
,
},
{
businessId
:
101
,
indicatorStandardsName
:
'CEA_POC_模版'
,
anotherName
:
'CEA_POC_模版'
,
parentId
:
100
,
ancestors
:
'0,100'
,
icon
:
'ant-design:folder-open-outlined'
,
},
{
businessId
:
102
,
indicatorStandardsName
:
'数据中台工作区01'
,
anotherName
:
'数据中台工作区01'
,
parentId
:
100
,
ancestors
:
'0,100'
,
location
:
'/文档模版/数据中台工作区01'
,
icon
:
'ant-design:folder-open-outlined'
,
},
{
businessId
:
201
,
indicatorStandardsName
:
'值域检查(倍数)'
,
anotherName
:
'值域检查(倍数)'
,
parentId
:
102
,
ancestors
:
'0,100,102'
,
location
:
'/文档模版/数据中台工作区01/值域检查(倍数)'
,
icon
:
'ant-design:partition-outlined'
,
},
{
businessId
:
202
,
indicatorStandardsName
:
'值域检查(数值大于零)'
,
anotherName
:
'值域检查(数值大于零)'
,
parentId
:
102
,
ancestors
:
'0,100,102'
,
location
:
'/文档模版/数据中台工作区01/值域检查(数值大于零)'
,
icon
:
'ant-design:partition-outlined'
,
},
{
businessId
:
204
,
indicatorStandardsName
:
'准取检查-数值大于等于n'
,
anotherName
:
'准取检查-数值大于等于n'
,
parentId
:
101
,
ancestors
:
'0,100,101'
,
location
:
'/文档模版/CEA_POC_模版/准取检查-数值大于等于n'
,
icon
:
'ant-design:partition-outlined'
,
},
];
/**关联关系-公共代码-树 数据*/
export
const
publicCodeTreeData
:
any
[]
=
[
{
businessId
:
100
,
publicCodeName
:
'公共代码'
,
anotherName
:
'公共代码'
,
parentId
:
0
,
location
:
'/公共代码'
,
icon
:
'ant-design:folder-open-outlined'
,
},
{
businessId
:
101
,
publicCodeName
:
'CEA_POC_模版'
,
anotherName
:
'CEA_POC_模版'
,
parentId
:
100
,
ancestors
:
'0,100'
,
icon
:
'ant-design:folder-open-outlined'
,
},
{
businessId
:
102
,
publicCodeName
:
'数据中台工作区01'
,
anotherName
:
'数据中台工作区01'
,
parentId
:
100
,
ancestors
:
'0,100'
,
location
:
'/文档模版/数据中台工作区01'
,
icon
:
'ant-design:folder-open-outlined'
,
},
{
businessId
:
201
,
publicCodeName
:
'值域检查(倍数)'
,
anotherName
:
'值域检查(倍数)'
,
parentId
:
102
,
ancestors
:
'0,100,102'
,
location
:
'/文档模版/数据中台工作区01/值域检查(倍数)'
,
icon
:
'ant-design:partition-outlined'
,
},
{
businessId
:
202
,
publicCodeName
:
'值域检查(数值大于零)'
,
anotherName
:
'值域检查(数值大于零)'
,
parentId
:
102
,
ancestors
:
'0,100,102'
,
location
:
'/文档模版/数据中台工作区01/值域检查(数值大于零)'
,
icon
:
'ant-design:partition-outlined'
,
},
{
businessId
:
204
,
publicCodeName
:
'准取检查-数值大于等于n'
,
anotherName
:
'准取检查-数值大于等于n'
,
parentId
:
101
,
ancestors
:
'0,100,101'
,
location
:
'/文档模版/CEA_POC_模版/准取检查-数值大于等于n'
,
icon
:
'ant-design:partition-outlined'
,
},
];
/**关联关系-智能推荐元数据 数据*/
export
const
recommendedMetadataData
=
[
{
businessId
:
'1'
,
fieldName
:
'current_school'
,
fieldComment
:
'数值类'
,
fieldType
:
'string'
,
recommendationLevel
:
'100%'
,
mappingDescription
:
''
,
},
{
businessId
:
'2'
,
fieldName
:
'current_school'
,
fieldComment
:
'数值类'
,
fieldType
:
'string'
,
recommendationLevel
:
'98%'
,
mappingDescription
:
''
,
},
{
businessId
:
'3'
,
fieldName
:
'current_school'
,
fieldComment
:
'数值类'
,
fieldType
:
'string'
,
recommendationLevel
:
'99%'
,
mappingDescription
:
''
,
},
{
businessId
:
'4'
,
fieldName
:
'current_school'
,
fieldComment
:
'数值类'
,
fieldType
:
'string'
,
recommendationLevel
:
'100%'
,
mappingDescription
:
''
,
},
{
businessId
:
'5'
,
fieldName
:
'current_school'
,
fieldComment
:
'数值类'
,
fieldType
:
'string'
,
recommendationLevel
:
'95'
,
mappingDescription
:
''
,
},
];
src/views/mallResourceDevelopment/file/fileByCreate/data.ts
View file @
5e9e3c75
...
@@ -539,7 +539,7 @@ export const versionPublishSchema: FormSchema[] = [
...
@@ -539,7 +539,7 @@ export const versionPublishSchema: FormSchema[] = [
field
:
'title'
,
field
:
'title'
,
label
:
'申请标题'
,
label
:
'申请标题'
,
component
:
'Input'
,
component
:
'Input'
,
defaultValue
:
'申请发布V10.0版本:
数据集
1'
,
defaultValue
:
'申请发布V10.0版本:
文件
1'
,
required
:
true
,
required
:
true
,
},
},
{
{
...
...
src/views/mallResourceDevelopment/file/fileByCreate/fileByCreateDetail.vue
View file @
5e9e3c75
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</div>
</div>
<div
class=
"buttonGroup"
>
<div
class=
"buttonGroup"
>
<a-button
type=
"primary"
@
click=
"handleVersionPublish"
>
版本发布
</a-button>
<a-button
type=
"primary"
@
click=
"handleVersionPublish"
>
版本发布
</a-button>
<a-button
type=
"primary"
@
click=
"handle
VersionManagement
"
>
版本管理
</a-button>
<a-button
type=
"primary"
@
click=
"handle
Create
"
>
版本管理
</a-button>
<a-button
type=
"primary"
@
click=
"handleDelete"
>
删除
</a-button>
<a-button
type=
"primary"
@
click=
"handleDelete"
>
删除
</a-button>
<a-button
type=
"primary"
@
click=
"handleUp"
>
上架
</a-button>
<a-button
type=
"primary"
@
click=
"handleUp"
>
上架
</a-button>
<a-button
type=
"primary"
@
click=
"handEdit"
>
编辑
</a-button>
<a-button
type=
"primary"
@
click=
"handEdit"
>
编辑
</a-button>
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
</
template
>
</
template
>
<
template
v-if=
"currentKey == '4'"
>
<
template
v-if=
"currentKey == '4'"
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<div
style=
"width: 30%; border: rgb
a(26, 26, 26, 0.15
) 1px solid"
>
<div
style=
"width: 30%; border: rgb
(26 26 26 / 15%
) 1px solid"
>
<BasicTable
@
register=
"registerGlobalDataTable"
>
<BasicTable
@
register=
"registerGlobalDataTable"
>
<template
#
bodyCell=
"
{ column, record }">
<template
#
bodyCell=
"
{ column, record }">
<template
v-if=
"column.key === 'status'"
>
<template
v-if=
"column.key === 'status'"
>
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
</template>
</template>
</BasicTable>
</BasicTable>
</div>
</div>
<div
style=
"width: 70%; border: rgb
a(26, 26, 26, 0.15
) 1px solid"
>
<div
style=
"width: 70%; border: rgb
(26 26 26 / 15%
) 1px solid"
>
<div>
<div>
<Icon
<Icon
icon=
"material-symbols-light:dataset-linked-outline-sharp"
icon=
"material-symbols-light:dataset-linked-outline-sharp"
...
@@ -140,6 +140,7 @@
...
@@ -140,6 +140,7 @@
</div>
</div>
<VersionPublishModal
@
register=
"registerVersionPublishModal"
/>
<VersionPublishModal
@
register=
"registerVersionPublishModal"
/>
<EditFileModal
@
register=
"registerEditFile"
/>
<EditFileModal
@
register=
"registerEditFile"
/>
<AddUserModal
@
register=
"registerAddUserModal"
@
success=
"handleAddSuccess"
/>
</PageWrapper>
</PageWrapper>
</template>
</template>
...
@@ -177,6 +178,7 @@
...
@@ -177,6 +178,7 @@
import
{
useModal
}
from
'@/components/Modal'
;
import
{
useModal
}
from
'@/components/Modal'
;
import
VersionPublishModal
from
'./versionPublishModal.vue'
;
import
VersionPublishModal
from
'./versionPublishModal.vue'
;
import
EditFileModal
from
'@/views/mallResourceDevelopment/file/fileByCreate/editFileModal.vue'
;
import
EditFileModal
from
'@/views/mallResourceDevelopment/file/fileByCreate/editFileModal.vue'
;
import
AddUserModal
from
'./AddUserModal.vue'
;
defineOptions
({
name
:
'AccountDetail'
});
defineOptions
({
name
:
'AccountDetail'
});
...
@@ -187,7 +189,7 @@
...
@@ -187,7 +189,7 @@
const
[
registerVersionPublishModal
,
{
openModal
:
openVersionPublishModal
}]
=
useModal
();
const
[
registerVersionPublishModal
,
{
openModal
:
openVersionPublishModal
}]
=
useModal
();
const
[
registerEditFile
,
{
openModal
:
openEditFileModal
}]
=
useModal
();
const
[
registerEditFile
,
{
openModal
:
openEditFileModal
}]
=
useModal
();
const
[
registerAddUserModal
,
{
openModal
:
addUserModal
}]
=
useModal
();
const
[
registerTable
]
=
useTable
({
const
[
registerTable
]
=
useTable
({
api
:
async
()
=>
{
api
:
async
()
=>
{
const
response
=
{
const
response
=
{
...
@@ -278,7 +280,12 @@
...
@@ -278,7 +280,12 @@
function
goBack
()
{
function
goBack
()
{
router
.
back
();
router
.
back
();
}
}
/** 新增用户按钮*/
function
handleCreate
()
{
addUserModal
(
true
,
{
isAdd
:
true
,
});
}
onMounted
(()
=>
{});
onMounted
(()
=>
{});
</
script
>
</
script
>
...
@@ -286,25 +293,30 @@
...
@@ -286,25 +293,30 @@
.content-padding
{
.content-padding
{
background-color
:
white
;
background-color
:
white
;
}
}
.modal_top
{
.modal_top
{
padding
:
0
0
20px
0
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
padding
:
0
0
20px
;
.title
{
.title
{
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
500
;
font-weight
:
500
;
}
}
.path
{
.path
{
font-size
:
14px
;
color
:
gray
;
color
:
gray
;
font-size
:
14px
;
}
}
.buttonGroup
{
.buttonGroup
{
margin-left
:
auto
;
display
:
flex
;
display
:
flex
;
gap
:
5px
;
align-items
:
center
;
align-items
:
center
;
margin-left
:
auto
;
gap
:
5px
;
}
}
}
}
.selected-row
{
.selected-row
{
background-color
:
#5cb3ff
;
/* 可以根据需要调整颜色 */
background-color
:
#5cb3ff
;
/* 可以根据需要调整颜色 */
}
}
...
...
src/views/mallResourceDevelopment/file/fileByCreate/index.vue
View file @
5e9e3c75
...
@@ -76,6 +76,7 @@
...
@@ -76,6 +76,7 @@
placement: 'left',
placement: 'left',
confirm: handleUpload.bind(null),
confirm: handleUpload.bind(null),
},
},
ifShow: record.uploadStatus === '1',
},
},
{
{
label: '删除',
label: '删除',
...
...
src/views/mallResourceDevelopment/file/fileByCreate/versionPublishModal.vue
View file @
5e9e3c75
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
@
ok=
"handleSubmit"
@
ok=
"handleSubmit"
>
>
<div>
<div>
<BasicForm
@
register=
"registerForm"
/>
<BasicForm
@
register=
"registerForm"
v-if=
"isPublish"
/>
<Description
size=
"middle"
title=
"版本对比"
:bordered=
"false"
/>
<Description
size=
"middle"
title=
"版本对比"
:bordered=
"false"
/>
</div>
</div>
<div
class=
"flex"
>
<div
class=
"flex"
>
<div
style=
"width: 50%; border: rgb
a(26, 26, 26, 0.12
) 1px solid"
>
<div
style=
"width: 50%; border: rgb
(26 26 26 / 12%
) 1px solid"
>
<div
style=
"padding-left: 20px; font-size: 16px; font-weight: 500"
>
V9.0(当前)
</div>
<div
style=
"padding-left: 20px; font-size: 16px; font-weight: 500"
>
V9.0(当前)
</div>
<Description
<Description
size=
"middle"
size=
"middle"
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
:schema="permissionSchema"
:schema="permissionSchema"
/>
/>
</div>
</div>
<div
style=
"width: 50%; border: rgb
a(26, 26, 26, 0.12
) 1px solid"
>
<div
style=
"width: 50%; border: rgb
(26 26 26 / 12%
) 1px solid"
>
<div
style=
"padding-left: 20px; font-size: 16px; font-weight: 500"
>
发布版本
</div>
<div
style=
"padding-left: 20px; font-size: 16px; font-weight: 500"
>
发布版本
</div>
<Description
<Description
size=
"middle"
size=
"middle"
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
permissionSchema
,
permissionSchema
,
sourceTableSchema
,
sourceTableSchema
,
versionPublishSchema
,
versionPublishSchema
,
}
from
'@/views/mallResourceDevelopment/
dataSet/dataset
ByCreate/data'
;
}
from
'@/views/mallResourceDevelopment/
file/file
ByCreate/data'
;
import
Description
from
'@/components/Description/src/Description.vue'
;
import
Description
from
'@/components/Description/src/Description.vue'
;
import
{
import
{
basicNewData
,
basicNewData
,
...
@@ -139,6 +139,11 @@
...
@@ -139,6 +139,11 @@
await
resetFields
();
await
resetFields
();
setModalProps
({
confirmLoading
:
false
});
setModalProps
({
confirmLoading
:
false
});
title
.
value
=
data
.
title
;
title
.
value
=
data
.
title
;
if
(
data
.
isPublish
===
false
)
{
isPublish
.
value
=
false
;
}
else
{
isPublish
.
value
=
true
;
}
});
});
async
function
handleSubmit
()
{
async
function
handleSubmit
()
{
...
...
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