diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index 3aa0770a6..eff739a16 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -1994,7 +1994,7 @@ { this.$refs.menuTree.setCheckedKeys(checkedObj); }) - this.editCheckd = '' + this.editCheckd = [] this.mobileModal = false }, // 移动标准提交 @@ -3738,7 +3738,7 @@ export default { const search = {} // 取最外层目录id search.oldMenuId = this.selectSarMenu.id - search.menuId = this.editCheckd + search.menuId = this.editCheckd.join(',') search.treeType = this.selectSarMenu.treeType // search.oldTreeType = this.selectSarMenu.treeType // search.NewTreeType = this.NewTreeType @@ -3760,7 +3760,7 @@ export default { this.$nextTick(() => { this.$refs.menuTree.setCheckedKeys(checkedObj); }) - this.editCheckd = '' + this.editCheckd = [] this.mobileModal = false this.getBussionStandTable() }, e => { @@ -3771,12 +3771,12 @@ export default { const checkedObj = [] const search = {} // 取最外层目录id - search.newStandCategoryId = this.editCheckd + search.newStandCategoryId = this.editCheckd.join(',') search.standIds = [] for (let i = 0; i < this.selectedList.length; i++) { search.standIds.push(this.selectedList[i]) } - if(search.newStandCategoryId == '' || search.newStandCategoryId == null || search.newStandCategoryId == undefined) { + if(search.newStandCategoryId == '' || search.newStandCategoryId == null || search.newStandCategoryId == undefined || search.newStandCategoryId == []) { this.$message.error('请至少选择一个节点') }else{ search.standIds = search.standIds.join(',')