Browse Source

志愿者情况

shibei_master
jiangyy 4 years ago
parent
commit
c49824d155
  1. 4
      src/views/modules/visual/communityGovern/resibuzz.vue
  2. 21
      src/views/modules/visual/measure/volunteer.vue

4
src/views/modules/visual/communityGovern/resibuzz.vue

@ -453,8 +453,8 @@ export default {
item.status ? item.status : '',
item.createdTime ? item.createdTime : '',
item.issueOriginator ? item.issueOriginator : '',
item.voteAccount ? item.voteAccount : '',
item.supportCount ? item.supportCount : '',
item.voteAccount ? item.voteAccount : 0,
item.supportCount ? item.supportCount : 0,
item.oppositionCount ? item.oppositionCount : '',
{ type: "operate", list: ["查看"] },
];

21
src/views/modules/visual/measure/volunteer.vue

@ -1,11 +1,11 @@
<template>
<div class="warning-box">
<cpt-card >
<cpt-card>
<div class="card-title">
<img class="title-icon" src="../../../../assets/img/shuju/title-tip.png" />
<img class="title-icon"
src="../../../../assets/img/shuju/title-tip.png" />
<div class="title-label">
<el-cascader
v-model="selectAgency"
<el-cascader v-model="selectAgency"
:options="propTree"
:props="{ checkStrictly: true }"
:show-all-levels="false"
@ -351,7 +351,7 @@ export default {
this.$message.error(msg)
}
},
async getAgencyList() {
async getAgencyList () {
// const url = "/gov/org/customeragency/staffinagencylist";
// const url = '/gov/org/customeragency/agencygridtree'
const url = '/gov/org/customeragency/staffinagencylist'
@ -372,7 +372,7 @@ export default {
this.$message.error(msg)
}
},
getTreeData(data){
getTreeData (data) {
if (!Array.isArray(data)) return []
let arr = data.map(item => {
let _item = {}
@ -388,7 +388,8 @@ export default {
label: item.agencyName,
value: item.agencyId + '-' + item.level,
level: item.level,
children: this.getTreeData(item.subAgencyList)}
children: this.getTreeData(item.subAgencyList)
}
} else {
_item = {
label: item.agencyName,
@ -497,11 +498,11 @@ export default {
},
handleCascader(val) {
handleCascader (val) {
console.log('val-vvv', val)
if (val.length > 0) {
const _arr = val[val.length - 1].split('-')
const orgType = _arr[1] !== 'grid' ? 'agency': 'grid'
const orgType = _arr[1] !== 'grid' ? 'agency' : 'grid'
// this.getServicePie(_arr[0], orgType)
this.getPie(_arr[0])
this.getMapUnitList(_arr[0])
@ -514,7 +515,7 @@ export default {
//mapInfo, polygonArray, polIconUrlArray, iconArrays, iconUrlArray
this.$refs.map.loadMap(this.agencyInfo, null, null, this.distributionsList, this.iconUrlArray, null)
} else {
this.$refs.map.refreshMap(null, this.unitMapList)
this.$refs.map.refreshMap(null, this.distributionsList)
}
},

Loading…
Cancel
Save