fix docker TLS 证书无法查看全部、证书无法编辑(新版遗漏)

This commit is contained in:
bwcx_jzy 2024-01-13 18:40:57 +08:00
parent 4478fdb632
commit 6650bb7ee7
No known key found for this signature in database
GPG Key ID: 5E48E9372088B9E5
3 changed files with 21 additions and 5 deletions

View File

@ -1,5 +1,13 @@
# 🚀 版本日志
## 2.11.1.0-beta
### 🐞 解决BUG、优化功能
1. 【server】修复 docker TLS 证书无法查看全部、证书无法编辑(新版遗漏)
------
## 2.11.0.13-beta (2024-01-12)
### 🐞 解决BUG、优化功能

View File

@ -50,7 +50,7 @@
<span>{{ text }}</span>
</a-tooltip>
</template>
<template v-else-if="column.dataIndex === 'name'">
<template v-else-if="column.dataIndex === 'serialNumberStr'">
<a-popover title="证书描述">
<template v-slot:content>
<p>描述{{ record.description }}</p>
@ -171,7 +171,8 @@ import {
deleteCert,
downloadCert,
certificateEdit,
certificateDeploy
certificateDeploy,
certListAll
} from '@/api/tools/certificate'
import { parseTime, CHANGE_PAGE, COMPUTED_PAGINATION, PAGE_DEFAULT_LIST_QUERY } from '@/utils/const'
import releaseFile from '@/pages/file-manager/fileStorage/releaseFile.vue'
@ -179,7 +180,12 @@ export default {
components: {
releaseFile
},
props: {},
props: {
showAll: {
type: Boolean,
default: false
}
},
data() {
return {
loading: false,
@ -340,7 +346,8 @@ export default {
this.loading = true
this.listQuery.page = pointerEvent?.altKey || pointerEvent?.ctrlKey ? 1 : this.listQuery.page
this.loading = true
certList(this.listQuery).then((res) => {
const api = this.showAll ? certListAll : certList
api(this.listQuery).then((res) => {
if (res.code === 200) {
this.list = res.data.result
this.listQuery.total = res.data.total

View File

@ -507,6 +507,7 @@
<certificate
v-if="certificateVisible"
ref="certificate"
:showAll="true"
@confirm="
(certInfo) => {
this.temp = { ...this.temp, certInfo: certInfo }
@ -524,7 +525,7 @@
<a-button
@click="
() => {
this.chooseVisible = 0
this.certificateVisible = false
}
"
>