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

Loading…
Cancel
Save