|
@@ -1,8 +1,8 @@
|
|
|
import {
|
|
|
requestInstance,
|
|
|
requestInstance_Address,
|
|
|
- requestInstance_Boat, requestInstance_proxy_form,
|
|
|
- requestInstance_proxy_token
|
|
|
+ requestInstance_Boat,
|
|
|
+ requestInstance_proxy_token, requestInstance_proxyProject_form, requestInstance_proxyProject_token
|
|
|
} from "@/service/index";
|
|
|
export function getMyApplyHomeTableDataSj(params) {
|
|
|
return requestInstance({
|
|
@@ -94,8 +94,8 @@ export function pipeCollision(params){
|
|
|
|
|
|
|
|
|
export function getGeologyAnalysisData(params){
|
|
|
- return requestInstance_proxy_token({
|
|
|
- url:'/CIMAPI/api/v1/momitor/cfy/getGeologyAnalysisData',
|
|
|
+ return requestInstance_proxyProject_token({
|
|
|
+ url:'/shangKan/getGeologyAnalysisData',
|
|
|
params:{
|
|
|
"modelId":1075,
|
|
|
"x":params.x,
|
|
@@ -105,11 +105,11 @@ export function getGeologyAnalysisData(params){
|
|
|
}
|
|
|
|
|
|
export function getGeologyProfileByPoints(params){
|
|
|
- return requestInstance_proxy_token({
|
|
|
- url:'/CIMAPI/api/v1/momitor/cfy/getGeologyProfileByPoints',
|
|
|
+ return requestInstance_proxyProject_token({
|
|
|
+ url:'/shangKan/getGeologyProfileByPoints',
|
|
|
params:{
|
|
|
"modelId":1075,
|
|
|
- "positions":params.positions,
|
|
|
+ "positions":encodeURIComponent(params.positions),
|
|
|
"height":"200",
|
|
|
}
|
|
|
})
|
|
@@ -117,11 +117,11 @@ export function getGeologyProfileByPoints(params){
|
|
|
|
|
|
|
|
|
export function getGeologyAnalysisDataByPoints(params){
|
|
|
- return requestInstance_proxy_token({
|
|
|
- url:'/CIMAPI/api/v1/momitor/cfy/getGeologyAnalysisDataByPoints',
|
|
|
+ return requestInstance_proxyProject_token({
|
|
|
+ url:'/shangKan/getGeologyAnalysisDataByPoints',
|
|
|
params:{
|
|
|
"modelId":1075,
|
|
|
- "positions":params.positions,
|
|
|
+ "positions":encodeURIComponent(params.positions),
|
|
|
"height":params.height,
|
|
|
}
|
|
|
})
|
|
@@ -129,12 +129,12 @@ export function getGeologyAnalysisDataByPoints(params){
|
|
|
|
|
|
|
|
|
export function getPileBearingCapacityData(params){
|
|
|
- return requestInstance_proxy_token({
|
|
|
- url:'/CIMAPI/api/v1/momitor/cfy/getPileBearingCapacityData',
|
|
|
+ return requestInstance_proxyProject_token({
|
|
|
+ url:'/shangKan/getPileBearingCapacityData',
|
|
|
params:{
|
|
|
//"modelId":1075,
|
|
|
"modelId":params.modelId,
|
|
|
- "positions":params.positions,
|
|
|
+ "positions":encodeURIComponent(params.positions),
|
|
|
"lengthX":params.distance,
|
|
|
"length":params.length,
|
|
|
}
|
|
@@ -149,8 +149,8 @@ export function mergeHoleFenceng(params,file){
|
|
|
Object.keys(params).forEach(key => {
|
|
|
formData.append(key, params[key]);
|
|
|
});
|
|
|
- return requestInstance_proxy_form({
|
|
|
- url:'/CIMAPI/api/v1/Stratseq/mergeHoleFenceng',
|
|
|
+ return requestInstance_proxyProject_form({
|
|
|
+ url:'/shangKan/mergeHoleFenceng',
|
|
|
data:formData
|
|
|
})
|
|
|
}
|