diff --git a/src/views/crm/business/BusinessForm.vue b/src/views/crm/business/BusinessForm.vue
index 53f5cb8d..04f1cf5d 100644
--- a/src/views/crm/business/BusinessForm.vue
+++ b/src/views/crm/business/BusinessForm.vue
@@ -10,7 +10,6 @@
-
-
+
import * as BusinessApi from '@/api/crm/business'
import * as BusinessStatusTypeApi from '@/api/crm/businessStatusType'
-import * as CustomerApi from '@/api/crm/customer'
+import * as CustomerApi from "@/api/crm/customer";
import { DICT_TYPE } from '@/utils/dict'
-import { ElTable } from 'element-plus'
+import {ElTable} from "element-plus";
const { t } = useI18n() // 国际化
const message = useMessage() // 消息弹窗
@@ -229,12 +233,10 @@ const resetForm = () => {
}
formRef.value?.resetFields()
}
-
-/** 加载商机状态列表 */
-const changeBusinessStatusType = async (typeId: number) => {
- businessStatusList.value = await BusinessStatusTypeApi.getBusinessStatusListByTypeId(typeId)
+const changeBusinessStatusType = async (id) => {
+ // 加载商机状态列表
+ businessStatusList.value = await BusinessStatusTypeApi.getBusinessStatusListByTypeId(id)
}
-
const queryParams = reactive({
pageNo: 1,
pageSize: 10,
diff --git a/src/views/crm/businessStatusType/BusinessStatusTypeForm.vue b/src/views/crm/businessStatusType/BusinessStatusTypeForm.vue
index edf41966..2ba71128 100644
--- a/src/views/crm/businessStatusType/BusinessStatusTypeForm.vue
+++ b/src/views/crm/businessStatusType/BusinessStatusTypeForm.vue
@@ -23,12 +23,22 @@
-
+
- 状态{{ scope.$index + 1 }}
+ 状态{{scope.$index+1}}
-
+
@@ -40,13 +50,10 @@
- 添加
-
+
+ 添加
+
+
删除
@@ -62,8 +69,8 @@