From 471f30e1e7464f32157b70c3cbd964d5c8286306 Mon Sep 17 00:00:00 2001 From: Charles7c Date: Tue, 15 Apr 2025 22:25:39 +0800 Subject: [PATCH] =?UTF-8?q?revert:=20=E8=BF=98=E5=8E=9F=20=E7=BB=88?= =?UTF-8?q?=E7=AB=AF=20=3D>=20=E5=AE=A2=E6=88=B7=E7=AB=AF=EF=BC=88?= =?UTF-8?q?=E7=BB=88=E7=AB=AF=E5=AE=B9=E6=98=93=E8=A2=AB=E8=AF=AF=E8=A7=A3?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- .env.test | 2 +- README.md | 2 +- src/apis/system/client.ts | 10 +++++----- src/apis/system/type.ts | 2 +- src/views/system/config/client/ClientAddModal.vue | 4 ++-- src/views/system/config/client/ClientDetailDrawer.vue | 6 +++--- src/views/system/config/client/index.vue | 8 ++++---- src/views/system/config/index.vue | 2 +- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.env.development b/.env.development index 205fdd4..08ed739 100644 --- a/.env.development +++ b/.env.development @@ -17,5 +17,5 @@ VITE_OPEN_DEVTOOLS = false # 应用配置面板 VITE_APP_SETTING = true -# 终端ID +# 客户端ID VITE_CLIENT_ID = 'ef51c9a3e9046c4f2ea45142c8a8344a' \ No newline at end of file diff --git a/.env.production b/.env.production index 183cd0e..debf235 100644 --- a/.env.production +++ b/.env.production @@ -13,5 +13,5 @@ VITE_BASE = '/' # 应用配置面板 VITE_APP_SETTING = true -# 终端ID +# 客户端ID VITE_CLIENT_ID = 'ef51c9a3e9046c4f2ea45142c8a8344a' \ No newline at end of file diff --git a/.env.test b/.env.test index b597c5f..0367139 100644 --- a/.env.test +++ b/.env.test @@ -18,5 +18,5 @@ VITE_OPEN_DEVTOOLS = true # 应用配置面板 VITE_APP_SETTING = false -# 终端ID +# 客户端ID VITE_CLIENT_ID = 'ef51c9a3e9046c4f2ea45142c8a8344a' diff --git a/README.md b/README.md index da3b276..a031855 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ public class DeptController extends BaseController>(`${BASE_URL}`, query) } -/** @desc 查询终端详情 */ +/** @desc 查询客户端详情 */ export function getClient(id: string) { return http.get(`${BASE_URL}/${id}`) } -/** @desc 新增终端 */ +/** @desc 新增客户端 */ export function addClient(data: any) { return http.post(`${BASE_URL}`, data) } -/** @desc 修改终端 */ +/** @desc 修改客户端 */ export function updateClient(data: any, id: string) { return http.put(`${BASE_URL}/${id}`, data) } -/** @desc 删除终端 */ +/** @desc 删除客户端 */ export function deleteClient(id: string) { return http.del(`${BASE_URL}`, { ids: [id] }) } diff --git a/src/apis/system/type.ts b/src/apis/system/type.ts index d7b5f87..993a370 100644 --- a/src/apis/system/type.ts +++ b/src/apis/system/type.ts @@ -264,7 +264,7 @@ export interface StorageQuery { sort: Array } -/** 终端类型 */ +/** 客户端类型 */ export interface ClientResp { id: string clientId: string diff --git a/src/views/system/config/client/ClientAddModal.vue b/src/views/system/config/client/ClientAddModal.vue index 60ecbaa..7a02453 100644 --- a/src/views/system/config/client/ClientAddModal.vue +++ b/src/views/system/config/client/ClientAddModal.vue @@ -31,7 +31,7 @@ const { width } = useWindowSize() const dataId = ref('') const visible = ref(false) const isUpdate = computed(() => !!dataId.value) -const title = computed(() => (isUpdate.value ? '修改终端' : '新增终端')) +const title = computed(() => (isUpdate.value ? '修改客户端' : '新增客户端')) const formRef = ref>() const { client_type, auth_type_enum } = useDict('auth_type_enum', 'client_type') @@ -45,7 +45,7 @@ const [form, resetForm] = useResetReactive({ const columns: ColumnItem[] = reactive([ { - label: '终端类型', + label: '客户端类型', field: 'clientType', type: 'select', span: 12, diff --git a/src/views/system/config/client/ClientDetailDrawer.vue b/src/views/system/config/client/ClientDetailDrawer.vue index 7404725..f915e50 100644 --- a/src/views/system/config/client/ClientDetailDrawer.vue +++ b/src/views/system/config/client/ClientDetailDrawer.vue @@ -1,9 +1,9 @@