diff --git a/src/views/system/UserAnnouncementList.vue b/src/views/system/UserAnnouncementList.vue index 9e4f1b8..7949513 100644 --- a/src/views/system/UserAnnouncementList.vue +++ b/src/views/system/UserAnnouncementList.vue @@ -237,11 +237,20 @@ export default { } else if(record.openType === 'url') { console.log(record.openPage,'url') const param = JSON.parse(record.busId) - // 如果是url 跳转页面 - this.$router.push({ - path:record.openPage, - query:param - }) + if(Object.prototype.hasOwnProperty.call(param, 'contractType') && param.contractType === 2){ + // 如果是支出合同的就去支出合同 多加一个判断 是不想再去新加一个消息模板 + this.$router.push({ + path:'/contractManagement/ExpenditureContractDetail', + query:param + }) + }else { + // 如果是url 跳转页面 + this.$router.push({ + path:record.openPage, + query:param + }) + } + }else { this.$refs.ShowAnnouncement.detail(record) }