Commit 251be043 authored by 彭令令's avatar 彭令令

新增预生产标志

parent ccf91dbe
...@@ -10,7 +10,7 @@ var nbbd10414 = ""; ...@@ -10,7 +10,7 @@ var nbbd10414 = "";
var nbbd10420 = ""; var nbbd10420 = "";
var prefix = ""; var prefix = "";
$(function() { $(function() {
if (config.environmental == 'test') { if (config.environmental == 'test' || config.environmental =='preProduce') {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
prefix = "/web/online"; prefix = "/web/online";
......
...@@ -5,7 +5,7 @@ var ccxwsBblxDm = ['12101'] ...@@ -5,7 +5,7 @@ var ccxwsBblxDm = ['12101']
var Author; var Author;
var prefix = ""; var prefix = "";
$(function() { $(function() {
if (config.environmental == 'test') { if (config.environmental == 'test' || config.environmental =='preProduce') {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
prefix = "/web/online"; prefix = "/web/online";
......
...@@ -13,7 +13,7 @@ var prefix = ""; ...@@ -13,7 +13,7 @@ var prefix = "";
var djXh = "" var djXh = ""
var Authorization = "" var Authorization = ""
$(function () { $(function () {
if (config.environmental == 'test') { if (config.environmental == 'test' || config.environmental =='preProduce') {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
prefix = "/web/online"; prefix = "/web/online";
......
...@@ -6,7 +6,7 @@ var token = ""; ...@@ -6,7 +6,7 @@ var token = "";
var yhsSyxx = {}; var yhsSyxx = {};
var prefix = ""; var prefix = "";
$(function() { $(function() {
if (config.environmental == 'test') { if (config.environmental == 'test' || config.environmental =='preProduce') {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
prefix = "/web/online"; prefix = "/web/online";
......
...@@ -5,7 +5,7 @@ var yearBblxDm = ['10414', '10420']; ...@@ -5,7 +5,7 @@ var yearBblxDm = ['10414', '10420'];
var sfyhzctsBz = ""; var sfyhzctsBz = "";
var prefix = ""; var prefix = "";
$(function() { $(function() {
if (config.environmental == 'test') { if (config.environmental == 'test' || config.environmental =='preProduce') {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
prefix = "/web/online"; prefix = "/web/online";
......
...@@ -6,7 +6,7 @@ var djXh = "" ...@@ -6,7 +6,7 @@ var djXh = ""
var prefix = ""; var prefix = "";
var unionPzzl = "10101|10102|10320|16501|16502|16503|16504"; var unionPzzl = "10101|10102|10320|16501|16502|16503|16504";
$(function () { $(function () {
if (config.environmental == 'test') { if (config.environmental == 'test' || config.environmental =='preProduce') {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
prefix = "/web/online"; prefix = "/web/online";
......
...@@ -13,7 +13,7 @@ var prefix = ""; ...@@ -13,7 +13,7 @@ var prefix = "";
var AuthorizationBz = "" var AuthorizationBz = ""
var operateType = ""; var operateType = "";
$(function() { $(function() {
if (config.environmental == 'test') { if (config.environmental == 'test' || config.environmental =='preProduce') {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
prefix = "/web/online"; prefix = "/web/online";
......
...@@ -9,7 +9,7 @@ var zhsbPzzl = "10101|10102|11602|10401|10402|10110|10902|10112|10113"; ...@@ -9,7 +9,7 @@ var zhsbPzzl = "10101|10102|11602|10401|10402|10110|10902|10112|10113";
var prefix = ""; var prefix = "";
$(function () { $(function () {
if (config.environmental == 'test') { if (config.environmental == 'test' || config.environmental =='preProduce') {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
prefix = "/web/online"; prefix = "/web/online";
......
...@@ -2,7 +2,7 @@ var initpage; ...@@ -2,7 +2,7 @@ var initpage;
var sbqDate = '' var sbqDate = ''
var prefix = ""; var prefix = "";
$(function () { $(function () {
if (config.environmental == 'test') { if (config.environmental == 'test' || config.environmental =='preProduce') {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
prefix = "/web/online"; prefix = "/web/online";
......
...@@ -5,7 +5,7 @@ var yearBblxDm = ['10414', '10420']; ...@@ -5,7 +5,7 @@ var yearBblxDm = ['10414', '10420'];
var Authorization = "" var Authorization = ""
var prefix = ""; var prefix = "";
$(function () { $(function () {
if (config.environmental == 'test') { if (config.environmental == 'test' || config.environmental =='preProduce') {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
prefix = "/web/online"; prefix = "/web/online";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment