【bug】 支出合同的消息
This commit is contained in:
@@ -237,11 +237,20 @@ export default {
|
|||||||
} else if(record.openType === 'url') {
|
} else if(record.openType === 'url') {
|
||||||
console.log(record.openPage,'url')
|
console.log(record.openPage,'url')
|
||||||
const param = JSON.parse(record.busId)
|
const param = JSON.parse(record.busId)
|
||||||
// 如果是url 跳转页面
|
if(Object.prototype.hasOwnProperty.call(param, 'contractType') && param.contractType === 2){
|
||||||
this.$router.push({
|
// 如果是支出合同的就去支出合同 多加一个判断 是不想再去新加一个消息模板
|
||||||
path:record.openPage,
|
this.$router.push({
|
||||||
query:param
|
path:'/contractManagement/ExpenditureContractDetail',
|
||||||
})
|
query:param
|
||||||
|
})
|
||||||
|
}else {
|
||||||
|
// 如果是url 跳转页面
|
||||||
|
this.$router.push({
|
||||||
|
path:record.openPage,
|
||||||
|
query:param
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
this.$refs.ShowAnnouncement.detail(record)
|
this.$refs.ShowAnnouncement.detail(record)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user