From ffb1bd190e9d4263c8c7d6c0096e0ec844cb3b52 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 19 六月 2025 17:30:55 +0800
Subject: [PATCH] 1.系统管理样式修改

---
 src/views/system/menu/index.vue |   93 +++++++++++++++++++++++-----------------------
 1 files changed, 47 insertions(+), 46 deletions(-)

diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index ed41531..4bae48f 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -1,88 +1,89 @@
 <template>
    <div class="app-container">
-      <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch">
+     <div style="background: #ffffff;padding: 20px 16px">
+       <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch">
          <el-form-item label="鑿滃崟鍚嶇О" prop="menuName">
-            <el-input
+           <el-input
                v-model="queryParams.menuName"
                placeholder="璇疯緭鍏ヨ彍鍗曞悕绉�"
                clearable
                style="width: 200px"
                @keyup.enter="handleQuery"
-            />
+           />
          </el-form-item>
          <el-form-item label="鐘舵��" prop="status">
-            <el-select v-model="queryParams.status" placeholder="鑿滃崟鐘舵��" clearable style="width: 200px">
-               <el-option
-                  v-for="dict in sys_normal_disable"
-                  :key="dict.value"
-                  :label="dict.label"
-                  :value="dict.value"
-               />
-            </el-select>
+           <el-select v-model="queryParams.status" placeholder="鑿滃崟鐘舵��" clearable style="width: 200px">
+             <el-option
+                 v-for="dict in sys_normal_disable"
+                 :key="dict.value"
+                 :label="dict.label"
+                 :value="dict.value"
+             />
+           </el-select>
          </el-form-item>
          <el-form-item>
-            <el-button type="primary" icon="Search" @click="handleQuery">鎼滅储</el-button>
-            <el-button icon="Refresh" @click="resetQuery">閲嶇疆</el-button>
+           <el-button type="primary" icon="Search" @click="handleQuery">鎼滅储</el-button>
+           <el-button icon="Refresh" @click="resetQuery">閲嶇疆</el-button>
          </el-form-item>
-      </el-form>
-
-      <el-row :gutter="10" class="mb8">
+       </el-form>
+       
+       <el-row :gutter="10" class="mb8">
          <el-col :span="1.5">
-            <el-button
+           <el-button
                type="primary"
                plain
                icon="Plus"
                @click="handleAdd"
                v-hasPermi="['system:menu:add']"
-            >鏂板</el-button>
+           >鏂板</el-button>
          </el-col>
          <el-col :span="1.5">
-            <el-button 
+           <el-button
                type="info"
                plain
                icon="Sort"
                @click="toggleExpandAll"
-            >灞曞紑/鎶樺彔</el-button>
+           >灞曞紑/鎶樺彔</el-button>
          </el-col>
          <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
-      </el-row>
-
-      <el-table
-         v-if="refreshTable"
-         v-loading="loading"
-         :data="menuList"
-         row-key="menuId"
-         :default-expand-all="isExpandAll"
-         :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
-      >
+       </el-row>
+       
+       <el-table
+           v-if="refreshTable"
+           v-loading="loading"
+           :data="menuList"
+           row-key="menuId"
+           :default-expand-all="isExpandAll"
+           :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
+       >
          <el-table-column prop="menuName" label="鑿滃崟鍚嶇О" :show-overflow-tooltip="true" width="160"></el-table-column>
          <el-table-column prop="icon" label="鍥炬爣" align="center" width="100">
-            <template #default="scope">
-               <svg-icon :icon-class="scope.row.icon" />
-            </template>
+           <template #default="scope">
+             <svg-icon :icon-class="scope.row.icon" />
+           </template>
          </el-table-column>
          <el-table-column prop="orderNum" label="鎺掑簭" width="60"></el-table-column>
          <el-table-column prop="perms" label="鏉冮檺鏍囪瘑" :show-overflow-tooltip="true"></el-table-column>
          <el-table-column prop="component" label="缁勪欢璺緞" :show-overflow-tooltip="true"></el-table-column>
          <el-table-column prop="status" label="鐘舵��" width="80">
-            <template #default="scope">
-               <dict-tag :options="sys_normal_disable" :value="scope.row.status" />
-            </template>
+           <template #default="scope">
+             <dict-tag :options="sys_normal_disable" :value="scope.row.status" />
+           </template>
          </el-table-column>
          <el-table-column label="鍒涘缓鏃堕棿" align="center" width="160" prop="createTime">
-            <template #default="scope">
-               <span>{{ parseTime(scope.row.createTime) }}</span>
-            </template>
+           <template #default="scope">
+             <span>{{ parseTime(scope.row.createTime) }}</span>
+           </template>
          </el-table-column>
          <el-table-column label="鎿嶄綔" align="center" width="210" class-name="small-padding fixed-width">
-            <template #default="scope">
-               <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:menu:edit']">淇敼</el-button>
-               <el-button link type="primary" icon="Plus" @click="handleAdd(scope.row)" v-hasPermi="['system:menu:add']">鏂板</el-button>
-               <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['system:menu:remove']">鍒犻櫎</el-button>
-            </template>
+           <template #default="scope">
+             <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:menu:edit']">淇敼</el-button>
+             <el-button link type="primary" icon="Plus" @click="handleAdd(scope.row)" v-hasPermi="['system:menu:add']">鏂板</el-button>
+             <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['system:menu:remove']">鍒犻櫎</el-button>
+           </template>
          </el-table-column>
-      </el-table>
-
+       </el-table>
+     </div>
       <!-- 娣诲姞鎴栦慨鏀硅彍鍗曞璇濇 -->
       <el-dialog :title="title" v-model="open" width="680px" append-to-body>
          <el-form ref="menuRef" :model="form" :rules="rules" label-width="100px">

--
Gitblit v1.9.3