Commit bba29bf8 by 张立顺

feat 按钮去除

1 parent 7672f9b7
......@@ -9,6 +9,10 @@ npm run lint
npm run test:unit
```
### 开发性能与主题预研
详见 [`.ai/docs/DEV_PERF_AND_THEME_RESEARCH.md`](../docs/DEV_PERF_AND_THEME_RESEARCH.md)(`npm run serve` 慢/OOM、懒加载开关、Element 主题静态化等方案的预研与后续落地顺序)。
默认不要执行:
```bash
......
......@@ -5,6 +5,7 @@
请优先阅读:
- /.ai/rules/ 目录下的文件
- 开发性能 / Element 主题预研:/.ai/docs/DEV_PERF_AND_THEME_RESEARCH.md
## 项目概述
......
......@@ -81,22 +81,6 @@ export const routerName = {
},
auth: [
{
authId: "9020201",
parentId: "90202",
label: "预录客户",
icon: "plus",
category: "Button",
type: "primary",
handle: "handleAdd",
addRoutePath: [
{
authId: "901",
name: "预录客户",
parentId: "90202",
},
],
},
{
authId: "9020202",
parentId: "90202",
label: "一键导入",
......@@ -120,69 +104,6 @@ export const routerName = {
],
component: _import("customer/recordList"),
},
90203: {
path: "/invitation",
name: "invitation",
meta: {
title: "邀约管理",
authId: "90203",
parentId: "902",
cache: false,
},
auth: [
{
authId: "9020301",
parentId: "90203",
label: "再次电联",
handle: "handleMoreCall",
// ruleObj: {
// attr: 'status',
// rule: {
// 0: '上架',
// 1: '下架'
// }
// }
},
{
authId: "9020302",
parentId: "90203",
label: "取消预约",
handle: "handleCancel",
},
{
authId: "9020303",
parentId: "90203",
label: "更新备注",
handle: "handleUpdateRemark",
},
{
authId: "9020304",
parentId: "90203",
label: "修改时间",
handle: "handleChangeTime",
},
{
authId: "9020305",
parentId: "90203",
label: "电联一下",
handle: "handleCall",
},
{
authId: "9020306",
parentId: "90203",
label: "预约时间",
handle: "handleAppoint",
},
{
authId: "9020307",
parentId: "90203",
label: "更新备注",
handle: "handleUpdateRemark",
},
],
component: _import("customer/invitation"),
},
90205: {
path: "/customerPortrait",
name: "customerPortrait",
......
......@@ -28,14 +28,6 @@ export const routerName = {
],
auth: [
{
authId: "9230101",
parentId: "92301",
label: "新增子分类",
category: "Button",
type: "primary",
handle: "handleAddCategory",
},
{
authId: "9230102",
parentId: "92301",
label: "新增标签维度",
......@@ -44,30 +36,12 @@ export const routerName = {
handle: "handleAddDimension",
},
{
authId: "9230103",
parentId: "92301",
label: "编辑",
handle: "handleEditCategory",
},
{
authId: "9230104",
parentId: "92301",
label: "新增枚举",
handle: "handleAddEnum",
},
{
authId: "9230105",
parentId: "92301",
label: "编辑",
handle: "handleEditDimension",
},
{
authId: "9230106",
parentId: "92301",
label: "编辑枚举",
handle: "handleEditEnum",
},
{
authId: "9230108",
parentId: "92301",
label: "维护枚举值",
......@@ -94,22 +68,6 @@ export const routerName = {
sideHidden: true,
activePath: "/tagManagementList",
},
auth: [
{
authId: "9230104",
parentId: "92302",
label: "新增枚举值",
category: "Button",
type: "primary",
handle: "handleAddEnum",
},
{
authId: "9230106",
parentId: "92302",
label: "编辑枚举",
handle: "handleEditEnum",
},
],
component: _import("tagCustomerManagement/tagManagement/enumMaintain/index"),
},
};
......@@ -29,8 +29,6 @@
<div class="d2-container-content">
<d2-table-header>
<span slot="left">
<!-- 2024/9 独立版本 -->
<!-- <auth-button category="Button" style="{display: inline-block}" :show-btn-ids="['9020201']" /> -->
<span class="table-header-left-txt" style="margin-left: 0;">已预录客户列表{{ total }}条记录。</span>
</span>
<span>
......@@ -360,15 +358,6 @@ export default {
}
});
},
handleAdd() {
this.close({ tagName: "/editCustomer" });
this.$router.push({
name: "editCustomer",
params: {
addOrEdit: "add",
},
});
},
handleEdit(data) {
getOrderDetail({
orderCode: data.orderCode,
......
......@@ -237,15 +237,6 @@ export default {
);
this.selectedCategory = found;
},
handleAddCategory() {
this.categoryDialogMode = "add";
this.currentCategory = {};
this.defaultParentId
= this.selectedCategory && Number(this.selectedCategory.canAddChild) === 1
? this.selectedCategory.id
: "";
this.categoryDialogVisible = true;
},
handleTreeAddChild(data) {
this.categoryDialogMode = "add";
this.currentCategory = {};
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!