|
|
|
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,
|
|
|
|
djhdShow: false,
|
|
|
|
ywqsShow: false,
|
|
|
|
hsyfJzfw: false,
|
|
|
|
ylqdShow: false
|
|
|
|
|
|
|
|
},
|
|
|
|
mutations: {
|
|
|
|
set_yfcj (state, visible) {
|
|
|
|
state.yfcj = visible
|
|
|
|
},
|
|
|
|
set_garden (state, visible) {
|
|
|
|
state.garden = visible
|
|
|
|
},
|
|
|
|
set_talents (state, visible) {
|
|
|
|
state.talents = 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_djhd_show (state, visible) {
|
|
|
|
state.djhdShow = visible
|
|
|
|
},
|
|
|
|
set_ywqs_show (state, visible) {
|
|
|
|
state.ywqsShow = visible
|
|
|
|
}
|
|
|
|
},
|
|
|
|
actions: {
|
|
|
|
SET_YFCJ (context, visible) {
|
|
|
|
context.commit('set_yfcj', visible)
|
|
|
|
},
|
|
|
|
SET_GARDEN (context, visible) {
|
|
|
|
context.commit('set_garden', 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_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)
|
|
|
|
},
|
|
|
|
// 确保当前只能显示最近点击的弹窗
|
|
|
|
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_djhd_show', false)
|
|
|
|
context.commit('set_ywqs_show', false)
|
|
|
|
context.commit('set_qyjj', false)
|
|
|
|
context.commit('set_ldgh', false)
|
|
|
|
if (type === 'buildLeaderAttach') {
|
|
|
|
context.commit('set_yfcj', 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 === '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 === '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
|
|
|
|
}
|
|
|
|
}
|