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 558f87cf
authored
Aug 24, 2023
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
用例评审调整修改
1 parent
d47a47b4
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
9 deletions
packageMine/components/staffTypePopup/staffTypePopup.js
pages/tab/outputValue/components/ScreenBox/ScreenBox.js
pages/tab/outputValue/components/ScreenConfirmBox/ScreenConfirmBox.js
pages/tab/outputValue/components/employees/employess.scss
pages/tab/outputValue/components/employees/employess.wxml
pages/tab/outputValue/outputValue.js
packageMine/components/staffTypePopup/staffTypePopup.js
View file @
558f87c
...
@@ -7,7 +7,6 @@ Component({
...
@@ -7,7 +7,6 @@ Component({
selectInfo
:
{
selectInfo
:
{
type
:
Object
,
type
:
Object
,
observer
:
function
(
n
)
{
observer
:
function
(
n
)
{
console
.
log
(
n
)
this
.
setData
({
this
.
setData
({
copySelectInfo
:
n
copySelectInfo
:
n
})
})
...
...
pages/tab/outputValue/components/ScreenBox/ScreenBox.js
View file @
558f87c
...
@@ -61,7 +61,7 @@ Component({
...
@@ -61,7 +61,7 @@ Component({
pageLoaded
:
true
,
pageLoaded
:
true
,
userInfo
userInfo
})
})
getMerchantListApi
({
serviceMerchantId
:
userInfo
?.
subLoginUser
?.
merchantId
}).
then
(
res
=>
{
getMerchantListApi
({
serviceMerchantId
:
userInfo
?.
isSuper
?
''
:
userInfo
?.
subLoginUser
?.
merchantId
}).
then
(
res
=>
{
let
{
code
,
data
}
=
res
let
{
code
,
data
}
=
res
if
(
code
==
'0'
)
{
if
(
code
==
'0'
)
{
this
.
setData
({
this
.
setData
({
...
...
pages/tab/outputValue/components/ScreenConfirmBox/ScreenConfirmBox.js
View file @
558f87c
...
@@ -17,7 +17,7 @@ Component({
...
@@ -17,7 +17,7 @@ Component({
thisPage
.
setData
({
thisPage
.
setData
({
isShowFilterScreen
:
true
isShowFilterScreen
:
true
})
})
if
(
!
this
.
data
.
screenFlag
)
this
.
setDate
()
// 默认展示当前月份
this
.
setDate
()
// 默认展示当前月份
this
.
setViewData
()
this
.
setViewData
()
}
}
}
}
...
@@ -241,8 +241,7 @@ Component({
...
@@ -241,8 +241,7 @@ Component({
reset
()
{
reset
()
{
let
{
formData
,
userInfo
,
sceneList
,
staffList
,
tabType
,
merchantRange
,
subIndex
}
=
this
.
data
let
{
formData
,
userInfo
,
sceneList
,
staffList
,
tabType
,
merchantRange
,
subIndex
}
=
this
.
data
formData
.
partnerMerchantIds
=
[
userInfo
.
subLoginUser
.
merchantId
]
formData
.
partnerMerchantIds
=
[
userInfo
.
subLoginUser
.
merchantId
]
formData
.
startTime
=
''
this
.
setDate
()
formData
.
endTime
=
''
formData
.
sceneType
=
''
formData
.
sceneType
=
''
formData
.
staffUUIDs
=
[]
formData
.
staffUUIDs
=
[]
if
(
tabType
==
0
)
{
if
(
tabType
==
0
)
{
...
...
pages/tab/outputValue/components/employees/employess.scss
View file @
558f87c
...
@@ -44,13 +44,23 @@
...
@@ -44,13 +44,23 @@
margin
:
6rpx
0
0
8rpx
;
margin
:
6rpx
0
0
8rpx
;
font-size
:
20rpx
;
font-size
:
20rpx
;
color
:
#8A8C90
;
color
:
#8A8C90
;
display
:
flex
;
view
{
max-width
:
160rpx
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
}
}
.output_text
text
{
}
.output_text
{
position
:
relative
;
text
{
color
:
#4772FC
;
color
:
#4772FC
;
font-size
:
36rpx
;
font-size
:
36rpx
;
font-weight
:
700
;
font-weight
:
700
;
}
}
}
.merchant_num
{
.merchant_num
{
margin-left
:
64rpx
;
margin-left
:
64rpx
;
}
}
...
...
pages/tab/outputValue/components/employees/employess.wxml
View file @
558f87c
...
@@ -18,9 +18,10 @@
...
@@ -18,9 +18,10 @@
<view class="flex">
<view class="flex">
<glsx-image class="headPortrait" src="{{item.userAvatarUrl||IMAGES.userAvatarUrl}}" webp></glsx-image>
<glsx-image class="headPortrait" src="{{item.userAvatarUrl||IMAGES.userAvatarUrl}}" webp></glsx-image>
<view class="name">{{item.staffName}}</view>
<view class="name">{{item.staffName}}</view>
<view class="role_name"
>「{{item.staffRoleName}}
」</view>
<view class="role_name"
wx:if="{{item.staffRoleName}}">「<view>{{item.staffRoleName}}</view>
」</view>
</view>
</view>
<view class="output_text"><text style="font-size: 24rpx;">¥</text><text>{{filter.money_three_for_two_thousands(item.totalOutputValue || '0.00', false)}}</text></view>
<view wx:if="{{item.totalOutputValue < 1000000}}" class="output_text"><text style="font-size: 24rpx;">¥</text><text>{{filter.money_three_for_two_thousands(item.totalOutputValue || '0.00', false)}}</text></view>
<view wx:else class="output_text"><text style="font-size: 24rpx;">¥</text><text>一百万</text><text style="font-size: 24rpx;position: absolute;top: 0;">+</text></view>
</view>
</view>
<view class="flex_spa-be">
<view class="flex_spa-be">
<view class="merchant_num">服务门店·{{item.outputValueType == 1 ? item.outputValueStats.length : item.constructionStats.length}}家</view>
<view class="merchant_num">服务门店·{{item.outputValueType == 1 ? item.outputValueStats.length : item.constructionStats.length}}家</view>
...
...
pages/tab/outputValue/outputValue.js
View file @
558f87c
...
@@ -120,7 +120,6 @@ Page({
...
@@ -120,7 +120,6 @@ Page({
item
.
act
=
true
item
.
act
=
true
}
}
})
})
console
.
log
(
subIndex
,
merchantRange
)
this
.
setData
({
this
.
setData
({
merchantRange
,
merchantRange
,
subIndex
subIndex
...
...
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