Commit 09aba149 by 钟乾明

u: 云之家request参数需要编码-fid

parent ef263991
{
"compilerOptions": {
"baseUrl": "./",
"paths": {
"@/*": [
"./src/*"
]
}
}
}
...@@ -24,11 +24,11 @@ export default { ...@@ -24,11 +24,11 @@ export default {
}, },
created () { created () {
if (process.env.NODE_ENV === 'provt') { if (process.env.NODE_ENV === 'provt') {
// 兼容V+模块 // 线上环境、
console.log('当前环境:', process.env.NODE_ENV) console.log('当前环境:', process.env.NODE_ENV)
this.getVUserData() this.getVUserData()
} else { } else {
// APP模块(生产环境、开发环境) // 开发环境)
console.log('当前环境:', process.env.NODE_ENV) console.log('当前环境:', process.env.NODE_ENV)
// 模拟耗时获取数据 // 模拟耗时获取数据
setTimeout(async () => { setTimeout(async () => {
...@@ -334,7 +334,8 @@ export default { ...@@ -334,7 +334,8 @@ export default {
this.updateFlowId(params.fdId) this.updateFlowId(params.fdId)
this.updateTodoId(params.todoId) this.updateTodoId(params.todoId)
this.updateBillId(encodeURIComponent(params.billId)) this.updateBillId(encodeURIComponent(params.billId))
this.updateFid((params.billId)) console.log('updateFid 前>> ', params.billId)
this.updateFid(params.billId)
this.fetchExtraDataSuccess = true this.fetchExtraDataSuccess = true
} }
} else { } else {
......
...@@ -127,6 +127,7 @@ export default { ...@@ -127,6 +127,7 @@ export default {
'updateMemberGradeInfo' 'updateMemberGradeInfo'
]), ]),
fetchData () { fetchData () {
console.log('fetchInspect 前>>', this.currentFid)
this.$store.commit('showLoading', true) this.$store.commit('showLoading', true)
if (!this.isGradeNode) { if (!this.isGradeNode) {
this.fetchInspect({billId: Coder.encode(this.currentFid), isGradeNode: this.isGradeNode}) this.fetchInspect({billId: Coder.encode(this.currentFid), isGradeNode: this.isGradeNode})
......
...@@ -17,6 +17,7 @@ export default { ...@@ -17,6 +17,7 @@ export default {
}, },
watch: { watch: {
isReady (value) { isReady (value) {
console.log('wc isReady>>', value, this.currentPageType)
if (value) { if (value) {
switch (this.currentPageType) { switch (this.currentPageType) {
case this.PageTypes.Leader_Todo: case this.PageTypes.Leader_Todo:
......
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 sign in to comment