From 91c23c9c6d26d700c11c339dab5e04f119fbd9d1 Mon Sep 17 00:00:00 2001 From: "zhaokaiyao@91isoft.com" <6922339zky> Date: Sat, 21 Aug 2021 23:32:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E5=A4=96=E6=A0=87=E5=87=86=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=97=B6,=E5=90=8C=E6=97=B6=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E4=BA=86=E6=A0=87=E5=87=86=E6=B8=85=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../foreignStandardsAndRegulations/index.vue | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) 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 }