【新增】增加报告上传流程
This commit is contained in:
+3
-7
@@ -112,19 +112,15 @@ export default {
|
|||||||
})
|
})
|
||||||
this.$message.success('登录成功')
|
this.$message.success('登录成功')
|
||||||
this.$store.commit('saveUserInfo', res.data)
|
this.$store.commit('saveUserInfo', res.data)
|
||||||
|
|
||||||
this.getMarket().then((resx)=>{
|
this.getMarket().then((resx)=>{
|
||||||
this.$store.commit('setMarketpre', resx)
|
this.$store.commit('setMarketpre', resx)
|
||||||
this.$router.push({ path: '/report/list', query: { id: 'AEHJB8YNJ3' } })
|
this.$router.push({ path: '/report/list', query: { id: 'AEHJB8YNJ3' } })
|
||||||
}).catch((resx)=>{
|
}).catch((resx)=>{
|
||||||
this.$store.commit('setMarketpre', resx)
|
|
||||||
this.$router.push({ path: '/report/list', query: { id: 'AEHJB8YNJ3' } })
|
|
||||||
}).finally(()=>{
|
|
||||||
this.$store.commit('setMarketpre', '')
|
this.$store.commit('setMarketpre', '')
|
||||||
this.$router.push({ path: '/report/list', query: { id: 'AEHJB8YNJ3' } })
|
this.$router.push({ path: '/report/list', query: { id: 'AEHJB8YNJ3' } })
|
||||||
})
|
})
|
||||||
|
|
||||||
}).catch(_ => {
|
}).catch(err => {
|
||||||
this.verifyCode()
|
this.verifyCode()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -145,9 +141,9 @@ export default {
|
|||||||
}else{
|
}else{
|
||||||
resolve('')
|
resolve('')
|
||||||
}
|
}
|
||||||
|
}).catch(()=>{
|
||||||
|
reject('')
|
||||||
})
|
})
|
||||||
}).catch(()=>{
|
|
||||||
reject('')
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user