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 c25b7435
authored
Aug 25, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v4.27.0_0831' of
http://192.168.3.233:8090/saas_plus/business-assi…
…stant into v4.27.0_0831
2 parents
2b48c529
253c9f55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
packageMine/pages/staffManage/staffList/staffList.js
packageMine/pages/staffManage/staffList/staffList.wxml
packageMine/pages/staffManage/staffList/staffList.js
View file @
c25b743
...
@@ -11,7 +11,7 @@ Page({
...
@@ -11,7 +11,7 @@ Page({
bgUrl
:
`
${
IMG_URL
}
/personal/empty_tran.png`
,
bgUrl
:
`
${
IMG_URL
}
/personal/empty_tran.png`
,
popupShow
:
false
,
popupShow
:
false
,
staffList
:
[],
staffList
:
[],
selectInfo
:
{
yqMerchantName
:
'全部服务中心'
,
staffBusinessTypeStr
:
'全部员工类型'
,
staffBusinessType
:
''
},
selectInfo
:
{
yqMerchantName
:
'全部服务中心'
,
staffBusinessTypeStr
:
'全部员工类型'
},
total
:
0
,
total
:
0
,
serviceList
:
[],
serviceList
:
[],
currentPage
:
1
,
currentPage
:
1
,
...
@@ -19,7 +19,10 @@ Page({
...
@@ -19,7 +19,10 @@ Page({
nothing
:
false
,
nothing
:
false
,
scrollTop
:
0
,
scrollTop
:
0
,
isAsk
:
false
,
isAsk
:
false
,
staffPopupShow
:
false
staffPopupShow
:
false
,
staffTypeSelectInfo
:
{
staffBusinessType
:
''
}
},
},
/**
/**
...
@@ -56,13 +59,13 @@ Page({
...
@@ -56,13 +59,13 @@ Page({
},
},
getList
(
isReset
=
false
)
{
getList
(
isReset
=
false
)
{
let
{
currentPage
,
selectInfo
,
allServiceIds
,
nothing
,
isAsk
}
=
this
.
data
let
{
currentPage
,
selectInfo
,
allServiceIds
,
nothing
,
isAsk
,
staffTypeSelectInfo
}
=
this
.
data
let
_this
=
this
let
_this
=
this
let
params
=
{
let
params
=
{
pageSize
:
10
,
pageSize
:
10
,
pageNum
:
currentPage
,
pageNum
:
currentPage
,
merchantNoList
:
selectInfo
?.
yqMerchantId
?
[
selectInfo
?.
yqMerchantId
]
:
allServiceIds
,
merchantNoList
:
selectInfo
?.
yqMerchantId
?
[
selectInfo
?.
yqMerchantId
]
:
allServiceIds
,
staffBusinessType
:
selectInfo
.
staffBusinessType
staffBusinessType
:
s
taffTypeS
electInfo
.
staffBusinessType
}
}
if
(
nothing
||
isAsk
)
{
if
(
nothing
||
isAsk
)
{
return
return
...
@@ -130,6 +133,7 @@ Page({
...
@@ -130,6 +133,7 @@ Page({
}
}
this
.
setData
({
this
.
setData
({
selectInfo
:
obj
,
selectInfo
:
obj
,
staffTypeSelectInfo
:
obj
,
nothing
:
false
,
nothing
:
false
,
currentPage
:
1
currentPage
:
1
})
})
...
...
packageMine/pages/staffManage/staffList/staffList.wxml
View file @
c25b743
...
@@ -62,4 +62,4 @@
...
@@ -62,4 +62,4 @@
</view>
</view>
</view>
</view>
<select-service-popup wx:if="{{popupShow}}" bind:hidePopup="filterTypeFn" bind:getStaffList="getStaffList" selectInfo="{{selectInfo}}" popShow="{{popupShow}}" serviceRange="{{serviceList}}" />
<select-service-popup wx:if="{{popupShow}}" bind:hidePopup="filterTypeFn" bind:getStaffList="getStaffList" selectInfo="{{selectInfo}}" popShow="{{popupShow}}" serviceRange="{{serviceList}}" />
<staff-type-popup wx:if="{{staffPopupShow}}" bind:hidePopup="handleStaffTypeChange" selectInfo="{{selectInfo}}" bindconfirm="getStaffList" popShow="{{staffPopupShow}}"/>
<staff-type-popup wx:if="{{staffPopupShow}}" bind:hidePopup="handleStaffTypeChange" selectInfo="{{selectInfo}}"
staffTypeSelectInfo="{{staffTypeSelectInfo}}"
bindconfirm="getStaffList" popShow="{{staffPopupShow}}"/>
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