diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index ff90ae8a6..1acacbe00 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -3126,6 +3126,7 @@ export default { // 处理动态表单的时间和下拉框格式 const formFieldList = this.formFieldList const sarStandAttrObj = {} + formFieldList.forEach((item) => { const value = nowstandinfo[item.attrField] // 时间格式处理 @@ -3140,6 +3141,8 @@ export default { } sarStandAttrObj[item.attrField] = nowstandinfo[item.attrField] }) + + nowstandinfo['sarStandAttrEOStr'] = JSON.stringify(sarStandAttrObj).replace(/"/g, "'") console.log("nowstandinfo"); console.log(nowstandinfo); @@ -3153,10 +3156,35 @@ export default { if (this.addOrUPdateFlag === 1) { sessionStorage.removeItem('STAND_INLAND') } + + console.log("hello") + console.log(formFieldList); + let standardToLawsInfo={'countryArea':'','standId':'','ssrq':'','zccssrqgj':'','xcxssrqgj':''} + standardToLawsInfo.countryArea=nowstandinfo.country; + standardToLawsInfo.standId=nowstandinfo.id; + standardToLawsInfo.ssrq=nowstandinfo.SSRQ; + standardToLawsInfo.zccssrqgj=nowstandinfo.ZCCSSRQ; + standardToLawsInfo.xcxssrqgj=nowstandinfo.XCXSSRQ; + + console.log("country") + console.log(standardToLawsInfo); + this.$http.post('sarLawsDetailedList/sar-laws-detailed-list/standardToLaws', + standardToLawsInfo, + {_this:this} + ) + + + } }, e => { this.isSubmit = false }) + + + + + + } else { this.isSubmit = false }