diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js
index ef240edc3..c0569ef83 100644
--- a/src/utils/baseUrl.js
+++ b/src/utils/baseUrl.js
@@ -2,10 +2,10 @@ export function getBaseUrl() {
let BASE_API;
if (process.env.NODE_ENV === 'development') {
// BASE_API = 'https://joylink.club/jlcloud';
- // BASE_API = 'https://test.joylink.club/jlcloud';
+ BASE_API = 'https://test.joylink.club/jlcloud';
// BASE_API = 'http://192.168.8.107:9000'; // 袁琪
// BASE_API = 'http://192.168.8.129:9000'; // 旭强
- BASE_API = 'http://192.168.8.119:9000'; // 张赛
+ // BASE_API = 'http://192.168.8.119:9000'; // 张赛
// BASE_API = 'http://192.168.8.110:9000'; // 杜康
// BASE_API = 'http://b29z135112.zicp.vip';
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
diff --git a/src/views/newMap/displayNew/menuSchema.vue b/src/views/newMap/displayNew/menuSchema.vue
index c6912fb04..995794f76 100644
--- a/src/views/newMap/displayNew/menuSchema.vue
+++ b/src/views/newMap/displayNew/menuSchema.vue
@@ -4,6 +4,7 @@
+ IBP盘
运行图编辑
{{ $t('display.schema.loadScript') }}
@@ -37,6 +38,7 @@ import { getByGroupStationList } from '@/api/jmap/map';
import { getEveryDayRunPlanNew } from '@/api/simulation';
import { getSessionStorage } from '@/utils/auth';
import { getToken } from '@/utils/auth';
+import { getIbpInfoByStation } from '@/api/ibp';
// 右上角操作
export default {
@@ -238,6 +240,34 @@ export default {
}
});
window.open(routeData.href, '_blank', 'noopener noreferrer');
+ },
+ goIbp() {
+ const deviceCode = this.$refs.selectStation.showStation;
+ getIbpInfoByStation(this.$route.query.mapId, deviceCode).then(resp => {
+ if (resp.data) {
+ const routeData = this.$router.resolve({
+ path:`/ibpShow`,
+ query:{
+ lineCode: this.$route.query.lineCode,
+ mapId: this.$route.query.mapId,
+ group: this.$route.query.group,
+ stationCode: deviceCode,
+ loadAll: true,
+ noPreLogout: true
+ }
+ });
+ window.open(routeData.href, '_blank', 'noopener noreferrer');
+ } else {
+ this.$messageBox('本车站暂无IBP盘数据!');
+ }
+ }).catch((error) => {
+ if (error.code == '10007') {
+ this.$messageBox('本车站暂无IBP盘数据!');
+ } else {
+ this.$message.error('获取IBP盘数据异常');
+ }
+ });
+
}
}
};
diff --git a/src/views/newMap/displayNew/selectStation.vue b/src/views/newMap/displayNew/selectStation.vue
index 5cff24b77..6171008e2 100644
--- a/src/views/newMap/displayNew/selectStation.vue
+++ b/src/views/newMap/displayNew/selectStation.vue
@@ -1,10 +1,11 @@
-
+