Commit 49c1e490 authored by Z's avatar Z

Z: Dot: 演示版本存档:20200317-170000

parent 89fa64fb
...@@ -153,9 +153,8 @@ const router = new VueRouter({ ...@@ -153,9 +153,8 @@ const router = new VueRouter({
routes routes
}) })
// const whiteList = ['/', '/home','/home/']
const whiteList = ['/discount', 'discount'] const whiteList = ['/discount', 'discount']
// const whiteList = ['/discount', 'discount', '/voucherInfo', 'voucherInfo']
router.beforeEach((to, from ,next) => { router.beforeEach((to, from ,next) => {
// alert(`--->route: beforeEach: to =${JSON.stringify(to)}. from =${from}. next =${JSON.stringify(next)}`) // alert(`--->route: beforeEach: to =${JSON.stringify(to)}. from =${from}. next =${JSON.stringify(next)}`)
if(whiteList.indexOf(to.path) != -1) { if(whiteList.indexOf(to.path) != -1) {
......
...@@ -7,10 +7,10 @@ const zlog = console.log.bind(console) ...@@ -7,10 +7,10 @@ const zlog = console.log.bind(console)
// Z-BasicInfo // Z-BasicInfo
let INFO = { let INFO = {
// corpId: 'wwd1cdbca7b8b2b6c4', corpId: 'wwd1cdbca7b8b2b6c4',
// agentId: '1000015', agentId: '1000015',
corpId: 'ww4df265003b43fa0d', // corpId: 'ww4df265003b43fa0d',
agentId: '1000032', // agentId: '1000032',
} }
async function getXToken() { async function getXToken() {
......
...@@ -8,10 +8,10 @@ import envConfig from '@/config/env-config' ...@@ -8,10 +8,10 @@ import envConfig from '@/config/env-config'
// const testEnv = require('../../config/dev.env') // const testEnv = require('../../config/dev.env')
// Z-BasicInfo // Z-BasicInfo
let INFO = { let INFO = {
// corpId: 'wwd1cdbca7b8b2b6c4', corpId: 'wwd1cdbca7b8b2b6c4',
// agentId: '1000015', agentId: '1000015',
corpId: 'ww4df265003b43fa0d', // corpId: 'ww4df265003b43fa0d',
agentId: '1000032', // agentId: '1000032',
// url: 'http://139.155.48.151:8085', // url: 'http://139.155.48.151:8085',
url: envConfig.appBaseUrlA, url: envConfig.appBaseUrlA,
} }
......
...@@ -6,10 +6,10 @@ export function wxRequest(inUrl, data = {}, header = {}, method = 'post') { ...@@ -6,10 +6,10 @@ export function wxRequest(inUrl, data = {}, header = {}, method = 'post') {
// Z-BasicInfo // Z-BasicInfo
let INFO = { let INFO = {
// corpId: 'wwd1cdbca7b8b2b6c4', corpId: 'wwd1cdbca7b8b2b6c4',
// agentId: '1000015', agentId: '1000015',
corpId: 'ww4df265003b43fa0d', // corpId: 'ww4df265003b43fa0d',
agentId: '1000032', // agentId: '1000032',
// url: 'http://139.155.48.151:8085' + inUrl, // url: 'http://139.155.48.151:8085' + inUrl,
url: envConfig.appBaseUrlA + inUrl, url: envConfig.appBaseUrlA + inUrl,
} }
......
...@@ -167,10 +167,10 @@ export default { ...@@ -167,10 +167,10 @@ export default {
code: this.zcache.code code: this.zcache.code
}; };
let headerData = { let headerData = {
// agentId: "1000015", agentId: "1000015",
// corpId: "wwd1cdbca7b8b2b6c4", corpId: "wwd1cdbca7b8b2b6c4",
agentId: "1000032", // agentId: "1000032",
corpId: "ww4df265003b43fa0d" // corpId: "ww4df265003b43fa0d"
}; };
// url: "http://139.155.48.151:8085/workWx/auth/oauth2/getUserInfo", // url: "http://139.155.48.151:8085/workWx/auth/oauth2/getUserInfo",
...@@ -228,6 +228,8 @@ export default { ...@@ -228,6 +228,8 @@ export default {
listClick(inData) { listClick(inData) {
// this.$router.push(inData); // this.$router.push(inData);
// this.$router.push({name: inData, transData: {userId: this.zcache.code}}) // this.$router.push({name: inData, transData: {userId: this.zcache.code}})
// alert(`--->listClick: IN.`)
// alert(`--->listClick: indata =${inData}. userId =${this.zcache.userId}`)
this.$router.push({name: inData, params: {userId: this.zcache.userId}}) this.$router.push({name: inData, params: {userId: this.zcache.userId}})
// this.$router.push({name: inData, params: {userId: 'SEGA'}}) // this.$router.push({name: inData, params: {userId: 'SEGA'}})
}, },
......
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