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 42ab8980
authored
Aug 30, 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
625a716e
2dd9f62f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
9 deletions
pages/tab/outputValue/components/ScreenConfirmBox/ScreenConfirmBox.js
pages/tab/outputValue/components/Tab/Tab.wxml
pages/tab/outputValue/components/merchant/merchant.js
pages/tab/outputValue/components/merchant/merchant.scss
pages/tab/outputValue/components/merchant/merchant.wxml
pages/tab/outputValue/outputValue.wxml
pages/tab/outputValue/components/ScreenConfirmBox/ScreenConfirmBox.js
View file @
42ab898
...
@@ -255,7 +255,7 @@ Component({
...
@@ -255,7 +255,7 @@ Component({
},
},
reset
(
e
,
isresetTime
=
true
)
{
reset
(
e
,
isresetTime
=
true
)
{
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
?
.
merchantId
]
if
(
isresetTime
)
{
if
(
isresetTime
)
{
formData
.
startTime
=
''
formData
.
startTime
=
''
formData
.
endTime
=
''
formData
.
endTime
=
''
...
@@ -275,7 +275,7 @@ Component({
...
@@ -275,7 +275,7 @@ Component({
}
}
merchantRange
.
forEach
((
item
,
index
)
=>
{
merchantRange
.
forEach
((
item
,
index
)
=>
{
item
.
show
=
true
item
.
show
=
true
if
(
item
.
merchantId
==
userInfo
?.
subLoginUser
?.
merchantId
)
{
if
(
item
.
merchantId
==
userInfo
?.
merchantId
)
{
subIndex
=
index
subIndex
=
index
}
}
})
})
...
...
pages/tab/outputValue/components/Tab/Tab.wxml
View file @
42ab898
<wxs src="./Tab.wxs" module="filterUtils" />
<wxs src="./Tab.wxs" module="filterUtils" />
<block>
<block>
<scroll-view class="tab-box flex" scroll-x enable-flex scroll-with-animation scroll-into-view="{{to}}" enhanced="{{true}}" show-scrollbar="{{false}}" style="{{tabBoxStyle}}">
<scroll-view class="tab-box flex" scroll-x enable-flex scroll-with-animation scroll-into-view="{{to}}" enhanced="{{true}}" show-scrollbar="{{false}}" style="{{tabBoxStyle}}">
<block wx:for="{{tab}}" wx:key="index">
<block wx:for="{{tab}}" wx:key="index"
wx:for-index="index"
>
<view class="tab {{index==count?'active':''}}" style="width:{{itemWidth}}; margin-left:
32
rpx" bindtap="click" data-count="{{index}}">
<view class="tab {{index==count?'active':''}}" style="width:{{itemWidth}}; margin-left:
{{index == 0 ? 60 : 32}}
rpx" bindtap="click" data-count="{{index}}">
<view class="text text-center" style="{{tabBoxStyle}}">{{item}}</view>
<view class="text text-center" style="{{tabBoxStyle}}">{{item}}</view>
<view wx:if="{{!noLine}}" class="line" style="{{tabHeight ? 'margin-top: 6rpx;' : ''}}" />
<view wx:if="{{!noLine}}" class="line" style="{{tabHeight ? 'margin-top: 6rpx;' : ''}}" />
</view>
</view>
...
...
pages/tab/outputValue/components/merchant/merchant.js
View file @
42ab898
...
@@ -257,9 +257,10 @@ Component({
...
@@ -257,9 +257,10 @@ Component({
})
})
},
},
getMerchantList
(
isReset
=
false
)
{
getMerchantList
(
isReset
=
false
)
{
console
.
log
(
'getMerchantList---'
)
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
{
searchForm
,
merchantList
,
isAsk
}
=
this
.
data
let
{
searchForm
,
merchantList
,
isAsk
,
isEnd
}
=
this
.
data
if
(
isAsk
)
{
if
(
isAsk
||
isEnd
)
{
return
true
return
true
}
}
this
.
setData
({
this
.
setData
({
...
...
pages/tab/outputValue/components/merchant/merchant.scss
View file @
42ab898
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
// padding-top: 16rpx;
// padding-top: 16rpx;
background-color
:
#F2F3F7
;
background-color
:
#F2F3F7
;
height
:
100%
;
height
:
100%
;
padding
:
0
16rpx
;
padding
:
0
16rpx
10rpx
;
}
}
.btn-box
{
.btn-box
{
...
...
pages/tab/outputValue/components/merchant/merchant.wxml
View file @
42ab898
<!--pages/tab/outputValue/components/merchant/merchant.wxml-->
<!--pages/tab/outputValue/components/merchant/merchant.wxml-->
<scroll-view class="merchant" id="scroller" scroll-y
="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindrefresherrefresh="merchantRefresh" lower-threshold='50' scroll-top="{{busiScrollTop}}
">
<scroll-view class="merchant" id="scroller" scroll-y
enable-back-to-top refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindrefresherrefresh="merchantRefresh" refresher-threshold="104" scroll-top="{{scrollTop}}" bindscrolltolower="getMore
">
<!-- 全部 - 服务商总产值 -->
<!-- 全部 - 服务商总产值 -->
<service-total wx:if="{{merchantList.length}}" serviceName="{{serviceName}}" totalObj="{{totalObj}}"></service-total>
<service-total wx:if="{{merchantList.length}}" serviceName="{{serviceName}}" totalObj="{{totalObj}}"></service-total>
<view wx:for="{{merchantList}}" wx:key="index">
<view wx:for="{{merchantList}}" wx:key="index">
...
...
pages/tab/outputValue/outputValue.wxml
View file @
42ab898
<!-- pages/tab/output/output.wxml -->
<!-- pages/tab/output/output.wxml -->
<navigation-bar navStyle="{{isShowFilterScreen ? 'background: #fff;' : navStyle}}" bindnavbarReady="navbarReady" navBarBoxStyle="{{!isShowFilterScreen ? navBarBoxStyle : 'justify-content: center;align-items: center'}}" navTitleStyle="{{navTitleStyle}}">
<navigation-bar navStyle="{{isShowFilterScreen ? 'background: #fff;' : navStyle}}" bindnavbarReady="navbarReady" navBarBoxStyle="{{!isShowFilterScreen ? navBarBoxStyle : 'justify-content: center;align-items: center'}}" navTitleStyle="{{navTitleStyle}}">
<block>
<block>
<tab wx:if="{{!isShowFilterScreen}}" noLine="{{true}}" tab="{{tabList}}" itemWidth="{{'
3
8%'}}" tabBoxStyle="{{tabBoxStyle}}" index="{{tabIndx}}" unreadClueCount="{{unreadClueCount}}" bindclick="changeTabIndx" class="tabContainer" />
<tab wx:if="{{!isShowFilterScreen}}" noLine="{{true}}" tab="{{tabList}}" itemWidth="{{'
2
8%'}}" tabBoxStyle="{{tabBoxStyle}}" index="{{tabIndx}}" unreadClueCount="{{unreadClueCount}}" bindclick="changeTabIndx" class="tabContainer" />
<view class="screen_box">
<view class="screen_box">
<screen-box id="screenBox" formData="{{screenFormData}}" statusBarHeight="{{statusBarHeight}}" navigationBarHeight="{{navigationBarHeight}}" tabType="{{tabIndx}}" tabBarStyle="{{tabBarStyle}}" isShowFilterScreen="{{isShowFilterScreen}}" bindconfirm="screenConfirm"></screen-box>
<screen-box id="screenBox" formData="{{screenFormData}}" statusBarHeight="{{statusBarHeight}}" navigationBarHeight="{{navigationBarHeight}}" tabType="{{tabIndx}}" tabBarStyle="{{tabBarStyle}}" isShowFilterScreen="{{isShowFilterScreen}}" bindconfirm="screenConfirm"></screen-box>
</view>
</view>
...
...
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