From 2a4577f606577069c53ee2bc1743dbb45310ea05 Mon Sep 17 00:00:00 2001 From: caoyang Date: Tue, 15 Mar 2022 18:17:30 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/ueditor/index.vue | 103 +++++++++++++++ .../src/views/documentManage/ocr/index.vue | 10 +- .../splitting/modules/splitAddForm.vue | 120 +++++++++++++++++- .../documentManage/tags/tabs/tagItem.vue | 10 +- 4 files changed, 230 insertions(+), 13 deletions(-) create mode 100644 jero-web/src/components/ueditor/index.vue diff --git a/jero-web/src/components/ueditor/index.vue b/jero-web/src/components/ueditor/index.vue new file mode 100644 index 000000000..06861d0db --- /dev/null +++ b/jero-web/src/components/ueditor/index.vue @@ -0,0 +1,103 @@ + + + + diff --git a/jero-web/src/views/documentManage/ocr/index.vue b/jero-web/src/views/documentManage/ocr/index.vue index c32bcc3e7..7c6620d56 100644 --- a/jero-web/src/views/documentManage/ocr/index.vue +++ b/jero-web/src/views/documentManage/ocr/index.vue @@ -184,8 +184,8 @@ console.log("------------WebSocket连接成功"); // WebSocket与普通的请求所用协议有所不同,ws等同于http,wss等同于https let userId = store.getters.userInfo.id; - // let url = window._CONFIG['domianWebSocketURL'].replace("https://","wss://").replace("http://","ws://") + '/websocket/socketServer' - let url = 'http://139.9.235.66:8008/jero-boot'.replace("https://","wss://").replace("http://","ws://") + '/websocket/socketServer' + let url = window._CONFIG['domianWebSocketURL'].replace("https://","wss://").replace("http://","ws://") + '/websocket/socketServer' + // let url = 'http://139.9.235.66:8008/jero-boot'.replace("https://","wss://").replace("http://","ws://") + '/websocket/socketServer' this.websock = new WebSocket(url); this.websock.onopen = this.websocketOnopen; this.websock.onerror = this.websocketOnerror; @@ -201,7 +201,7 @@ this.timer = setInterval(() => { try { self.websock.send('test') - console.log('发送消息'); + // console.log('发送消息'); }catch(err){ console.log('断开了:' + err); self.connection() @@ -213,9 +213,9 @@ this.reconnect(); }, websocketOnmessage: function (e) { - console.log("WebSocket连接数据1111",e); + // console.log("WebSocket连接数据1111",e); if(e.data=='1'){ - console.log('data改变') + // console.log('data改变') eventBUs.$emit('searchReset') } }, diff --git a/jero-web/src/views/documentManage/splitting/modules/splitAddForm.vue b/jero-web/src/views/documentManage/splitting/modules/splitAddForm.vue index 5ec082241..25b804762 100644 --- a/jero-web/src/views/documentManage/splitting/modules/splitAddForm.vue +++ b/jero-web/src/views/documentManage/splitting/modules/splitAddForm.vue @@ -117,6 +117,17 @@ + + + + @@ -125,13 +136,16 @@