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
02489d31
Commit
02489d31
authored
Mar 18, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: gql修改文档
parent
92e32b67
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
client.graphql
src/api/graphql/client.graphql
+9
-7
index.vue
src/views/setting/testMatrix/useCaseDetails/index.vue
+4
-6
车联网安全检测平台公开API_V202401.md
车联网安全检测平台公开API_V202401.md
+0
-0
No files found.
src/api/graphql/client.graphql
View file @
02489d31
...
...
@@ -43,13 +43,17 @@ fragment ProjectBasicObject on Project {
status
}
# 新建文件检测项目
mutation
NewFileTestProject
(
fragment
ProjectBasicObject
on
Project
{
id
name
description
status
}
mutation
FastTestProject
(
$name
:
String
!
$lawId
:
ID
!
$principalUserId
:
ID
!
$systemTypeId
:
ID
!
$systemTypeName
:
String
!
$systemId
:
ID
!
$caseIdList
:
[
ID
!]!
$fileList
:
[
ID
!]!
)
{
projectMutation
:
teamProject
(
id
:
"team_items;1"
)
{
...
...
@@ -57,11 +61,9 @@ mutation NewFileTestProject(
input
:
{
testMethod
:
File
name
:
$name
lawId
:
$lawId
caseIdList
:
$caseIdList
principalUserId
:
$principalUserId
autoPartsId
:
$systemTypeId
systemId
:
$systemId
systemType
:
$systemTypeName
fileList
:
$fileList
}
)
{
...
...
src/views/setting/testMatrix/useCaseDetails/index.vue
View file @
02489d31
...
...
@@ -13,7 +13,7 @@
</
template
>
<
script
>
import
{
NewFile
TestProject
}
from
'@/api/graphql/client.graphql'
import
{
Fast
TestProject
}
from
'@/api/graphql/client.graphql'
export
default
{
name
:
'Index'
,
data
()
{
...
...
@@ -32,14 +32,12 @@ export default {
this
.
$apollo
.
mutate
({
// fetchPolicy: 'no-cache',
mutation
:
NewFile
TestProject
,
mutation
:
Fast
TestProject
,
variables
:
{
name
:
'test10
6
'
,
name
:
'test10
8
'
,
lawId
:
'law_items;106'
,
principalUserId
:
'user_items;2'
,
systemTypeId
:
'autoParts;1'
,
systemTypeName
:
'Linux'
,
systemId
:
'system;1'
,
caseIdList
:
'system;1'
,
fileList
:
[
'file_management_items;2'
]
}
})
...
...
车联网安全检测平台公开API_V202401.md
View file @
02489d31
This diff is collapsed.
Click to expand it.
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