|
@@ -176,6 +176,7 @@ export default {
|
|
|
computed: {
|
|
|
...mapGetters('user', [
|
|
|
'isLogin',
|
|
|
+ 'isFree',
|
|
|
'isMember',
|
|
|
'isBusiness',
|
|
|
'isNewBusiness',
|
|
@@ -345,7 +346,7 @@ export default {
|
|
|
|
|
|
// 采购单位监控,仅大会员和商机管理可用
|
|
|
if (this.conf.freeSource) {
|
|
|
- if (!this.isMemberOrBusiness) {
|
|
|
+ if (this.isFree) {
|
|
|
if (this.beforeLeavePage) {
|
|
|
await this.beforeLeavePage()
|
|
|
}
|
|
@@ -374,7 +375,7 @@ export default {
|
|
|
} else {
|
|
|
// 判断是否超出可监控项目个数
|
|
|
if (data?.limit_count) {
|
|
|
- if (this.isMemberOrBusiness) {
|
|
|
+ if (!this.isFree) {
|
|
|
const count = data?.limit_count || 0
|
|
|
this.concatKfDialog({
|
|
|
title: `监控${this.conf.key}个数已达上限`,
|