|
@@ -49,7 +49,11 @@
|
|
width="50" /></div>
|
|
width="50" /></div>
|
|
<h4 v-text="item.name"></h4>
|
|
<h4 v-text="item.name"></h4>
|
|
<span class="mui-icon iconfont icon-erweima1 " :style="'color:'+getGreenCodeColor(item.healthyCode)"></span>
|
|
<span class="mui-icon iconfont icon-erweima1 " :style="'color:'+getGreenCodeColor(item.healthyCode)"></span>
|
|
|
|
+ <span class="iconfont color999" style =" font-size: 14px;" v-if="countNum(item.countNum)">已连续上报{{item.countNum}}天</span>
|
|
|
|
+
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
<div class="mui-pull-right color55f868" style="padding: inherit;" v-if="item.upLoad">已上报</div>
|
|
<div class="mui-pull-right color55f868" style="padding: inherit;" v-if="item.upLoad">已上报</div>
|
|
<div class="mui-pull-right colorfe616c" style="padding: inherit;" v-if="!item.upLoad">未上报</div>
|
|
<div class="mui-pull-right colorfe616c" style="padding: inherit;" v-if="!item.upLoad">未上报</div>
|
|
</a>
|
|
</a>
|
|
@@ -72,6 +76,8 @@
|
|
width="50" /></div>
|
|
width="50" /></div>
|
|
<h4 v-text="item.name"></h4>
|
|
<h4 v-text="item.name"></h4>
|
|
<span class="mui-icon iconfont icon-erweima1 " :style="'color:'+getGreenCodeColor(item.healthyCode)"></span>
|
|
<span class="mui-icon iconfont icon-erweima1 " :style="'color:'+getGreenCodeColor(item.healthyCode)"></span>
|
|
|
|
+ <span class="iconfont color999" style =" font-size: 14px;" v-if="countNum(item.countNum)">已连续上报{{item.countNum}}天</span>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
<div class="mui-pull-right color55f868" style="padding: inherit;" v-if="item.upLoad">已上报</div>
|
|
<div class="mui-pull-right color55f868" style="padding: inherit;" v-if="item.upLoad">已上报</div>
|
|
<div class="mui-pull-right colorfe616c" style="padding: inherit;" v-if="!item.upLoad">未上报</div>
|
|
<div class="mui-pull-right colorfe616c" style="padding: inherit;" v-if="!item.upLoad">未上报</div>
|
|
@@ -95,6 +101,7 @@
|
|
width="50" /></div>
|
|
width="50" /></div>
|
|
<h4 v-text="item.name"></h4>
|
|
<h4 v-text="item.name"></h4>
|
|
<span class="mui-icon iconfont icon-erweima1 " :style="'color:'+getGreenCodeColor(item.healthyCode)"></span>
|
|
<span class="mui-icon iconfont icon-erweima1 " :style="'color:'+getGreenCodeColor(item.healthyCode)"></span>
|
|
|
|
+ <span class="iconfont color999" style =" font-size: 14px;" v-if="countNum(item.countNum)">已连续上报{{item.countNum}}天</span>
|
|
</div>
|
|
</div>
|
|
<div class="mui-pull-right color55f868" style="padding: inherit;" v-if="item.upLoad">已上报</div>
|
|
<div class="mui-pull-right color55f868" style="padding: inherit;" v-if="item.upLoad">已上报</div>
|
|
<div class="mui-pull-right colorfe616c" style="padding: inherit;" v-if="!item.upLoad">未上报</div>
|
|
<div class="mui-pull-right colorfe616c" style="padding: inherit;" v-if="!item.upLoad">未上报</div>
|
|
@@ -182,7 +189,16 @@
|
|
}
|
|
}
|
|
|
|
|
|
},
|
|
},
|
|
|
|
+
|
|
methods: {
|
|
methods: {
|
|
|
|
+ countNum(num){
|
|
|
|
+ if( this.curDate == parseUnixTime(currentTimeStamp(), '{y}-{m}-{d}')&&num ){
|
|
|
|
+ return true;
|
|
|
|
+ }else{
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ },
|
|
//跳转到健康码页面
|
|
//跳转到健康码页面
|
|
goToCodeList(healthyCode) {
|
|
goToCodeList(healthyCode) {
|
|
this.$router.push({
|
|
this.$router.push({
|