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
1a3fcda7
Commit
1a3fcda7
authored
Dec 19, 2024
by
baiyinhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改国家政策详情页面 修改轮播图管理页面数据
parent
0061d908
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
229 additions
and
69 deletions
+229
-69
index.vue
src/views/AAAFont/nationalPolicy/details/index.vue
+157
-0
index.vue
...views/dataSharingAndExchange/carouselManagement/index.vue
+5
-2
institution.data.ts
...SharingAndExchange/carouselManagement/institution.data.ts
+37
-42
institutionData.ts
...aSharingAndExchange/carouselManagement/institutionData.ts
+30
-25
No files found.
src/views/AAAFont/nationalPolicy/details/index.vue
View file @
1a3fcda7
This diff is collapsed.
Click to expand it.
src/views/dataSharingAndExchange/carouselManagement/index.vue
View file @
1a3fcda7
...
...
@@ -32,7 +32,7 @@
>
批量删除
</a-button
>
</
template
>
<
template
#
bodyCell=
"{ column, record }"
>
<
template
#
bodyCell=
"{ column, record
, text
}"
>
<template
v-if=
"column.key === 'action'"
>
<TableAction
:actions=
"[
...
...
@@ -63,6 +63,9 @@
]"
/>
</
template
>
<
template
v-if=
"column.key === 'imgSrc'"
>
<TableImg
:size=
"60"
:simpleShow=
"true"
:showBadge=
"false"
:imgList=
"text"
/>
</
template
>
</template>
</BasicTable>
<AccountModal
@
register=
"registerModal"
@
success=
"handleSuccess"
/>
...
...
@@ -72,7 +75,7 @@
</template>
<
script
lang=
"ts"
setup
>
import
{
reactive
,
unref
,
onDeactivated
,
onMounted
,
ref
}
from
'vue'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
BasicTable
,
useTable
,
TableAction
,
TableImg
}
from
'@/components/Table'
;
import
{
Row
,
Col
}
from
'ant-design-vue'
;
import
{
getAccountList
,
deleteUser
,
exportUserList
}
from
'@/api/system/user/user'
;
import
{
PageWrapper
}
from
'@/components/Page'
;
...
...
src/views/dataSharingAndExchange/carouselManagement/institution.data.ts
View file @
1a3fcda7
...
...
@@ -84,6 +84,11 @@ export const columns: BasicColumn[] = [
dataIndex
:
'project'
,
width
:
150
,
},
{
title
:
'图片'
,
dataIndex
:
'imgSrc'
,
width
:
150
,
},
{
title
:
'轮播图描述'
,
dataIndex
:
'describe'
,
...
...
@@ -104,16 +109,6 @@ export const columns: BasicColumn[] = [
dataIndex
:
'releaseStatus'
,
width
:
150
,
},
{
title
:
'发布者'
,
dataIndex
:
'releaser'
,
width
:
150
,
},
{
title
:
'发布时间'
,
dataIndex
:
'releaseDate'
,
width
:
150
,
},
];
export
const
searchFormSchema
:
FormSchema
[]
=
[
{
...
...
@@ -125,38 +120,38 @@ export const searchFormSchema: FormSchema[] = [
},
colProps
:
{
span
:
4
},
},
{
field
:
'project'
,
label
:
' '
,
component
:
'Input'
,
componentProps
:
{
placeholder
:
'搜索轮播图文件名'
,
},
colProps
:
{
span
:
4
},
},
{
field
:
'describe'
,
label
:
' '
,
component
:
'Input'
,
componentProps
:
{
placeholder
:
'搜索轮播图描述'
,
},
colProps
:
{
span
:
4
},
},
{
field
:
'releaseStatus'
,
label
:
' '
,
component
:
'Select'
,
componentProps
:
{
placeholder
:
'发布状态'
,
options
:
[
{
label
:
'已发布'
,
value
:
'已发布'
},
{
label
:
'发布审批中'
,
value
:
'发布审批中'
},
{
label
:
'未发布'
,
value
:
'未发布'
},
],
},
colProps
:
{
span
:
4
},
},
//
{
//
field: 'project',
//
label: ' ',
//
component: 'Input',
//
componentProps: {
//
placeholder: '搜索轮播图文件名',
//
},
//
colProps: { span: 4 },
//
},
//
{
//
field: 'describe',
//
label: ' ',
//
component: 'Input',
//
componentProps: {
//
placeholder: '搜索轮播图描述',
//
},
//
colProps: { span: 4 },
//
},
//
{
//
field: 'releaseStatus',
//
label: ' ',
//
component: 'Select',
//
componentProps: {
//
placeholder: '发布状态',
//
options: [
//
{ label: '已发布', value: '已发布' },
//
{ label: '发布审批中', value: '发布审批中' },
//
{ label: '未发布', value: '未发布' },
//
],
//
},
//
colProps: { span: 4 },
//
},
];
export
const
accountFormSchema
:
any
[]
=
[
{
...
...
src/views/dataSharingAndExchange/carouselManagement/institutionData.ts
View file @
1a3fcda7
...
...
@@ -283,14 +283,15 @@ export const tableDataForIndex: any[] = [
userType
:
'1'
,
creator
:
'monkey'
,
releaser
:
'duck'
,
name
:
'
一级资源
'
,
project
:
'
一级编目
'
,
name
:
'
轮播图1
'
,
project
:
'
轮播图文件1
'
,
releaseStatus
:
'已发布'
,
describe
:
'
test1
'
,
describe
:
'
这是一个关于自然风景的轮播图
'
,
resourceNum
:
3
,
institutionId
:
101
,
createDate
:
'202
4-10-24 10:04:04
'
,
createDate
:
'202
3-11-15 15:32:59
'
,
releaseDate
:
'2024-10-25 10:04:04'
,
imgSrc
:
[
'src/assets/images/测试图片1.jpg'
],
},
{
delFlag
:
'0'
,
...
...
@@ -301,14 +302,15 @@ export const tableDataForIndex: any[] = [
userType
:
'1'
,
creator
:
'monkey'
,
releaser
:
'duck'
,
name
:
'
二级资源
'
,
project
:
'
公共安全
'
,
describe
:
'
test2
'
,
name
:
'
轮播图2
'
,
project
:
'
轮播图文件2
'
,
describe
:
'
展示了城市的繁荣景象
'
,
releaseStatus
:
'已发布'
,
resourceNum
:
4
,
institutionId
:
102
,
createDate
:
'202
4-10-24 10:04:04
'
,
createDate
:
'202
3-10-24 13:21:45
'
,
releaseDate
:
'2024-10-25 10:04:04'
,
imgSrc
:
[
'src/assets/images/测试图片1.jpg'
],
},
{
delFlag
:
'0'
,
...
...
@@ -319,14 +321,15 @@ export const tableDataForIndex: any[] = [
userType
:
'1'
,
creator
:
'monkey'
,
releaser
:
'duck'
,
name
:
'
三级资源
'
,
project
:
'
卫生健康
'
,
name
:
'
轮播图3
'
,
project
:
'
轮播图文件3
'
,
releaseStatus
:
'已发布'
,
describe
:
'
test1
'
,
describe
:
'
展示了艺术的魅力
'
,
resourceNum
:
5
,
institutionId
:
103
,
createDate
:
'202
4-10-24
10:04:04'
,
createDate
:
'202
3-12-20
10:04:04'
,
releaseDate
:
'2024-10-25 10:04:04'
,
imgSrc
:
[
'src/assets/images/测试图片1.jpg'
],
},
{
delFlag
:
'0'
,
...
...
@@ -337,14 +340,15 @@ export const tableDataForIndex: any[] = [
userType
:
'1'
,
creator
:
'monkey'
,
releaser
:
'duck'
,
name
:
'
四级资源
'
,
project
:
'
文化休闲
'
,
name
:
'
轮播图4
'
,
project
:
'
轮播图文件4
'
,
releaseStatus
:
'已发布'
,
describe
:
'
test3
'
,
describe
:
'
介绍了经济发展的成就
'
,
resourceNum
:
6
,
institutionId
:
104
,
createDate
:
'2024-
10-24
10:04:04'
,
createDate
:
'2024-
01-10
10:04:04'
,
releaseDate
:
'2024-10-25 10:04:04'
,
imgSrc
:
[
'src/assets/images/测试图片1.jpg'
],
},
{
delFlag
:
'0'
,
...
...
@@ -355,14 +359,15 @@ export const tableDataForIndex: any[] = [
userType
:
'1'
,
creator
:
'monkey'
,
releaser
:
'duck'
,
name
:
'
五级资源
'
,
project
:
'
经济建设
'
,
name
:
'
轮播图5
'
,
project
:
'
轮播图文件5
'
,
releaseStatus
:
'已发布'
,
describe
:
'
test1
'
,
describe
:
'
展示了科技教育的创新
'
,
resourceNum
:
7
,
institutionId
:
105
,
createDate
:
'2024-
10-24
10:04:04'
,
createDate
:
'2024-
02-25
10:04:04'
,
releaseDate
:
'2024-10-25 10:04:04'
,
imgSrc
:
[
'src/assets/images/测试图片1.jpg'
],
},
{
delFlag
:
'0'
,
...
...
@@ -373,15 +378,15 @@ export const tableDataForIndex: any[] = [
userType
:
'1'
,
creator
:
'monkey'
,
releaser
:
'duck'
,
name
:
'
特级资源
'
,
project
:
'
科技教育
'
,
name
:
'
轮播图6
'
,
project
:
'
轮播图文件6
'
,
releaseStatus
:
'未发布'
,
describe
:
'
test4
'
,
describe
:
'
展示了健康生活方式的推荐
'
,
resourceNum
:
8
,
createDate
:
'2024-
10-24
10:04:04'
,
createDate
:
'2024-
03-15
10:04:04'
,
releaseDate
:
'2024-10-25 10:04:04'
,
imgSrc
:
[
'src/assets/images/测试图片1.jpg'
],
institutionId
:
106
,
// "institutionName" : "研发部门",
},
];
export
const
addUserData
:
any
[]
=
[
...
...
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