Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project
Project
Details
Activity
Releases
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
中汽测评-信息安全测评系统
web
Commits
fd6f24cc
Commit
fd6f24cc
authored
Jun 03, 2024
by
mengzixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(信息库): 修改传参与接口
parent
34ef0ae5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
index.vue
src/views/informationBase/viewStandard/index.vue
+1
-1
index.vue
src/views/informationBase/viewUseCaseLibrary/index.vue
+11
-3
No files found.
src/views/informationBase/viewStandard/index.vue
View file @
fd6f24cc
...
@@ -176,7 +176,7 @@ export default {
...
@@ -176,7 +176,7 @@ export default {
dicts
:
[
'sys_detailed_classification'
],
dicts
:
[
'sys_detailed_classification'
],
data
()
{
data
()
{
return
{
return
{
listUrl
:
'/standard/find
Standard
List'
,
listUrl
:
'/standard/findList'
,
showSearch
:
true
,
showSearch
:
true
,
list
:
[],
list
:
[],
tableData
:
[],
tableData
:
[],
...
...
src/views/informationBase/viewUseCaseLibrary/index.vue
View file @
fd6f24cc
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
>
>
<el-form-item
prop=
"status"
>
<el-form-item
prop=
"status"
>
<el-select
<el-select
v-model=
"queryParams.
testScenarioId
"
v-model=
"queryParams.
scenario
"
placeholder=
"请选择测试场景"
placeholder=
"请选择测试场景"
clearable
clearable
>
>
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</el-form-item>
</el-form-item>
<el-form-item
prop=
"status"
>
<el-form-item
prop=
"status"
>
<el-select
<el-select
v-model=
"queryParams.
testTypeI
d"
v-model=
"queryParams.
metho
d"
placeholder=
"请选择测试方法"
placeholder=
"请选择测试方法"
clearable
clearable
>
>
...
@@ -141,6 +141,8 @@ export default {
...
@@ -141,6 +141,8 @@ export default {
queryParams
:
{
queryParams
:
{
offset
:
0
,
offset
:
0
,
limit
:
10
,
limit
:
10
,
scenario
:
''
,
method
:
''
,
searchKeywords
:
''
searchKeywords
:
''
},
},
total
:
0
,
total
:
0
,
...
@@ -200,6 +202,8 @@ export default {
...
@@ -200,6 +202,8 @@ export default {
this
.
queryParams
=
{
this
.
queryParams
=
{
offset
:
1
,
offset
:
1
,
limit
:
10
,
limit
:
10
,
scenario
:
''
,
method
:
''
,
searchKeywords
:
''
searchKeywords
:
''
}
}
this
.
handleQuery
()
this
.
handleQuery
()
...
@@ -228,7 +232,11 @@ export default {
...
@@ -228,7 +232,11 @@ export default {
field
:
this
.
orderBy
.
field
,
field
:
this
.
orderBy
.
field
,
order
:
this
.
orderBy
.
order
order
:
this
.
orderBy
.
order
},
},
search
:
this
.
queryParams
.
searchKeywords
searchFields
:
{
name
:
this
.
queryParams
.
searchKeywords
,
scenario
:
this
.
queryParams
.
scenario
,
method
:
this
.
queryParams
.
method
}
}
}
listTestCase
(
data
).
then
(
res
=>
{
listTestCase
(
data
).
then
(
res
=>
{
this
.
tableData
=
res
.
data
.
useCases
this
.
tableData
=
res
.
data
.
useCases
...
...
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