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 standNum = item.standSort + ' ' + item.standNumber
} }
// 验证标准号在系统中是否存在 // 验证标准号在系统中是否存在
this.$http.post('lawss/sarTestItem/validateStandNumber', { // this.$http.post('lawss/sarTestItem/validateStandNumber', {
standnumber: standNum // standnumber: standNum
}, { // }, {
_this: this // _this: this
}, res => { // }, res => {
let routeUrl = this.$router.resolve({ // let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails', // name: 'OtherStandardDetails',
params: { // params: {
id: item.id, // id: item.id,
pageType: 'INLAND_STAND' // pageType: 'INLAND_STAND'
} // }
}) // })
window.open(routeUrl.href, '_blank') // 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 () { getResetLawsNumRow () {
this.replacePage = 1 this.replacePage = 1