Commit baa9e35e1a598b5c551f07d83f1ff01fe81c7941

Authored by 刘淇
1 parent 15eb91bd

orgid

src/components/navigation.vue
@@ -56,6 +56,9 @@ export default { @@ -56,6 +56,9 @@ export default {
56 this.carWrapBG = this.$route.query.carNumberColor // 车牌颜色 56 this.carWrapBG = this.$route.query.carNumberColor // 车牌颜色
57 console.log(this.carNumber) 57 console.log(this.carNumber)
58 58
  59 + console.log(this.$route.query.orgId)
  60 + sessionStorage.setItem('orgId',this.$route.query.orgId)
  61 +
59 }, 62 },
60 created() { 63 created() {
61 this.initSWiper() 64 this.initSWiper()
@@ -69,7 +72,7 @@ export default { @@ -69,7 +72,7 @@ export default {
69 salt: salt, 72 salt: salt,
70 sign_type: 'md5', 73 sign_type: 'md5',
71 sign: '1', 74 sign: '1',
72 - orgId: this.$utils.myOrgId, 75 + orgId: this.$route.query.orgId,
73 jumpType: '8' 76 jumpType: '8'
74 }; 77 };
75 // jsondata = JSON.stringify(jsondata); 78 // jsondata = JSON.stringify(jsondata);
src/components/parkRecord.vue
@@ -192,7 +192,7 @@ export default { @@ -192,7 +192,7 @@ export default {
192 terminalSource: 7, 192 terminalSource: 7,
193 carNumber: this.carNumber, 193 carNumber: this.carNumber,
194 carNumberColor: this.carColor, 194 carNumberColor: this.carColor,
195 - orgId: this.$utils.myOrgId, 195 + orgId:sessionStorage.getItem('orgId'),
196 196
197 } 197 }
198 jsondata.sign = this.$utils.signObject(jsondata) 198 jsondata.sign = this.$utils.signObject(jsondata)
@@ -357,7 +357,7 @@ export default { @@ -357,7 +357,7 @@ export default {
357 orderIds: list, 357 orderIds: list,
358 terminalSource: '7', 358 terminalSource: '7',
359 payType: this.$utils.clientBrowsePayType(), 359 payType: this.$utils.clientBrowsePayType(),
360 - orgId: this.$utils.myOrgId, 360 + orgId: sessionStorage.getItem('orgId'),
361 backDeveloperCode: this.$route.query.backDeveloperCode 361 backDeveloperCode: this.$route.query.backDeveloperCode
362 } 362 }
363 jsondata.sign = this.$utils.signObject(jsondata) 363 jsondata.sign = this.$utils.signObject(jsondata)
src/utils/utils.js
1 import md5 from './md5.min.js'; 1 import md5 from './md5.min.js';
  2 +
2 export default { 3 export default {
3 myCommonSalt: function (val) { // 获取盐值 4 myCommonSalt: function (val) { // 获取盐值
4 let len = parseInt(val); 5 let len = parseInt(val);
@@ -122,13 +123,13 @@ export default { @@ -122,13 +123,13 @@ export default {
122 123
123 myDeviceInfo: 'BC0703A4-AFB0-4B51-9089-9B7487C0CC6E', // 公共请求设备信息 124 myDeviceInfo: 'BC0703A4-AFB0-4B51-9089-9B7487C0CC6E', // 公共请求设备信息
124 125
125 - myVxAppId: 'wx776e81ec7494232e', 126 + myVxAppId: 'wx2fc33e1e61468928',
126 // 测试环境 微信赤峰 appid wxff4cebaedbf4f886 127 // 测试环境 微信赤峰 appid wxff4cebaedbf4f886
127 // 微信赤峰 appid wx2af2bab90d433c86 128 // 微信赤峰 appid wx2af2bab90d433c86
128 // 黄石 appid wxa1a66cc7d263afe6 129 // 黄石 appid wxa1a66cc7d263afe6
129 // 天水 appid wx776e81ec7494232e 130 // 天水 appid wx776e81ec7494232e
130 131
131 - myOrgId: '10092', // 归属地 赤峰id 10003 黄石 10079 132 + // myOrgId: sessionStorage.getItem('orgId'), // 归属地 赤峰id 10003 黄石 10079
132 133
133 myGetSign: function (objb) { // 获取签名 134 myGetSign: function (objb) { // 获取签名
134 var compare = function (obj1, obj2) { 135 var compare = function (obj1, obj2) {