diff --git a/jero-web/src/views/externalReports/index.vue b/jero-web/src/views/externalReports/index.vue index c048bea73..b1691566b 100644 --- a/jero-web/src/views/externalReports/index.vue +++ b/jero-web/src/views/externalReports/index.vue @@ -116,11 +116,11 @@
-
+
{{ $t('UploadFile') }}
-
+
{{ $t('BatchDelete') }}
@@ -146,8 +146,8 @@ {{$t('download')}} - {{$t('edit')}} - {{$t('delete')}} + {{$t('edit')}} + {{$t('delete')}}
@@ -189,20 +189,20 @@ - + + v-model="form.authManageIdsName"/> - + + v-model="form.authViewIdsName"/> { deleteAction(`extRepo/extRepoFolder/delete`, { id: this.nodeItem.key }).then(res => { if (res.success) { - this.$message.success(this.$t('OperationSuccessful')) + this.$message.success(res.message) this.loadMenuData() let queryParam = { supFolder: this.menuId @@ -611,7 +613,7 @@ export default { this.searchQuery(JSON.parse(JSON.stringify(queryParam))) // eventBUs.$emit('searchReset') } else { - this.$message.warning(this.$t('operationFailed')) + this.$message.warning(res.message) } }) } @@ -645,7 +647,7 @@ export default { postAction(`extRepo/extRepoFolder/add`, params).then(res => { if (res.success) { this.menuRightVisible = false - this.$message.success(this.$t('OperationSuccessful')) + this.$message.success(res.message) // this.onExpand(expandId) this.form = {} this.expandedKeys.push(this.nodeItem.id) @@ -659,7 +661,7 @@ export default { this.searchQuery(JSON.parse(JSON.stringify(queryParam))) // eventBUs.$emit('searchReset') } else { - this.$message.warning(this.$t('operationFailed')) + this.$message.warning(res.message) } }).finally(() => { this.flag = false @@ -714,6 +716,7 @@ export default { getAction(this.url.list, params).then(res => { if (res.success) { this.dataSource = res.result.pageList.records || [] + this.authmanage =res.result.auth_manage this.total = res.result.pageList.total this.loading = false } @@ -835,7 +838,7 @@ export default { } deleteAction('com.jero.modules.extRepo/extRepoData/delete', { id: val.id }).then((res) => { if (res.success) { - _this.$message.success(_this.$t('OperationSuccessful')) + _this.$message.success(res.message) _this.loadData(JSON.parse(JSON.stringify(queryParam))) } else { @@ -859,7 +862,7 @@ export default { } deleteAction('com.jero.modules.extRepo/extRepoData/deleteBatch', { ids: idList.join(',') }).then((res) => { if (res.success) { - _this.$message.success(_this.$t('OperationSuccessful')) + _this.$message.success(res.message) _this.selectedRowKeys = [] _this.loadData(JSON.parse(JSON.stringify(queryParam)))