新建工成
This commit is contained in:
36
common/api/gc.js
Normal file
36
common/api/gc.js
Normal file
@@ -0,0 +1,36 @@
|
||||
import request from '../js/request';
|
||||
import config from '../js/config';
|
||||
|
||||
export function addEngineering(params, files) {
|
||||
return request({
|
||||
url: '/engineering/addEngineering',
|
||||
method: 'post',
|
||||
data: params,
|
||||
header: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function auditEngineering(params) {
|
||||
return request({
|
||||
url: '/engineering/auditEngineering',
|
||||
method: 'post',
|
||||
data: params,
|
||||
header: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
export function queryEngineering(params) {
|
||||
return request({
|
||||
url: '/engineering/queryEngineering',
|
||||
method: 'post',
|
||||
data: params,
|
||||
header: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user