Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant-assemble
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 5bf09933
authored
May 08, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
7fa4ad93
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
34 additions
and
17 deletions
packageOutput/components/staff/staff.js
packageOutput/components/staff/staff.scss
packageOutput/components/staff/staff.wxml
packagesList/outDetail/components/OutputWork/index.js
packagesList/outDetail/components/WorktableEntrance/index.scss
packagesList/outDetail/components/WorktableEntrance/index.wxml
packagesList/outDetail/components/activitying/index.scss
packagesList/packageOutput/components/invertAnalyse/invertAnalyse.js
packagesList/packageOutput/components/invertAnalyse/invertAnalyse.scss
packagesList/packageOutput/components/invertAnalyse/invertAnalyse.wxml
packagesList/packageOutput/pages/crowdDetail/crowdDetail.js
packagesList/packageOutput/pages/monthReport/monthReport.js
packagesList/packageOutput/pages/monthReport/monthReport.scss
packagesList/packageOutput/pages/monthReport/monthReport.wxml
pages/tab/output/components/BusiCard/BusiCard.scss
packageOutput/components/staff/staff.js
View file @
5bf0993
...
@@ -216,6 +216,10 @@ Component({
...
@@ -216,6 +216,10 @@ Component({
const
arr
=
this
.
data
.
downType
==
'equity'
?
item
[
k
]
&&
item
[
k
].
map
(
item
=>
accMul
(
item
,
100
))
:
item
[
k
]
const
arr
=
this
.
data
.
downType
==
'equity'
?
item
[
k
]
&&
item
[
k
].
map
(
item
=>
accMul
(
item
,
100
))
:
item
[
k
]
return
arr
return
arr
},
},
totalOrderAmount
:(
item
,
k
)
=>
{
const
arr
=
this
.
data
.
downType
==
'crowType'
?
item
[
k
]
&&
item
[
k
].
map
(
item
=>
accMul
(
item
,
0.01
))
:
item
[
k
]
return
arr
},
}
}
return
obj
return
obj
...
...
packageOutput/components/staff/staff.scss
View file @
5bf0993
...
@@ -135,6 +135,7 @@
...
@@ -135,6 +135,7 @@
font-size
:
20rpx
;
font-size
:
20rpx
;
color
:
#1B233D
;
color
:
#1B233D
;
background
:
#F9F9F9
;
background
:
#F9F9F9
;
white-space
:
normal
;
image
{
image
{
width
:
36rpx
;
width
:
36rpx
;
...
...
packageOutput/components/staff/staff.wxml
View file @
5bf0993
...
@@ -31,10 +31,12 @@
...
@@ -31,10 +31,12 @@
<view class="flex_direction_column_item" wx:for="{{sfaff}}" wx:for-index="index" wx:key="index">
<view class="flex_direction_column_item" wx:for="{{sfaff}}" wx:for-index="index" wx:key="index">
<view class='item_name'>{{item.name}}</view>
<view class='item_name'>{{item.name}}</view>
<view wx:for="{{item.list}}" wx:for-item="litem" wx:for-index="lindex" wx:key="lindex" class='item_name item_desc'>
<view wx:for="{{item.list}}" wx:for-item="litem" wx:for-index="lindex" wx:key="lindex" class='item_name item_desc'>
<image wx:if="{{item.name == '员工'&& litem.avatarUrl}}" src="{{ litem.avatarUrl? litem.avatarUrl:''}}"></image>
<image wx:if="{{item.name == '员工'&& litem.avatarUrl}}" src="{{ litem.avatarUrl? litem.avatarUrl:''}}" mode="scaleToFill"></image>
<text>
<block wx:if="{{item.name == '转化率'}}">{{litem?litem+'%': '--'}}</block>
<block wx:if="{{item.name == '转化率'}}">{{litem?litem+'%': '--'}}</block>
<block wx:elif="{{item.name == '员工'}}">{{litem.transferName?litem.transferName:'--'}}</block>
<block wx:elif="{{item.name == '员工'}}">{{litem.transferName?litem.transferName:'--'}}</block>
<block wx:else>{{filter.thousand(litem)||'--'}}</block>
<block wx:else>{{filter.thousand(litem)||'--'}}</block>
</text>
</view>
</view>
</view>
</view>
</view>
</view>
...
...
packagesList/outDetail/components/OutputWork/index.js
View file @
5bf0993
...
@@ -295,6 +295,7 @@ Component({
...
@@ -295,6 +295,7 @@ Component({
},
},
/**柱状图 */
/**柱状图 */
getHistogram
()
{
getHistogram
()
{
wx
.
showLoading
()
const
barObj
=
this
.
selectComponent
(
'#bar'
)
const
barObj
=
this
.
selectComponent
(
'#bar'
)
let
{
let
{
dataType
dataType
...
@@ -311,6 +312,7 @@ Component({
...
@@ -311,6 +312,7 @@ Component({
// endTime: ''
// endTime: ''
}
}
ActivityApi
[
methods
[
this
.
data
.
type
]](
params
).
then
(
res
=>
{
ActivityApi
[
methods
[
this
.
data
.
type
]](
params
).
then
(
res
=>
{
wx
.
hideLoading
()
this
.
setData
({
this
.
setData
({
chartData
:
res
chartData
:
res
})
})
...
...
packagesList/outDetail/components/WorktableEntrance/index.scss
View file @
5bf0993
...
@@ -27,5 +27,5 @@
...
@@ -27,5 +27,5 @@
height
:
calc
(
100%
-
64rpx
);
height
:
calc
(
100%
-
64rpx
);
}
}
.content-box
{
.content-box
{
padding
:
0
16rpx
5
0rpx
16rpx
;
padding
:
0
16rpx
8
0rpx
16rpx
;
}
}
\ No newline at end of file
\ No newline at end of file
packagesList/outDetail/components/WorktableEntrance/index.wxml
View file @
5bf0993
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
</view>
</view>
<view class="main-box">
<view class="main-box">
<activity-tab class="activityItem" bind:activityTab="activityTab" tabList="{{tabList}}"></activity-tab>
<activity-tab class="activityItem" bind:activityTab="activityTab" tabList="{{tabList}}"></activity-tab>
<scroll-view scroll-y class="content" class="content" refresher-enabled bindrefresherrefresh="activityRefresh" bindscrolltolower="scrollonReachBottom" bindscroll="scrollIng" refresher-triggered="{{activeTrigger}}" style="{{!listData.length ? 'padding-top: 16rpx;' : ''}}{{'height: calc(100% -
5
0rpx);'}}">
<scroll-view scroll-y class="content" class="content" refresher-enabled bindrefresherrefresh="activityRefresh" bindscrolltolower="scrollonReachBottom" bindscroll="scrollIng" refresher-triggered="{{activeTrigger}}" style="{{!listData.length ? 'padding-top: 16rpx;' : ''}}{{'height: calc(100% -
9
0rpx);'}}">
<block wx:if="{{!noResult}}">
<block wx:if="{{!noResult}}">
<view class="content-box">
<view class="content-box">
<block wx:for="{{listData}}" wx:key="index">
<block wx:for="{{listData}}" wx:key="index">
...
...
packagesList/outDetail/components/activitying/index.scss
View file @
5bf0993
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
overflow
:
hidden
;
overflow
:
hidden
;
// box-shadow: 0 10rpx 20rpx 0 rgba(204, 133, 122, 0.16);
// box-shadow: 0 10rpx 20rpx 0 rgba(204, 133, 122, 0.16);
border-radius
:
32rpx
;
border-radius
:
32rpx
;
.item-bg
{
.item-bg
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
...
packagesList/packageOutput/components/invertAnalyse/invertAnalyse.js
View file @
5bf0993
...
@@ -4,15 +4,20 @@ Component({
...
@@ -4,15 +4,20 @@ Component({
type
:
Object
,
type
:
Object
,
value
:
{},
value
:
{},
observer
(
v
)
{
observer
(
v
)
{
if
(
!
v
)
return
if
(
!
v
)
return
let
s
=
v
let
s
=
v
if
(
s
)
{
if
(
s
)
{
v
.
numList
=
[
{
title
:
'浏览量'
,
num
:
s
.
browsCount
},
{
title
:
'访客量'
,
num
:
s
.
visitCount
},
{
title
:
'订单量'
,
num
:
s
.
orderCount
}
]
v
.
sortList
=
[
v
.
sortList
=
[
{
title
:
'访客率'
,
sort
:
s
.
fansRate
},
{
title
:
'访客率'
,
sort
:
s
.
fansRate
},
{
title
:
'转化率'
,
sort
:
s
.
conversionRate
}
{
title
:
'转化率'
,
sort
:
s
.
conversionRate
}
]
]
}
}
this
.
setData
({
data
:
v
})
this
.
setData
({
data
:
v
})
}
}
}
}
},
},
...
...
packagesList/packageOutput/components/invertAnalyse/invertAnalyse.scss
View file @
5bf0993
...
@@ -15,12 +15,12 @@
...
@@ -15,12 +15,12 @@
top
:
40rpx
;
top
:
40rpx
;
left
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
);
transform
:
translate
(
-50%
);
width
:
4
58
.18
rpx
;
width
:
4
06
rpx
;
height
:
2
9
8rpx
;
height
:
2
8
8rpx
;
image
{
image
{
width
:
4
58
.18
rpx
;
width
:
4
06
rpx
;
height
:
2
9
8rpx
;
height
:
2
8
8rpx
;
}
}
}
}
...
...
packagesList/packageOutput/components/invertAnalyse/invertAnalyse.wxml
View file @
5bf0993
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
</view>
</view>
<view class="funnel-content">
<view class="funnel-content">
<view class="left">
<view class="left">
<view wx:for="{{data.numList}}" wx:key="index">{{item.title}}<text>{{item.num}}</text></view>
<view wx:for="{{data.numList}}" wx:key="index">{{item.title}}<text>{{item.num
||0
}}</text></view>
</view>
</view>
<view class="right">
<view class="right">
<view class="sort-box" wx:for="{{data.sortList}}" wx:key="index">
<view class="sort-box" wx:for="{{data.sortList}}" wx:key="index">
...
...
packagesList/packageOutput/pages/crowdDetail/crowdDetail.js
View file @
5bf0993
...
@@ -59,7 +59,7 @@ Page({
...
@@ -59,7 +59,7 @@ Page({
totalShareCount
:
'转发次数'
,
totalShareCount
:
'转发次数'
,
totalVisitorRank
:
'访客总数'
,
totalVisitorRank
:
'访客总数'
,
totalBrowseCount
:
'浏览总数'
,
totalBrowseCount
:
'浏览总数'
,
totalOrder
Rank
:
'成交单量'
,
totalOrder
Count
:
'成交单量'
,
conversionRate
:
'转化率'
,
conversionRate
:
'转化率'
,
}
}
ActivityApi
.
activityStaffRank
({
activityId
}).
then
(
res
=>
{
ActivityApi
.
activityStaffRank
({
activityId
}).
then
(
res
=>
{
...
...
packagesList/packageOutput/pages/monthReport/monthReport.js
View file @
5bf0993
...
@@ -8,6 +8,7 @@ Page({
...
@@ -8,6 +8,7 @@ Page({
data
:
{
data
:
{
show
:
false
,
show
:
false
,
date
:
'2023年4月10日'
,
date
:
'2023年4月10日'
,
maxDate
:
new
Date
().
getTime
(),
navStyle
:
'background-color: rgba(0,0,0,0);'
,
navStyle
:
'background-color: rgba(0,0,0,0);'
,
currentDate
:
new
Date
().
getTime
(),
currentDate
:
new
Date
().
getTime
(),
timeValue
:
new
Date
().
format
(
'yyyy-MM-dd'
),
timeValue
:
new
Date
().
format
(
'yyyy-MM-dd'
),
...
...
packagesList/packageOutput/pages/monthReport/monthReport.scss
View file @
5bf0993
...
@@ -155,6 +155,9 @@
...
@@ -155,6 +155,9 @@
width
:
233
.52rpx
!
important
;
width
:
233
.52rpx
!
important
;
height
:
358
.06rpx
!
important
;
height
:
358
.06rpx
!
important
;
}
}
.bill-num
,
.bill-name
{
width
:
233
.52rpx
!
important
;
}
}
}
&
:nth-child
(
2
)
{
&
:nth-child
(
2
)
{
...
...
packagesList/packageOutput/pages/monthReport/monthReport.wxml
View file @
5bf0993
...
@@ -62,6 +62,6 @@
...
@@ -62,6 +62,6 @@
</scroll-view>
</scroll-view>
</view>
</view>
<popup bind:hidePopup="cancel" bind:confirm="confirm" show="{{show}}" height="50vh">
<popup bind:hidePopup="cancel" bind:confirm="confirm" show="{{show}}" height="50vh">
<van-datetime-picker value="{{ currentDate }}" type="{{timeType=='day'?'date':'year-month'}}" bind:input="onInput" />
<van-datetime-picker
max-date="{{ maxDate }}"
value="{{ currentDate }}" type="{{timeType=='day'?'date':'year-month'}}" bind:input="onInput" />
</popup>
</popup>
</view>
</view>
\ No newline at end of file
\ No newline at end of file
pages/tab/output/components/BusiCard/BusiCard.scss
View file @
5bf0993
...
@@ -63,14 +63,14 @@
...
@@ -63,14 +63,14 @@
text-align
:
center
;
text-align
:
center
;
font-size
:
20rpx
;
font-size
:
20rpx
;
color
:
#999999
;
color
:
#999999
;
margin
:
10rpx
0
;
margin
-top
:
16rpx
;
.price
{
.price
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
28rpx
;
font-size
:
28rpx
;
color
:
#323436
;
color
:
#323436
;
font-weight
:
600
;
font-weight
:
600
;
margin-bottom
:
1
6
rpx
;
margin-bottom
:
1
0
rpx
;
}
}
}
}
}
}
\ No newline at end of file
\ No newline at end of file
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