Commit 34a2efc77cd70200e8c3c3899dfd03d8f3b3497c

Authored by liuqimichale
1 parent 90185cec

收费员统计

src/components/memberNum/index.vue
... ... @@ -51,10 +51,10 @@
51 51 methods: {
52 52 /*
53 53 * 格式化会员总数
54   - * */
55   - formatNumToStr:function(){
56   - return common.formatNumToStr(this.$options.data().demo);
57   - },
  54 + // * */
  55 + // formatNumToStr:function(){
  56 + // return common.formatNumToStr(this.$options.data().demo);
  57 + // },
58 58  
59 59 }
60 60 }
... ...
src/components/tollman/index.vue
... ... @@ -43,6 +43,19 @@
43 43 //this.createLine();
44 44 //收费员总数
45 45 this.tollmanTotal=this.formatNumToStr();
  46 +
  47 + this.axios.post('urban/intelligence/employee/queryEmployeeStaByOrgIds',{
  48 + orgIds: [10003,10005]
  49 + }).then((response)=>{
  50 + let data = response.data.data
  51 + console.log(response)
  52 + this.tollmanTotal = data.allTollCollector
  53 + this.tollmanTotal = common.formatNumToStr(this.tollmanTotal);
  54 + this.onDutyNum = data.signInTollCollector
  55 + this.noDutyNum = data.unSignInTollCollector
  56 + }).catch((response)=>{
  57 + console.log(response);
  58 + })
46 59 },
47 60 methods: {
48 61 /*
... ...