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
14cb4be6
Commit
14cb4be6
authored
Nov 30, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改浏览公共资源
parent
ddbd4770
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1094 additions
and
100 deletions
+1094
-100
index.ts
src/router/routes/index.ts
+25
-0
VisitSource.vue
src/views/OverviewMallResources/VisitSource.vue
+1
-0
index.vue
src/views/OverviewMallResources/index.vue
+117
-100
commonDataSet.data.ts
...erviewMallResources/publicResources/commonDataSet.data.ts
+41
-0
index.vue
src/views/OverviewMallResources/publicResources/index.vue
+474
-0
mock.ts
src/views/OverviewMallResources/publicResources/mock.ts
+436
-0
No files found.
src/router/routes/index.ts
View file @
14cb4be6
...
@@ -603,6 +603,30 @@ export const WorkSpaceRoute: AppRouteRecordRaw = {
...
@@ -603,6 +603,30 @@ export const WorkSpaceRoute: AppRouteRecordRaw = {
],
],
};
};
/**浏览公共资源*/
export
const
PublicResourcesRoute
:
AppRouteRecordRaw
=
{
path
:
'/overviewMallResources'
,
name
:
'OverviewMallResources'
,
component
:
LAYOUT
,
meta
:
{
title
:
'商城资源概览'
,
icon
:
''
,
hidden
:
true
,
currentActiveMenu
:
'/OverviewMallResources'
,
},
children
:
[
{
path
:
'publicResources'
,
name
:
'PublicResources'
,
component
:
()
=>
import
(
'@/views/OverviewMallResources/publicResources/index.vue'
),
meta
:
{
title
:
'浏览公共资源'
,
icon
:
''
,
},
},
],
};
/**质量规则*/
/**质量规则*/
export
const
QualityRuleRoute
:
AppRouteRecordRaw
=
{
export
const
QualityRuleRoute
:
AppRouteRecordRaw
=
{
path
:
'/dataQuality'
,
path
:
'/dataQuality'
,
...
@@ -970,6 +994,7 @@ export const basicRoutes = [
...
@@ -970,6 +994,7 @@ export const basicRoutes = [
WorkSpaceRoute
,
WorkSpaceRoute
,
CommonFileRoute
,
CommonFileRoute
,
ModelRoute
,
ModelRoute
,
PublicResourcesRoute
,
DataSourceRoute
,
DataSourceRoute
,
DataStandardRoute
,
DataStandardRoute
,
kinshipParseRoute
,
kinshipParseRoute
,
...
...
src/views/OverviewMallResources/VisitSource.vue
View file @
14cb4be6
...
@@ -77,4 +77,5 @@ const options2 = ref([
...
@@ -77,4 +77,5 @@ const options2 = ref([
},
},
])
])
</
script
>
</
script
>
src/views/OverviewMallResources/index.vue
View file @
14cb4be6
...
@@ -4,113 +4,125 @@
...
@@ -4,113 +4,125 @@
<a-input-search
<a-input-search
v-model:value=
"value"
v-model:value=
"value"
placeholder=
""
placeholder=
""
style=
"width: 700px
;
"
style=
"width: 700px"
@
search=
"onSearch"
@
search=
"onSearch"
/>
/>
<Icon
class=
"iconClass1"
icon=
"mdi:funnel"
/>
<Icon
class=
"iconClass1"
icon=
"mdi:funnel"
/>
<Icon
class=
"iconClass2"
icon=
"ant-design:folder-open-outlined"
/>
<Icon
class=
"iconClass2"
icon=
"ant-design:folder-open-outlined"
@
click=
"handleClick"
/>
</div>
</div>
<div
class=
"centent2"
>
<div
class=
"centent2"
>
<Dropdown
:trigger=
"['click']"
>
<Dropdown
:trigger=
"['click']"
>
<span
class=
"centent2-1"
@
click
.
prevent
>
<span
class=
"centent2-1"
@
click
.
prevent
>
所有资源类型
<Icon
icon=
"ant-design:caret-down-filled"
class=
"iconClass3"
/>
所有资源类型
<Icon
icon=
"ant-design:caret-down-filled"
class=
"iconClass3"
/>
</span>
</span>
<template
#
overlay
>
<template
#
overlay
>
<Menu>
<Menu>
<template
v-for=
"(item, index) in List"
:key=
"item.title"
>
<template
v-for=
"(item, index) in List"
:key=
"item.title"
>
<SubMenu
:title=
"item.name"
v-if=
"item.children"
>
<SubMenu
:title=
"item.name"
v-if=
"item.children"
>
<template
v-for=
"(item1,
index) in item.children"
>
<template
v-for=
"(item1,
index) in item.children"
>
<MenuItem
@
click=
"handleTaskModel(item1)"
>
<MenuItem
@
click=
"handleTaskModel(item1)"
>
<span>
{{
item1
.
name
}}
</span>
<span>
{{
item1
.
name
}}
</span>
</MenuItem>
</MenuItem>
</
template
>
</
template
>
</SubMenu>
</SubMenu>
<MenuItem
@
click=
"handleTaskModel(item)"
v-else
>
<MenuItem
@
click=
"handleTaskModel(item)"
v-else
>
<span>
{{
item.name
}}
</span>
<span>
{{
item.name
}}
</span>
</MenuItem>
</MenuItem>
</template>
</template>
</Menu>
</Menu>
</template>
</template>
</Dropdown>
</Dropdown>
<Dropdown
:trigger=
"['click']"
>
<Dropdown
:trigger=
"['click']"
>
<span
@
click
.
prevent
style=
"margin-right: 20px;color: rgb(146, 153, 167);font-size: 13px"
>
<span
@
click
.
prevent
style=
"margin-right: 20px; color: rgb(146, 153, 167); font-size: 13px"
>
所有编目
<Icon
icon=
"ant-design:caret-down-filled"
style=
"font-size: 12px;margin-left: 2px"
/>
所有编目
<Icon
icon=
"ant-design:caret-down-filled"
style=
"font-size: 12px; margin-left: 2px"
/>
</span>
</span>
<
template
#
overlay
>
<
template
#
overlay
>
<Menu>
<Menu>
<template
v-for=
"(item, index) in List"
:key=
"item.title"
>
<template
v-for=
"(item, index) in List"
:key=
"item.title"
>
<SubMenu
:title=
"item.name"
v-if=
"item.children"
>
<SubMenu
:title=
"item.name"
v-if=
"item.children"
>
<template
v-for=
"(item1,
index) in item.children"
>
<template
v-for=
"(item1,
index) in item.children"
>
<MenuItem
@
click=
"handleTaskModel(item1)"
>
<MenuItem
@
click=
"handleTaskModel(item1)"
>
<span>
{{
item1
.
name
}}
</span>
<span>
{{
item1
.
name
}}
</span>
</MenuItem>
</MenuItem>
</
template
>
</
template
>
</SubMenu>
</SubMenu>
<MenuItem
@
click=
"handleTaskModel(item)"
v-else
>
<MenuItem
@
click=
"handleTaskModel(item)"
v-else
>
<span>
{{
item.name
}}
</span>
<span>
{{
item.name
}}
</span>
</MenuItem>
</MenuItem>
</template>
</template>
</Menu>
</Menu>
</template>
</template>
</Dropdown>
</Dropdown>
<Dropdown
:trigger=
"['click']"
>
<Dropdown
:trigger=
"['click']"
>
<span
@
click
.
prevent
style=
"margin-right: 20px;color: rgb(146, 153, 167);font-size: 13px"
>
<span
@
click
.
prevent
style=
"margin-right: 20px; color: rgb(146, 153, 167); font-size: 13px"
>
所有机构
<Icon
icon=
"ant-design:caret-down-filled"
style=
"font-size: 12px;margin-left: 2px"
/>
所有机构
<Icon
icon=
"ant-design:caret-down-filled"
style=
"font-size: 12px; margin-left: 2px"
/>
</span>
</span>
<
template
#
overlay
>
<
template
#
overlay
>
<Menu>
<Menu>
<template
v-for=
"(item, index) in List"
:key=
"item.title"
>
<template
v-for=
"(item, index) in List"
:key=
"item.title"
>
<SubMenu
:title=
"item.name"
v-if=
"item.children"
>
<SubMenu
:title=
"item.name"
v-if=
"item.children"
>
<template
v-for=
"(item1,
index) in item.children"
>
<template
v-for=
"(item1,
index) in item.children"
>
<MenuItem
@
click=
"handleTaskModel(item1)"
>
<MenuItem
@
click=
"handleTaskModel(item1)"
>
<span>
{{
item1
.
name
}}
</span>
<span>
{{
item1
.
name
}}
</span>
</MenuItem>
</MenuItem>
</
template
>
</
template
>
</SubMenu>
</SubMenu>
<MenuItem
@
click=
"handleTaskModel(item)"
v-else
>
<MenuItem
@
click=
"handleTaskModel(item)"
v-else
>
<span>
{{
item.name
}}
</span>
<span>
{{
item.name
}}
</span>
</MenuItem>
</MenuItem>
</template>
</template>
</Menu>
</Menu>
</template>
</template>
</Dropdown>
</Dropdown>
<Dropdown
:trigger=
"['click']"
>
<Dropdown
:trigger=
"['click']"
>
<span
@
click
.
prevent
style=
"margin-right: 20px;color: rgb(146, 153, 167);font-size: 13px"
>
<span
@
click
.
prevent
style=
"margin-right: 20px; color: rgb(146, 153, 167); font-size: 13px"
>
所有标签
<Icon
icon=
"ant-design:caret-down-filled"
style=
"font-size: 12px;margin-left: 2px"
/>
所有标签
<Icon
icon=
"ant-design:caret-down-filled"
style=
"font-size: 12px; margin-left: 2px"
/>
</span>
</span>
<
template
#
overlay
>
<
template
#
overlay
>
<Menu>
<Menu>
<template
v-for=
"(item, index) in List"
:key=
"item.title"
>
<template
v-for=
"(item, index) in List"
:key=
"item.title"
>
<SubMenu
:title=
"item.name"
v-if=
"item.children"
>
<SubMenu
:title=
"item.name"
v-if=
"item.children"
>
<template
v-for=
"(item1,
index) in item.children"
>
<template
v-for=
"(item1,
index) in item.children"
>
<MenuItem
@
click=
"handleTaskModel(item1)"
>
<MenuItem
@
click=
"handleTaskModel(item1)"
>
<span>
{{
item1
.
name
}}
</span>
<span>
{{
item1
.
name
}}
</span>
</MenuItem>
</MenuItem>
</
template
>
</
template
>
</SubMenu>
</SubMenu>
<MenuItem
@
click=
"handleTaskModel(item)"
v-else
>
<MenuItem
@
click=
"handleTaskModel(item)"
v-else
>
<span>
{{
item.name
}}
</span>
<span>
{{
item.name
}}
</span>
</MenuItem>
</MenuItem>
</template>
</template>
</Menu>
</Menu>
</template>
</template>
</Dropdown>
</Dropdown>
<Dropdown
:trigger=
"['click']"
>
<Dropdown
:trigger=
"['click']"
>
<span
@
click
.
prevent
style=
"color: rgb(146, 153, 167);font-size: 13px"
>
<span
@
click
.
prevent
style=
"color: rgb(146, 153, 167); font-size: 13px"
>
所有发布时间
<Icon
icon=
"ant-design:caret-down-filled"
style=
"font-size: 12px;margin-left: 2px"
/>
所有发布时间
<Icon
icon=
"ant-design:caret-down-filled"
style=
"font-size: 12px; margin-left: 2px"
/>
</span>
</span>
<
template
#
overlay
>
<
template
#
overlay
>
<Menu>
<Menu>
<template
v-for=
"(item, index) in List"
:key=
"item.title"
>
<template
v-for=
"(item, index) in List"
:key=
"item.title"
>
<SubMenu
:title=
"item.name"
v-if=
"item.children"
>
<SubMenu
:title=
"item.name"
v-if=
"item.children"
>
<template
v-for=
"(item1,
index) in item.children"
>
<template
v-for=
"(item1,
index) in item.children"
>
<MenuItem
@
click=
"handleTaskModel(item1)"
>
<MenuItem
@
click=
"handleTaskModel(item1)"
>
<span>
{{
item1
.
name
}}
</span>
<span>
{{
item1
.
name
}}
</span>
</MenuItem>
</MenuItem>
</
template
>
</
template
>
</SubMenu>
</SubMenu>
<MenuItem
@
click=
"handleTaskModel(item)"
v-else
>
<MenuItem
@
click=
"handleTaskModel(item)"
v-else
>
<span>
{{
item.name
}}
</span>
<span>
{{
item.name
}}
</span>
</MenuItem>
</MenuItem>
</template>
</template>
</Menu>
</Menu>
...
@@ -129,18 +141,18 @@
...
@@ -129,18 +141,18 @@
</div>
</div>
</template>
</template>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
ref
}
from
'vue'
;
import
{
ref
}
from
'vue'
;
import
ResourceStatistics
from
'./ResourceStatistics.vue'
;
import
ResourceStatistics
from
'./ResourceStatistics.vue'
;
import
VisitSource
from
'./VisitSource.vue'
;
import
VisitSource
from
'./VisitSource.vue'
;
import
PopularResources
from
'./PopularResources.vue'
;
import
PopularResources
from
'./PopularResources.vue'
;
import
MyProcess
from
'./MyProcess.vue'
;
import
MyProcess
from
'./MyProcess.vue'
;
import
{
Tag
,
Card
,
Dropdown
,
Menu
,
MenuItem
,
SubMenu
}
from
'ant-design-vue'
;
import
{
Dropdown
,
Menu
,
MenuItem
,
SubMenu
}
from
'ant-design-vue'
;
import
StatisticalChart
from
'./StatisticalChart.vue'
import
StatisticalChart
from
'./StatisticalChart.vue'
;
import
Icon
from
"@/components/Icon/Icon.vue"
;
import
Icon
from
'@/components/Icon/Icon.vue'
;
import
{
DownOutlined
}
from
'@ant-design/icons-vue
'
;
import
{
router
}
from
'@/router
'
;
const
loading
=
ref
(
false
);
const
loading
=
ref
(
false
);
const
List
=
ref
([
const
List
=
ref
([
{
{
name
:
'新建任务1'
,
name
:
'新建任务1'
,
title
:
'新建任务1'
,
title
:
'新建任务1'
,
...
@@ -153,7 +165,7 @@ const List = ref([
...
@@ -153,7 +165,7 @@ const List = ref([
name
:
'22222'
,
name
:
'22222'
,
title
:
'新建任务'
,
title
:
'新建任务'
,
},
},
]
],
},
},
{
{
name
:
'新建任务2'
,
name
:
'新建任务2'
,
...
@@ -173,40 +185,45 @@ const List = ref([
...
@@ -173,40 +185,45 @@ const List = ref([
},
},
{
{
name
:
'新建任务6'
,
name
:
'新建任务6'
,
},
]);
function
handleClick
()
{
router
.
push
({
path
:
'/overviewMallResources/publicResources'
,
});
}
}
])
setTimeout
(()
=>
{
setTimeout
(()
=>
{
loading
.
value
=
false
;
loading
.
value
=
false
;
},
1500
);
},
1500
);
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.centent1
{
.centent1
{
display: flex;
display: flex;
justify-content: center;
justify-content: center;
margin-bottom: 20px;
margin-bottom: 20px;
.iconClass1
{
.iconClass1
{
font-size: 20px;
font-size: 20px;
color: rgb(27, 148, 243);
color: rgb(27, 148, 243);
margin-left: 5px;
margin-left: 5px;
margin-right: 5px
margin-right: 5px;
}
.iconClass2 {
font-size: 20px;
}
}
.iconClass2{
font-size: 20px
}
}
}
.centent2 {
.centent2{
display: flex;
display: flex;
justify-content: center;
justify-content: center;
margin-top: 10px;
margin-top: 10px;
margin-bottom: 20px;
margin-bottom: 20px;
.centent2-1
{
.centent2-1
{
margin-right: 20px;
margin-right: 20px;
color: rgb(146, 153, 167);
color: rgb(146, 153, 167);
font-size: 13px
font-size: 13px;
}
}
.iconClass3 {
font-size: 12px;
margin-left: 2px;
}
}
}
.iconClass3{
font-size: 12px;margin-left: 2px
}
</
style
>
</
style
>
src/views/OverviewMallResources/publicResources/commonDataSet.data.ts
0 → 100644
View file @
14cb4be6
import
{
BasicColumn
}
from
'@/components/Table'
;
export
const
Columns
:
BasicColumn
[]
=
[
{
title
:
'名称'
,
dataIndex
:
'title'
,
},
{
title
:
'部门'
,
dataIndex
:
'dept'
,
},
{
title
:
'标签'
,
dataIndex
:
'label'
,
},
{
title
:
'描述'
,
dataIndex
:
'description'
,
},
{
title
:
'创建人'
,
dataIndex
:
'createdBy'
,
},
{
title
:
'创建时间'
,
dataIndex
:
'createdTime'
,
},
{
title
:
'浏览次数'
,
dataIndex
:
'view'
,
},
{
title
:
'推送次数'
,
dataIndex
:
'edit'
,
},
{
title
:
'共享类型'
,
dataIndex
:
'isShare'
,
slots
:
{
customRender
:
'isShare'
},
},
];
src/views/OverviewMallResources/publicResources/index.vue
0 → 100644
View file @
14cb4be6
This diff is collapsed.
Click to expand it.
src/views/OverviewMallResources/publicResources/mock.ts
0 → 100644
View file @
14cb4be6
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