【bug】 支出合同的消息
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user