Browse Source

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

feature
mk 1 year ago
parent
commit
71a1d068ec
  1. 2
      src/views/modules/base/resi.vue
  2. 17
      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: {
$route: {
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.$refs.myResiSearch.form.attentionCrowds = [];
this.$refs.myResiSearch.form.healthStatus = [];

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

@ -488,20 +488,11 @@ export default {
}
);
}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({
path: obj[item.category],
name: "base-resi",
query: {
category: item.category || null,
},
});
} else if(item.msgType == "sys_version_upgrade_publish"){
let { targetId } = item

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

@ -173,20 +173,11 @@ export default {
}
);
} 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({
path: obj[item.category],
name: "base-resi",
query: {
category: item.category || null,
},
});
} else if(item.msgType == "sys_version_upgrade_publish"){
let { targetId } = item

Loading…
Cancel
Save