修改 国内外政策 编辑 征求意见周期清空后没有清除对应数据

This commit is contained in:
baoyu
2024-06-11 14:36:17 +08:00
parent c8061aa397
commit 3391d11b31
@@ -1313,6 +1313,9 @@ export default {
if(this.commentCycleDate2 && this.commentCycleDate2.length > 0) {
nowstandinfo.commentCycleStart = this.commentCycleDate2[0]
nowstandinfo.commentCycleEnd = this.commentCycleDate2[1]
}else if (this.commentCycleDate2 === null) {
nowstandinfo.commentCycleStart = null
nowstandinfo.commentCycleEnd = null
}
this.$http.postData('lawss/sarLawsInfo/updateSarLawsStandInfo', nowstandinfo, {
_this: this,
@@ -1354,6 +1357,9 @@ export default {
if(this.commentCycleDate2 && this.commentCycleDate2.length > 0) {
nowstandinfo.commentCycleStart = this.commentCycleDate2[0]
nowstandinfo.commentCycleEnd = this.commentCycleDate2[1]
}else if (this.commentCycleDate2 === null) {
nowstandinfo.commentCycleStart = null
nowstandinfo.commentCycleEnd = null
}
this.$http.postData('lawss/sarLawsInfo/updateSarLawsStandInfo', nowstandinfo, {
_this: this,