add 大屏调用客户环境接口

This commit is contained in:
zhaoxiao
2022-11-22 09:40:44 +08:00
parent c5c7c5be30
commit 25389f84c0
8 changed files with 44 additions and 21 deletions
+8
View File
@@ -0,0 +1,8 @@
import { getAction } from '@/screenApi/manage'
// 汽车标准项目总体情况;包括发布的国行标、在研的国行标、立项上报的国行标、外文版项目数量
const StanderProjectGeneralSituation = (params) => getAction( '/serviceInterface/getDpData1', params)
export {
StanderProjectGeneralSituation
}
+5 -3
View File
@@ -3,10 +3,12 @@
*/
import { axios } from '@/screenRequest/request'
export function screenGetAction(baseUrl, url, parameter) {
const baseUrl = '/zxd'
export function getAction(url, parameter) {
return axios({
url: baseUrl + url,
method:'post' ,
data: parameter
method: 'get',
params: parameter
})
}