Browse Source

http首页路径替换

ljj 6 năm trước cách đây
mục cha
commit
dbfb8f535f
2 tập tin đã thay đổi với 6 bổ sung4 xóa
  1. 5 3
      js/api/http-request.js
  2. 1 1
      page/bigDataOut/js/index.js

+ 5 - 3
js/api/http-request.js

@ -10,11 +10,13 @@
	if(publish_version) { // 生产环境配置
		server = "http://jksr.srswjw.gov.cn:1235";
		alertUrl="http://jksr.srswjw.gov.cn:1235/bigScreenShow";
		 getServer=server +'/gateway/pack-analyzer'
		 getServer=server +'/gateway/resource'
	} else { // 测试环境配置
		server = "http://172.19.103.70:1235"; // 测试环境
		server = "http://192.168.131.121:10220/"; // 测试环境
		getServer=server // 如果是测试环境的话也需要加网关
		// server = "http://192.168.131.121:10220/"; // 晓阳
		// server = "http://172.19.103.74:10220"; // 永兴
	
		getServer=server +'/gateway/resource'
		alertUrl="http://172.19.103.70:1235/bigScreenShow";
//		server = "http://192.168.131.104:9088"; // 测试环境 周杰
//		 server = "http://192.168.131.105:9088"; // 测试环境 兴旺

+ 1 - 1
page/bigDataOut/js/index.js

@ -72,7 +72,7 @@ new Vue({
				window.open('../../bigData/html/medical.html')
				  break;
				case '2-2':
				window.open('../../bigData/html/medical.html')
				window.open('../../bigData/html/insurance.html')
				  break;
				case '2-3':
				window.open('../../bigData/html/home.html')