修改工业库、kkfileview访问链接

This commit is contained in:
yangzhq68909 2025-06-03 18:37:08 +08:00
parent 967e5a7188
commit ff49b8df0e
6 changed files with 10 additions and 9 deletions

View File

@ -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 = 'https://36.112.48.190/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'

View File

@ -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>

View File

@ -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) {

View File

@ -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>

View File

@ -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>

View File

@ -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