You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
327 lines
11 KiB
327 lines
11 KiB
export default {
|
|
state: {
|
|
yfcj: false, // 种都移风-移风成就
|
|
garden: false, // 种都移风-产业园
|
|
talents: false, // 种都移风-专家墙
|
|
qyjj: false, // 种都移风-企业简介
|
|
ldgh: false, // 种都移风-领导关怀
|
|
organization: false, // 红色移风-组织架构
|
|
hsyfCompany: false, // 红色移风-共富公司
|
|
zhenCommittee: false, // 红色移风-镇党委
|
|
xincunCommittee: false, // 红色移风-新村党委
|
|
zirancunCommittee: false, // 红色移风-自然村党支部
|
|
wanggeCommittee: false, // 红色移风-网格党小组
|
|
dyzxhCommittee: false, // 红色移风-党员中心户
|
|
dangyuanCommittee: false, // 红色移风-党员分析
|
|
hsyfAttractions: false, // 红色移风-党员分析
|
|
dyfcShow: false,
|
|
researchShow: false,
|
|
zdyfGgqy: false,
|
|
gsxq: false,
|
|
djhdShow: false,
|
|
ywqsShow: false,
|
|
hsyfJzfw: false,
|
|
ylqdShow: false,
|
|
sjfx: false,
|
|
sjcl: false,
|
|
zdry: false,
|
|
yfclz: false,
|
|
actId: null,
|
|
researchId: null,
|
|
dyfcId: null
|
|
|
|
},
|
|
mutations: {
|
|
set_yfcj (state, visible) {
|
|
state.yfcj = visible
|
|
},
|
|
set_garden (state, visible) {
|
|
state.garden = visible
|
|
},
|
|
set_talents (state, visible) {
|
|
state.talents = visible
|
|
},
|
|
set_zdyf_ggqy (state, visible) {
|
|
state.zdyfGgqy = visible
|
|
},
|
|
set_gsxq (state, visible) {
|
|
state.gsxq = visible
|
|
},
|
|
set_qyjj (state, visible) {
|
|
state.qyjj = visible
|
|
},
|
|
set_ldgh (state, visible) {
|
|
state.ldgh = visible
|
|
},
|
|
set_organization (state, visible) {
|
|
state.organization = visible
|
|
},
|
|
set_hsyf_company (state, visible) {
|
|
state.hsyfCompany = visible
|
|
},
|
|
set_zhen_committee (state, visible) {
|
|
state.zhenCommittee = visible
|
|
},
|
|
set_xincun_committee (state, visible) {
|
|
state.xincunCommittee = visible
|
|
},
|
|
set_zirancun_committee (state, visible) {
|
|
state.zirancunCommittee = visible
|
|
},
|
|
set_wangge_committee (state, visible) {
|
|
state.wanggeCommittee = visible
|
|
},
|
|
set_dyzxh_committee (state, visible) {
|
|
state.dyzxhCommittee = visible
|
|
},
|
|
set_dangyuan_committee (state, visible) {
|
|
state.dangyuanCommittee = visible
|
|
},
|
|
set_hsyf_attractions (state, visible) {
|
|
state.hsyfAttractions = visible
|
|
},
|
|
set_hsyf_jzfw (state, visible) {
|
|
state.hsyfJzfw = visible
|
|
},
|
|
set_ylqd_show (state, visible) {
|
|
state.ylqdShow = visible
|
|
},
|
|
set_dyfc_show (state, visible) {
|
|
state.dyfcShow = visible
|
|
},
|
|
set_research_show (state, visible) {
|
|
state.researchShow = visible
|
|
},
|
|
set_djhd_show (state, visible) {
|
|
state.djhdShow = visible
|
|
},
|
|
set_ywqs_show (state, visible) {
|
|
state.ywqsShow = visible
|
|
},
|
|
set_sjfx (state, visible) {
|
|
state.sjfx = visible
|
|
},
|
|
set_sjcl (state, visible) {
|
|
state.sjcl = visible
|
|
},
|
|
set_zdry (state, visible) {
|
|
state.zdry = visible
|
|
},
|
|
set_yfclz (state, visible) {
|
|
console.log('zoule?????')
|
|
state.yfclz = visible
|
|
},
|
|
set_dj_id (state, value) {
|
|
state.actId = value
|
|
},
|
|
set_dyfc_id (state, value) {
|
|
state.dyfcId = value
|
|
},
|
|
set_research_id (state, value) {
|
|
state.researchId = value
|
|
}
|
|
},
|
|
actions: {
|
|
SET_YFCJ (context, visible) {
|
|
context.commit('set_yfcj', visible)
|
|
},
|
|
SET_GARDEN (context, visible) {
|
|
context.commit('set_garden', visible)
|
|
},
|
|
SET_ZDYF_GGQY (context, visible) {
|
|
context.commit('set_zdyf_ggqy', visible)
|
|
},
|
|
SET_TALENTS (context, visible) {
|
|
context.commit('set_talents', visible)
|
|
},
|
|
SET_ORGANIZATION (context, visible) {
|
|
context.commit('set_organization', visible)
|
|
},
|
|
SET_HSYF_COMPANY (context, visible) {
|
|
context.commit('set_hsyf_company', visible)
|
|
},
|
|
SET_HSYF_JZFW (context, visible) {
|
|
context.commit('set_hsyf_jzfw', visible)
|
|
},
|
|
SET_YLQD_SHOW (context, visible) {
|
|
context.commit('set_ylqd_show', visible)
|
|
},
|
|
SET_ZHEN_COMMITTEE (context, visible) {
|
|
context.commit('set_zhen_committee', visible)
|
|
},
|
|
SET_XINCUN_COMMITTEE (context, visible) {
|
|
context.commit('set_xincun_committee', visible)
|
|
},
|
|
SET_ZIRANCUN_COMMITTEE (context, visible) {
|
|
context.commit('set_zirancun_committee', visible)
|
|
},
|
|
SET_WANGGE_COMMITTEE (context, visible) {
|
|
context.commit('set_wangge_committee', visible)
|
|
},
|
|
SET_DYZXH_COMMITTEE (context, visible) {
|
|
context.commit('set_dyzxh_committee', visible)
|
|
},
|
|
SET_DANGYUAN_COMMITTEE (context, visible) {
|
|
context.commit('set_dangyuan_committee', visible)
|
|
},
|
|
SET_HSYF_ATTRACTIONS (context, visible) {
|
|
context.commit('set_hsyf_attractions', visible)
|
|
},
|
|
SET_DYFC_SHOW (context, visible) {
|
|
context.commit('set_dyfc_show', visible)
|
|
},
|
|
SET_RESEARCH_SHOW (context, visible) {
|
|
context.commit('set_research_show', visible)
|
|
},
|
|
SET_DJHD_SHOW (context, visible) {
|
|
context.commit('set_djhd_show', visible)
|
|
},
|
|
SET_YWQS_SHOW (context, visible) {
|
|
context.commit('set_ywqs_show', visible)
|
|
},
|
|
SET_QYJJ (context, visible) {
|
|
context.commit('set_qyjj', visible)
|
|
},
|
|
SET_LDGH (context, visible) {
|
|
context.commit('set_ldgh', visible)
|
|
},
|
|
SET_SJFX (context, visible) {
|
|
context.commit('set_sjfx', visible)
|
|
},
|
|
SET_SJCL (context, visible) {
|
|
context.commit('set_sjcl', visible)
|
|
},
|
|
SET_ZDRY (context, visible) {
|
|
context.commit('set_zdry', visible)
|
|
},
|
|
SET_YFCLZ (context, visible) {
|
|
context.commit('set_yfclz', visible)
|
|
},
|
|
SET_DJ_ID (context, val) {
|
|
context.commit('set_dj_id', val)
|
|
},
|
|
SET_DYFC_ID (context, val) {
|
|
context.commit('set_dyfc_id', val)
|
|
},
|
|
SET_RESEARCH_ID (context, val) {
|
|
context.commit('set_research_id', val)
|
|
},
|
|
SET_GSXQ (context, visible) {
|
|
context.commit('set_gsxq', visible)
|
|
},
|
|
// 确保当前只能显示最近点击的弹窗
|
|
showGlobalDialog (context, type) {
|
|
context.commit('set_yfcj', false)
|
|
context.commit('set_garden', false)
|
|
context.commit('set_talents', false)
|
|
context.commit('set_organization', false)
|
|
context.commit('set_hsyf_company', false)
|
|
context.commit('set_zhen_committee', false)
|
|
context.commit('set_xincun_committee', false)
|
|
context.commit('set_zirancun_committee', false)
|
|
context.commit('set_wangge_committee', false)
|
|
context.commit('set_dyzxh_committee', false)
|
|
context.commit('set_dangyuan_committee', false)
|
|
context.commit('set_hsyf_attractions', false)
|
|
context.commit('set_hsyf_jzfw', false)
|
|
context.commit('set_ylqd_show', false)
|
|
context.commit('set_dyfc_show', false)
|
|
context.commit('set_research_show', false)
|
|
context.commit('set_djhd_show', false)
|
|
context.commit('set_ywqs_show', false)
|
|
context.commit('set_gsxq', false)
|
|
context.commit('set_qyjj', false)
|
|
context.commit('set_ldgh', false)
|
|
context.commit('set_sjfx', false)
|
|
context.commit('set_sjcl', false)
|
|
context.commit('set_zdry', false)
|
|
context.commit('set_yfclz', false)
|
|
if (type === 'zdyfGgqyClose') {
|
|
context.commit('set_zdyf_ggqy', false)
|
|
}
|
|
if (type === 'buildLeaderAttach') {
|
|
context.commit('set_yfcj', true)
|
|
} else if (type === 'zdyfGgqy') {
|
|
context.commit('set_zdyf_ggqy', true)
|
|
} else if (type === 'garden') {
|
|
context.commit('set_garden', true)
|
|
} else if (type === 'talents') {
|
|
context.commit('set_talents', true)
|
|
} else if (type === 'organization') {
|
|
context.commit('set_organization', true)
|
|
} else if (type === 'hsyfCompany') {
|
|
context.commit('set_hsyf_company', true)
|
|
} else if (type === 'hsyfJzfw') {
|
|
context.commit('set_hsyf_jzfw', true)
|
|
} else if (type === 'ylqdShow') {
|
|
context.commit('set_ylqd_show', true)
|
|
} else if (type === 'zhenCommittee') {
|
|
context.commit('set_zhen_committee', true)
|
|
} else if (type === 'xincunCommittee') {
|
|
context.commit('set_xincun_committee', true)
|
|
} else if (type === 'zirancunCommittee') {
|
|
context.commit('set_zirancun_committee', true)
|
|
} else if (type === 'wanggeCommittee') {
|
|
context.commit('set_wangge_committee', true)
|
|
} else if (type === 'dyzxhCommittee') {
|
|
context.commit('set_dyzxh_committee', true)
|
|
} else if (type === 'dangyuanCommittee') {
|
|
context.commit('set_dangyuan_committee', true)
|
|
} else if (type === 'hsyfAttractions') {
|
|
context.commit('set_hsyf_attractions', true)
|
|
} else if (type === 'dyfcShow') {
|
|
context.commit('set_dyfc_show', true)
|
|
} else if (type === 'researchShow') {
|
|
context.commit('set_research_show', true)
|
|
} else if (type === 'djhdShow') {
|
|
context.commit('set_djhd_show', true)
|
|
} else if (type === 'ywqsShow') {
|
|
context.commit('set_ywqs_show', true)
|
|
} else if (type === 'qyjj') {
|
|
context.commit('set_qyjj', true)
|
|
} else if (type === 'gsxq') {
|
|
context.commit('set_gsxq', true)
|
|
} else if (type === 'sjfx') {
|
|
context.commit('set_sjfx', true)
|
|
} else if (type === 'sjcl') {
|
|
context.commit('set_sjcl', true)
|
|
} else if (type === 'zdry') {
|
|
context.commit('set_zdry', true)
|
|
} else if (type === 'yfclz') {
|
|
context.commit('set_yfclz', true)
|
|
} else if (type === 'ldgh') {
|
|
context.commit('set_ldgh', true)
|
|
}
|
|
}
|
|
},
|
|
getters: {
|
|
yfcj: state => state.yfcj,
|
|
garden: state => state.garden,
|
|
talents: state => state.talents,
|
|
qyjj: state => state.qyjj,
|
|
organization: state => state.organization,
|
|
ldgh: state => state.ldgh,
|
|
hsyfCompany: state => state.hsyfCompany,
|
|
zhenCommittee: state => state.zhenCommittee,
|
|
xincunCommittee: state => state.xincunCommittee,
|
|
zirancunCommittee: state => state.zirancunCommittee,
|
|
wanggeCommittee: state => state.wanggeCommittee,
|
|
dyzxhCommittee: state => state.dyzxhCommittee,
|
|
dangyuanCommittee: state => state.dangyuanCommittee,
|
|
hsyfAttractions: state => state.hsyfAttractions,
|
|
dyfcShow: state => state.dyfcShow,
|
|
djhdShow: state => state.djhdShow,
|
|
ywqsShow: state => state.ywqsShow,
|
|
hsyfJzfw: state => state.hsyfJzfw,
|
|
ylqdShow: state => state.ylqdShow,
|
|
actId: state => state.actId,
|
|
researchShow: state => state.researchShow,
|
|
zdyfGgqy: state => state.zdyfGgqy,
|
|
researchId: state => state.researchId,
|
|
sjfx: state => state.sjfx,
|
|
sjcl: state => state.sjcl,
|
|
zdry: state => state.zdry,
|
|
yfclz: state => state.yfclz,
|
|
gsxq: state => state.gsxq
|
|
}
|
|
}
|
|
|