diff --git a/jero-web/src/views/documentManage/tags/dialog/DicList.vue b/jero-web/src/views/documentManage/tags/dialog/DicList.vue index a3454a41c..0c35ad402 100644 --- a/jero-web/src/views/documentManage/tags/dialog/DicList.vue +++ b/jero-web/src/views/documentManage/tags/dialog/DicList.vue @@ -114,7 +114,7 @@ { min:1, max: 50, message: this.$t('cantExeed')+'50'+this.$t('characters'), trigger: 'blur' }, ], description:[ - { required: true, message: this.$t('PleaseEnterDescription'), trigger: 'blur' }, + // { required: true, message: this.$t('PleaseEnterDescription'), trigger: 'blur' }, { min:1, max: 200, message: this.$t('cantExeed')+'200'+this.$t('characters'), trigger: 'blur' }, ] }, diff --git a/jero-web/src/views/projectManagement/components/certificationDirectory.vue b/jero-web/src/views/projectManagement/components/certificationDirectory.vue index b49c4dccd..2da1bde94 100644 --- a/jero-web/src/views/projectManagement/components/certificationDirectory.vue +++ b/jero-web/src/views/projectManagement/components/certificationDirectory.vue @@ -164,6 +164,7 @@ let query = { pageNo: this.pageNo, pageSize: this.pageSize, + projectLibraryId:this.$route.query.id, ...this.queryParam } this.loading = true diff --git a/jero-web/src/views/projectManagement/components/certificationDirectoryAdd.vue b/jero-web/src/views/projectManagement/components/certificationDirectoryAdd.vue index a182e6f9d..03f2e2dd6 100644 --- a/jero-web/src/views/projectManagement/components/certificationDirectoryAdd.vue +++ b/jero-web/src/views/projectManagement/components/certificationDirectoryAdd.vue @@ -166,8 +166,12 @@ url = this.url.add Action = postAction } + let query = { + projectLibraryId: this.$route.query.id, + ...this.formInline + } this.confirmLoading = true - Action(url, this.formInline).then((res) => { + Action(url, query).then((res) => { if (res.success) { this.$message.success(this.$t('OperationSuccessful')) this.visible = false @@ -175,7 +179,7 @@ this.$emit('certificationDirectoryList') } else { this.confirmLoading = false - this.$message.success(this.$t('OperationSuccessful')) + this.$message.warning(res.message) } }) }