feat: 新增广告唯一标识并优化相关功能

- 在广告模型中添加唯一标识字段
-优化广告编辑界面布局和提示文本
- 调整搜索按钮禁用逻辑,移除与 websiteId 相关的条件
- 修复优惠券列表中的数值格式化问题
- 优化经销商申请编辑界面布局
- 更新环境变量配置,注释掉 API URL
This commit is contained in:
2025-08-22 12:28:39 +08:00
parent 9aaaec8c26
commit d65cbc5d65
22 changed files with 62 additions and 46 deletions

View File

@@ -22,7 +22,7 @@
>
<template #toolbar>
<a-space>
<a-button type="primary" class="ele-btn-icon" :disabled="!websiteId" @click="openEdit()">
<a-button type="primary" class="ele-btn-icon" @click="openEdit()">
<template #icon>
<plus-outlined/>
</template>
@@ -76,7 +76,7 @@
<a-space>
<a-avatar v-if="record.icon" :size="22" :src="record.icon"/>
<a @click="push({
path: `/website/article`,
path: `/article`,
query: {
id: record.navigationId,
name: record.title,
@@ -431,6 +431,7 @@ const parseData = (data: CmsNavigation[]) => {
/* 表格渲染完成回调 */
const onDone: EleProTableDone<CmsNavigation> = ({data}) => {
navigationData.value = data;
expandAll()
};
/* 刷新表格 */