gaoluyang
5 天以前 6c497f71f5441633099fc7a7896da8e8c7835f05
src/pages/opportunityManagement/index.vue
@@ -84,7 +84,7 @@
                     class="action-btn"
                     @click.stop="openOpportunity('addOperation', item)"
                  >
                     添加改造内容
                     添加拜访记录
                  </u-button>
                  <u-button
                     type="default"
@@ -145,10 +145,13 @@
   const typeMap = {
      '新建': 'info',
      '项目跟踪': 'primary',
      '放弃': 'error',
      '合同签约': 'warning',
      '备案申报': 'primary',
      '项目交付': 'success',
      '项目验收': 'success'
      '项目验收': 'success',
      '项目回款': 'success',
      '回补贴': 'success'
   }
   return typeMap[status] || 'default'
}
@@ -158,10 +161,13 @@
   const textMap = {
      '新建': '新建',
      '项目跟踪': '项目跟踪',
      '放弃': '放弃',
      '合同签约': '合同签约',
      '备案申报': '备案申报',
      '项目交付': '项目交付',
      '项目验收': '项目验收'
      '项目验收': '项目验收',
      '项目回款': '项目回款',
      '回补贴': '回补贴'
   }
   return textMap[status] || '未知'
}
@@ -202,6 +208,7 @@
// 打开商机操作页面(新增、编辑、详情、添加描述)
const openOpportunity = (type, row) => {
   console.log('openOpportunity called with type:', type, 'row:', row)
   try {
      uni.setStorageSync('opportunityOperationType', type)
      if (row) {