|
@@ -107,6 +107,7 @@
|
|
setinput: "",
|
|
setinput: "",
|
|
sortType: '1',
|
|
sortType: '1',
|
|
statList: [],
|
|
statList: [],
|
|
|
|
+ obj:{}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -201,15 +202,15 @@
|
|
var picker = new mui.PopPicker();
|
|
var picker = new mui.PopPicker();
|
|
|
|
|
|
picker.setData([{
|
|
picker.setData([{
|
|
- text: "全部",
|
|
|
|
|
|
+ text: "全部("+this.allCount+")",
|
|
value: 0
|
|
value: 0
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- text: "已上报",
|
|
|
|
|
|
+ text: "已上报("+this.obj.total+")",
|
|
value: 1
|
|
value: 1
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- text: "未上报",
|
|
|
|
|
|
+ text: "未上报("+(this.allCount-this.obj.total)+")",
|
|
value: 2
|
|
value: 2
|
|
}
|
|
}
|
|
]);
|
|
]);
|
|
@@ -223,19 +224,19 @@
|
|
var picker = new mui.PopPicker();
|
|
var picker = new mui.PopPicker();
|
|
|
|
|
|
picker.setData([{
|
|
picker.setData([{
|
|
- text: "全部",
|
|
|
|
|
|
+ text: "全部("+this.allCount+")",
|
|
value: ''
|
|
value: ''
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- text: "市内",
|
|
|
|
|
|
+ text: "市内("+this.obj.count1+")",
|
|
value: '0'
|
|
value: '0'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- text: "市外",
|
|
|
|
|
|
+ text: "市外("+(this.obj.count0-this.obj.count1)+")",
|
|
value: '1'
|
|
value: '1'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- text: "省外",
|
|
|
|
|
|
+ text: "省外("+(this.obj.total-this.obj.count0)+")",
|
|
value: '2'
|
|
value: '2'
|
|
}
|
|
}
|
|
]);
|
|
]);
|
|
@@ -277,6 +278,13 @@
|
|
//sortType:this.sortType,
|
|
//sortType:this.sortType,
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ query() {
|
|
|
|
+ return API_Health.query({
|
|
|
|
+ companyId: this.person_data.companyId,
|
|
|
|
+ queryDate: this.curDate,
|
|
|
|
+ //sortType:this.sortType,
|
|
|
|
+ });
|
|
|
|
+ },
|
|
//获取绿码统计数据
|
|
//获取绿码统计数据
|
|
getHealthyCodeStat() {
|
|
getHealthyCodeStat() {
|
|
this.isLoading = true;
|
|
this.isLoading = true;
|
|
@@ -353,6 +361,11 @@
|
|
mounted() {
|
|
mounted() {
|
|
var _this = this;
|
|
var _this = this;
|
|
this.queryList(true);
|
|
this.queryList(true);
|
|
|
|
+ this.query().then(page => {
|
|
|
|
+ console.log(page)
|
|
|
|
+ this.obj=page;
|
|
|
|
+ });
|
|
|
|
+
|
|
//获取绿码统计数据
|
|
//获取绿码统计数据
|
|
this.getHealthyCodeStat();
|
|
this.getHealthyCodeStat();
|
|
window.addEventListener('scroll', _this.handleScrool);
|
|
window.addEventListener('scroll', _this.handleScrool);
|