From dc09f9b497e61adb9d961b6de04d15ffd28a2ab2 Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Thu, 26 Oct 2023 17:07:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AF=81=E4=B9=A6=E5=92=8C?= =?UTF-8?q?=E7=AD=BE=E7=AB=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 1 + src/api/doctor/ca.js | 34 +++++++++++ src/main.js | 1 - src/views/doctor/doctor-list/index.vue | 83 ++++++++++++++++++++++---- 4 files changed, 108 insertions(+), 11 deletions(-) create mode 100644 src/api/doctor/ca.js diff --git a/index.html b/index.html index 89d5c65..b47ba07 100644 --- a/index.html +++ b/index.html @@ -10,4 +10,5 @@
+ diff --git a/src/api/doctor/ca.js b/src/api/doctor/ca.js new file mode 100644 index 0000000..b651fda --- /dev/null +++ b/src/api/doctor/ca.js @@ -0,0 +1,34 @@ +import request from '../../utils/request' +export function updateCA(id){//更新证书 + return request({ + url:'/admin/ca/cert/user/renew/'+id, + method: 'put', + + }) +} +export function removeCA(id){//注销证书 + return request({ + url:'/admin/ca/cert/user/remove/'+id, + method: 'put', + }) + } +export function applyCA(id){//申请证书 + return request({ + url:'/admin/ca/cert/user/'+id, + method: 'post', + }) + } + + export function updateSign(id){//更新签章 + return request({ + url:'/admin/ca/cert/user/renew/'+id, + method: 'put', + + }) + } + export function applySign(id){//申请签章 + return request({ + url:'/admin/ca/cert/user/'+id, + method: 'post', + }) + } \ No newline at end of file diff --git a/src/main.js b/src/main.js index 91c3e3a..9868b05 100644 --- a/src/main.js +++ b/src/main.js @@ -6,7 +6,6 @@ import { Message, Modal, Notification } from '@arco-design/web-vue'; import '@arco-design/web-vue/dist/arco.css'; import router from './router/'; import { parseTime } from '@/utils/parseTime'; - import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' // Directive import permission from '@/directive/permission/permission'; diff --git a/src/views/doctor/doctor-list/index.vue b/src/views/doctor/doctor-list/index.vue index 32cb2e6..d0743fb 100644 --- a/src/views/doctor/doctor-list/index.vue +++ b/src/views/doctor/doctor-list/index.vue @@ -558,24 +558,33 @@ -
+
CA证书配置
- +
证书有效期:2023.02.01-2023.08.01
- 更新 - 注销 - 重新申请 + + 证书续期 + 证书注销 + + + +
签章配置
+ + + 签章申请 + 签章更新 +
- +
操作
@@ -584,7 +593,7 @@ - 保存 + 保存