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
505c99a0
Commit
505c99a0
authored
Sep 28, 2025
by
ningjihai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目管理,发现梳理
parent
1e3fc14b
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
206 行增加
和
212 行删除
+206
-212
src/views/discover/Discover/list.vue
+203
-211
src/views/project/Project/list.vue
+3
-1
没有找到文件。
src/views/discover/Discover/list.vue
View file @
505c99a0
...
@@ -318,8 +318,7 @@ const AIDIscoverVersionListDialog = ref({
...
@@ -318,8 +318,7 @@ const AIDIscoverVersionListDialog = ref({
})
})
// 打开智能发现弹窗
// 打开智能发现弹窗
const
handleSmartDiscover
=
(
row
)
=>
{
const
handleSmartDiscover
=
(
row
)
=>
{
ElMessage
.
info
(
`暂未开放`
)
return
initExecute
({
initExecute
({
taskid
:
row
.
id
,
taskid
:
row
.
id
,
projectid
:
sessionStorage
.
getItem
(
'projectId'
)
projectid
:
sessionStorage
.
getItem
(
'projectId'
)
...
@@ -408,217 +407,214 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
...
@@ -408,217 +407,214 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
</el-button>
-->
</el-button>
-->
</
template
>
</
template
>
</PageTitle>
</PageTitle>
<div
class=
"app-container__body"
>
<div
class=
"app-container__body"
>
<query-form
<query-form
ref=
"QueryFormRef"
ref=
"QueryFormRef"
v-model=
"queryParams"
v-model=
"queryParams"
@
query=
"onQuery"
@
query=
"onQuery"
@
reset=
"onReset"
@
reset=
"onReset"
@
add=
"handleAdd"
@
add=
"handleAdd"
/>
/>
<div
style=
"flex:1;"
>
<div
style=
"flex:1;"
>
<el-table
<el-table
:data=
"tableData"
:data=
"tableData"
stripe
stripe
height=
"100%"
height=
"100%"
style=
"width: 100%"
style=
"width: 100%"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
align=
"center"
fixed
/>
<!-- 发现任务名称列(左侧浮动) -->
<el-table-column
prop=
"taskName"
label=
"发现任务名称"
min-width=
"180"
align=
"left"
fixed
>
>
<el-table-column
<
template
#
default=
"{ row }"
>
type=
"index"
<span>
{{
row
.
taskName
}}
</span>
label=
"序号"
</
template
>
width=
"80"
</el-table-column>
align=
"center"
fixed
<!-- 梳理结果列 -->
/>
<el-table-column
<!-- 发现任务名称列(左侧浮动) -->
prop=
"result"
<el-table-column
label=
"梳理结果"
prop=
"taskName"
min-width=
"120"
label=
"发现任务名称"
>
min-width=
"180"
<
template
#
default=
"{ row }"
>
align=
"left"
<span>
{{
row
.
result
}}
</span>
fixed
</
template
>
>
</el-table-column
>
<
template
#
default=
"{ row }"
>
<span>
{{
row
.
taskName
}}
</span
>
<!-- 数据库类型列 --
>
</
template
>
<el-table-column
</el-table-column>
prop=
"dbType"
label=
"数据库类型"
<!-- 梳理结果列 -->
width=
"110"
<el-table-column
>
prop=
"result"
<
template
#
default=
"{ row }"
>
label=
"梳理结果"
<el-tag
type=
"primary"
>
{{
row
.
dbType
}}
</el-tag>
min-width=
"120"
</
template
>
>
</el-table-column
>
<
template
#
default=
"{ row }"
>
<span>
{{
row
.
result
}}
</span
>
<!-- 操作人列 --
>
</
template
>
<el-table-column
</el-table-column>
prop=
"operator"
label=
"操作人"
<!-- 数据库类型列 -->
min-width=
"120"
<el-table-column
>
prop=
"dbType"
<
template
#
default=
"{ row }"
>
label=
"数据库类型"
<span>
{{
row
.
operator
}}
</span>
width=
"110"
</
template
>
>
</el-table-column
>
<
template
#
default=
"{ row }"
>
<el-tag
type=
"primary"
>
{{
row
.
dbType
}}
</el-tag
>
<!-- 创建时间列 --
>
</
template
>
<el-table-column
</el-table-column>
prop=
"createTime"
label=
"创建时间"
<!-- 操作人列 -->
min-width=
"200"
<el-table-column
>
prop=
"operator"
<
template
#
default=
"{ row }"
>
label=
"操作人"
<span
>
{{
row
.
createTime
}}
</span>
min-width=
"120"
</
template
>
>
</el-table-column
>
<
template
#
default=
"{ row }"
>
<span>
{{
row
.
operator
}}
</span
>
<!-- 修改时间列 --
>
</
template
>
<el-table-column
</el-table-column>
prop=
"updateTime"
label=
"修改时间"
<!-- 创建时间列 -->
min-width=
"200"
<el-table-column
>
prop=
"createTime"
<
template
#
default=
"{ row }"
>
label=
"创建时间"
<span>
{{
row
.
updateTime
}}
</span>
min-width=
"200"
</
template
>
>
</el-table-column
>
<
template
#
default=
"{ row }"
>
<span
>
{{
row
.
createTime
}}
</span
>
<!-- 备注列 --
>
</
template
>
<el-table-column
</el-table-column>
prop=
"remark"
label=
"备注"
<!-- 修改时间列 -->
width=
"120"
<el-table-column
>
prop=
"updateTime"
<
template
#
default=
"{ row }"
>
label=
"修改时间"
<span>
{{
row
.
remark
||
'-'
}}
</span>
min-width=
"200"
</
template
>
>
</el-table-column
>
<
template
#
default=
"{ row }"
>
<span>
{{
row
.
updateTime
}}
</span
>
<!-- 操作列(右侧浮动) --
>
</
template
>
<el-table-column
</el-table-column>
label=
"操作"
width=
"320"
<!-- 备注列 -->
fixed=
"right"
<el-table-column
align=
"center"
prop=
"remark"
>
label=
"备注"
<
template
#
default=
"{ row }"
>
width=
"120"
<div
class=
"operation-buttons"
>
>
<!-- 编辑按钮 --
>
<
template
#
default=
"{ row }"
>
<el-button
<span>
{{
row
.
remark
||
'-'
}}
</span>
link
</
template
>
type=
"danger"
</el-table-column>
size=
"small"
icon=
"edit"
<!-- 操作列(右侧浮动) -->
@
click=
"handleEdit(row)"
<el-table-column
class=
"op-btn"
label=
"操作"
>
width=
"320"
编辑
fixed=
"right"
</el-button>
align=
"center"
>
<!-- 发现按钮 --
>
<
template
#
default=
"{ row }"
>
<el-button
<div
class=
"operation-buttons"
>
link
<!-- 编辑按钮 -->
type=
"danger"
<el-button
size=
"small"
link
@
click=
"handleDiscover(row)"
type=
"danger"
class=
"op-btn"
size=
"small"
>
icon=
"edit"
<img
:src=
"find"
alt=
""
class=
"btn-logo"
>
发现
@
click=
"handleEdit(row)"
</el-button>
class=
"op-btn"
>
<!-- 监控按钮 --
>
编辑
<el-button
</el-button>
link
type=
"danger"
<!-- 发现按钮 -->
size=
"small"
<el-button
@
click=
"handleMonitor(row)"
link
class=
"op-btn"
type=
"danger"
>
size=
"small"
<img
:src=
"jiankong"
alt=
""
class=
"btn-logo"
>
监控
@
click=
"handleDiscover(row)"
</el-button>
class=
"op-btn"
>
<!-- 更多操作下拉菜单 --
>
<img
:src=
"find"
alt=
""
class=
"btn-logo"
>
发现
<el-dropdown
</el-button>
@
command=
"(command) => handleMoreCommand(command, row)"
trigger=
"click"
<!-- 监控按钮 --
>
>
<el-button
<el-button
link
link
type=
"danger"
type=
"danger"
size=
"small"
size=
"small"
@
click=
"handleMonitor(row)
"
class=
"more-btn
"
class=
"op-btn
"
icon=
"MoreFilled
"
>
>
<img
:src=
"jiankong"
alt=
""
class=
"btn-logo"
>
监控
<!--
<el-icon><MoreFilled
/></el-icon>
-->
<!-- 更多
<el-icon
class=
"el-icon--right"
>
<arrow-down
/>
</el-icon>
-->
</el-button>
</el-button>
<template
#
dropdown
>
<!-- 更多操作下拉菜单 -->
<el-dropdown-menu>
<el-dropdown
<!--
<el-dropdown-item
command=
"smartDiscover"
>
@
command=
"(command) => handleMoreCommand(command, row)"
<span
class=
"dropdown-item smart-discover"
>
智能发现
</span>
trigger=
"click"
</el-dropdown-item>
-->
>
<!--
<el-dropdown-item
command=
"viewHistory"
>
<el-button
<span
class=
"dropdown-item"
>
查看历史
</span>
link
</el-dropdown-item>
-->
type=
"danger"
<el-dropdown-item
command=
"viewResult"
>
size=
"small"
<!--
<span
class=
"dropdown-item"
>
查看结果
</span>
-->
class=
"more-btn"
<el-button
icon=
"MoreFilled"
link
>
type=
"danger"
<!--
<el-icon><MoreFilled
/></el-icon>
-->
size=
"small"
<!-- 更多
class=
"op-btn"
<el-icon
class=
"el-icon--right"
>
>
<arrow-down
/>
<img
:src=
"findResult"
alt=
""
class=
"btn-logo"
>
查看结果
</el-icon>
-->
</el-button>
</el-button>
</el-dropdown-item>
<template
#
dropdown
>
<el-dropdown-item
command=
"delete"
>
<el-dropdown-menu>
<el-button
<!--
<el-dropdown-item
command=
"smartDiscover"
>
link
<span
class=
"dropdown-item smart-discover"
>
智能发现
</span>
type=
"danger"
</el-dropdown-item>
-->
size=
"small"
<!--
<el-dropdown-item
command=
"viewHistory"
>
class=
"op-btn"
<span
class=
"dropdown-item"
>
查看历史
</span>
icon=
"delete"
</el-dropdown-item>
-->
>
<el-dropdown-item
command=
"viewResult"
>
删除
<!--
<span
class=
"dropdown-item"
>
查看结果
</span>
-->
</el-button>
<el-button
<!--
<span
class=
"dropdown-item delete-item"
>
删除
</span>
-->
link
</el-dropdown-item>
type=
"danger"
</el-dropdown-menu>
size=
"small"
</
template
>
class=
"op-btn"
</el-dropdown>
>
</div>
<img
:src=
"findResult"
alt=
""
class=
"btn-logo"
>
查看结果
</template>
</el-button>
</el-table-column>
</el-dropdown-item>
</el-table>
<el-dropdown-item
command=
"delete"
>
</div>
<el-button
<pagination
link
v-show=
"total > 0"
type=
"danger"
:total=
"total"
size=
"small"
v-model:page=
"queryParams.pageno"
class=
"op-btn"
v-model:limit=
"queryParams.pagesize"
icon=
"delete"
@
pagination=
"getList"
>
/>
删除
</el-button>
<!--
<span
class=
"dropdown-item delete-item"
>
删除
</span>
-->
</el-dropdown-item>
</el-dropdown-menu>
</
template
>
</el-dropdown>
</div>
</template>
</el-table-column>
</el-table>
</div>
<pagination
v-show=
"total > 0"
:total=
"total"
v-model:page=
"queryParams.pageno"
v-model:limit=
"queryParams.pagesize"
@
pagination=
"getList"
/>
</div>
</div>
<SmartDiscoveryDialog
<SmartDiscoveryDialog
v-model=
"smartDiscoveryDialogVisible"
v-model=
"smartDiscoveryDialogVisible"
...
@@ -626,10 +622,6 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
...
@@ -626,10 +622,6 @@ const handleAddEditConfirm = (submitData, isEditMode) =>{
@
discover=
"disCoverSmart"
@
discover=
"disCoverSmart"
/>
/>
</div>
</div>
<!-- 新增/编辑发现任务弹窗 -->
<!-- <AddDiscoveryDialog ref="addDiscoveryDialogRef" @confirm="handleAddEditConfirm" /> -->
</template>
</template>
...
...
src/views/project/Project/list.vue
View file @
505c99a0
...
@@ -524,7 +524,7 @@ onMounted(()=>{
...
@@ -524,7 +524,7 @@ onMounted(()=>{
/>
/>
</div>
</div>
</div>
<ProjectEditDialog
<ProjectEditDialog
v-model:visible=
"dialogVisible"
v-model:visible=
"dialogVisible"
:mode=
"dialogMode"
:mode=
"dialogMode"
...
@@ -551,6 +551,8 @@ onMounted(()=>{
...
@@ -551,6 +551,8 @@ onMounted(()=>{
:project-id=
"currentImportProjectId"
:project-id=
"currentImportProjectId"
@
success=
"handleImportSuccess"
@
success=
"handleImportSuccess"
/>
/>
</div>
</template>
</template>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论