diff --git a/api/user.js b/api/user.js index 3f59f0b..c2eda64 100644 --- a/api/user.js +++ b/api/user.js @@ -60,3 +60,15 @@ export const logout = () => { }); }; +/** + * 获取所有用户列表 + * @returns {Promise} 返回用户列表 + */ +export const getUserListAll = () => { + return uni.$uv.http.get('system/user/listAll', { + custom: { + auth: true // 启用 token 认证 + } + }); +}; + diff --git a/components/customer/customer-form/CustomerBasicInfo.vue b/components/customer/customer-form/CustomerBasicInfo.vue index ab53123..a0b6472 100644 --- a/components/customer/customer-form/CustomerBasicInfo.vue +++ b/components/customer/customer-form/CustomerBasicInfo.vue @@ -88,6 +88,13 @@ 选择微信好友 + + + + {{ formData.followName }} + 选择跟进人 + + diff --git a/components/customer/customer-form/CustomerPickers.vue b/components/customer/customer-form/CustomerPickers.vue index 26660af..7d58a28 100644 --- a/components/customer/customer-form/CustomerPickers.vue +++ b/components/customer/customer-form/CustomerPickers.vue @@ -174,6 +174,29 @@ + + + + + 选择跟进人 + + + {{ item.nickName }} + + + + + + + + +