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
8169093e
Commit
8169093e
authored
Aug 23, 2025
by
周海峰
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://code.palacesun.com/wuchao/nse-ui
parents
9de1fc51
7205b1e4
全部展开
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
17 行增加
和
13 行删除
+17
-13
src/router/index.js
+6
-6
src/views/discover/Discover/discoverHistory.vue
+0
-0
src/views/discover/Discover/discoverProcess.vue
+1
-1
src/views/discover/Discover/discoverResult.vue
+1
-1
src/views/discover/Discover/index.vue
+3
-1
src/views/discover/Discover/list.vue
+5
-3
src/views/login.vue
+1
-1
没有找到文件。
src/router/index.js
View file @
8169093e
...
@@ -93,12 +93,12 @@ export const constantRoutes = [
...
@@ -93,12 +93,12 @@ export const constantRoutes = [
component
:
()
=>
import
(
'@/views/ruleConfig/Dictionary/index'
),
component
:
()
=>
import
(
'@/views/ruleConfig/Dictionary/index'
),
hidden
:
true
hidden
:
true
},
},
{
//
{
// 项目管理
//
// 项目管理
path
:
'/projectManage'
,
//
path: '/projectManage',
component
:
()
=>
import
(
'@/views/projectManage/index'
),
//
component: () => import('@/views/projectManage/index'),
hidden
:
true
//
hidden: true
},
//
},
// {
// {
// // 项目首页
// // 项目首页
// path: '/projectHome',
// path: '/projectHome',
...
...
src/views/discover/Discover/discoverHistory.vue
0 → 100644
View file @
8169093e
差异被折叠。
点击展开。
src/views/discover/Discover/discoverProcess.vue
View file @
8169093e
...
@@ -17,7 +17,7 @@ const emit = defineEmits(['page'])
...
@@ -17,7 +17,7 @@ const emit = defineEmits(['page'])
const
{
proxy
}
=
getCurrentInstance
()
const
{
proxy
}
=
getCurrentInstance
()
const
props
=
defineProps
({
const
props
=
defineProps
({
discoverProcessData
:
{
listItem
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
({})
default
:
()
=>
({})
}
}
...
...
src/views/discover/Discover/discoverResult.vue
View file @
8169093e
...
@@ -17,7 +17,7 @@ const emit = defineEmits(['page'])
...
@@ -17,7 +17,7 @@ const emit = defineEmits(['page'])
const
{
proxy
}
=
getCurrentInstance
()
const
{
proxy
}
=
getCurrentInstance
()
const
props
=
defineProps
({
const
props
=
defineProps
({
discoverProcessData
:
{
listItem
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
({})
default
:
()
=>
({})
}
}
...
...
src/views/discover/Discover/index.vue
View file @
8169093e
...
@@ -3,11 +3,13 @@ import { ref } from 'vue'
...
@@ -3,11 +3,13 @@ import { ref } from 'vue'
import
list
from
'./list.vue'
import
list
from
'./list.vue'
import
discoverProcess
from
'./discoverProcess.vue'
import
discoverProcess
from
'./discoverProcess.vue'
import
discoverResult
from
'./discoverResult.vue'
import
discoverResult
from
'./discoverResult.vue'
import
discoverHistory
from
'./discoverHistory.vue'
const
widget
=
{
const
widget
=
{
list
:
list
,
list
:
list
,
discoverProcess
:
discoverProcess
,
discoverProcess
:
discoverProcess
,
discoverResult
:
discoverResult
discoverResult
:
discoverResult
,
discoverHistory
:
discoverHistory
}
}
const
page
=
ref
(
'list'
)
const
page
=
ref
(
'list'
)
...
...
src/views/discover/Discover/list.vue
View file @
8169093e
...
@@ -107,7 +107,7 @@ const handleEdit = (row) => {
...
@@ -107,7 +107,7 @@ const handleEdit = (row) => {
const
handleDiscover
=
(
row
)
=>
{
const
handleDiscover
=
(
row
)
=>
{
console
.
log
(
'发现:'
,
row
)
console
.
log
(
'发现:'
,
row
)
ElMessage
.
success
(
`开始发现任务:
${
row
.
taskName
}
`
)
ElMessage
.
success
(
`开始发现任务:
${
row
.
taskName
}
`
)
emit
(
'page'
,
'discoverProcess'
,
{
discoverProcessData
:
row
})
emit
(
'page'
,
'discoverProcess'
,
{
listItem
:
row
})
// router.push({
// router.push({
// path: '/user/discoverProcess',
// path: '/user/discoverProcess',
// query: {
// query: {
...
@@ -124,7 +124,7 @@ const handleDiscover = (row) => {
...
@@ -124,7 +124,7 @@ const handleDiscover = (row) => {
const
handleMonitor
=
(
row
)
=>
{
const
handleMonitor
=
(
row
)
=>
{
console
.
log
(
'监控:'
,
row
)
console
.
log
(
'监控:'
,
row
)
ElMessage
.
warning
(
`监控任务:
${
row
.
taskName
}
`
)
ElMessage
.
warning
(
`监控任务:
${
row
.
taskName
}
`
)
emit
(
'page'
,
'discoverProcess'
,
{
discoverProcessData
:
row
})
emit
(
'page'
,
'discoverProcess'
,
{
listItem
:
row
})
}
}
const
smartDiscoveryDialogRef
=
ref
()
const
smartDiscoveryDialogRef
=
ref
()
const
smartData
=
ref
(
null
)
const
smartData
=
ref
(
null
)
...
@@ -137,6 +137,8 @@ const handleMoreCommand = (command, row) => {
...
@@ -137,6 +137,8 @@ const handleMoreCommand = (command, row) => {
break
break
case
'viewHistory'
:
case
'viewHistory'
:
ElMessage
.
info
(
`查看历史:
${
row
.
taskName
}
`
)
ElMessage
.
info
(
`查看历史:
${
row
.
taskName
}
`
)
emit
(
'page'
,
'discoverHistory'
,{
listItem
:
row
})
break
break
case
'viewResult'
:
case
'viewResult'
:
ElMessage
.
info
(
`查看结果:
${
row
.
taskName
}
`
)
ElMessage
.
info
(
`查看结果:
${
row
.
taskName
}
`
)
...
@@ -168,7 +170,7 @@ const handleSmartDiscover = (row) => {
...
@@ -168,7 +170,7 @@ const handleSmartDiscover = (row) => {
}
}
const
disCoverSmart
=
(
val
)
=>
{
const
disCoverSmart
=
(
val
)
=>
{
console
.
log
(
val
)
console
.
log
(
val
)
emit
(
'page'
,
'discoverProcess'
,
{
discoverProcessData
:
smartData
.
value
})
emit
(
'page'
,
'discoverProcess'
,
{
listItem
:
smartData
.
value
})
}
}
const
handleAddEditConfirm
=
(
submitData
,
isEditMode
)
=>
{
const
handleAddEditConfirm
=
(
submitData
,
isEditMode
)
=>
{
...
...
src/views/login.vue
View file @
8169093e
...
@@ -145,7 +145,7 @@ function handleLogin() {
...
@@ -145,7 +145,7 @@ function handleLogin() {
appStore
.
setallNav
(
menus
)
appStore
.
setallNav
(
menus
)
console
.
log
(
'appStore.nav'
,
appStore
.
allnavList
)
console
.
log
(
'appStore.nav'
,
appStore
.
allnavList
)
// console.log('menus',filterMenus)
// console.log('menus',filterMenus)
appStore
.
setNavStatus
({
type
:
appStore
.
navStatus
.
type
||
'manage'
})
// permissionStore.allsidebarRouters(menus)
// permissionStore.allsidebarRouters(menus)
permissionStore
.
setSidebarRouters
(
filterMenus
)
permissionStore
.
setSidebarRouters
(
filterMenus
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论