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 af702dd8
authored
May 24, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复,样式调整
1 parent
5e5fea04
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
8 deletions
packagesList/packageOutput/pages/summary.js
packagesList/packageOutput/pages/summary.wxml
pages/tab/output/components/BusiCard/BusiCard.wxml
pages/tab/output/components/TotalTab/TotalTab.wxml
pages/tab/output/components/client/client.js
pages/tab/output/components/client/client.wxml
pages/tab/output/components/staff/staff.js
packagesList/packageOutput/pages/summary.js
View file @
af702dd
...
@@ -364,7 +364,10 @@ Page({
...
@@ -364,7 +364,10 @@ Page({
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
params
=
{
let
params
=
{
...
this
.
dealSC003SearchStatus
(),
...
this
.
dealSC003SearchStatus
(),
serviceMerchantId
:
userInfo
.
subLoginUser
.
merchantId
pageNum
:
1
,
pageSize
:
99999
,
serviceMerchantId
:
userInfo
.
subLoginUser
.
merchantId
,
merchantId
:
this
.
data
.
merchantInfo
.
merchantId
}
}
outputApi
.
getActivityList
(
params
).
then
(
res
=>
{
outputApi
.
getActivityList
(
params
).
then
(
res
=>
{
let
list
=
this
.
dealToTime
(
res
?.
list
||
[],
'SC003'
)
let
list
=
this
.
dealToTime
(
res
?.
list
||
[],
'SC003'
)
...
...
packagesList/packageOutput/pages/summary.wxml
View file @
af702dd
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
</view>
</view>
<view wx:if="{{(sceneCodeActive == 'SC004' || sceneCodeActive == 'SC003') && !isMock.SC004}}" class="select-txt">
<view wx:if="{{(sceneCodeActive == 'SC004' || sceneCodeActive == 'SC003') && !isMock.SC004}}" class="select-txt">
{{baseData.actStatusList[sceneCodeActive == 'SC004' ? searchForm.sceneSC004 : searchForm.sceneSC003]}}
{{baseData.actStatusList[sceneCodeActive == 'SC004' ? searchForm.sceneSC004 : searchForm.sceneSC003]}}
<image class="icon-arrow" src="{{IMGURL}}output/arr
ow.png?v={{img_version}}" />
<image class="icon-arrow" src="{{IMGURL}}output/arrow.png?v={{img_version}}" />
</view>
</view>
</view>
</view>
</view>
</view>
...
...
pages/tab/output/components/BusiCard/BusiCard.wxml
View file @
af702dd
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<view class="title">{{info.merchantName || info.merchantName4s || ''}}</view>
<view class="title">{{info.merchantName || info.merchantName4s || ''}}</view>
</view>
</view>
<view class="content">
<view class="content">
<view wx:for="{{formObj[sceneCode]}}" wx:key="index" class="content-item {{sceneCode == -1 ?
(fromPage == 'client' ?'row-two' : 'row-four')
: ''}}">
<view wx:for="{{formObj[sceneCode]}}" wx:key="index" class="content-item {{sceneCode == -1 ?
'row-two'
: ''}}">
<view wx:if="{{info[item.name] == '未开通'}}" class="price">{{info[item.name]}}</view>
<view wx:if="{{info[item.name] == '未开通'}}" class="price">{{info[item.name]}}</view>
<view wx:else="" class="price">
<view wx:else="" class="price">
{{item.prefix || ''}}
{{item.prefix || ''}}
...
...
pages/tab/output/components/TotalTab/TotalTab.wxml
View file @
af702dd
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
</view>
</view>
<view class="right-box" wx:if="{{tabActive =='business'}}">
<view class="right-box" wx:if="{{tabActive =='business'}}">
<view wx:if="{{busiOptSceneCode[formData.busiIdx] == 'SC004'}}" bindtap="handleCrowdPopup">{{baseData.proList[formData.proIdx].productName}}</view>
<view wx:if="{{busiOptSceneCode[formData.busiIdx] == 'SC004'}}" bindtap="handleCrowdPopup">{{baseData.proList[formData.proIdx].productName}}</view>
<view wx:elif="{{busiOptSceneCode[formData.busiIdx] == 'SC003'}}" data-scenecode="{{busiOptSceneCode[formData.busiIdx]}}" bindtap="handleTimeChange">{{baseData.
timeList[formData.time
Idx]}}</view>
<view wx:elif="{{busiOptSceneCode[formData.busiIdx] == 'SC003'}}" data-scenecode="{{busiOptSceneCode[formData.busiIdx]}}" bindtap="handleTimeChange">{{baseData.
actStatusList[formData.status
Idx]}}</view>
<view wx:else bindtap="handleTimeChange" data-scenecode="{{busiOptSceneCode[formData.busiIdx]}}">{{baseData.timeList[formData.timeIdx]}}</view>
<view wx:else bindtap="handleTimeChange" data-scenecode="{{busiOptSceneCode[formData.busiIdx]}}">{{baseData.timeList[formData.timeIdx]}}</view>
<glsx-image src="output/icon-arrow.png" class="icon" bindtap="{{busiOptSceneCode[formData.busiIdx] == 'SC004' ? 'handleCrowdPopup' : 'handleTimeChange'}}" data-scenecode="{{busiOptSceneCode[formData.busiIdx]}}"/>
<glsx-image src="output/icon-arrow.png" class="icon" bindtap="{{busiOptSceneCode[formData.busiIdx] == 'SC004' ? 'handleCrowdPopup' : 'handleTimeChange'}}" data-scenecode="{{busiOptSceneCode[formData.busiIdx]}}"/>
</view>
</view>
...
...
pages/tab/output/components/client/client.js
View file @
af702dd
...
@@ -210,7 +210,9 @@ Component({
...
@@ -210,7 +210,9 @@ Component({
let
params
=
{
let
params
=
{
...
busiSearchData
,
...
busiSearchData
,
...
sortSearchData
,
...
sortSearchData
,
serviceMerchantId
:
userInfo
.
subLoginUser
.
merchantId
serviceMerchantId
:
userInfo
.
subLoginUser
.
merchantId
,
pageNum
:
1
,
pageSize
:
99999
,
}
}
this
.
setData
({
this
.
setData
({
[
'isAsk.business'
]:
true
[
'isAsk.business'
]:
true
...
...
pages/tab/output/components/client/client.wxml
View file @
af702dd
<!-- pages/tab/output/components/client/client.wxml -->
<!-- pages/tab/output/components/client/client.wxml -->
<wxs src="../../index.wxs" module="filter" />
<wxs src="../../index.wxs" module="filter" />
<total-tab id="totalTab" bindbusiSearch="handleBusiSearch" bindtabChange="handleTabChange"></total-tab>
<total-tab id="totalTab" bindbusiSearch="handleBusiSearch" bindtabChange="handleTabChange"></total-tab>
<view class="sort-fix {{stickyScrollTop >= 96 ? '' : 'sort-hide'}}" wx:if="{{tabActive == 'business'}}">
<view class="sort-fix {{stickyScrollTop >= 96 ? '' : 'sort-hide'}}" wx:if="{{tabActive == 'business'
&& formData.sceneCode != 'SC004' && formData.sceneCode != 'SC003'
}}">
<sort-tab id="sortTabFix" sceneCode="{{formData.sceneCode}}" bindhandleSort="handleSort"></sort-tab>
<sort-tab id="sortTabFix" sceneCode="{{formData.sceneCode}}" bindhandleSort="handleSort"></sort-tab>
</view>
</view>
<scroll-view wx:if="{{tabActive == 'store'}}" class="client" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindscrolltolower="onReachBottom" bindrefresherrefresh="onBindRefresh" lower-threshold='50' scroll-top="{{scrollTop}}">
<scroll-view wx:if="{{tabActive == 'store'}}" class="client" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindscrolltolower="onReachBottom" bindrefresherrefresh="onBindRefresh" lower-threshold='50' scroll-top="{{scrollTop}}">
...
...
pages/tab/output/components/staff/staff.js
View file @
af702dd
...
@@ -65,9 +65,11 @@ Component({
...
@@ -65,9 +65,11 @@ Component({
'3'
:
'carTransformStat'
'3'
:
'carTransformStat'
}
}
_list
=
res
[
attrToNum
[
staffSearchData
.
sceneType
||
''
]]
||
[]
_list
=
res
[
attrToNum
[
staffSearchData
.
sceneType
||
''
]]
||
[]
if
(
staffSearchData
.
sceneType
==
'3'
)
{
if
(
staffSearchData
.
sceneType
==
'3'
)
{
_list
.
forEach
(
item
=>
{
_list
.
forEach
(
item
=>
{
item
.
totalOutputValue
=
(
item
.
totalOutputValue
/
100
).
toFixed
(
2
)
item
.
list
?.
forEach
(
k
=>
{
k
.
totalOutputValue
=
(
k
.
totalOutputValue
/
100
).
toFixed
(
2
)
})
})
})
}
}
this
.
setData
({
this
.
setData
({
...
...
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