|
|
@@ -13,9 +13,10 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="nodata-box" v-if="nodata" style="background: url(../../static/images/nodata.png)no-repeat;background-size: contain;" > |
|
|
|
此项目本周还没有接待量哦~ |
|
|
|
</view> |
|
|
|
<view class="nodata-box" v-if="nodata"> |
|
|
|
<image class="img" src="/static/images/nodata.png" mode="" /> |
|
|
|
<view class="text">此项目本周还没有接待量哦~</view> |
|
|
|
</view> |
|
|
|
<view v-if="!nodata" > |
|
|
|
<!-- 简报 --> |
|
|
|
<view class="briefing"> |
|
|
@@ -577,24 +578,20 @@ |
|
|
|
let data = {} |
|
|
|
if(res.zkMessage.content){ |
|
|
|
data = JSON.parse(res.zkMessage.content) |
|
|
|
this.bubbleSort(data.customerInfo1, 'pk') |
|
|
|
this.bubbleSort(data.customerInfo2, 'pk') |
|
|
|
data.customerInfo1.reverse() |
|
|
|
data.customerInfo2.reverse() |
|
|
|
this.weekObj = { |
|
|
|
...res.zkMessage, |
|
|
|
...data |
|
|
|
} |
|
|
|
}else{ |
|
|
|
this.nodata = true |
|
|
|
this.weekObj = { |
|
|
|
...res.zkMessage, |
|
|
|
} |
|
|
|
} |
|
|
|
this.bubbleSort(data.customerInfo1, 'pk') |
|
|
|
this.bubbleSort(data.customerInfo2, 'pk') |
|
|
|
data.customerInfo1.reverse() |
|
|
|
data.customerInfo2.reverse() |
|
|
|
if(res.zkMessage.content){ |
|
|
|
data = JSON.parse(res.zkMessage.content) |
|
|
|
this.weekObj = { |
|
|
|
...res.zkMessage, |
|
|
|
...data |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
this.weekObj.createTimeName = this.getTimeLines(this.weekObj.weekDate, 1) |
|
|
|
console.log(this.weekObj, 'this.weekObj') |
|
|
|
this.projectName = res.projectName |
|
|
@@ -825,16 +822,26 @@ |
|
|
|
} |
|
|
|
|
|
|
|
.nodata-box{ |
|
|
|
width: 400rpx; |
|
|
|
height: 400rpx; |
|
|
|
font-size: 28rpx; |
|
|
|
font-family: PingFangSC-Regular, PingFang SC; |
|
|
|
font-weight: 400; |
|
|
|
color: #666666; |
|
|
|
line-height: 40rpx; |
|
|
|
padding-top: 360rpx; |
|
|
|
width: 750rpx; |
|
|
|
flex: 1; |
|
|
|
margin: 0 auto; |
|
|
|
text-align: center; |
|
|
|
display: flex; |
|
|
|
justify-content: center; |
|
|
|
align-items: center; |
|
|
|
flex-direction: column; |
|
|
|
background-color: #fff; |
|
|
|
.img{ |
|
|
|
width: 400rpx; |
|
|
|
height: 400rpx; |
|
|
|
} |
|
|
|
.text{ |
|
|
|
text-align: center; |
|
|
|
font-size: 28rpx; |
|
|
|
font-family: PingFangSC-Regular, PingFang SC; |
|
|
|
font-weight: 400; |
|
|
|
color: #666666; |
|
|
|
line-height: 40rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.briefing { |
|
|
|