From fc658fb3bfb96535f9b23faa09b93691342616ad Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Tue, 22 Mar 2022 11:00:19 +0800 Subject: [PATCH] feat: There is no way the, --- .../foreignRegulationsDatabase/index.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue b/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue index 710c39628..b430fa953 100644 --- a/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue +++ b/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue @@ -1425,7 +1425,7 @@ parentIds : null, parentIdsName : "", displaySeq : "", - validFlag : "", + validFlag : "0", creationTime : "", modifyTime : "", remarks : "", @@ -2257,6 +2257,8 @@ saveProduct (name) { this.$refs[name].validate((valid) => { if (valid) { + this.productModelAdd.sorDivide = 'FOREIGN_LAWS' + this.productModelAdd.validFlag = '0' if (this.modalType === 1) { this.$http.postData('sarResource/ts-resource/add', this.productModelAdd, { _this: this @@ -2337,11 +2339,11 @@ if(row.parentIds.indexOf(res.data.id) != -1){ this.productModelAdd.parentIds = row.parentIds }else { - this.productModelAdd.parentIds = row.parentIds + ',' + res.data.id + this.productModelAdd.parentIds = row.parentIds + res.data.id+',' idsName = row.parentIdsName + ',' + res.data.menuName } }else { - this.productModelAdd.parentIds = res.data.id + this.productModelAdd.parentIds = +','+res.data.id+',' idsName = res.data.menuName; } this.productModelAdd.parentId = res.data.id