Commit 31a7abfb by cen

Merge branch 'SAAS+V5.6.1' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V5.6.1

2 parents 60967060 9f103350
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</view> </view>
<view class="order-stats-box"> <view class="order-stats-box">
<template v-for="(item, index) in orderStats"> <template v-for="(item, index) in orderStats">
<view class="stat-item" :key="index" v-if="item.value != null"> <view class="stat-item" :key="index" v-if="item.value">
<view class="stat-label">{{ item.label }}</view> <view class="stat-label">{{ item.label }}</view>
<view class="stat-value">{{ item.value }}</view> <view class="stat-value">{{ item.value }}</view>
</view> </view>
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<view class="reply-container"> <view class="reply-container">
<view class="reply-list"> <view class="reply-list">
<view class="reply-item" v-for="(item, index) in replyList" :key="index"> <view class="reply-item" v-for="(item, index) in replyList" :key="index">
<view class="reply-content">{{ item.replyContent }}</view> <view class="reply-content">{{ !item.replyContent ? '已处理' : item.replyContent }}</view>
<view class="reply-footer"> <view class="reply-footer">
<text>申诉类型:{{ item.appealType === 1 ? '考勤' : '平板' }}</text> <text>申诉类型:{{ item.appealType === 1 ? '考勤' : '平板' }}</text>
<text class="time">{{ formatTime(item.replyDate, 'YYYY-MM-DD HH:mm:ss') }}</text> <text class="time">{{ formatTime(item.replyDate, 'YYYY-MM-DD HH:mm:ss') }}</text>
...@@ -155,10 +155,15 @@ export default { ...@@ -155,10 +155,15 @@ export default {
appealMonth: month, appealMonth: month,
staffPhone: phone staffPhone: phone
} }
const {sceneType} = uni.$storage.get('userInfo')
const params1 = {
...params,
sceneType
}
const res = await uni.$api.commonApi.getWageAppealOverview(params) const res = await uni.$api.commonApi.getWageAppealOverview(params)
this.appealData = res || {} this.appealData = res || {}
// 工资申诉订单统计查询 // 工资申诉订单统计查询
const res1 = await uni.$api.commonApi.getWageAppealStatistics(params) const res1 = await uni.$api.commonApi.getWageAppealStatistics(params1)
this.orderStats.forEach(item => { this.orderStats.forEach(item => {
this.$set(item, 'value', res1[item.prop]) this.$set(item, 'value', res1[item.prop])
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!