Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-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
中汽研标准应用数据库
car-database-web
Commits
d1674991
Commit
d1674991
authored
Apr 14, 2025
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(车型实验): 调用科恩的接口
parent
21420493
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
test.js
src/api/task/test.js
+2
-2
index.vue
src/views/setting/standardTerms/index.vue
+2
-1
No files found.
src/api/task/test.js
View file @
d1674991
...
@@ -53,7 +53,7 @@ export function testType(query) {
...
@@ -53,7 +53,7 @@ export function testType(query) {
export
function
testList
(
query
){
export
function
testList
(
query
){
return
request
({
return
request
({
url
:
'/system/testCase/getUseCaseListNew
New
'
,
url
:
'/system/testCase/getUseCaseListNew'
,
method
:
'post'
,
method
:
'post'
,
headers
:{
headers
:{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -178,7 +178,7 @@ export function testScene(query) {
...
@@ -178,7 +178,7 @@ export function testScene(query) {
// 发起评审页面 获取用例列表
// 发起评审页面 获取用例列表
export
function
testUseCaseListAll
(
query
)
{
export
function
testUseCaseListAll
(
query
)
{
return
request
({
return
request
({
url
:
'/system/testCase/getUseCaseListNew
New
'
,
url
:
'/system/testCase/getUseCaseListNew'
,
method
:
'post'
,
method
:
'post'
,
headers
:{
headers
:{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/views/setting/standardTerms/index.vue
View file @
d1674991
...
@@ -301,7 +301,7 @@ export default {
...
@@ -301,7 +301,7 @@ export default {
}
}
},
},
listNewUrl
:
'/review/standard/listNew'
,
listNewUrl
:
'/review/standard/listNew'
,
CaseListNewUrl
:
'/system/testCase/getUseCaseListNew
New
'
,
CaseListNewUrl
:
'/system/testCase/getUseCaseListNew'
,
showSearch
:
true
,
// 是否显示搜索框
showSearch
:
true
,
// 是否显示搜索框
tableData
:
[],
// 储存最终处理后的数据信息
tableData
:
[],
// 储存最终处理后的数据信息
queryParams
:
{
queryParams
:
{
...
@@ -491,6 +491,7 @@ export default {
...
@@ -491,6 +491,7 @@ export default {
method
:
'post'
,
method
:
'post'
,
data
:
params
data
:
params
}).
then
(
res
=>
{
}).
then
(
res
=>
{
console
.
log
(
'res'
,
res
)
this
.
tableData
=
res
.
data
.
useCases
this
.
tableData
=
res
.
data
.
useCases
this
.
tableData
=
this
.
normalizeTreeData
(
this
.
tableData
,
this
.
queryParams
)
this
.
tableData
=
this
.
normalizeTreeData
(
this
.
tableData
,
this
.
queryParams
)
this
.
total
=
res
.
data
.
totalCount
this
.
total
=
res
.
data
.
totalCount
...
...
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