Commit 0969cdda authored by 李智书's avatar 李智书

Merge branch 'develop' of https://git.xiaopay.net/lizhishu/xzf_uniapp-wechat-web into develop

parents 798dfbb1 ae59bdda
...@@ -44,12 +44,12 @@ ...@@ -44,12 +44,12 @@
<view class="school-report-context-tab-item-one active"> <view class="school-report-context-tab-item-one active">
<text>消费报告</text> <text>消费报告</text>
</view> </view>
<view class="school-report-context-tab-item-one"> <!-- <view class="school-report-context-tab-item-one">
<text>门禁报告</text> <text>门禁报告</text>
</view> </view>
<view class="school-report-context-tab-item-one"> <view class="school-report-context-tab-item-one">
<text>公话报告</text> <text>公话报告</text>
</view> </view> -->
</view> </view>
<view class="school-report-context-tab-item-two"> <view class="school-report-context-tab-item-two">
<view class="share-button" @tap="shareHandler"> <view class="share-button" @tap="shareHandler">
...@@ -450,14 +450,15 @@ ...@@ -450,14 +450,15 @@
} }
}, },
mounted() { mounted() {
if(new Date().getTime()<=new Date('2022/06/30').getTime()){ // if(new Date().getTime()<=new Date('2022/06/30').getTime()){
this.isOpen=true; // this.isOpen=true;
this.memberInfo.invalidDateStr='2022年6月30日'; // this.memberInfo.invalidDateStr='2022年6月30日';
this.memberInfo.differDay=dayjs('2022/06/30').diff(dayjs(),'day'); // this.memberInfo.differDay=dayjs('2022/06/30').diff(dayjs(),'day');
this.containerHeight = 4200; // this.containerHeight = 4200;
}else{ // }else{
// this.queryIsDredgeMember();
// }
this.queryIsDredgeMember(); this.queryIsDredgeMember();
}
let tmpArr = [] let tmpArr = []
// 获取时间 // 获取时间
for (let i = 0; i <= 11; i++) { for (let i = 0; i <= 11; i++) {
...@@ -676,7 +677,7 @@ ...@@ -676,7 +677,7 @@
linechart: function(num) { linechart: function(num) {
var mySize = document.getElementById('consumer-trend-line'); var mySize = document.getElementById('consumer-trend-line');
mySize.style.width = window.innerWidth - 20 + 'px'; mySize.style.width = window.innerWidth - 20 + 'px';
mySize.style.height = window.innerHeight - 580 + 'px'; mySize.style.height = window.innerHeight - 500 + 'px';
var myChart = echarts.init(mySize); var myChart = echarts.init(mySize);
var xdata = this.lineDatas.map(v => v.name); var xdata = this.lineDatas.map(v => v.name);
var year = this.dataRangeArr[this.dataRangeIndex].startDate.slice(0, 4); var year = this.dataRangeArr[this.dataRangeIndex].startDate.slice(0, 4);
...@@ -894,7 +895,7 @@ ...@@ -894,7 +895,7 @@
return return
} }
const tmpObj = data.obj; const tmpObj = data.obj;
this.isEatLow = tmpObj.canteenAmount / tmpObj.grossAmount > 0.5 ? true : false; this.isEatLow = tmpObj.canteenAmount / tmpObj.grossAmount < 0.5 ? true : false;
if (num) { if (num) {
this.pieDatas = [ this.pieDatas = [
[{ [{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment