Commit d1674991 authored by 高滢's avatar 高滢

feat(车型实验): 调用科恩的接口

parent 21420493
...@@ -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/getUseCaseListNewNew', 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/getUseCaseListNewNew', url: '/system/testCase/getUseCaseListNew',
method: 'post', method: 'post',
headers:{ headers:{
'Content-Type': 'application/json', 'Content-Type': 'application/json',
......
...@@ -301,7 +301,7 @@ export default { ...@@ -301,7 +301,7 @@ export default {
} }
}, },
listNewUrl: '/review/standard/listNew', listNewUrl: '/review/standard/listNew',
CaseListNewUrl:'/system/testCase/getUseCaseListNewNew', 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment