组盘打印
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import store from '@/vuex/store'
|
||||
// #ifdef APP-PLUS
|
||||
window = {
|
||||
location: {
|
||||
@@ -13,8 +13,8 @@ window = {
|
||||
var CLODOP = {
|
||||
strWebPageID:"JL68836",
|
||||
strTaskID: "",
|
||||
strHostURI: "http://192.168.81.198:8000",
|
||||
wsHostURI: "ws://192.168.81.198:8000/c_webskt/",
|
||||
strHostURI: store.getters.printUrl,
|
||||
wsHostURI: "ws://" + store.getters.printUrl.slice(7) + "/c_webskt/",
|
||||
VERSION:"6.2.2.0",
|
||||
IVERSION:"6220",
|
||||
CVERSION:"3.0.2.5",
|
||||
@@ -122,8 +122,9 @@ window = {
|
||||
}
|
||||
console.log(this.webskt)
|
||||
console.log(CLODOP.wsHostURI)
|
||||
console.log(rest)
|
||||
let ip = uni.getStorageSync('fl_ip') || '192.168.81.198';
|
||||
console.log(rest)
|
||||
let iparr = store.getters.printUrl.split(":")
|
||||
let ip = iparr[1].slice(2);
|
||||
let wsHostURI = `ws://${ip}:8000/c_webskt/`
|
||||
this.SocketEnable = true;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user