|
@@ -154,7 +154,7 @@ function useClientQuickMonitorModel({ type, id }) {
|
|
|
// 业务流程
|
|
|
if (!model.value.follow) {
|
|
|
// 无权限用户弹窗留资
|
|
|
- if (!HasPowerBigmemberOrEnt.value) {
|
|
|
+ if (IsFreeUser.value) {
|
|
|
loading.value = false
|
|
|
return doOpenCollectDialog('pc_buyer_monitor_freeuser')
|
|
|
}
|
|
@@ -171,12 +171,12 @@ function useClientQuickMonitorModel({ type, id }) {
|
|
|
} else {
|
|
|
// 判断是否超出可监控项目个数
|
|
|
if (res.data?.limit_count) {
|
|
|
- if (HasPowerBigmemberOrEnt.value) {
|
|
|
+ if (IsFreeUser.value) {
|
|
|
+ return doOpenCollectDialog('pc_buyer_monitor_limit')
|
|
|
+ } else {
|
|
|
return doOpenDialog('max-monitor', {
|
|
|
count: res.data?.limit_count
|
|
|
})
|
|
|
- } else {
|
|
|
- return doOpenCollectDialog('pc_buyer_monitor_limit')
|
|
|
}
|
|
|
}
|
|
|
that.$toast(res.msg)
|
|
@@ -228,10 +228,10 @@ function useClientQuickMonitorModel({ type, id }) {
|
|
|
doOpenDialog('cancel-monitor')
|
|
|
break
|
|
|
case 'apply':
|
|
|
- if (HasPowerBigmemberOrEnt.value) {
|
|
|
- doOpenDialog('apply-monitor')
|
|
|
- } else {
|
|
|
+ if (IsFreeUser.value) {
|
|
|
doOpenCollectDialog('pc_buyer_monitor_more')
|
|
|
+ } else {
|
|
|
+ doOpenDialog('apply-monitor')
|
|
|
}
|
|
|
break
|
|
|
case 'more':
|