更新密码找回uniapp

This commit is contained in:
hero920103 committed 2026-11-16 17:22:50 +08:00
1 parent 7f9a66da0f
commit 3fdda89833
1304 files changed
+3503 -26132

No files matched your search

@@ -20,14 +20,6 @@
<el-divider></el-divider>
<!-- <el-alert type="info" :closable="false" show-icon class="tip-alert">
<template #default>
<p>1、套餐决定租户能开通哪些功能:勾选「功能模块」后,绑定该套餐的租户端只展示对应功能菜单(如 ERP 套餐开通进销存)。</p>
<p>2、套餐按「有效时长」计费(默认 365 天,价格即元/年):到期后自动切换为基础套餐,续费后恢复对应功能。</p>
<p>3、所有租户都有用户数上限(默认 20 人):达到上限后无法再开账号,可在「租户管理 → 租户详情 → 套餐与用户数」中按单个(如 200 元/人)或加购套餐(如 5 人 500 元)增购。</p>
</template>
</el-alert> -->
<div class="purchase-url-bar">
<span class="bar-label">套餐购买链接</span>
<el-input
@@ -43,7 +35,6 @@
</div>
<el-tabs v-model="activeTab" class="package-tabs">
<!-- 功能套餐 -->
<el-tab-pane label="功能套餐" name="package">
<el-table :data="packages" style="width: 100%" v-loading="loading">
<el-table-column prop="id" label="ID" width="70" align="center" />
@@ -112,7 +103,6 @@
<el-button size="small" type="primary" link @click="handleEditPackage(row)">
编辑
</el-button>
<!-- 基础套餐(code=basic)为系统内置兜底套餐,不提供删除入口 -->
<el-button
v-if="!isBasicPackage(row)"
size="small"
@@ -127,7 +117,6 @@
</el-table>
</el-tab-pane>
<!-- 用户数加购套餐 -->
<el-tab-pane label="用户数加购套餐" name="quota">
<el-table :data="quotaPackages" style="width: 100%" v-loading="quotaLoading">
<el-table-column prop="id" label="ID" width="70" align="center" />
@@ -195,7 +184,6 @@ const quotaDialogVisible = ref(false);
const currentPackage = ref<any>(null);
const currentQuota = ref<any>(null);
// 套餐购买链接(租户端未开通功能卡片「购买」按钮跳转地址)
const purchaseUrl = ref("");
const purchaseUrlSaving = ref(false);
@@ -227,7 +215,6 @@ const handleSavePurchaseUrl = async () => {
};
const formatMoney = (v: any) => `¥${Number(v || 0).toFixed(2)}`;
/** 价格单位随有效时长变化:365天=元/年,30=元/月,90=元/季,其余=元/N天 */
const priceUnit = (row: any) => {
const d = Number(row.duration_days || 365);
if (d === 365) return "/年";
@@ -289,7 +276,6 @@ const handleEditPackage = (row: any) => {
packageDialogVisible.value = true;
};
/** 基础套餐(code=basic)为系统内置兜底套餐(套餐到期自动降级目标),不允许删除 */
const isBasicPackage = (row: any) =>
String(row?.code || "").trim().toLowerCase() === "basic";
@@ -436,7 +422,6 @@ onMounted(refresh);
padding: 4px 0;
}
// ===== 暗色主题适配 =====
.container-box {
html.dark & {
.header-bar h2 {