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
4fedf91f
Commit
4fedf91f
authored
Jul 10, 2025
by
yzh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改了选择器选项
parent
58a93d86
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
taskCard.vue
src/views/os-taskInformation/components/taskCard.vue
+2
-2
index.vue
src/views/os-taskRecord/index.vue
+15
-1
No files found.
src/views/os-taskInformation/components/taskCard.vue
View file @
4fedf91f
<!-- 任务执行统计卡片组件 -->
<!-- 任务执行统计卡片组件 -->
<
template
>
<
template
>
<div
class=
"taskCard m-r-16 p-
6
"
v-for=
"i in options"
:key=
"i.value"
>
<div
class=
"taskCard m-r-16 p-
7
"
v-for=
"i in options"
:key=
"i.value"
>
<div
class=
"titleStyle"
>
<div
class=
"titleStyle"
>
<span>
xx任务
</span>
<span>
xx任务
</span>
<span>
启用
</span>
<span>
启用
</span>
...
@@ -92,7 +92,7 @@ const options = [
...
@@ -92,7 +92,7 @@ const options = [
background
:
#c6ebfc
;
background
:
#c6ebfc
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
border
:
1.5px
solid
rgb
(
255
,
255
,
255
);
border
:
1.5px
solid
rgb
(
255
,
255
,
255
);
width
:
40
0px
;
width
:
35
0px
;
font-size
:
20px
;
font-size
:
20px
;
height
:
15.5vh
;
height
:
15.5vh
;
border-radius
:
7px
;
border-radius
:
7px
;
...
...
src/views/os-taskRecord/index.vue
View file @
4fedf91f
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"异常选择:"
>
<el-form-item
label=
"异常选择:"
>
<el-select
v-model=
"errorValue"
placeholder=
" "
style=
"width: 220px"
>
<el-select
v-model=
"errorValue"
placeholder=
" "
style=
"width: 220px"
>
<el-option
v-for=
"item in
task
Options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
<el-option
v-for=
"item in
error
Options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"时间:"
>
<el-form-item
label=
"时间:"
>
...
@@ -79,6 +79,20 @@ const taskOptions = [
...
@@ -79,6 +79,20 @@ const taskOptions = [
label
:
'网'
,
label
:
'网'
,
},
},
]
]
const
errorOptions
=
[
{
value
:
'task1'
,
label
:
'网络中断'
,
},
{
value
:
'task2'
,
label
:
'地址不存在'
,
},
{
value
:
'task3'
,
label
:
'反爬虫'
,
},
]
const
tableData
=
ref
([
const
tableData
=
ref
([
{
{
name
:
'1'
,
name
:
'1'
,
...
...
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