Browse Source

周报列表

newStyle
风继续吹 1 year ago
parent
commit
07570f3fa3
2 changed files with 19 additions and 6 deletions
  1. +5
    -2
      pages/mine/messageList.vue
  2. +14
    -4
      pages/reportExcel/weekReport.vue

+ 5
- 2
pages/mine/messageList.vue View File

@@ -31,6 +31,10 @@
{{ fomatDate(item.createTime) }} {{ fomatDate(item.createTime) }}
</template> </template>
<template v-if="item.orgCode&&item.orgName">
{{ item.orgName }}
</template>
{{item.title}} {{item.title}}
<template v-if="item.readFlag==0"> <template v-if="item.readFlag==0">
@@ -197,9 +201,8 @@
success: (res) => { success: (res) => {
if (res.data.data) { if (res.data.data) {
if (this.pageNum != 1) { if (this.pageNum != 1) {
this.updateAnnList = [...this.updateAnnList, ...res.data.data.list.results];
this.updateAnnList = [...this.updateAnnList, ...res.data.data.list.records];
} else { } else {
this.updateAnnList = res.data.data.list.records || [] this.updateAnnList = res.data.data.list.records || []
} }
} }


+ 14
- 4
pages/reportExcel/weekReport.vue View File

@@ -52,7 +52,7 @@




<!-- 销讲场景执行排名 --> <!-- 销讲场景执行排名 -->
<view class="execution-ranking">
<view class="execution-ranking" v-if="!weekObj.orgCode">
<view class="execution-ranking-title"> <view class="execution-ranking-title">
销讲场景执行排名 销讲场景执行排名
</view> </view>
@@ -125,8 +125,14 @@
<view class="table"> <view class="table">
<view class="thead"> <view class="thead">
<block v-for="(head, headIndex) in tableHead" :key="headIndex"> <block v-for="(head, headIndex) in tableHead" :key="headIndex">
<view class="thead-item" :style="[head.style]">
{{ head.title }}
<view class="thead-item"
:style="[(weekObj.orgCode && head.title2) ? head.style1 : head.style]">
<template v-if="weekObj.orgCode && head.title2">
{{ head.title2 }}
</template>
<template v-else>
{{ head.title }}
</template>
</view> </view>
</block> </block>
</view> </view>
@@ -349,9 +355,13 @@
nodata: false, nodata: false,
tableHead: [{ tableHead: [{
title: '顾问', title: '顾问',
title2: '项目名称',
style: { style: {
flex: 1 flex: 1
}
},
style1: {
flex: 2
},
}, },
{ {
title: '接待量', title: '接待量',


Loading…
Cancel
Save