Browse Source

新增残联弹框

master
mk 10 months ago
parent
commit
c0f5cff7f6
  1. BIN
      src/assets/images/cj.png
  2. BIN
      src/assets/images/cj_logo.png
  3. 13
      src/store/modules/dialog.js
  4. 233
      src/views/next/dialog-module/disabilityVisible/index.vue
  5. 6
      src/views/next/index.vue
  6. 12
      src/views/next/screen-content-map/index.vue

BIN
src/assets/images/cj.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

BIN
src/assets/images/cj_logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

13
src/store/modules/dialog.js

@ -22,6 +22,8 @@ export default {
archiveQueryVisible: false, // 小弹窗-档案查询
oneClickServiceVisible: false, // 小弹窗-一键服务除了一键直通、档案查询其他的模块
gridInfoDialog:false, // 小弹窗-网格信息弹窗
disabilityVisible: false, // 大弹窗-矛盾调解
},
mutations: {
set_buildLeaderAttachVisible (state, visible) {
@ -89,7 +91,11 @@ export default {
},
set_gridInfoDialog(state, visible) {
state.gridInfoDialog = visible
}
},
set_disabilityVisible (state, visible) {
state.disabilityVisible = visible
console.log(visible);
},
},
actions: {
SET_BUILDLEADERATTACHVISIBLE (context, visible) {
@ -159,6 +165,10 @@ export default {
context.commit('set_gridInfoDialog', visible)
},
SET_DISABILITYVISIBLE (context, visible) {
context.commit('set_disabilityVisible', visible)
},
// 确保当前只能显示最近点击的弹窗
showGlobalDialog (context, type) {
context.commit('set_buildLeaderAttachVisible', false)
@ -230,5 +240,6 @@ export default {
archiveQueryVisible: state => state.archiveQueryVisible,
oneClickServiceVisible: state => state.oneClickServiceVisible,
gridInfoDialog:state => state.gridInfoDialog,
disabilityVisible:state => state.disabilityVisible,
}
}

233
src/views/next/dialog-module/disabilityVisible/index.vue

@ -0,0 +1,233 @@
<template>
<div class="conflict-mediation-modal" v-show="disabilityVisible">
<div class="conflict-mediation">
<div class="close-icon" @click="closeDialog">
<img src="@/assets/next-images/close-icon.png" alt="" />
</div>
<div class="title-container">
<div class="title-icon">
<img src="@/assets/images/community-icon.png" alt="" />
</div>
<div class="title">残联基层组织</div>
</div>
<div class="conflict-mediation-content">
<div class="logo">
<div class="logo-container">
<img src="@/assets/images/cj_logo.png" alt="" />
</div>
</div>
<div class="table-container">
<TableFrame
:headerList="headerList"
:dataList="dataList"
:preloadVisible="preloadVisible"
/>
</div>
</div>
</div>
</div>
</template>
<script>
import TableFrame from '../conflict-mediation/table-frame.vue'
import { mapActions, mapGetters } from 'vuex'
export default {
name: 'community-table',
data () {
return {
headerList: [
{ width: '100%', title: '序号' },
{ width: '200%', title: '工作站' },
{ width: '100%', title: '主席' },
{ width: '300%', title: '副主席' },
{ width: '300%', title: '委员' },
{ width: '100%', title: '专职委员' }
],
dataList: [
[1,'堡子村','孙兴宽','唐桂琴、丁翊青、王胜平','杨奉贵、任光勇','任秀娟'],
[2,'北土楼村','丁翊胜','丁传福、任永顺','于金珍、王秋英','高远亭'],
[3,'南土楼村','毕群山','程振国、张方荣、王胜平','张邦春、张方伦','项荣芳'],
[4,'中土楼村','李善堂','丁文文、孙玲','李长清、任兴荣、李善友','李文腾'],
[5,'西三里村','朱成法','尹青、翟庆常','赵淑霞、张方海','赵双双'],
[6,'山头村','柳锡荣','孙孟河、柳东晓','李淑伟、刘强','柳宗庆'],
[7,'前阮二村','丁翊栋','丁华亭、刘娟','丁士平、高凤英','张雯雯'],
[8,'上盆王村','常正民','常正普、常荣、王军','靳贤梅、常本随','任华娟'],
[9,'下盆王村','常本银','常金祥、常铁军','常来成、殷翠','郑秀华'],
[10,'前寨村','赵奔','赵学梅、张宾','李吉伏、李道民、陈承信','李延荣'],
[11,'后寨村','靳拥华','李丙莲、丁桂兰、马玉平','靳士锋、靳维虎、靳维春、张召明','靳士伟'],
[12,'凌庄村','凌泽荣','郭永强、刘汝英','靳利红、尹飞飞','凌泽忠'],
[13,'毕海洋村','翟士香','何友君、张 华','毕泗泉、孙大凤','张子红'],
[14,'大李子顺村','李善柱','孙玉芳、李正元','张维珍、孙清华','李刚'],
[15,'东子顺南村','吴庆玉','郭振建、李传英','赵衍坤、张庆军、赵衍伦','吴莲'],
[16,'东子顺北村','张召木','焦广军、张倩倩','李宗懂、李 刚、李 根','李淑水'],
[17,'李山头村','李玉保','李传连、李玉良','李传明、郭建国','张翠峰'],
[18,'西子顺村','孙茂岩','赵绪寅、王秀宇','孙茂强、程振生','赵诗新'],
[19,'宋子顺村','李兆斌','李衍春、李吉华','宋宪增、李淑荣','李春英'],
[20,'东孙庄村','孙清福','孙忠清、牛连风','赵莲、陈茂金','孙允东'],
[21,'龙桥村','赵洪刚','毕秀平、赵敦俊','赵桂芝、赵敦东','赵桂风'],
[22,'玫瑰湖社区残协基层组织建设','丁秀梅','孙会昌、雷抒新','李铆铆、吕楠楠、陶 洁','孙娜'],
[23,'玫瑰苑社区残协基层组织建设','尹璞','张传恒、孔晓燕','郭兵、罗绪冬','孙媛媛'],
[24,'锦祥源社区残协基层组织建设','韩花','丁文文、李磊','李卡、宋娥','史明月'],
[25,'锦水园社区残协基层组织建设','刘文琦','陈双林、赵峰','张艳艳、朱田田','周晓莉'],
[25,'滨湖社区残协基层组织建设','朱震','韩子成、张伟','李晓敏、张利霞','于乐佳']
],
conflictCommunityList: [],
preloadVisible: false
}
},
components: {
TableFrame
},
created () {
},
computed: {
...mapGetters(['disabilityVisible']),
},
methods: {
...mapActions({
set_disabilityVisible: 'SET_DISABILITYVISIBLE',
}),
closeDialog () {
this.set_disabilityVisible(false)
}
}
}
</script>
<style lang="scss" scoped>
img {
width: 100%;
height: 100%;
float: left;
object-fit: cover;
}
.conflict-mediation-modal {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
z-index: 150;
.conflict-mediation {
width: 1696px;
height: 890px;
background: url("~@/assets/images/event-list-dialog-bg.png") no-repeat;
background-size: 100% 100%;
position: relative;
.close-icon {
width: 26px;
height: 26px;
position: absolute;
top: 4px;
right: -2px;
cursor: pointer;
}
.title-container {
width: 100%;
height: 30px;
display: flex;
align-items: flex-end;
box-sizing: border-box;
padding-left: 26px;
margin-top: 18px;
.title-icon {
width: 20px;
height: 20px;
}
.title {
font-size: 18px;
font-weight: 900;
background: linear-gradient(
0deg,
#85e3f9 0%,
#ffffff 60%,
#ffffff 100%
);
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
margin-left: 3px;
}
}
.conflict-mediation-content {
width: 100%;
height: calc(100% - 30px - 18px - 30px);
box-sizing: border-box;
padding: 0 10%;
.logo {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 40px 0 10px 0;
&-container {
width: 856px;
height: 64px;
}
}
.tab-list {
width: 100%;
box-sizing: border-box;
padding: 0 10%;
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 20px;
&-item {
width: 182px;
height: 58px;
background: url("~@/assets/images/org-bg.png") no-repeat;
background-size: 100% 100%;
font-family: "PingFang Regular";
font-weight: 900;
font-size: 18px;
white-space: wrap;
color: #fff;
line-height: 26px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
box-sizing: border-box;
padding: 0 10px;
cursor: pointer;
}
}
.select-tab {
width: 100%;
height: 50px;
box-sizing: border-box;
padding: 0 10%;
position: relative;
&-container {
width: 62px;
height: 26px;
margin: 12px 0;
position: absolute;
top: 0px;
left: calc(10% + 91px - 31px);
transition: left linear 0.5s;
&.tab1 {
left: calc(10% + 91px - 31px);
}
&.tab2 {
left: calc(50% - 31px);
}
&.tab3 {
left: calc(90% - 91px - 31px);
}
}
}
.table-container {
width: 100%;
height: calc(100% - (40px + 64px + 10px) - (20px + 58px) - 50px - 50px);
}
}
}
}
</style>

6
src/views/next/index.vue

@ -35,6 +35,7 @@
<ArchiveQuery />
<OneClickService />
<GridInfoDialog/>
<DisabilityDialog/>
</div>
</template>
@ -67,6 +68,8 @@ import DirectCommunication from './dialog-module/direct-communication'
import ArchiveQuery from './dialog-module/archive-query'
import OneClickService from './dialog-module/one-click-service'
import GridInfoDialog from './dialog-module/grid-info-dialog'
import DisabilityDialog from './dialog-module/disabilityVisible'
let width = 0
let height = 0
export default {
@ -106,7 +109,8 @@ export default {
DirectCommunication,
ArchiveQuery,
OneClickService,
GridInfoDialog
GridInfoDialog,
DisabilityDialog
},
beforeRouteEnter (to, from, next) {
if (window.location.search) {

12
src/views/next/screen-content-map/index.vue

@ -133,7 +133,7 @@ export default {
],
mapTabListGrid: [],
mapTabList: [
// { icon: require('@/assets/images/red-cross-blue-icon.png'), label: '', selectIcon: require('@/assets/images/red-cross-yellow-icon.png') },
{ icon: require('@/assets/images/cj.png'), label: '残联基层组织', selectIcon: require('@/assets/images/cj.png') },
{ icon: require('@/assets/images/volunteer-blue-icon.png'), label: '志愿者', selectIcon: require('@/assets/images/volunteer-yellow-icon.png') }
],
currentTab: '',
@ -189,6 +189,7 @@ export default {
set_communityId: 'SET_COMMUNITYID',
showGlobalDialog: 'showGlobalDialog',
set_gridInfoDialog: "SET_GRIDINFODIALOG",
set_disabilityVisible: 'SET_DISABILITYVISIBLE',
}),
getResidentClassifyStatistics() {
let params = {
@ -295,7 +296,7 @@ export default {
// numAnimation(this.statisticsList[2].value, communityNum, this.statisticsList[2], 'value')
// numAnimation(this.statisticsList[3].value, gridNum, this.statisticsList[3], 'value')
// numAnimation(this.statisticsList[4].value, itemOverCount, this.statisticsList[4], 'value')
numAnimation(this.statisticsList[5].value, gridUserNum, this.statisticsList[5], 'value')
numAnimation(this.statisticsList[5].value, 62, this.statisticsList[5], 'value')
// numAnimation(this.statisticsList[5].value, partyMemberNum, this.statisticsList[5], 'value')
}).catch(err => {
console.error('获取地图中心上方统计数', err)
@ -397,9 +398,8 @@ export default {
} else {
this.currentTab = tab.label
}
if (this.currentTab === '红十字会') {
Bus.$emit('drawRedCrossMarker')
if (this.currentTab === '残联基层组织') {
this.set_disabilityVisible(true)
} else if (this.currentTab === '志愿者') {
Bus.$emit('drawVolunteerMarker')
} else {
@ -747,7 +747,7 @@ img {
z-index: 20;
.tab-item {
width: 115px;
width: 137px;
height: 36px;
background: rgba(8, 31, 57, 0.61);
border: 1px solid #12d0ff;

Loading…
Cancel
Save