Browse Source

居民信息分类更新提醒跳转至居民信息

feature
mk 1 year ago
parent
commit
71a1d068ec
  1. 2
      src/views/modules/base/resi.vue
  2. 21
      src/views/modules/home/index.vue
  3. 17
      src/views/modules/home/notice.vue

2
src/views/modules/base/resi.vue

@ -1151,7 +1151,7 @@ export default {
watch: { watch: {
$route: { $route: {
handler: function (newVal, oldVal) { handler: function (newVal, oldVal) {
if (newVal.name == "base-resi" && (!oldVal ||oldVal.name === 'home'||oldVal.name === 'base-classification')) { if (newVal.name == "base-resi" && (!oldVal ||oldVal.name === 'home'||oldVal.name === 'base-classification'||oldVal.name === 'home-notice')) {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.myResiSearch.form.attentionCrowds = []; this.$refs.myResiSearch.form.attentionCrowds = [];
this.$refs.myResiSearch.form.healthStatus = []; this.$refs.myResiSearch.form.healthStatus = [];

21
src/views/modules/home/index.vue

@ -488,21 +488,12 @@ export default {
} }
); );
}else if(item.msgType == "resident_category"){ }else if(item.msgType == "resident_category"){
let obj = { this.$router.push({
PARTY_FLAG: '/main/communityParty-members-memberList', name: "base-resi",
SUBSISTENCE_ALLOWANCE_FLAG: '/main/base-residentManagement-subsistenceAllowance-subsistenceAllowance', query: {
ENSURE_HOUSE_FLAG: '/main/base-residentManagement-housingNature-housingNature', category: item.category || null,
VETERAN_FLAG: '/main/base-residentManagement-veteran-veteran', },
OLD_PEOPLE_FLAG: '/main/base-residentManagement-oldPeople-oldPeople', });
SPECIAL_SUPPORT_FLAG: '/main/base-residentManagement-tefu-tefuList',
DISABILITY_FLAG: '/main/base-residentManagement-resiDisability-resiDisability',
SERIOUS_ILLNESS_FLAG: '大病',
CHRONIC_DISEASE_FLAG: '慢病',
SPECIAL_CROWD_FLAG: '特殊人群',
}
this.$router.push({
path: obj[item.category],
});
} else if(item.msgType == "sys_version_upgrade_publish"){ } else if(item.msgType == "sys_version_upgrade_publish"){
let { targetId } = item let { targetId } = item
this.$router.push({ path: `notice-version`, query: { version_id: targetId } }); this.$router.push({ path: `notice-version`, query: { version_id: targetId } });

17
src/views/modules/home/notice.vue

@ -173,20 +173,11 @@ export default {
} }
); );
} else if (item.msgType == "resident_category") { } else if (item.msgType == "resident_category") {
let obj = {
PARTY_FLAG: '/main/communityParty-members-memberList',
SUBSISTENCE_ALLOWANCE_FLAG: '/main/base-residentManagement-subsistenceAllowance-subsistenceAllowance',
ENSURE_HOUSE_FLAG: '/main/base-residentManagement-housingNature-housingNature',
VETERAN_FLAG: '/main/base-residentManagement-veteran-veteran',
OLD_PEOPLE_FLAG: '/main/base-residentManagement-oldPeople-oldPeople',
SPECIAL_SUPPORT_FLAG: '/main/base-residentManagement-tefu-tefuList',
DISABILITY_FLAG: '/main/base-residentManagement-resiDisability-resiDisability',
SERIOUS_ILLNESS_FLAG: '大病',
CHRONIC_DISEASE_FLAG: '慢病',
SPECIAL_CROWD_FLAG: '特殊人群',
}
this.$router.push({ this.$router.push({
path: obj[item.category], name: "base-resi",
query: {
category: item.category || null,
},
}); });
} else if(item.msgType == "sys_version_upgrade_publish"){ } else if(item.msgType == "sys_version_upgrade_publish"){
let { targetId } = item let { targetId } = item

Loading…
Cancel
Save