|
@@ -89,21 +89,24 @@ export default {
|
|
|
methods: {
|
|
|
__init() {
|
|
|
const { path, query } = this.$route
|
|
|
- // 如果是续费页面则不能弹续费, 并且tabrouter 也需要一起判断
|
|
|
- if(path === '/productService' && query.tabrouter == 1 || path === '/productService' && !query.tabrouter) {
|
|
|
- this.dialogFormVisible = false
|
|
|
- }
|
|
|
const tenantInfo = this.tenantInfo
|
|
|
this.tInfo = { ...tenantInfo }
|
|
|
// 有效期如果小于0则不能关闭弹窗
|
|
|
+ console.log(tenantInfo, 'tenantInfo')
|
|
|
if(tenantInfo.validRemaining <= 0) {
|
|
|
this.showClose = false
|
|
|
} else if(tenantInfo.validRemaining <= 30 && tenantInfo.validRemaining > 0) {
|
|
|
// 只要续费则弹窗
|
|
|
this.dialogFormVisible = true
|
|
|
}
|
|
|
+ // 如果是续费页面则不能弹续费, 并且tabrouter 也需要一起判断
|
|
|
+ if(path === '/productService' && query.tabrouter == 1 || path === '/productService' && !query.tabrouter) {
|
|
|
+ this.dialogFormVisible = false
|
|
|
+ return
|
|
|
+ }
|
|
|
},
|
|
|
onSubmit() {
|
|
|
+ this.dialogFormVisible = false
|
|
|
this.$router.push('/productService')
|
|
|
}
|
|
|
}
|
|
@@ -195,6 +198,7 @@ export default {
|
|
|
margin: 0 auto;
|
|
|
width: 227px;
|
|
|
height: 51px;
|
|
|
+ cursor: pointer;
|
|
|
background: linear-gradient(270deg, #FFC65E 0%, #FFE8A6 100%);
|
|
|
border-radius: 26px;
|
|
|
font-size: 24px;
|