Browse Source

修改禅道一些bug

v1.1
战立标 2 years ago
parent
commit
acaa5819a7
  1. 2
      src/views/dataBoard/renfang/index.vue
  2. 14
      src/views/dataBoard/renfang/resi/classNew.vue
  3. 12
      src/views/dataBoard/renfang/visualizing/components/laonianren.vue
  4. 1
      src/views/dataBoard/renfang/visualizing/components/shiyerenyuan.vue

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

@ -50,7 +50,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="item" @click="jumpPath('normal', 'aged', '志愿者')"> <div class="item" @click="jumpPath('normal', 'aged', '失业人员')">
<div class="item-info"> <div class="item-info">
<div> <div>
<img <img

14
src/views/dataBoard/renfang/resi/classNew.vue

@ -449,10 +449,10 @@ export default {
}, },
], ],
serviceList: [ serviceList: [
{ /* {
label: "政策找人", label: "政策找人",
value: "policy", value: "policy",
}, },*/
{ {
label: "服务找人", label: "服务找人",
value: "service", value: "service",
@ -469,6 +469,10 @@ export default {
label: "岗位找人", label: "岗位找人",
value: "position", value: "position",
}, },
{
label: "未享受服务",
value: "nonService",
},
], ],
colList: [ colList: [
{ {
@ -843,9 +847,9 @@ export default {
this.oldValsss = null; this.oldValsss = null;
}, 200); }, 200);
} }
if (!query.olds) { /* if (!query.olds) {
this.getList(); this.getList();
} }*/
if (this.pageType != "normal") { if (this.pageType != "normal") {
this.colList = [ this.colList = [
{ {
@ -930,8 +934,10 @@ export default {
endAge: null, endAge: null,
}; };
this.getList(searchParams); this.getList(searchParams);
console.log('changeOld1')
return; return;
} }
console.log('changeOld2')
const searchParams = { const searchParams = {
startAge: e[0], startAge: e[0],
endAge: e[1], endAge: e[1],

12
src/views/dataBoard/renfang/visualizing/components/laonianren.vue

@ -57,6 +57,7 @@ export default {
lnrLeft: [], lnrLeft: [],
lnrRight: [], lnrRight: [],
lnrService: [], lnrService: [],
level: this.$store.state.user.level === 'grid'?'grid':'agency'
}; };
}, },
created() { created() {
@ -67,9 +68,12 @@ export default {
methods: { methods: {
getData() { getData() {
const { user } = this.$store.state const { user } = this.$store.state
this.level = this.$store.state.user.level === 'grid'?'grid':'agency'
console.log(user); console.log(user);
let param = { agencyId:user.agencyId,level:this.level}
this.$http this.$http
.get("/actual/base/peopleRoomOverview/oldPeopleAgePie") .get("/actual/base/peopleRoomOverview/oldPeopleAgePie?"+this.$paramsFormat(param))
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg); return this.$message.error(res.msg);
@ -79,7 +83,7 @@ export default {
}) })
.catch(() => {}); .catch(() => {});
this.$http this.$http
.get("/actual/base/peopleRoomOverview/oldPeopleResidePie") .get("/actual/base/peopleRoomOverview/oldPeopleResidePie?"+this.$paramsFormat(param))
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg); return this.$message.error(res.msg);
@ -89,7 +93,7 @@ export default {
}) })
.catch(() => {}); .catch(() => {});
this.$http this.$http
.post(`/actual/base/peopleRoomOverview/findPeoplePie`,{ agencyId:user.agencyId,level:user.level,category:'OLD_PEOPLE_FLAG'}) .post(`/actual/base/peopleRoomOverview/findPeoplePie`,{ agencyId:user.agencyId,level:this.level,category:'OLD_PEOPLE_FLAG'})
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg); return this.$message.error(res.msg);
@ -102,7 +106,7 @@ export default {
let url = '/actual/base/peopleRoomOverview/findPeoplePie' let url = '/actual/base/peopleRoomOverview/findPeoplePie'
let params = { let params = {
agencyId:user.agencyId, agencyId:user.agencyId,
level:user.level, level:this.level,
category:'OLD_PEOPLE_FLAG' category:'OLD_PEOPLE_FLAG'
} }
}, },

1
src/views/dataBoard/renfang/visualizing/components/shiyerenyuan.vue

@ -308,6 +308,7 @@ export default {
}; };
this.resiChart.setOption(option); this.resiChart.setOption(option);
this.resiChart.on("click", (e) => { this.resiChart.on("click", (e) => {
console.log(e)
this.$router.push({ this.$router.push({
path: "/dataBoard/renfang/resi-class-new", path: "/dataBoard/renfang/resi-class-new",
query: { query: {

Loading…
Cancel
Save