Commit baa9e35e1a598b5c551f07d83f1ff01fe81c7941

Authored by 刘淇
1 parent 15eb91bd

orgid

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