Explorar o código

更新系统访问地址

嘀嘀嘀 hai 1 ano
pai
achega
776f2279d4

+ 1 - 1
src/config/patrol.js

@@ -14,7 +14,7 @@ export default {
      */
     baseUrl: {
         dev: '/request_patrol',
-        pro: 'https://www.jxydyw.cn/patrol-web'
+        pro: 'https://xj.chuanghai-tech.com/patrol-web'
     },
 
     /**

+ 1 - 1
src/views/patrol/device/device/index.vue

@@ -241,7 +241,7 @@ export default {
     // 下载模板
     fileDownload() {
       // TODO 修改文件地址
-      saveAs('https://www.jxydyw.cn/doc/device.xlsx')
+      saveAs('https://xj.chuanghai-tech.com/doc/device.xlsx')
     },
 
     // 上传文件

+ 1 - 1
src/views/patrol/device/room/index.vue

@@ -247,7 +247,7 @@ export default {
 
     // 房间二维码
     onQRCode(row) {
-      let url = encodeURIComponent(`https://www.jxydyw.cn/exitwritoff/pages/onsitpection/selectplain/selectplain?id=${row.id}`)
+      let url = encodeURIComponent(`https://xj.chuanghai-tech.com/exitwritoff/pages/onsitpection/selectplain/selectplain?id=${row.id}`)
       let qrUrl = `http://yun.huaxiyou.cc/internal.qcode.stream?dstUrl=${url}`;
       this.$alert(`<img id="qrcode" src="${qrUrl}" style="width:100%; height:100%">`, `【${row.name}】二维码`, {
             dangerouslyUseHTMLString: true,

+ 2 - 2
src/views/patrol/visitor/audit/index.vue

@@ -364,7 +364,7 @@ export default {
 
     // 进入登记二维码
     showQrCodeIn() {
-      let url = encodeURIComponent(`https://www.jxydyw.cn/visited/pages/writeoff/register/register`)
+      let url = encodeURIComponent(`https://xj.chuanghai-tech.com/visited/pages/writeoff/register/register`)
       let qrUrl = `https://yun.huaxiyou.cc/internal.qcode.stream?dstUrl=${url}`;
       this.$alert(`<img src="${qrUrl}" style="width:100%; height:100%">`, `进入登记二维码`, {
             dangerouslyUseHTMLString: true,
@@ -380,7 +380,7 @@ export default {
 
     // 出场核销二维码
     showQrCodeOut() {
-      let url = encodeURIComponent(`https://www.jxydyw.cn/register/pages/writeoff/exitwritoff/exitwritoff`)
+      let url = encodeURIComponent(`https://xj.chuanghai-tech.com/register/pages/writeoff/exitwritoff/exitwritoff`)
       let qrUrl = `https://yun.huaxiyou.cc/internal.qcode.stream?dstUrl=${url}`;
       this.$alert(`<img src="${qrUrl}" style="width:100%; height:100%">`, `出场核销二维码`, {
         dangerouslyUseHTMLString: true,

+ 3 - 2
vue.config.js

@@ -12,7 +12,7 @@ function resolve(dir) {
 
 module.exports = {
     // 默认为'/'。基本路径
-    publicPath: '/', //
+    publicPath: '/manageWeb/', //
 
     // 默认为'dist'。输出文件目录
     outputDir: 'dist',
@@ -187,6 +187,7 @@ module.exports = {
         port: 8088,
         https: false,
         hotOnly: true,
+        // assetsPublicPath: '/manageWeb',
         proxy: { // 设置代理
             '/app': {
                 target: 'http://localhost:8897/', // 设置你调用的接口域名和端口号 别忘了加http
@@ -199,7 +200,7 @@ module.exports = {
             },
             '/request_patrol': {
                 // target: 'https://www.jxydyw.cn/patrol-web',//线下
-                target: 'http://172.22.45.21:82/patrol-web',//正式
+                target: 'https://xj.chuanghai-tech.com/patrol-web',//正式
                 // target: 'http://localhost/patrol-web',
                 // target: 'http://localhost:8899',
                 changeOrigin: true,