bug: 国内标准法规,编辑页面,手动查找,点击标准编号无法进入标准详情页面

This commit is contained in:
fanlin
2021-07-23 14:19:00 +08:00
parent 7c8c50ca6c
commit eae877d795
@@ -336,20 +336,28 @@ export default {
standNum = item.standSort + ' ' + item.standNumber
}
// 验证标准号在系统中是否存在
this.$http.post('lawss/sarTestItem/validateStandNumber', {
standnumber: standNum
}, {
_this: this
}, res => {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: item.id,
pageType: 'INLAND_STAND'
}
})
window.open(routeUrl.href, '_blank')
// this.$http.post('lawss/sarTestItem/validateStandNumber', {
// standnumber: standNum
// }, {
// _this: this
// }, res => {
// let routeUrl = this.$router.resolve({
// name: 'OtherStandardDetails',
// params: {
// id: item.id,
// pageType: 'INLAND_STAND'
// }
// })
// window.open(routeUrl.href, '_blank')
// })
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: item.id,
pageType: 'INLAND_STAND'
}
})
window.open(routeUrl.href, '_blank')
},
getResetLawsNumRow () {
this.replacePage = 1