Commit 6c63c488 by zhangxw Committed by chenwq

员工管理 bug修改

1 parent 2af843ae
......@@ -17,7 +17,7 @@ Page({
formData: {
selectedConnectionIds: [],
connectionValue: '全部',
visualType: 0
visualType: 0 // 0:全部 1:选中部分可见客户
},
showServiceConfirm: false,
isConfirm: false
......@@ -26,7 +26,7 @@ Page({
watch: {
'formData.selectInfo.yqMerchantId': function (e) {
// 获取当前服务中心下的客户列表
this.getConnectionList(e)
// this.getConnectionList(e)
let { optionsInfo } = this.data
if (e == optionsInfo?.merchantNo) return
// 将可见客户置为全部
......@@ -176,7 +176,7 @@ Page({
staffPhone: formData?.staffPhone,
createdSource: 3, // 创建来源 固定3 生意助手
visualType: formData?.visualType,
visibleMerchantNoList: formData?.visualType == 0 ? allConnectionIds : formData?.selectedConnectionIds
visibleMerchantNoList: formData?.visualType == 0 ? undefined : formData?.selectedConnectionIds // 全部 无需传可见客户数据
}
let message = addOrEdit == 'add' ? '是否确定创建员工?' : '是否确定修改员工信息?'
wx.showModal({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!