diff --git a/src/api/pdf.js b/src/api/pdf.js
index f1bb463b3..dbedb2109 100644
--- a/src/api/pdf.js
+++ b/src/api/pdf.js
@@ -1,13 +1,22 @@
import request from '@/utils/request';
-/** 创建分组 */
+/** 创建 */
export function postUploadFile(data) {
return request({
- url: `/api/file`,
+ url: `/api/file/basic`,
method: 'post',
data
});
}
+
+// /** 复制一条文件基础信息 */
+// export function copyUploadFile(id) {
+// return request({
+// url: `/api/file/basic/copy/${id}`,
+// method: 'post'
+// });
+// }
+
// 查询
export function getUploadFile(params) {
return request({
@@ -19,15 +28,27 @@ export function getUploadFile(params) {
// 修改
export function putUploadFile(data) {
return request({
- url: `/api/file`,
+ url: `/api/file/basic`,
method: 'put',
data
});
}
// 删除
-export function deleteUploadFile(data) {
+export function deleteUploadFile(id) {
return request({
- url: `/api/file`,
+ url: `/api/file/${id}`,
method: 'delete'
});
}
+
+// 查询文件绑定信息
+export function getFileBindInfo(fileId, mapId) {
+ return request({
+ url: `/api/file/binding/${fileId}/${mapId}`,
+ method: 'get'
+ });
+}
+
+/** */
+// @GetMapping("")
+
diff --git a/src/assets/icon/favicon_zzww.png b/src/assets/icon/favicon_zzww.png
new file mode 100644
index 000000000..6ab5df6e2
Binary files /dev/null and b/src/assets/icon/favicon_zzww.png differ
diff --git a/src/jmapNew/theme/datie_01/menus/dialog/drawSelect.vue b/src/jmapNew/theme/datie_01/menus/dialog/drawSelect.vue
new file mode 100644
index 000000000..b7daa3883
--- /dev/null
+++ b/src/jmapNew/theme/datie_01/menus/dialog/drawSelect.vue
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 打开
+
+
+
+
+
+
+
+
+
+
diff --git a/src/jmapNew/theme/datie_01/menus/menuSection.vue b/src/jmapNew/theme/datie_01/menus/menuSection.vue
index 4668fa699..3b3ea698a 100644
--- a/src/jmapNew/theme/datie_01/menus/menuSection.vue
+++ b/src/jmapNew/theme/datie_01/menus/menuSection.vue
@@ -7,6 +7,7 @@
+
@@ -21,9 +22,9 @@ import { mapGetters } from 'vuex';
import CMD from '@/scripts/cmdPlugin/CommandEnum';
import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler';
import { DeviceMenu, OperateMode } from '@/scripts/ConstDic';
-import MenuContextHandler from '@/scripts/cmdPlugin/MenuContextHandler';
import { menuOperate, commitOperate } from '@/jmapNew/theme/components/utils/menuOperate';
import LoadSpareTrain from '@/jmapNew/theme/components/menus/dialog/loadSpareTrain';
+import DrawSelect from './dialog/drawSelect';
export default {
name: 'SectionMenu',
@@ -34,7 +35,8 @@ export default {
NoticeInfo,
TrainAddPlan,
SetFault,
- LoadSpareTrain
+ LoadSpareTrain,
+ DrawSelect
},
props: {
selected: {
@@ -49,6 +51,10 @@ export default {
menu: [],
menuNormal: {
Local: [
+ {
+ label: '图纸调用',
+ handler: this.drawingCall
+ }
],
Center: [
// {
@@ -119,7 +125,8 @@ export default {
initMenu() {
// 编辑模式菜单列表
if (this.selected.type != '04') {
- this.menu = MenuContextHandler.covert(this.menuNormal);
+ // this.menu = MenuContextHandler.covert(this.menuNormal);
+ this.menu = this.menuNormal.Local;
} else {
this.menu = [];
}
@@ -128,6 +135,9 @@ export default {
this.menu = this.menuForce;
}
},
+ drawingCall() {
+ this.$refs.drawSelect.doShow(this.selected);
+ },
doShow(point) {
this.initMenu();
if (this.$refs && this.$refs.popMenu && this.menu && this.menu.length) {
diff --git a/src/jmapNew/theme/datie_01/menus/menuSignal.vue b/src/jmapNew/theme/datie_01/menus/menuSignal.vue
index 1a979a97c..3aca00977 100644
--- a/src/jmapNew/theme/datie_01/menus/menuSignal.vue
+++ b/src/jmapNew/theme/datie_01/menus/menuSignal.vue
@@ -8,6 +8,7 @@
+
@@ -28,6 +29,7 @@ import CMD from '@/scripts/cmdPlugin/CommandEnum';
import MenuContextHandler from '@/scripts/cmdPlugin/MenuContextHandler';
import PasswordBox from '@/jmapNew/theme/components/menus/childDialog/passwordInputBox';
import {menuOperate, commitOperate} from '@/jmapNew/theme/components/utils/menuOperate';
+import DrawSelect from './dialog/drawSelect';
export default {
name: 'SignalMenu',
@@ -40,7 +42,8 @@ export default {
RouteGuide,
NoticeInfo,
PasswordBox,
- SetFault
+ SetFault,
+ DrawSelect
},
props: {
selected: {
@@ -55,6 +58,10 @@ export default {
menu: [],
menuNormal: {
Local: [
+ {
+ label: '图纸调用',
+ handler: this.drawingCall
+ }
// {
// label: '办理进路',
// handler: this.arrangementRoute,
@@ -190,13 +197,16 @@ export default {
methods: {
initMenu() {
// 编辑模式菜单列表
- this.menu = MenuContextHandler.covert(this.menuNormal);
-
+ // this.menu = MenuContextHandler.covert(this.menuNormal);
+ this.menu = this.menuNormal.Local;
// 故障模式菜单列表
if (this.operatemode === OperateMode.FAULT) {
this.menu = this.menuForce;
}
},
+ drawingCall() {
+ this.$refs.drawSelect.doShow(this.selected);
+ },
doShow(point) {
this.initMenu();
if (this.$refs && this.$refs.popMenu && this.menu && this.menu.length) {
diff --git a/src/jmapNew/theme/datie_01/menus/menuStation.vue b/src/jmapNew/theme/datie_01/menus/menuStation.vue
index 1224a3895..b84a424e4 100644
--- a/src/jmapNew/theme/datie_01/menus/menuStation.vue
+++ b/src/jmapNew/theme/datie_01/menus/menuStation.vue
@@ -1,6 +1,7 @@
@@ -8,7 +9,7 @@
diff --git a/src/jmapNew/theme/nanjing_02/menus/menuButton.vue b/src/jmapNew/theme/nanjing_02/menus/menuButton.vue
index 0c7fd6da2..62ec04ab5 100644
--- a/src/jmapNew/theme/nanjing_02/menus/menuButton.vue
+++ b/src/jmapNew/theme/nanjing_02/menus/menuButton.vue
@@ -84,8 +84,8 @@
车次号
-
-
+
+
@@ -98,7 +98,7 @@
新车组号
-
+
新轨道号
diff --git a/src/scripts/ProjectConfig.js b/src/scripts/ProjectConfig.js
index 12f846df8..080120e0f 100644
--- a/src/scripts/ProjectConfig.js
+++ b/src/scripts/ProjectConfig.js
@@ -15,6 +15,7 @@ import FaviconNty from '@/assets/icon/favicon_nty.png';
import FaviconBjd from '@/assets/icon/favicon_bjd.png';
import FaviconSdy from '@/assets/icon/favicon_jdy.png';
import FaviconCgy from '@/assets/icon/favicon_cgy.png';
+import FaviconZzww from '@/assets/icon/favicon_zzww.png';
import Link_Bxkc from '@/assets/icon/link_bxkc.png';
import Link_Crsc from '@/assets/icon/link_crsc.png';
import Link_Hls from '@/assets/icon/link_hls.png';
@@ -37,9 +38,10 @@ export const loginInfo = {
title: '共赢列车仿真驾驶系统',
loginPath: '/login?project=zzww',
loginParam: 'ZZWW',
- titleDistance: '-150px',
- navigationLogoWidth: '40px',
- navigationMarginLeft: '60px',
+ loginTitle: '空串',
+ logoWidth: '140px',
+ navigationLogoWidth: '120px',
+ navigationMarginLeft: '140px',
systemType: '011'
},
bjd: {
@@ -428,7 +430,7 @@ export const loginInfo = {
export const ProjectIcon = {
xty: FaviconXty,
- zzww: FaviconXty,
+ zzww: FaviconZzww,
login: Favicon,
design: Favicon,
designxty: FaviconXty,
diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js
index 11702c286..648fd20ce 100644
--- a/src/utils/baseUrl.js
+++ b/src/utils/baseUrl.js
@@ -2,11 +2,11 @@ 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.3.83:9000'; // 旭强 有线
// BASE_API = 'http://192.168.8.114:9000'; // 旭强 无线
- // BASE_API = 'http://192.168.3.120:9000'; // 张赛
+ BASE_API = 'http://192.168.3.120:9000'; // 张赛
// BASE_API = 'http://192.168.8.140:9000'; // 杜康
// BASE_API = 'http://b29z135112.zicp.vip';
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
diff --git a/src/views/newMap/displayCity/menuDemon.vue b/src/views/newMap/displayCity/menuDemon.vue
index 7f35d8f99..c6e0837da 100644
--- a/src/views/newMap/displayCity/menuDemon.vue
+++ b/src/views/newMap/displayCity/menuDemon.vue
@@ -210,7 +210,7 @@ export default {
});
this.$jlmap.updateShowStation(list, deviceId);
}
- // 'Station83189';
+ this.$jlmap.setCenter(deviceId);
if (this.try != '0') {
this.loadInitData();
}
diff --git a/src/views/uploadPdf/bindMap.vue b/src/views/uploadPdf/bindMap.vue
new file mode 100644
index 000000000..544806543
--- /dev/null
+++ b/src/views/uploadPdf/bindMap.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
diff --git a/src/views/uploadPdf/edit.vue b/src/views/uploadPdf/edit.vue
index 482b794a6..74ff697e3 100644
--- a/src/views/uploadPdf/edit.vue
+++ b/src/views/uploadPdf/edit.vue
@@ -1,6 +1,7 @@
+ {{ message }}