You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
2.7 KiB

<template>
<!-- <div class="flex mt-8 ml-12 text-xl title"> -->
3 years ago
<div v-if="!this.unNeed" class="h-full w-full flex items-stretch">
3 years ago
<h1 class="leading-loose cursor-pointer text-center h-48 w-full bg-red-100 hover:bg-red-400 text-5xl antialiased hover:underline items-center" @click="goto">请完成上一个步骤!</h1>
3 years ago
</div>
3 years ago
<div v-else class="h-full w-full flex">
3 years ago
<h1 class="leading-loose cursor-pointer text-center h-48 w-full bg-blue-100 hover:bg-blue-400 text-5xl antialiased hover:underline items-center" @click="goto2">您无需完成该操作!</h1>
</div>
</template>
<script>
const obj = {
// 'consumerClient': '/counter/list/manage/consumerClient',
// 'currentAccount/openAccount': '/counter/list/manage/currentAccount',
// 'currentAccount/deposit': '/counter/list/manage/currentAccount'
'consumerClient': '客户信息 -> 个人客户信息建立',
3 years ago
'corporateClient': '客户信息 -> 公司客户信息建立',
'currentAccount/openAccount': '活期业务 -> 开户',
'currentAccount/deposit': '活期业务 -> 存款',
'currentAccount/withdrawal': '活期业务 -> 取款',
'currentAccount/transferAccounts': '活期业务 -> 转账',
3 years ago
'currentAccount/settle': '活期业务 -> 结清',
'currentAccount/Cancell': '活期业务 -> 销户',
3 years ago
'timeDeposit/openAccount': '整存整取 -> 开户',
'timeDeposit/deposit': '整存整取 -> 存款',
3 years ago
'timeDeposit/withdrawal': '整存整取 -> 取款',
'timeDeposit/deposit': '整存整取 -> 存款',
3 years ago
'business/openAccount': '公司业务 -> 开户'
}
import {mapGetters} from 'vuex'
export default {
props: {
moduleName: {
type: String,
require: true
3 years ago
},
unNeed: {
type: Boolean,
default: false
}
},
created() {
3 years ago
if(this.unNeed) {
3 years ago
// this.$message({
// message: '您无需完成该操作!',
// type: 'info'
// });
3 years ago
}else {
this.$message({
message: '请先完成' + obj[this.moduleName],
type: 'info'
});
}
},
methods: {
goto() {
// this.$router.push(obj[this.moduleName])
this.$message({
message: '请先完成' + obj[this.moduleName],
type: 'info'
});
3 years ago
},
goto2() {
this.$message({
message: '您无需完成该操作!',
type: 'info'
});
},
},
computed: {
...mapGetters({
needsModule: 'system/needsModule',
})
}
}
</script>
3 years ago
<style scoped lang='scss'>
</style>