修改工业库、kkfileview访问链接
This commit is contained in:
parent
967e5a7188
commit
ff49b8df0e
3
env/.env.development
vendored
3
env/.env.development
vendored
@ -4,5 +4,6 @@ NODE_ENV = 'development'
|
||||
VITE_DELETE_CONSOLE = false
|
||||
# 是否开启sourcemap
|
||||
VITE_SHOW_SOURCEMAP = true
|
||||
VITE_SERVER_BASEURL = 'http://10.75.15.249:8080/jeecg-boot'
|
||||
#VITE_SERVER_BASEURL = 'http://10.75.15.249:8080/jeecg-boot'
|
||||
#VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot'
|
||||
VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/jeecg-boot'
|
@ -17,7 +17,7 @@
|
||||
<wd-col :span="6">
|
||||
<view class="img">
|
||||
<image mode="aspectFit"
|
||||
:src="'https://36.112.48.190/jeecg-boot/sys/common/static/' + imgUrl"></image>
|
||||
:src="'https://szcx.zyyt.sinopec.com/jeecg-boot/sys/common/static/' + imgUrl"></image>
|
||||
</view>
|
||||
</wd-col>
|
||||
</wd-row>
|
||||
|
@ -76,10 +76,10 @@
|
||||
let insFlag = res.result.insFlag
|
||||
if (url) {
|
||||
if (isH5()) {
|
||||
fileUrl.value = 'https://36.112.48.190/preview/onlinePreview?url=' + encodeURIComponent(
|
||||
fileUrl.value = 'https://szcx.zyyt.sinopec.com/preview/onlinePreview?url=' + encodeURIComponent(
|
||||
Base64.encode(baseUrl + url))
|
||||
} else {
|
||||
fileUrl.value = 'https://36.112.48.190/preview/onlinePreview?url=' + encodeURIComponent(
|
||||
fileUrl.value = 'https://szcx.zyyt.sinopec.com/preview/onlinePreview?url=' + encodeURIComponent(
|
||||
new base64().encode(baseUrl + url))
|
||||
}
|
||||
} else if (/^-?\d+$/.test(quote) && !insFlag) {
|
||||
|
@ -27,7 +27,7 @@
|
||||
onLoad((options) => {
|
||||
let Base64 = new base64();
|
||||
var url = baseUrl + JSON.parse(options.data);
|
||||
fileUrl = 'https://36.112.48.190/preview/onlinePreview?url=' + encodeURIComponent(Base64.encode(url))
|
||||
fileUrl = 'https://szcx.zyyt.sinopec.com/preview/onlinePreview?url=' + encodeURIComponent(Base64.encode(url))
|
||||
})
|
||||
</script>
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
onLoad((options) => {
|
||||
let url = JSON.parse(options.data)
|
||||
url = baseUrl + url;
|
||||
fileUrl = 'https://36.112.48.190/preview/onlinePreview?url=' + encodeURIComponent(Base64.encode(url))
|
||||
fileUrl = 'https://szcx.zyyt.sinopec.com/preview/onlinePreview?url=' + encodeURIComponent(Base64.encode(url))
|
||||
})
|
||||
</script>
|
||||
|
||||
|
@ -90,8 +90,8 @@
|
||||
|
||||
const jlData = ref([])
|
||||
|
||||
const sssjUrl = ref('wss://36.112.48.190/Gyk/websocket/')
|
||||
const jlByzc = ref('https://36.112.48.190/Gyk/sssj/GetJlByZc')
|
||||
const sssjUrl = ref('wss://szcx.zyyt.sinopec.com/Gyk/websocket/')
|
||||
const jlByzc = ref('https://szcx.zyyt.sinopec.com/Gyk/sssj/GetJlByZc')
|
||||
|
||||
//首先链接的地址要先拿在websocket在线调试去调试是否能连接通 不然下面的操作就不知道错误
|
||||
// 建立websocket
|
||||
|
Loading…
Reference in New Issue
Block a user