|
@@ -93,6 +93,7 @@
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane lazy label="本周项目明细" name="2" v-if="useNewVersionReport">
|
|
|
<ProjectDetailsList
|
|
|
+ :key="detailListKey"
|
|
|
:start="start - 0"
|
|
|
:end="end - 0"
|
|
|
reportType="week"
|
|
@@ -240,6 +241,9 @@ export default {
|
|
|
this.calcStickyTop()
|
|
|
},
|
|
|
computed: {
|
|
|
+ detailListKey () {
|
|
|
+ return `${this.start}_${this.end}`
|
|
|
+ },
|
|
|
getQueryTime () {
|
|
|
const paramsDate = this.$route.query.end
|
|
|
if (paramsDate) {
|
|
@@ -334,13 +338,18 @@ export default {
|
|
|
this.projectDetailFilters.keywordsGroupList = this.createKeywordGroupList(res.data.item)
|
|
|
this.keywordsGroup = res.data.item.join('、')
|
|
|
} else {
|
|
|
+ this.projectDetailFilters.keywordsGroupList = []
|
|
|
this.keywordsGroup = '--'
|
|
|
}
|
|
|
if (res.data && res.data.area) {
|
|
|
this.projectDetailFilters.subscribeAreaMap = res.data.area
|
|
|
+ } else {
|
|
|
+ this.projectDetailFilters.subscribeAreaMap = {}
|
|
|
}
|
|
|
if (res.data && res.data.buyerClass) {
|
|
|
this.projectDetailFilters.subscribeBuyerClass = res.data.buyerClass
|
|
|
+ } else {
|
|
|
+ this.projectDetailFilters.subscribeBuyerClass = []
|
|
|
}
|
|
|
// 本周新增招标项目数量
|
|
|
if (res.data.zhao_matchitem && res.data.zhao_matchitem.length > 0) {
|
|
@@ -387,14 +396,20 @@ export default {
|
|
|
// 下周开标提醒
|
|
|
if (res.data.nextweek_bidopen && res.data.nextweek_bidopen.length > 0) {
|
|
|
this.priority.nextweek_bidopen = res.data.nextweek_bidopen
|
|
|
+ } else {
|
|
|
+ this.priority.nextweek_bidopen = []
|
|
|
}
|
|
|
// 重点关注企业
|
|
|
if (res.data.follow_ent && res.data.follow_ent.length > 0) {
|
|
|
this.priority.follow_ent = res.data.follow_ent
|
|
|
+ } else {
|
|
|
+ this.priority.follow_ent = []
|
|
|
}
|
|
|
// 重点关注项目
|
|
|
if (res.data.follow_project && res.data.follow_project.length > 0) {
|
|
|
this.priority.follow_project = res.data.follow_project
|
|
|
+ } else {
|
|
|
+ this.priority.follow_project = []
|
|
|
}
|
|
|
}
|
|
|
})
|