diff --git a/src/components/memberNum/index.vue b/src/components/memberNum/index.vue index 912561f..25fc6e4 100644 --- a/src/components/memberNum/index.vue +++ b/src/components/memberNum/index.vue @@ -51,10 +51,10 @@ methods: { /* * 格式化会员总数 - * */ - formatNumToStr:function(){ - return common.formatNumToStr(this.$options.data().demo); - }, + // * */ + // formatNumToStr:function(){ + // return common.formatNumToStr(this.$options.data().demo); + // }, } } diff --git a/src/components/tollman/index.vue b/src/components/tollman/index.vue index be3212c..9195d10 100644 --- a/src/components/tollman/index.vue +++ b/src/components/tollman/index.vue @@ -43,6 +43,19 @@ //this.createLine(); //收费员总数 this.tollmanTotal=this.formatNumToStr(); + + this.axios.post('urban/intelligence/employee/queryEmployeeStaByOrgIds',{ + orgIds: [10003,10005] + }).then((response)=>{ + let data = response.data.data + console.log(response) + this.tollmanTotal = data.allTollCollector + this.tollmanTotal = common.formatNumToStr(this.tollmanTotal); + this.onDutyNum = data.signInTollCollector + this.noDutyNum = data.unSignInTollCollector + }).catch((response)=>{ + console.log(response); + }) }, methods: { /*