🎨 用户管理模块新增手动添加用户功能

This commit is contained in:
2025-05-10 08:23:51 +08:00
parent f735331d33
commit 1825d4a44b
3 changed files with 122 additions and 6 deletions

View File

@@ -16,7 +16,7 @@
<el-date-picker v-model="searchInfo.endCreatedAt" type="datetime" placeholder="结束日期" :disabled-date="time=> searchInfo.startCreatedAt ? time.getTime() < searchInfo.startCreatedAt.getTime() : false"></el-date-picker>
</el-form-item>
<template v-if="showAllQuery">
<!-- 将需要控制显示状态的查询条件添加到此范围内 -->
@@ -34,7 +34,7 @@
<div class="gva-btn-list">
<el-button type="primary" icon="plus" @click="openDialog()">新增</el-button>
<el-button icon="delete" style="margin-left: 10px;" :disabled="!multipleSelection.length" @click="onDelete">删除</el-button>
</div>
<el-table
ref="multipleTable"
@@ -46,15 +46,15 @@
@sort-change="sortChange"
>
<el-table-column type="selection" width="55" />
<el-table-column align="left" label="日期" prop="createdAt"width="180">
<template #default="scope">{{ formatDate(scope.row.CreatedAt) }}</template>
</el-table-column>
<el-table-column sortable align="left" label="标题" prop="title" width="120" />
<el-table-column label="内容" prop="content" width="200">
<template #default="scope">
[富文本内容]
{{ scope.row.content }}
</template>
</el-table-column>
<el-table-column align="left" label="状态" prop="status" width="120" />