Parcourir la source

feat: 移动端详情页-项目进度监控商机管理跳转逻辑修改

cuiyalong il y a 1 an
Parent
commit
87b6b5acc2

+ 3 - 2
apps/mobile/src/composables/quick-monitor/component/QuickMonitor.vue

@@ -188,7 +188,7 @@ export default {
       const conf = confMap[this.type] || confMap.project
       // 项目监控跳转 - 商机管理跳转单独计算
       if (this.type === 'project' && conf.monitorListLinkBusiness) {
-        if (this.isEntService || this.isNewBusiness) {
+        if (this.isEntService || this.isNewBusiness || this.isBusiness) {
           conf.monitorListLink = conf.monitorListLinkBusiness
         }
       }
@@ -288,7 +288,8 @@ export default {
         if (this.popover) {
           this.showPopoverList(!this.showPopover)
         } else {
-          this.doMonitor()
+          // 点击弹窗,二次确认是否取消监控
+          this.cancelMonitor()
         }
       } else {
         this.doMonitor()