【新增】增加报告上传流程

This commit is contained in:
zhoulingpo
2023-05-05 10:25:33 +08:00
parent c31ffec38e
commit aac9bdc84e
+3 -7
View File
@@ -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('')
}) })
} }
} }