Commit 558f87cf by zhangxw

用例评审调整修改

1 parent d47a47b4
......@@ -7,7 +7,6 @@ Component({
selectInfo: {
type: Object,
observer: function(n) {
console.log(n)
this.setData({
copySelectInfo: n
})
......
......@@ -61,7 +61,7 @@ Component({
pageLoaded: true,
userInfo
})
getMerchantListApi({serviceMerchantId: userInfo?.subLoginUser?.merchantId}).then(res => {
getMerchantListApi({serviceMerchantId: userInfo?.isSuper ? '' : userInfo?.subLoginUser?.merchantId}).then(res => {
let { code, data } = res
if (code == '0') {
this.setData({
......
......@@ -17,7 +17,7 @@ Component({
thisPage.setData({
isShowFilterScreen: true
})
if (!this.data.screenFlag) this.setDate() // 默认展示当前月份
this.setDate() // 默认展示当前月份
this.setViewData()
}
}
......@@ -241,8 +241,7 @@ Component({
reset() {
let { formData, userInfo, sceneList, staffList, tabType, merchantRange, subIndex } = this.data
formData.partnerMerchantIds = [userInfo.subLoginUser.merchantId]
formData.startTime = ''
formData.endTime = ''
this.setDate()
formData.sceneType = ''
formData.staffUUIDs = []
if (tabType == 0) {
......
......@@ -44,12 +44,22 @@
margin: 6rpx 0 0 8rpx;
font-size: 20rpx;
color: #8A8C90;
display: flex;
view{
max-width: 160rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
.output_text text{
color: #4772FC;
font-size: 36rpx;
font-weight: 700;
.output_text {
position: relative;
text{
color: #4772FC;
font-size: 36rpx;
font-weight: 700;
}
}
.merchant_num{
margin-left: 64rpx;
......
......@@ -18,9 +18,10 @@
<view class="flex">
<glsx-image class="headPortrait" src="{{item.userAvatarUrl||IMAGES.userAvatarUrl}}" webp></glsx-image>
<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 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 class="flex_spa-be">
<view class="merchant_num">服务门店·{{item.outputValueType == 1 ? item.outputValueStats.length : item.constructionStats.length}}家</view>
......
......@@ -120,7 +120,6 @@ Page({
item.act = true
}
})
console.log(subIndex, merchantRange)
this.setData({
merchantRange,
subIndex
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!