From b7cb1c9e36930e6c261278e26a16a81cabaa5f8e Mon Sep 17 00:00:00 2001 From: liruiqiang <3151805288@qq.com> Date: Fri, 19 Dec 2025 13:04:32 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- .env.test | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.development b/.env.development index 0796729..09b500a 100644 --- a/.env.development +++ b/.env.development @@ -1,2 +1,2 @@ -VITE_API_BASE_URL = "http://dcapi.homilychart.com/deepchart" +VITE_API_BASE_URL = "https://dcapi.homilychart.com/prod/deepchart" VITE_API_BASE_URL_LINK = "http://39.101.133.168:8828" \ No newline at end of file diff --git a/.env.production b/.env.production index 3b601ad..963cb02 100644 --- a/.env.production +++ b/.env.production @@ -1,2 +1,2 @@ -VITE_API_BASE_URL = "http://dcapi.homilychart.com/deepchart" +VITE_API_BASE_URL = "https://dcapi.homilychart.com/prod/deepchart" VITE_API_BASE_URL_LINK = "https://api.homilychart.com" \ No newline at end of file diff --git a/.env.test b/.env.test index 1ff8fdf..5c7d2f4 100644 --- a/.env.test +++ b/.env.test @@ -1,2 +1,2 @@ -VITE_API_BASE_URL = "http://dcapi.homilychart.com/deepchart" +VITE_API_BASE_URL = "https://dcapi.homilychart.com/prod/deepchart" VITE_API_BASE_URL_LINK = "http://39.101.133.168:8828" From 2c6e7f4daa1b06d28f4a628041e307b20228ed62 Mon Sep 17 00:00:00 2001 From: liruiqiang <3151805288@qq.com> Date: Fri, 19 Dec 2025 13:55:36 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.development b/.env.development index 09b500a..cf77dd5 100644 --- a/.env.development +++ b/.env.development @@ -1,2 +1,2 @@ -VITE_API_BASE_URL = "https://dcapi.homilychart.com/prod/deepchart" +VITE_API_BASE_URL = "https://dbqb.legu168.cn/adminApi" VITE_API_BASE_URL_LINK = "http://39.101.133.168:8828" \ No newline at end of file From 2aeef9e07ce9214cbbe8b5d4a53134665f2d1ac8 Mon Sep 17 00:00:00 2001 From: liruiqiang <3151805288@qq.com> Date: Fri, 19 Dec 2025 13:55:54 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E8=A1=8C=E6=83=85=E6=9C=9F=E9=99=90?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E6=97=B6=E9=97=B4=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/UserPermissions/Market.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/UserPermissions/Market.vue b/src/views/UserPermissions/Market.vue index 662527d..e615755 100644 --- a/src/views/UserPermissions/Market.vue +++ b/src/views/UserPermissions/Market.vue @@ -519,7 +519,7 @@ const handleSortChange = (sort) => { const { prop, order } = sort; // 仅允许注册时间和到期时间排序 - if (!['created_at', 'expire_time'].includes(prop)) return; + if (!['regtime', 'expire_time'].includes(prop)) return; // 覆盖排序状态(实现二选一) sortProp.value = prop; // 保存当前排序字段 From d7071bc9246fd61139678e7c6d21460b1aef954e Mon Sep 17 00:00:00 2001 From: liruiqiang <3151805288@qq.com> Date: Fri, 19 Dec 2025 14:31:22 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E9=A1=B5=E6=95=B0=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E4=B8=BA=E6=AF=8F=E9=A1=B510=E6=9D=A1=EF=BC=8C=E5=BA=8F?= =?UTF-8?q?=E5=8F=B7=E5=AE=BD=E5=BA=A6=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/UserPermissions/LogDeepExplore.vue | 2 +- src/views/UserPermissions/LogDeepMate.vue | 2 +- src/views/UserPermissions/LogMarket.vue | 2 +- src/views/UserPermissions/Market.vue | 8 ++++---- src/views/UserPermissions/Module.vue | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/UserPermissions/LogDeepExplore.vue b/src/views/UserPermissions/LogDeepExplore.vue index 9ed799b..914dc44 100644 --- a/src/views/UserPermissions/LogDeepExplore.vue +++ b/src/views/UserPermissions/LogDeepExplore.vue @@ -15,7 +15,7 @@ class="table-rounded" :loading="tableLoading" > - + diff --git a/src/views/UserPermissions/LogDeepMate.vue b/src/views/UserPermissions/LogDeepMate.vue index 0ff938d..de08758 100644 --- a/src/views/UserPermissions/LogDeepMate.vue +++ b/src/views/UserPermissions/LogDeepMate.vue @@ -15,7 +15,7 @@ class="table-rounded" :loading="tableLoading" > - + diff --git a/src/views/UserPermissions/LogMarket.vue b/src/views/UserPermissions/LogMarket.vue index bb07ecd..baefffb 100644 --- a/src/views/UserPermissions/LogMarket.vue +++ b/src/views/UserPermissions/LogMarket.vue @@ -15,7 +15,7 @@ class="table-rounded" :loading="tableLoading" > - + diff --git a/src/views/UserPermissions/Market.vue b/src/views/UserPermissions/Market.vue index e615755..ae71015 100644 --- a/src/views/UserPermissions/Market.vue +++ b/src/views/UserPermissions/Market.vue @@ -68,7 +68,7 @@ class="table-rounded" :loading="tableLoading" > - + @@ -95,7 +95,7 @@ @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" - :page-sizes="[15, 20, 50, 100]" + :page-sizes="[10, 20, 50, 100]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total= "datatotal" @@ -211,7 +211,7 @@ const datatotal = ref(0) // 分页参数 const currentPage = ref(1); -const pageSize = ref(15); +const pageSize = ref(10); // 地区下拉框 const regionList = ref([]); @@ -482,7 +482,7 @@ const resetBn = () => { sortProp.value = null; sortOrder.value = null; currentPage.value = 1; - pageSize.value = 15; + pageSize.value = 10; fetchTableData(); }; diff --git a/src/views/UserPermissions/Module.vue b/src/views/UserPermissions/Module.vue index f286d79..2b838c6 100644 --- a/src/views/UserPermissions/Module.vue +++ b/src/views/UserPermissions/Module.vue @@ -90,7 +90,7 @@ class="table-rounded" :loading="tableLoadingDM" > - + @@ -279,7 +279,7 @@ class="table-rounded" :loading="tableLoadingDE" > - + From 8a76aacab5c013952c8b7de8bf35b97217906f36 Mon Sep 17 00:00:00 2001 From: liruiqiang <3151805288@qq.com> Date: Fri, 19 Dec 2025 14:47:33 +0800 Subject: [PATCH 5/7] =?UTF-8?q?=E9=A1=B5=E6=95=B0=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E4=B8=BA=E6=AF=8F=E9=A1=B510=E6=9D=A1=EF=BC=8C=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=A1=86=E6=96=87=E5=AD=97=E5=8A=A0=E6=B7=B1=EF=BC=8C?= =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E9=AB=98=E5=BA=A6=E5=9B=BA=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/UserPermissions/LogDeepExplore.vue | 5 +++-- src/views/UserPermissions/LogDeepMate.vue | 5 +++-- src/views/UserPermissions/LogMarket.vue | 5 +++-- src/views/UserPermissions/Market.vue | 2 ++ src/views/UserPermissions/Module.vue | 14 ++++++++++++-- 5 files changed, 23 insertions(+), 8 deletions(-) diff --git a/src/views/UserPermissions/LogDeepExplore.vue b/src/views/UserPermissions/LogDeepExplore.vue index 914dc44..c4df678 100644 --- a/src/views/UserPermissions/LogDeepExplore.vue +++ b/src/views/UserPermissions/LogDeepExplore.vue @@ -42,7 +42,7 @@ @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" - :page-sizes="[15, 20, 50, 100]" + :page-sizes="[10, 20, 50, 100]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="datatotal" @@ -77,7 +77,7 @@ const datatotal = ref(0); // 分页参数 const currentPage = ref(1); -const pageSize = ref(15); +const pageSize = ref(10); // 获取表格数据 const logTableData = async (dccode) => { @@ -172,6 +172,7 @@ const handleSortChange = (sort) => { border-radius: 12px !important; overflow: hidden !important; border: 1px solid #e4e7ed !important; + min-height: 800px; } .table-header { diff --git a/src/views/UserPermissions/LogDeepMate.vue b/src/views/UserPermissions/LogDeepMate.vue index de08758..b10907b 100644 --- a/src/views/UserPermissions/LogDeepMate.vue +++ b/src/views/UserPermissions/LogDeepMate.vue @@ -33,7 +33,7 @@ @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" - :page-sizes="[15, 20, 50, 100]" + :page-sizes="[10, 20, 50, 100]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="datatotal" @@ -74,7 +74,7 @@ const datatotal = ref(0); // 分页参数 const currentPage = ref(1); -const pageSize = ref(15); +const pageSize = ref(10); // 获取表格数据 const logTableData = async (dccode) => { @@ -158,6 +158,7 @@ const handleSortChange = (sort) => { border-radius: 12px !important; overflow: hidden !important; border: 1px solid #e4e7ed !important; + min-height: 800px; } .table-header { diff --git a/src/views/UserPermissions/LogMarket.vue b/src/views/UserPermissions/LogMarket.vue index baefffb..2a3d021 100644 --- a/src/views/UserPermissions/LogMarket.vue +++ b/src/views/UserPermissions/LogMarket.vue @@ -42,7 +42,7 @@ @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" - :page-sizes="[15, 20, 50, 100]" + :page-sizes="[10, 20, 50, 100]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="datatotal" @@ -77,7 +77,7 @@ const datatotal = ref(0); // 分页参数 const currentPage = ref(1); -const pageSize = ref(15); +const pageSize = ref(10); // 获取表格数据 const logTableData = async (dccode) => { @@ -171,6 +171,7 @@ const handleSortChange = (sort) => { border-radius: 12px !important; overflow: hidden !important; border: 1px solid #e4e7ed !important; + min-height: 800px; } .table-header { diff --git a/src/views/UserPermissions/Market.vue b/src/views/UserPermissions/Market.vue index ae71015..2e96c5a 100644 --- a/src/views/UserPermissions/Market.vue +++ b/src/views/UserPermissions/Market.vue @@ -576,6 +576,7 @@ const handleSortChange = (sort) => { text-align: left; color: #333; margin-top: 13px; + font-family: "SimHei", "Heiti SC", "Microsoft YaHei", sans-serif !important; } /* 按钮组 */ @@ -598,6 +599,7 @@ const handleSortChange = (sort) => { border-radius: 12px !important; overflow: hidden !important; border: 1px solid #e4e7ed !important; + min-height: 750px; } .table-header { diff --git a/src/views/UserPermissions/Module.vue b/src/views/UserPermissions/Module.vue index 2b838c6..3ebc4e7 100644 --- a/src/views/UserPermissions/Module.vue +++ b/src/views/UserPermissions/Module.vue @@ -276,7 +276,7 @@ header-cell-class-name="table-header" @sort-change="handleSortChangeDE" :default-sort="{ prop: null, order: null }" - class="table-rounded" + class="table-roundedDE" :loading="tableLoadingDE" > @@ -1172,6 +1172,7 @@ const openDetail = async(dccode) => { text-align: left; color: #333; margin-top: 13px; + font-family: "SimHei", "Heiti SC", "Microsoft YaHei", sans-serif !important; } /* 按钮组 */ @@ -1194,6 +1195,14 @@ const openDetail = async(dccode) => { border-radius: 12px !important; overflow: hidden !important; border: 1px solid #e4e7ed !important; + min-height: 700px; +} + +.table-roundedDE { + border-radius: 12px !important; + overflow: hidden !important; + border: 1px solid #e4e7ed !important; + min-height: 650px; } .table-header { @@ -1379,7 +1388,8 @@ const openDetail = async(dccode) => { font-size: 15px; text-align: left; color: #333; - margin-top: 0; + margin-top: 0; + font-family: "SimHei", "Heiti SC", "Microsoft YaHei", sans-serif !important; } /* 按钮组(深度探索) */ From 64cb4377ab1cc69a4e5782bb3d3b474dd129c7ea Mon Sep 17 00:00:00 2001 From: liruiqiang <3151805288@qq.com> Date: Fri, 19 Dec 2025 15:11:02 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=98=B2=E6=8A=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/UserPermissions/Market.vue | 10 ++++++++++ src/views/UserPermissions/Module.vue | 20 ++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/src/views/UserPermissions/Market.vue b/src/views/UserPermissions/Market.vue index 2e96c5a..72ce497 100644 --- a/src/views/UserPermissions/Market.vue +++ b/src/views/UserPermissions/Market.vue @@ -323,10 +323,18 @@ const checkRemark = () => { return true; }; +// 防抖 +const Noshake = ref(false) + // 提交表单 const submitForm = async () => { + // 防抖 + if (Noshake.value) return; + Noshake.value = true; + // 表单校验 if (!checkHlids() || !checkTime() || !checkRemark()) { + Noshake.value = false; return; } @@ -366,6 +374,8 @@ const submitForm = async () => { fetchTableData(); } catch (error) { ElMessage.error('添加权限失败,请重试'); + } finally { + Noshake.value = false; } }; diff --git a/src/views/UserPermissions/Module.vue b/src/views/UserPermissions/Module.vue index 3ebc4e7..b0bc3d9 100644 --- a/src/views/UserPermissions/Module.vue +++ b/src/views/UserPermissions/Module.vue @@ -707,10 +707,18 @@ const checkTokenNum = () => { return true; }; +// 防抖 +const NoshakeDM = ref(false) + // DeepMate提交表单 const submitFormDM = async () => { + // 防抖 + if (NoshakeDM.value) return; + NoshakeDM.value = true; + // 表单校验 if (!checkHlids() || !checkTokenNum()) { + NoshakeDM.value = false; return; } @@ -740,6 +748,8 @@ const submitFormDM = async () => { DMTableData(); } catch (error) { ElMessage.error('添加权限失败,请重试'); + } finally { + NoshakeDM.value = false; } }; @@ -1037,10 +1047,18 @@ const checkRemark = () => { return true; }; +// 防抖 +const NoshakeDE = ref(false) + // 提交表单 const submitFormDE = async () => { + // 防抖 + if (NoshakeDE.value) return; + NoshakeDE.value = true; + // 表单校验 if (!checkHlidsDE() || !checkmodel() || !checkTime() || !checkRemark()) { + NoshakeDE.value = false; return; } @@ -1081,6 +1099,8 @@ const submitFormDE = async () => { DETableData(); } catch (error) { ElMessage.error('添加权限失败,请重试'); + } finally { + NoshakeDE.value = false; } }; From 85550ccd5cd021b2bfe4895a28ac93709baa4a9b Mon Sep 17 00:00:00 2001 From: liruiqiang <3151805288@qq.com> Date: Fri, 19 Dec 2025 15:11:18 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E6=8A=A5=E9=94=99=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/myAxios.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/myAxios.js b/src/utils/myAxios.js index 499164e..9b21b9b 100644 --- a/src/utils/myAxios.js +++ b/src/utils/myAxios.js @@ -46,8 +46,8 @@ myAxios.interceptors.response.use( router.push('/login') } // 错误提示(根据后端消息提示,或自定义) - ElMessage.error(res.message || '操作失败') - return Promise.reject(new Error(res.message || 'Error')) + ElMessage.error(res.msg || '操作失败') + return Promise.reject(new Error(res.msg || 'Error')) } else { // 只返回数据部分(过滤响应体中的其他字段) return res.data