修改 国内外政策 编辑 征求意见周期清空后没有清除对应数据
This commit is contained in:
@@ -1313,6 +1313,9 @@ export default {
|
|||||||
if(this.commentCycleDate2 && this.commentCycleDate2.length > 0) {
|
if(this.commentCycleDate2 && this.commentCycleDate2.length > 0) {
|
||||||
nowstandinfo.commentCycleStart = this.commentCycleDate2[0]
|
nowstandinfo.commentCycleStart = this.commentCycleDate2[0]
|
||||||
nowstandinfo.commentCycleEnd = this.commentCycleDate2[1]
|
nowstandinfo.commentCycleEnd = this.commentCycleDate2[1]
|
||||||
|
}else if (this.commentCycleDate2 === null) {
|
||||||
|
nowstandinfo.commentCycleStart = null
|
||||||
|
nowstandinfo.commentCycleEnd = null
|
||||||
}
|
}
|
||||||
this.$http.postData('lawss/sarLawsInfo/updateSarLawsStandInfo', nowstandinfo, {
|
this.$http.postData('lawss/sarLawsInfo/updateSarLawsStandInfo', nowstandinfo, {
|
||||||
_this: this,
|
_this: this,
|
||||||
@@ -1354,6 +1357,9 @@ export default {
|
|||||||
if(this.commentCycleDate2 && this.commentCycleDate2.length > 0) {
|
if(this.commentCycleDate2 && this.commentCycleDate2.length > 0) {
|
||||||
nowstandinfo.commentCycleStart = this.commentCycleDate2[0]
|
nowstandinfo.commentCycleStart = this.commentCycleDate2[0]
|
||||||
nowstandinfo.commentCycleEnd = this.commentCycleDate2[1]
|
nowstandinfo.commentCycleEnd = this.commentCycleDate2[1]
|
||||||
|
}else if (this.commentCycleDate2 === null) {
|
||||||
|
nowstandinfo.commentCycleStart = null
|
||||||
|
nowstandinfo.commentCycleEnd = null
|
||||||
}
|
}
|
||||||
this.$http.postData('lawss/sarLawsInfo/updateSarLawsStandInfo', nowstandinfo, {
|
this.$http.postData('lawss/sarLawsInfo/updateSarLawsStandInfo', nowstandinfo, {
|
||||||
_this: this,
|
_this: this,
|
||||||
|
|||||||
Reference in New Issue
Block a user