diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index c59924e25..778caeb7b 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -2,9 +2,9 @@ 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.3.5:9000'; // 袁琪 - BASE_API = 'http://192.168.3.6:9000'; // 旭强 + // BASE_API = 'http://192.168.3.6:9000'; // 旭强 // BASE_API = 'http://192.168.3.41:9000'; // 张赛 // BASE_API = 'http://192.168.3.82:9000'; // 杜康 // BASE_API = 'http://b29z135112.zicp.vip'; diff --git a/src/views/newMap/displayNew/demon/equipment.vue b/src/views/newMap/displayNew/demon/equipment.vue index f30de4670..781517835 100644 --- a/src/views/newMap/displayNew/demon/equipment.vue +++ b/src/views/newMap/displayNew/demon/equipment.vue @@ -1,13 +1,13 @@ - + @@ -61,12 +61,12 @@ export default { StationStand: '站台' } }; - }, - computed: { - project() { + }, + computed: { + project() { return getSessionStorage('project'); - } - }, + } + }, mounted() { EventBus.$on('selectDevice', (data) => { this.selected = data; @@ -100,14 +100,14 @@ export default { item.typeName = this.typeList.find(el => el.value == item.type).label; if (item.vrDeviceCode) { item.vrDeviceName = this.$store.getters['map/getDeviceByCode'](item.vrDeviceCode).name; - } - if (this.project == 'heb' || this.project == 'designheb') { - if (item.type == 'SWITCH') { - this.tableData.push(item); - } - } else { - this.tableData.push(item); - } + } + if (this.project == 'heb' || this.project == 'designheb') { + if (item.type == 'SWITCH') { + this.tableData.push(item); + } + } else { + this.tableData.push(item); + } } }); } catch (error) { diff --git a/src/views/newMap/jlmapNew/index.vue b/src/views/newMap/jlmapNew/index.vue index 27f7b164e..5e1ace4dd 100644 --- a/src/views/newMap/jlmapNew/index.vue +++ b/src/views/newMap/jlmapNew/index.vue @@ -4,18 +4,18 @@
- - + +
- - + +
- 鼠标偏移: + 鼠标偏移: @@ -23,7 +23,7 @@
- +
@@ -52,6 +52,14 @@ export default { ShowMode, SwitchStation }, + props: { + draftShow: { + type: Boolean, + default() { + return false; + } + } + }, data() { return { loading: true, diff --git a/src/views/newMap/jlmapNew/pendant/showMode.vue b/src/views/newMap/jlmapNew/pendant/showMode.vue index ebc19150c..8249bce35 100644 --- a/src/views/newMap/jlmapNew/pendant/showMode.vue +++ b/src/views/newMap/jlmapNew/pendant/showMode.vue @@ -1,5 +1,5 @@