Переглянути джерело

配置文件新增一个配置

hpAlivsliu 6 місяців тому
батько
коміт
43c224f4ef

+ 4 - 2
public/config.js

@@ -7,8 +7,9 @@ window.globalVariables = window.GLOBAL_CONFIG = isDev ?
     // api: ' http:/10.100,101.120:86',//英山一中打包用
     // login: 'https://qqyxt.bozedu.net/app/activityRating/home/login.html',
     // wpsserver: 'http://60.188.226.44:8001/loading.html',
-
     // origin: window.location.origin + '/app/xdbg/',
+
+    installLink:'https://wpsoas.bozedu.top/install.html',
     wpsserver: 'https://wpsoas.bozedu.top/loading.html',
     microsoftPreview: 'https://view.officeapps.live.com/op/view.aspx?src=',
     docxPreview:'https://qqyxtjnmfopenapi.bozedu.top/',
@@ -20,8 +21,9 @@ window.globalVariables = window.GLOBAL_CONFIG = isDev ?
     // api: ' http:/10.100,101.120:86',//英山一中打包用
     // login: 'https://qqyxt.bozedu.net/app/activityRating/home/login.html',
     // wpsserver: 'http://60.188.226.44:8001/loading.html',
-
     origin: window.location.origin + '/xiao',
+
+    installLink:'https://wpsoas.bozedu.net/install.html',
     wpsserver: 'https://wpsoas.bozedu.net/loading.html',
     microsoftPreview: 'https://view.officeapps.live.com/op/view.aspx?src=',
     docxPreview:'https://qqyxtjnmfopenapi.bozedu.net/',

+ 1 - 1
src/views/gwglxt/dbfw/index.vue

@@ -325,7 +325,7 @@ export default {
       });
     },
     initWpsAss() {
-      let installLink = "http://60.188.226.44:8001/install.html";
+      let installLink = window.globalVariables.installLink;
       window.open(installLink, '_blank');
     },
     //多选

+ 1 - 1
src/views/gwglxt/dbfw/sh/index.vue

@@ -377,7 +377,7 @@ export default {
         });
     },
     initWpsAss() {
-      let installLink = "http://60.188.226.44:8001/install.html";
+      let installLink = window.globalVariables.installLink;
       window.open(installLink, '_blank');
     },
     handleSelectionChange(val) {

+ 1 - 1
src/views/gwglxt/dygw/index.vue

@@ -614,7 +614,7 @@ export default {
     },
     //WPS 初始化
     initWpsAss() {
-      let installLink = "http://60.188.226.44:8001/install.html";
+      let installLink = window.globalVariables.installLink;
       window.open(installLink, "_blank");
     },
 

+ 1 - 1
src/views/gwglxt/fwng/index.vue

@@ -869,7 +869,7 @@ export default {
     },
     //初始化wps 插件地址安装
     initWpsAss() {
-      let installLink = "http://60.188.226.44:8001/install.html";
+      let installLink = window.globalVariables.installLink;
       window.open(installLink, '_blank')
     },
     //开启的类别

+ 1 - 1
src/views/gwglxt/gwjh/index.vue

@@ -450,7 +450,7 @@ export default {
       });
     },
     initWpsAss() {
-      let installLink = "http://60.188.226.44:8001/install.html";
+      let installLink = window.globalVariables.installLink;
       window.open(installLink, '_blank');
     },
     //多选

+ 1 - 1
src/views/gwglxt/gwk/index.vue

@@ -261,7 +261,7 @@ export default {
       });
     },
     initWpsAss() {
-      let installLink = "http://60.188.226.44:8001/install.html";
+      let installLink = window.globalVariables.installLink;
       window.open(installLink, '_blank');
     },
     //头部多选

+ 1 - 1
src/views/gwglxt/wdfw/index.vue

@@ -708,7 +708,7 @@ export default {
       });
     },
     initWpsAss() {
-      let installLink = "http://60.188.226.44:8001/install.html";
+      let installLink = window.globalVariables.installLink;
       window.open(installLink, '_blank');
     },
     //操作模块-预览