From 6c497f71f5441633099fc7a7896da8e8c7835f05 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 09 三月 2026 15:46:37 +0800
Subject: [PATCH] 公司app 1.商机管理添加字段
---
src/pages/opportunityManagement/index.vue | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/pages/opportunityManagement/index.vue b/src/pages/opportunityManagement/index.vue
index 5a39f58..9ff7533 100644
--- a/src/pages/opportunityManagement/index.vue
+++ b/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) {
--
Gitblit v1.9.3