Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
N
nse-ui
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
吴超
nse-ui
Commits
f7f03d0e
Commit
f7f03d0e
authored
Sep 01, 2025
by
wanglizhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系统参数模块
parent
8f28908e
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
107 行增加
和
0 行删除
+107
-0
src/api/systemConfig/systemParam.js
+15
-0
src/views/systemConfig/SystemParam/index.vue
+91
-0
src/views/systemConfig/SystemParam/系统参数.md
+1
-0
没有找到文件。
src/api/systemConfig/systemParam.js
0 → 100644
View file @
f7f03d0e
import
request
from
'@/utils/request'
/**
* 系统参数 - 查询信息
* @param {*} query
* @returns
*/
export
function
queryAll
(
query
)
{
return
request
({
url
:
'/console/systemSetting/queryAll'
,
method
:
'get'
,
params
:
query
})
}
\ No newline at end of file
src/views/systemConfig/SystemParam/index.vue
0 → 100644
View file @
f7f03d0e
<
script
setup
name=
"License"
>
import
{
onMounted
,
ref
,
toRefs
}
from
'vue'
import
{
queryAll
}
from
'@/api/systemConfig/systemParam.js'
const
collapseData
=
ref
([])
const
collapseValue
=
ref
([
1
])
// 获取数据
const
getQueryAll
=
async
()
=>
{
const
{
data
}
=
await
queryAll
({})
initData
(
data
)
}
const
initData
=
(
data
)
=>
{
collapseData
.
value
=
Object
.
entries
(
data
).
map
(([
category
,
config
])
=>
({
category
,
list
:
Object
.
entries
(
config
).
map
(([
key
,
value
])
=>
({
key
,
value
}))
}));
}
onMounted
(()
=>
{
getQueryAll
()
})
</
script
>
<
template
>
<div
class=
"app-container scroller"
>
<PageTitle>
<template
#
title
>
系统参数
</
template
>
</PageTitle>
<div
class=
"app-container__body"
>
<el-collapse
v-model=
"collapseValue"
accordion
>
<el-collapse-item
:title=
"item.category"
:name=
"index + 1"
v-for=
"(item, index) in collapseData"
:key=
"index"
>
<div
class=
"contentActive"
>
<div
style=
"overflow: auto; height: 100%; padding: 20px 0px;"
>
<div
class=
"item"
v-for=
"(property, index) in item.list"
:key=
"index"
>
<div
class=
"key"
>
{{ property.key }}
</div>
<div
class=
"value"
>
{{ property.value }}
</div>
</div>
</div>
</div>
</el-collapse-item>
</el-collapse>
</div>
</div>
</template>
<
style
lang=
"scss"
scoped
>
.app-container__body
{
.contentActive
{
height
:
400px
;
.item
{
display
:
flex
;
height
:
32px
;
color
:
#7a8495
;
.key
{
padding-left
:
5px
;
width
:
300px
;
vertical-align
:
middle
;
float
:
left
;
font-size
:
14px
;
font-weight
:
700
;
box-sizing
:
border-box
;
}
.value
{
flex
:
1
;
line-height
:
32px
;
}
}
}
:deep
(
.el-collapse-item__wrap
)
{
border
:
none
;
}
:deep
(
.el-collapse-item
)
{
margin-bottom
:
6px
;
}
:deep
(
.el-collapse-item__header
)
{
height
:
32px
;
padding-left
:
20px
;
background
:
#7a8495
;
color
:
#fff
;
}
:deep
(
.el-collapse-item__header.is-active
)
{
background
:
#2c9ef7
;
}
}
</
style
>
\ No newline at end of file
src/views/systemConfig/SystemParam/系统参数.md
0 → 100644
View file @
f7f03d0e
++ "b/src/views/systemConfig/SystemParam/\347\263\273\347\273\237\345\217\202\346\225\260.md"
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论