Browse Source

调整人防数据传参

v1.1
战立标 2 years ago
parent
commit
8ebce8f0dd
  1. 17
      src/views/dataBoard/renfang/index.vue

17
src/views/dataBoard/renfang/index.vue

@ -502,8 +502,9 @@ export default {
async getPandectData() { async getPandectData() {
const url = "/actual/base/residentHouseMerge/communityOverview"; const url = "/actual/base/residentHouseMerge/communityOverview";
let params = { let params = {
// orgId: "", agencyId: this.orgId,
// level: "", orgId: this.orgId,
level: this.orgLevel,
}; };
const {data, code, msg} = await requestGet(url, params); const {data, code, msg} = await requestGet(url, params);
@ -666,18 +667,16 @@ export default {
// ps: // ps:
async getPerInfo() { async getPerInfo() {
const url = "/actual/base/resiCategory/categoryCountPartList"; const url = "/actual/base/resiCategory/categoryCountPartList";
let params = { let params = {
orgId: this.orgId, orgId: this.orgId,
agencyId: this.orgId,
level: this.orgLevel,
}; };
const { data, code, msg } = await requestGet( const { data, code, msg } = await requestGet(
url, url,
params params
); );
if (code === 0 && data) { if (code === 0 && data) {
// this.perInfo = { // this.perInfo = {
// ...iniGetPerInfo(), // ...iniGetPerInfo(),
@ -713,6 +712,9 @@ export default {
async getResiCategoryData() { async getResiCategoryData() {
const url = "/actual/base/resiCategory/categoryCountList"; const url = "/actual/base/resiCategory/categoryCountList";
let params = { let params = {
agencyId: this.orgId,
orgId: this.orgId,
level: this.orgLevel,
// id: this.orgId, // id: this.orgId,
// level: "agency", // level: "agency",
}; };
@ -739,6 +741,9 @@ export default {
async getResiCategoryForecastData() { async getResiCategoryForecastData() {
const url = "/actual/base/resiCategory/intelligentPredictioncategoryCountList"; const url = "/actual/base/resiCategory/intelligentPredictioncategoryCountList";
let params = { let params = {
agencyId: this.orgId,
orgId: this.orgId,
level: this.orgLevel,
}; };
const {data, code, msg} = await requestGet(url, params); const {data, code, msg} = await requestGet(url, params);
if (code === 0) { if (code === 0) {

Loading…
Cancel
Save