|
|
@ -63,7 +63,17 @@ export default { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getInitIntoNum() { |
|
|
|
FetchInitIntoNum().then((res) => { |
|
|
|
let params |
|
|
|
if (!this.isSelfService) { |
|
|
|
params = { |
|
|
|
doorCodes: null |
|
|
|
} |
|
|
|
} else { |
|
|
|
params = { |
|
|
|
doorCodes: 'D001' |
|
|
|
} |
|
|
|
} |
|
|
|
FetchInitIntoNum(params).then((res) => { |
|
|
|
if (res.errCode === 0) { |
|
|
|
this.dayNum = res.data.dayPeopleNum |
|
|
|
this.monthNum = res.data.monthPeopleNum |
|
|
|