From c6d50c252e1759af1a97c8500b8fb4227eae4910 Mon Sep 17 00:00:00 2001 From: fanlin Date: Fri, 23 Jul 2021 15:07:41 +0800 Subject: [PATCH] bug --- .../InputForStandards.vue | 34 +++++++------------ 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/src/components/CustomFormComponents/InputForStandards.vue b/src/components/CustomFormComponents/InputForStandards.vue index 249090656..2ce3f679f 100644 --- a/src/components/CustomFormComponents/InputForStandards.vue +++ b/src/components/CustomFormComponents/InputForStandards.vue @@ -336,28 +336,20 @@ 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') - // }) - let routeUrl = this.$router.resolve({ - name: 'OtherStandardDetails', - params: { - id: item.id, - pageType: 'INLAND_STAND' - } + this.$http.post('sarStandardsInfo/sar-standards-info/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') }) - window.open(routeUrl.href, '_blank') }, getResetLawsNumRow () { this.replacePage = 1