Commit 558f87cf by zhangxw

用例评审调整修改

1 parent d47a47b4
...@@ -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
}) })
......
...@@ -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({
......
...@@ -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) {
......
...@@ -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;
} }
......
...@@ -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>
......
...@@ -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
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!