Просмотр исходного кода

Merge branch 'master' of http://192.168.1.41:3000/outaozhen/cldV2react

outaozhen 5 лет назад
Родитель
Сommit
034333224d
2 измененных файлов с 11 добавлено и 1 удалено
  1. 1 1
      config/routes.js
  2. 10 0
      src/services/customer.js

+ 1 - 1
config/routes.js

@@ -142,7 +142,7 @@ export default [
                     path: '/staff/employee',
                     name: 'employee',
                     icon: 'icon-users',
-                    component: './staff/Employee'
+                    component: './Staff/Employee'
                   }
                 ]
               }

+ 10 - 0
src/services/customer.js

@@ -165,3 +165,13 @@ export async function apiAddCompany(payload) {
   const data = await request.post('/customer/add', { data: payload })
   return data
 }
+
+/** 获取商机组列表 */
+export async function getBusinessGroupList() {
+  return request.get('/BusinessGroup/list')
+}
+
+/** 获取商机组状态列表 */
+export async function getBusinessGroupStatusList() {
+  return request.get('/BusinessGroup/liststatus')
+}