国外标准更新时,同时更新了标准清单
This commit is contained in:
@@ -3126,6 +3126,7 @@ export default {
|
|||||||
// 处理动态表单的时间和下拉框格式
|
// 处理动态表单的时间和下拉框格式
|
||||||
const formFieldList = this.formFieldList
|
const formFieldList = this.formFieldList
|
||||||
const sarStandAttrObj = {}
|
const sarStandAttrObj = {}
|
||||||
|
|
||||||
formFieldList.forEach((item) => {
|
formFieldList.forEach((item) => {
|
||||||
const value = nowstandinfo[item.attrField]
|
const value = nowstandinfo[item.attrField]
|
||||||
// 时间格式处理
|
// 时间格式处理
|
||||||
@@ -3140,6 +3141,8 @@ export default {
|
|||||||
}
|
}
|
||||||
sarStandAttrObj[item.attrField] = nowstandinfo[item.attrField]
|
sarStandAttrObj[item.attrField] = nowstandinfo[item.attrField]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
nowstandinfo['sarStandAttrEOStr'] = JSON.stringify(sarStandAttrObj).replace(/"/g, "'")
|
nowstandinfo['sarStandAttrEOStr'] = JSON.stringify(sarStandAttrObj).replace(/"/g, "'")
|
||||||
console.log("nowstandinfo");
|
console.log("nowstandinfo");
|
||||||
console.log(nowstandinfo);
|
console.log(nowstandinfo);
|
||||||
@@ -3153,10 +3156,35 @@ export default {
|
|||||||
if (this.addOrUPdateFlag === 1) {
|
if (this.addOrUPdateFlag === 1) {
|
||||||
sessionStorage.removeItem('STAND_INLAND')
|
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 => {
|
}, e => {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user