diff --git a/web/package.json b/web/package.json index 8c059b93..7d0a7810 100644 --- a/web/package.json +++ b/web/package.json @@ -25,7 +25,7 @@ "chokidar": "^4.0.0", "core-js": "^3.38.1", "echarts": "5.5.1", - "element-plus": "^2.8.5", + "element-plus": "^2.10.2", "highlight.js": "^11.10.0", "install": "^0.13.0", "marked": "14.1.1", diff --git a/web/src/view/superAdmin/menu/menu.vue b/web/src/view/superAdmin/menu/menu.vue index 48007233..f0f1b3b9 100644 --- a/web/src/view/superAdmin/menu/menu.vue +++ b/web/src/view/superAdmin/menu/menu.vue @@ -119,315 +119,394 @@ - - - - - - 如果菜单包含子菜单,请创建router-view二级路由页面或者 - - 点我设置 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+

菜单参数配置

+ 新增菜单参数
- - - - - - - - - - - - - - - -
- - 新增可控按钮 - - - - -
- - - - - - - - - - - - + + + + + + + + + + + + + +
+ + +
+
+

可控按钮配置

+
+ + 新增可控按钮 + + + + + + +
+
+ + + + + + + + + + + +
@@ -445,7 +524,7 @@ import { canRemoveAuthorityBtnApi } from '@/api/authorityBtn' import { reactive, ref } from 'vue' import { ElMessage, ElMessageBox } from 'element-plus' - import { QuestionFilled } from '@element-plus/icons-vue' + import { QuestionFilled, InfoFilled, Delete } from '@element-plus/icons-vue' import { toDoc } from '@/utils/doc' import { toLowerCase } from '@/utils/stringFun' import ComponentsCascader from '@/view/superAdmin/menu/components/components-cascader.vue' @@ -705,4 +784,52 @@ margin-right: 8px; } } + + + + .form-tip { + margin-top: 8px; + font-size: 12px; + color: #909399; + display: flex; + align-items: center; + gap: 8px; + + .el-icon { + color: #409eff; + } + } + + .label-with-tooltip { + display: flex; + align-items: center; + gap: 6px; + + .el-icon { + color: #909399; + cursor: help; + + &:hover { + color: #409eff; + } + } + } + + .parameter-table, + .button-table { + border: 1px solid #ebeef5; + border-radius: 6px; + + :deep(.el-table__header) { + background-color: #fafafa; + } + + :deep(.el-table__body) { + .el-table__row { + &:hover { + background-color: #f5f7fa; + } + } + } + }