Browse Source

社区治理bug修改

shibei_master
jiangyy 4 years ago
parent
commit
83cb317e28
  1. 2
      src/assets/scss/modules/visual/issue-info.scss
  2. 7
      src/assets/scss/modules/visual/resibuzz.scss
  3. 6
      src/views/modules/visual/basicinfo/basicInfoMain.vue
  4. 3
      src/views/modules/visual/communityGovern/distributionAnalyze.vue
  5. 3
      src/views/modules/visual/communityGovern/processAnalyze.vue
  6. 5
      src/views/modules/visual/communityGovern/resibuzz.vue
  7. 13
      src/views/modules/visual/communityGovern/typeAnalyze.vue
  8. 6
      src/views/modules/visual/components/screen-map/index.vue

2
src/assets/scss/modules/visual/issue-info.scss

@ -74,7 +74,7 @@
display: flex; display: flex;
padding-left: 15px; padding-left: 15px;
.info-title-2 { .info-title-2 {
width: 90px; width: 100px;
flex: 0 0 1; flex: 0 0 1;
font-size: 14px; font-size: 14px;
} }

7
src/assets/scss/modules/visual/resibuzz.scss

@ -52,9 +52,10 @@
} }
} }
.status-select { .status-select {
position: absolute; margin-left: 10px;
top: 20px; // position: absolute;
right: 10px; // top: 20px;
// right: 10px;
} }
.second-select:last-child { .second-select:last-child {
margin-left: 0; margin-left: 0;

6
src/views/modules/visual/basicinfo/basicInfoMain.vue

@ -549,11 +549,11 @@ const vueGis = {
// //
setZoom (agencyLevel) { setZoom (agencyLevel) {
if (agencyLevel === 'district') { if (agencyLevel === 'district') {
this.zoom = 14 this.zoom = 12
} else if (agencyLevel === 'street') { } else if (agencyLevel === 'street') {
this.zoom = 15 this.zoom = 13
} else if (agencyLevel === 'community') { } else if (agencyLevel === 'community') {
this.zoom = 16 this.zoom = 14
} }
}, },

3
src/views/modules/visual/communityGovern/distributionAnalyze.vue

@ -349,8 +349,9 @@ export default {
const { data, code, msg } = await requestPost(url, params); const { data, code, msg } = await requestPost(url, params);
if (code === 0) { if (code === 0) {
debugger
this.legendArray = [] this.legendArray = []
if (data.above) { if (data.under) {
this.under = data.under this.under = data.under
this.legendArray.push( this.legendArray.push(
{ {

3
src/views/modules/visual/communityGovern/processAnalyze.vue

@ -424,7 +424,8 @@ export default {
loadMap () { loadMap () {
if (this.isfirstInit) { if (this.isfirstInit) {
//mapInfo, polygonArray, polIconUrlArray, iconArrays, iconUrlArray //mapInfo, polygonArray, polIconUrlArray, iconArrays, iconUrlArray
this.$refs.map.loadMap(this.agencyInfo, null, null, this.projectList, this.iconUrlArray, this.iconTextStyle, 3000) // this.$refs.map.loadMap(this.agencyInfo, null, null, this.projectList, this.iconUrlArray, this.iconTextStyle, 3000)
this.$refs.map.loadMap(this.agencyInfo, null, null, this.projectList, this.iconUrlArray, this.iconTextStyle)
} else { } else {
this.$refs.map.refreshMap(null, this.projectList) this.$refs.map.refreshMap(null, this.projectList)
} }

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

@ -279,6 +279,7 @@ export default {
let params = { let params = {
orgId: this.orgId, orgId: this.orgId,
orgType: this.orgType, orgType: this.orgType,
status: this.status,
}; };
@ -453,9 +454,9 @@ export default {
item.status ? item.status : '', item.status ? item.status : '',
item.createdTime ? item.createdTime : '', item.createdTime ? item.createdTime : '',
item.issueOriginator ? item.issueOriginator : '', item.issueOriginator ? item.issueOriginator : '',
item.voteAccount ? item.voteAccount : 0, item.voteAccount ? item.voteAccount : '',
item.supportCount ? item.supportCount : 0, item.supportCount ? item.supportCount : 0,
item.oppositionCount ? item.oppositionCount : '', item.oppositionCount ? item.oppositionCount : 0,
{ type: "operate", list: ["查看"] }, { type: "operate", list: ["查看"] },
]; ];
}); });

13
src/views/modules/visual/communityGovern/typeAnalyze.vue

@ -2,7 +2,7 @@
<cpt-card> <cpt-card>
<div class="title"> <div class="title">
<img src="@/assets/img/shuju/title-tip.png" /> <img src="@/assets/img/shuju/title-tip.png" />
<span>事件分类分析</span> <span>项目分类分析</span>
<div class="second-select cascader"> <div class="second-select cascader">
@ -123,10 +123,7 @@ export default {
align: "center", align: "center",
width: "5%", width: "5%",
}, },
{
align: "center",
width: "10%",
},
{ {
align: "center", align: "center",
width: "10%", width: "10%",
@ -145,7 +142,7 @@ export default {
}, },
{ {
align: "center", align: "center",
width: "20%", width: "30%",
}, },
{ {
align: "center", align: "center",
@ -156,7 +153,7 @@ export default {
width: "10%", width: "10%",
}, },
], ],
header: ["序号", "项目编号", "类别", "反映渠道", "所属网格", "状态", "项目标题", "转成项目时间", "操作"], header: ["序号", "类别", "反映渠道", "所属网格", "状态", "项目标题", "转成项目时间", "操作"],
list: [], list: [],
pageSize: 10, pageSize: 10,
pageNo: 1, pageNo: 1,
@ -427,7 +424,7 @@ export default {
item.statusShow = item.status === 'pending' ? '待处理' : '已结案' item.statusShow = item.status === 'pending' ? '待处理' : '已结案'
return [ return [
{ type: "index" }, { type: "index" },
item.projectCode ? item.projectCode : '', // item.projectCode ? item.projectCode : '',
item.categoryNames.join(','), item.categoryNames.join(','),
item.originShow ? item.originShow : '', item.originShow ? item.originShow : '',
item.gridName ? item.gridName : '', item.gridName ? item.gridName : '',

6
src/views/modules/visual/components/screen-map/index.vue

@ -450,11 +450,11 @@ const vueGis = {
// //
setZoom (level) { setZoom (level) {
if (level === 'district') { if (level === 'district') {
this.zoom = 14 this.zoom = 12
} else if (level === 'street') { } else if (level === 'street') {
this.zoom = 15 this.zoom = 13
} else if (level === 'community') { } else if (level === 'community') {
this.zoom = 16 this.zoom = 14
} }
}, },

Loading…
Cancel
Save