【bug】企业通知的消息 不能跳转的bug

This commit is contained in:
fengachen
2022-01-13 17:52:39 +08:00
parent 46d0b97319
commit 04149c20be
+2 -2
View File
@@ -251,9 +251,9 @@ export default {
this.formData = param
this.$refs.showDynamNotice.detail()
} else if(record.openType === 'url') {
console.log(record.openPage,'url')
const param = JSON.parse(record.busId)
if(Object.prototype.hasOwnProperty.call(param, 'contractType') && Number(param.contractType) === 1){
if(param && Object.prototype.hasOwnProperty.call(param, 'contractType') && Number(param.contractType) === 1){
// 如果是支出合同的就去支出合同 多加一个判断 是不想再去新加一个消息模板
this.$router.push({
path:'/contractManagement/ExpenditureContractDetail',