提交 1ce28431 authored 作者: thy's avatar thy

合并分支 'thy' 到 'master'

Thy 查看合并请求 !88
...@@ -278,7 +278,7 @@ const server = { ...@@ -278,7 +278,7 @@ const server = {
}) })
}, },
getEvaluationList(page,size,data) { // 评估报告管理 getEvaluationList(page,size,data) { // 评估报告管理
return axios('/evaluation/search/' + page + '/' + size,{ return axios( '/evaluation/search/' + page + '/' + size,{
method: 'post', method: 'post',
data: data data: data
}) })
...@@ -289,7 +289,7 @@ const server = { ...@@ -289,7 +289,7 @@ const server = {
}) })
}, },
getAllPageList(page,size,data){ // 关键技术管理列表 getAllPageList(page,size,data){ // 关键技术管理列表
return axios('/technology/search/' + page + '/' + size,{ return axios( '/technology/search/' + page + '/' + size,{
method: 'post', method: 'post',
data: data data: data
}) })
...@@ -312,12 +312,12 @@ const server = { ...@@ -312,12 +312,12 @@ const server = {
}) })
}, },
getConfigValue(){ // 获取参数配置 getConfigValue(){ // 获取参数配置
return axios('/config',{ return axios( '/config',{
method: 'get', method: 'get',
}) })
}, },
editConfigValue(data){ // 修改参数配置 editConfigValue(data){ // 修改参数配置
return axios('/config/updates',{ return axios( '/config/updates',{
method: 'post', method: 'post',
data: data data: data
}) })
...@@ -346,38 +346,38 @@ const server = { ...@@ -346,38 +346,38 @@ const server = {
}) })
}, },
getConfigPageList(page,size,data){ // 未知规则配置搜索 getConfigPageList(page,size,data){ // 未知规则配置搜索
return axios('/rule/search/' + page + '/' + size,{ return axios( '/rule/search/' + page + '/' + size,{
method: 'post', method: 'post',
data: data data: data
}) })
}, },
goPg(data){ goPg(data){
return axios(assessment + "/inspect/rapidAssessment",{ return axios("/inspect/rapidAssessment",{
method:"post", method:"post",
data:data data:data
}) })
}, },
pgName(name){ pgName(name){
return axios(assessment + "/evaluation/in/"+ name,{ return axios( "/evaluation/in/"+ name,{
method:"get", method:"get",
}) })
}, },
getTechnology(data){ getTechnology(data){
return axios(assessment + "/evaluation/eva?id="+data.id+'&name='+data.name,{ return axios( "/evaluation/eva?id="+data.id+'&name='+data.name,{
method:"get", method:"get",
}) })
}, },
upZip(data){ upZip(data){
return axios( assessment + "/inspect/uploads",{ return axios( "/inspect/uploads",{
method:"post", method:"post",
data:data data:data
}) })
}, },
upGit(data){ upGit(data){
return axios(assessment +"/inspect/gitdownload",{ return axios("/inspect/gitdownload",{
headers: { headers: {
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论