diff --git a/src/api/crm/business/index.ts b/src/api/crm/business/index.ts
index 05b0d5cd..32281d2b 100644
--- a/src/api/crm/business/index.ts
+++ b/src/api/crm/business/index.ts
@@ -72,6 +72,11 @@ export const updateBusiness = async (data: BusinessVO) => {
return await request.put({ url: `/crm/business/update`, data })
}
+// 修改 CRM 商机状态
+export const updateBusinessStatus = async (data: BusinessVO) => {
+ return await request.put({ url: `/crm/business/update-status`, data })
+}
+
// 删除 CRM 商机
export const deleteBusiness = async (id: number) => {
return await request.delete({ url: `/crm/business/delete?id=` + id })
diff --git a/src/api/crm/business/status/index.ts b/src/api/crm/business/status/index.ts
index 4f686819..cddaa5a2 100644
--- a/src/api/crm/business/status/index.ts
+++ b/src/api/crm/business/status/index.ts
@@ -61,3 +61,8 @@ export const deleteBusinessStatus = async (id: number) => {
export const getBusinessStatusTypeSimpleList = async () => {
return await request.get({ url: `/crm/business-status/type-simple-list` })
}
+
+// 获得商机阶段列表
+export const getBusinessStatusSimpleList = async (typeId: number) => {
+ return await request.get({ url: `/crm/business-status/status-simple-list`, params: { typeId } })
+}
diff --git a/src/views/crm/business/BusinessUpdateStatusForm.vue b/src/views/crm/business/BusinessUpdateStatusForm.vue
new file mode 100644
index 00000000..4f2f761b
--- /dev/null
+++ b/src/views/crm/business/BusinessUpdateStatusForm.vue
@@ -0,0 +1,108 @@
+
+
+
+
diff --git a/src/views/crm/business/detail/index.vue b/src/views/crm/business/detail/index.vue
index 2d17f39d..7ef2b3a0 100644
--- a/src/views/crm/business/detail/index.vue
+++ b/src/views/crm/business/detail/index.vue
@@ -3,6 +3,14 @@
编辑
+
+ 变更商机状态
+
转移
@@ -41,8 +49,10 @@
+
+