国外标准更新时,同时更新了标准清单

This commit is contained in:
zhaokaiyao@91isoft.com
2021-08-21 23:32:14 +08:00
parent a573125a5e
commit 91c23c9c6d
@@ -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
}