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
3b1a3bbc
Commit
3b1a3bbc
authored
Sep 22, 2025
by
ningjihai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目管理列表pageSize
发先梳理表格 发现进度
parent
d1d8c7f0
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
141 行增加
和
20 行删除
+141
-20
src/views/discover/Discover/discoverProcess.vue
+120
-8
src/views/discover/Discover/list.vue
+20
-11
src/views/project/Project/list.vue
+1
-1
没有找到文件。
src/views/discover/Discover/discoverProcess.vue
View file @
3b1a3bbc
...
@@ -42,8 +42,7 @@ function pageList() {
...
@@ -42,8 +42,7 @@ function pageList() {
// 进度数据
// 进度数据
const
progress
=
ref
(
0
)
// 100% 进度
const
progress
=
ref
(
0
)
// 100% 进度
const
tableSum
=
ref
(
0
)
// 已完成表数量
const
tableSum
=
ref
(
0
)
// 已完成表数量
const
totalCount
=
ref
(
20
)
// 总表数量
const
count
=
ref
(
0
)
// 执行失败数据
// 执行失败数据
const
failureData
=
ref
([
const
failureData
=
ref
([
// {
// {
...
@@ -136,6 +135,7 @@ const getMonitorDataRequest = () => {
...
@@ -136,6 +135,7 @@ const getMonitorDataRequest = () => {
tableSum
.
value
=
statistics
.
tableSum
tableSum
.
value
=
statistics
.
tableSum
count
.
value
=
statistics
.
count
if
(
statistics
.
count
===
0
){
if
(
statistics
.
count
===
0
){
progress
.
value
=
0
progress
.
value
=
0
}
else
{
}
else
{
...
@@ -172,20 +172,21 @@ const getMonitorDataRequest = () => {
...
@@ -172,20 +172,21 @@ const getMonitorDataRequest = () => {
<div
class=
"app-container__body"
>
<div
class=
"app-container__body"
>
<div
class=
"discovery-progress-container"
>
<
!-- <
div class="discovery-progress-container">
<div class="layout-container">
<div class="layout-container">
<!-- 左侧区域 -->
<div class="left-panel">
<div class="left-panel">
<!-- 水波纹进度图表 -->
<div class="chart-section">
<div class="chart-section">
<div class="chart-container">
<div class="chart-container">
<WaterWaveChart :usage="progress" color="#1890ff" />
<WaterWaveChart :usage="progress" color="#1890ff" />
</div>
</div>
<div class="complete">完成表数:{{ tableSum }}</div>
<div class="complete">完成表数:{{ tableSum }}</div>
</div>
</div>
<!-- 执行失败表格 -->
<div class="failure-table-section">
<div class="failure-table-section">
<div class="section-header">
<div class="section-header">
<span class="title">执行失败</span>
<span class="title">执行失败</span>
...
@@ -204,7 +205,7 @@ const getMonitorDataRequest = () => {
...
@@ -204,7 +205,7 @@ const getMonitorDataRequest = () => {
</div>
</div>
</div>
</div>
<!-- 右侧区域 -->
<div class="right-panel">
<div class="right-panel">
<div class="completed-table-section">
<div class="completed-table-section">
<div class="section-header">
<div class="section-header">
...
@@ -232,8 +233,73 @@ const getMonitorDataRequest = () => {
...
@@ -232,8 +233,73 @@ const getMonitorDataRequest = () => {
</div>
</div>
</div>
</div>
</div>
</div>
</div> -->
<div
class=
"statics-container flex-container align-center justify-between"
>
<div
class=
"flex1 flex-container align-top"
>
<div
class=
"statics-item flex-container"
>
<div
class=
"statics-item-title"
>
表数
</div>
<div
class=
"statics-item-value"
>
{{count}}
</div>
</div>
<div
class=
"statics-item flex-container"
>
<div
class=
"statics-item-title"
>
表数
</div>
<div
class=
"statics-item-value"
>
{{tableSum}}
</div>
</div>
<div
class=
"statics-item flex-container flex1 progress-container"
>
<div
class=
"statics-item-title"
>
发现进度
</div>
<el-progress
:percentage=
"progress"
:stroke-width=
"12"
/>
</div>
</div>
<el-button
color=
"rgba(33, 103, 217, 1)"
:dark=
"isDark"
icon=
"CircleCheck"
@
click=
"handleCatResult"
>
查看结果
</el-button>
</div>
</div>
<div
class=
"flex-container"
>
<div
class=
"flex1 table-one"
>
<div
class=
"flex-container align-center table-title"
>
<div
class=
"shuxian"
></div>
<div
class=
"title"
>
执行失败
</div>
</div>
<el-table
:data=
"failureData"
style=
"width: 100%"
height=
"500px"
empty-text=
"暂无数据"
stripe
:header-cell-style=
"{ background: '#f5f7fa', color: '#606266' }"
>
<el-table-column
prop=
"category"
label=
"类别"
min-width=
"120"
fixed=
"left"
/>
<el-table-column
prop=
"severity"
label=
"严重性"
min-width=
"100"
/>
<el-table-column
prop=
"executeTime"
label=
"执行时间"
min-width=
"140"
/>
</el-table>
</div>
<div
class=
"flex1 table-two"
>
<div
class=
"flex-container align-center table-title"
>
<div
class=
"shuxian"
></div>
<div
class=
"title"
>
已完成
</div>
</div>
<el-table
:data=
"completedData"
height=
"500px"
style=
"width: 100%"
:header-cell-style=
"{ background: '#f5f7fa', color: '#606266' }"
empty-text=
"暂无数据"
stripe
>
<el-table-column
label=
"发现序号"
width=
"100"
align=
"center"
fixed
>
<
template
#
default=
"scope"
>
{{
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"dbType"
label=
"发现表名"
min-width=
"150"
/>
<el-table-column
prop=
"dbName"
label=
"SCHEMA"
width=
"100"
/>
<el-table-column
prop=
"createTime"
label=
"发现时间"
width=
"160"
fixed=
"right"
/>
</el-table>
</div>
</div>
</div>
</div>
...
@@ -242,8 +308,51 @@ const getMonitorDataRequest = () => {
...
@@ -242,8 +308,51 @@ const getMonitorDataRequest = () => {
</template>
</template>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.statics-container
{
background
:
rgba
(
255
,
255
,
255
,
1
);
border-left
:
5px
solid
rgba
(
33
,
103
,
217
,
1
);
padding
:
28px
38px
28px
48px
;
}
.statics-item
{
flex-direction
:
column
;
margin-left
:
90px
;
&:first-child
{
margin-left
:
0
;
}
.statics-item-title
{
font-size
:
14px
;
color
:
rgba
(
53
,
64
,
79
,
1
);
margin-bottom
:
10px
;
}
}
.table-one
{
margin-right
:
10px
;
}
.table-two
{
margin-left
:
10px
;
}
.table-title
{
margin-top
:
25px
;
margin-bottom
:
15px
;
.shuxian
{
width
:
2.26px
;
height
:
14px
;
opacity
:
1
;
border-radius
:
8px
;
background
:
rgba
(
33
,
103
,
217
,
1
);
}
.title
{
font-size
:
14px
;
color
:
rgba
(
53
,
64
,
79
,
1
);
margin-left
:
14px
;
}
}
.progress-container
{
margin-right
:
150px
;
}
.flex-container
{
.flex-container
{
display
:
flex
;
display
:
flex
;
}
}
...
@@ -255,10 +364,13 @@ const getMonitorDataRequest = () => {
...
@@ -255,10 +364,13 @@ const getMonitorDataRequest = () => {
.justify-between
{
.justify-between
{
justify-content
:
space-between
;
justify-content
:
space-between
;
}
}
.align-top
{
align-items
:
flex-start
;
}
.flex1
{
.flex1
{
flex
:
1
;
flex
:
1
;
}
}
.flex-wrap
{
.flex-wrap
{
flex-direction
:
wrap
;
flex-direction
:
wrap
;
}
}
...
...
src/views/discover/Discover/list.vue
View file @
3b1a3bbc
...
@@ -418,10 +418,16 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
...
@@ -418,10 +418,16 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
<el-table
<el-table
:data=
"tableData"
:data=
"tableData"
border
stripe
style=
"width: 100%"
style=
"width: 100%"
:header-cell-style=
"{ background: '#f5f7fa', color: '#606266' }"
>
>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
align=
"center"
fixed
/>
<!-- 发现任务名称列(左侧浮动) -->
<!-- 发现任务名称列(左侧浮动) -->
<el-table-column
<el-table-column
prop=
"taskName"
prop=
"taskName"
...
@@ -431,7 +437,7 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
...
@@ -431,7 +437,7 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
fixed
fixed
>
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<span
class=
"task-name"
>
{{
row
.
taskName
}}
</span>
<span>
{{
row
.
taskName
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -442,7 +448,7 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
...
@@ -442,7 +448,7 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
min-width=
"120"
min-width=
"120"
>
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<span
class=
"result-text"
>
{{
row
.
result
}}
</span>
<span>
{{
row
.
result
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -475,7 +481,7 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
...
@@ -475,7 +481,7 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
min-width=
"200"
min-width=
"200"
>
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<span
class=
"time-text"
>
{{
row
.
createTime
}}
</span>
<span
>
{{
row
.
createTime
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -486,7 +492,7 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
...
@@ -486,7 +492,7 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
min-width=
"200"
min-width=
"200"
>
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<span
class=
"time-text"
>
{{
row
.
updateTime
}}
</span>
<span>
{{
row
.
updateTime
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -497,7 +503,7 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
...
@@ -497,7 +503,7 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
width=
"120"
width=
"120"
>
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<span
class=
"remark-text"
>
{{
row
.
remark
||
'-'
}}
</span>
<span>
{{
row
.
remark
||
'-'
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -553,11 +559,13 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
...
@@ -553,11 +559,13 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
type=
"info"
type=
"info"
size=
"small"
size=
"small"
class=
"more-btn"
class=
"more-btn"
icon=
"MoreFilled"
>
>
更多
<!--
<el-icon><MoreFilled
/></el-icon>
-->
<!-- 更多
<el-icon
class=
"el-icon--right"
>
<el-icon
class=
"el-icon--right"
>
<arrow-down
/>
<arrow-down
/>
</el-icon>
</el-icon>
-->
</el-button>
</el-button>
<template
#
dropdown
>
<template
#
dropdown
>
<el-dropdown-menu>
<el-dropdown-menu>
...
@@ -663,8 +671,9 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
...
@@ -663,8 +671,9 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
}
}
.task-name
{
.task-name
{
font-weight
:
500
;
font-size
:
14px
;
color
:
#303133
;
font-weight
:
400
;
color
:
rgba
(
53
,
64
,
79
,
1
);
}
}
.result-text
{
.result-text
{
...
...
src/views/project/Project/list.vue
View file @
3b1a3bbc
...
@@ -52,7 +52,7 @@ function handleQuery() {
...
@@ -52,7 +52,7 @@ function handleQuery() {
const
data
=
reactive
({
const
data
=
reactive
({
queryParams
:
{
queryParams
:
{
page
:
1
,
page
:
1
,
everypage
:
8
,
everypage
:
10
,
proName
:
''
,
proName
:
''
,
note
:
''
note
:
''
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论