前端页面规范

查询条件区块

错误举例



操作栏



列表的操作按钮

      <!-- 操作列:有权限的操作前 3 个直接显示,其余折叠进"更多"下拉 -->
      <el-table-column label="操作" fixed="right" header-align="center" align="center" width="220">
        <template v-slot="scope">
          <el-button v-for="action in visibleActions.slice(0, 3)" :key="action.key" type="primary" link
            @click="action.handler(scope.row)">{{ getActionLabel(action, scope.row) }}</el-button>
          <el-dropdown v-if="visibleActions.length > 3">
            <el-button type="primary" class="el-dropdown-link" link>
              更多<el-icon class="el-icon--right"><arrow-down /></el-icon>
            </el-button>
            <template #dropdown>
              <el-dropdown-menu>
                <el-dropdown-item v-for="action in visibleActions.slice(3)" :key="action.key">
                  <el-button link @click="action.handler(scope.row)">{{ getActionLabel(action, scope.row) }}</el-button>
                </el-dropdown-item>
              </el-dropdown-menu>
            </template>
          </el-dropdown>
        </template>
      </el-table-column>



页面弹出框


版本号 #15
由 董列涛 创建于 26 八月 2026 07:17:38
由 董列涛 更新于 26 八月 2026 09:14:52