Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6c63c488
authored
Jun 28, 2023
by
zhangxw
Committed by
chenwq
Jun 29, 2023
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
员工管理 bug修改
1 parent
2af843ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
packageMine/pages/staffManage/createStaff/createStaff.js
packageMine/pages/staffManage/createStaff/createStaff.js
View file @
6c63c48
...
@@ -17,7 +17,7 @@ Page({
...
@@ -17,7 +17,7 @@ Page({
formData
:
{
formData
:
{
selectedConnectionIds
:
[],
selectedConnectionIds
:
[],
connectionValue
:
'全部'
,
connectionValue
:
'全部'
,
visualType
:
0
visualType
:
0
// 0:全部 1:选中部分可见客户
},
},
showServiceConfirm
:
false
,
showServiceConfirm
:
false
,
isConfirm
:
false
isConfirm
:
false
...
@@ -26,7 +26,7 @@ Page({
...
@@ -26,7 +26,7 @@ Page({
watch
:
{
watch
:
{
'formData.selectInfo.yqMerchantId'
:
function
(
e
)
{
'formData.selectInfo.yqMerchantId'
:
function
(
e
)
{
// 获取当前服务中心下的客户列表
// 获取当前服务中心下的客户列表
this
.
getConnectionList
(
e
)
//
this.getConnectionList(e)
let
{
optionsInfo
}
=
this
.
data
let
{
optionsInfo
}
=
this
.
data
if
(
e
==
optionsInfo
?.
merchantNo
)
return
if
(
e
==
optionsInfo
?.
merchantNo
)
return
// 将可见客户置为全部
// 将可见客户置为全部
...
@@ -176,7 +176,7 @@ Page({
...
@@ -176,7 +176,7 @@ Page({
staffPhone: formData?.staffPhone,
staffPhone: formData?.staffPhone,
createdSource: 3, // 创建来源 固定3 生意助手
createdSource: 3, // 创建来源 固定3 生意助手
visualType: formData?.visualType,
visualType: formData?.visualType,
visibleMerchantNoList: formData?.visualType == 0 ?
allConnectionIds : formData?.selectedConnectionIds
visibleMerchantNoList: formData?.visualType == 0 ?
undefined : formData?.selectedConnectionIds // 全部 无需传可见客户数据
}
}
let message = addOrEdit == 'add' ? '是否确定创建员工?' : '是否确定修改员工信息?'
let message = addOrEdit == 'add' ? '是否确定创建员工?' : '是否确定修改员工信息?'
wx.showModal({
wx.showModal({
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment