Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fk-spider-web
Overview
Overview
Details
Activity
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
周田
fk-spider-web
Commits
d485b054
Commit
d485b054
authored
Jan 16, 2026
by
周田
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'liucan' into 'main'
fix:删除导入本地编号文件按钮 See merge request
!23
parents
8a44dab9
50174f20
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
14 deletions
+20
-14
index.vue
src/views/os-spiderManager/index.vue
+20
-14
No files found.
src/views/os-spiderManager/index.vue
View file @
d485b054
...
@@ -35,7 +35,14 @@
...
@@ -35,7 +35,14 @@
</div>
</div>
</div>
</div>
<el-dialog
style=
"z-index: 999999"
draggable
v-model=
"editDialogVisible"
title=
"指定下载以下卫星"
width=
"550"
>
<el-dialog
style=
"z-index: 999999"
draggable
v-model=
"editDialogVisible"
title=
"指定下载以下卫星"
width=
"550"
@
close=
"handleDialogClose"
>
<div
class=
"No-Content"
ref=
"noContentRef"
>
<div
class=
"No-Content"
ref=
"noContentRef"
>
<TransitionGroup
<TransitionGroup
enter-active-class=
"animate__animated animate__slideInRight"
enter-active-class=
"animate__animated animate__slideInRight"
...
@@ -87,16 +94,6 @@
...
@@ -87,16 +94,6 @@
</el-button>
</el-button>
</
template
>
</
template
>
</el-popconfirm>
</el-popconfirm>
<el-upload
:on-change=
"handleFileChange"
accept=
".txt"
action=
"#"
:auto-upload=
"false"
:show-file-list=
"false"
:before-upload=
"beforeUpload"
>
<el-button
type=
"primary"
>
导入编号文件
</el-button>
</el-upload>
</div>
</div>
</div>
</div>
</el-dialog>
</el-dialog>
...
@@ -152,6 +149,18 @@ const curSelSateNo = ref<string[]>([]);
...
@@ -152,6 +149,18 @@ const curSelSateNo = ref<string[]>([]);
const
resetSelected
=
ref
(
false
);
const
resetSelected
=
ref
(
false
);
const
handleDialogClose
=
()
=>
{
// 清空已选中的编号
curSelSateNo
.
value
=
[];
// 通知子组件全部取消选中
resetSelected
.
value
=
true
;
nextTick
(()
=>
{
resetSelected
.
value
=
false
;
});
};
//添加选中项到当前列表
//添加选中项到当前列表
const
handleSateAdd
=
(
no
:
string
)
=>
{
const
handleSateAdd
=
(
no
:
string
)
=>
{
if
(
checkNoLeSix
(
no
))
{
if
(
checkNoLeSix
(
no
))
{
...
@@ -177,9 +186,7 @@ const addNoToList = async () => {
...
@@ -177,9 +186,7 @@ const addNoToList = async () => {
//编号文件导入后发送到后端
//编号文件导入后发送到后端
const
fileImptAddNoList
=
async
()
=>
{
const
fileImptAddNoList
=
async
()
=>
{
try
{
try
{
console
.
log
(
textFileNumbers
.
value
);
const
res
=
await
addSateNoList
({
norad_id
:
textFileNumbers
.
value
});
const
res
=
await
addSateNoList
({
norad_id
:
textFileNumbers
.
value
});
console
.
log
(
res
);
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
ElMessage
.
success
(
"导入编号成功"
);
ElMessage
.
success
(
"导入编号成功"
);
}
}
...
@@ -371,7 +378,6 @@ onMounted(() => {
...
@@ -371,7 +378,6 @@ onMounted(() => {
.btns
{
.btns
{
display
:
flex
;
display
:
flex
;
gap
:
10px
;
}
}
.low-titme
{
.low-titme
{
...
...
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