Commit 02ad13aa by zhaoqingwei

阿拉丁-魔登

parent c7f84b54
......@@ -2,18 +2,9 @@
<div class="app-container">
<el-form :model="queryParams" ref="queryRef" :inline="true">
<el-form-item label="客户编号" prop="customerId">
<el-input
v-model="queryParams.customerId"
placeholder="请输入客户编号"
clearable
style="width: 160px"
@keyup.enter="handleQuery"
/>
</el-form-item>
<el-form-item prop="ids">
<el-form-item prop="userId">
<template #label>
<el-tooltip
<!--<el-tooltip
content="支持多个查询(,隔开)"
placement="top"
raw-content
......@@ -21,36 +12,36 @@
<el-icon style="top: 2px;">
<question-filled/>
</el-icon>
</el-tooltip>
</el-tooltip>-->
用户编号
</template>
<el-input
v-model="queryParams.ids"
v-model="queryParams.userId"
placeholder="请输入用户编号"
clearable
style="width: 160px"
@keyup.enter="handleQuery"
/>
</el-form-item>
<el-form-item label="用户邮箱" prop="email">
<el-form-item label="登录名" prop="userName">
<el-input
v-model="queryParams.email"
placeholder="请输入用户邮箱"
v-model="queryParams.userName"
placeholder="请输入登录名"
clearable
style="width: 180px"
@keyup.enter="handleQuery"
/>
</el-form-item>
<el-form-item label="用户姓名" prop="name">
<el-form-item label="用户昵称" prop="userNick">
<el-input
v-model="queryParams.name"
placeholder="请输入用户姓名"
v-model="queryParams.userNick"
placeholder="请输入用户昵称"
clearable
style="width: 180px"
@keyup.enter="handleQuery"
/>
</el-form-item>
<el-form-item label="用户角色" prop="role">
<!--<el-form-item label="用户角色" prop="role">
<el-select
v-model="queryParams.role"
placeholder="请选择用户角色"
......@@ -64,8 +55,8 @@
:value="dict.value"
/>
</el-select>
</el-form-item>
<el-form-item label="创建时间" style="width: 280px">
</el-form-item>-->
<!--<el-form-item label="创建时间" style="width: 280px">
<el-date-picker
v-model="createDateRange"
value-format="YYYY-MM-DD"
......@@ -74,7 +65,7 @@
start-placeholder="开始日期"
end-placeholder="结束日期"
></el-date-picker>
</el-form-item>
</el-form-item>-->
<el-form-item>
<el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" @click="resetQuery">重置</el-button>
......@@ -82,9 +73,9 @@
</el-form>
<el-table v-loading="loading" :data="userList" @sort-change="handleSortChange" size="small" stripe border>
<el-table-column prop="id" label="用户编号" sortable="custom" min-width="100" fixed/>
<el-table-column prop="email" label="邮箱" min-width="120" fixed/>
<el-table-column prop="name" label="用户姓名" min-width="120" show-overflow-tooltip fixed/>
<el-table-column prop="userId" label="用户ID" sortable="custom" min-width="100" fixed/>
<el-table-column prop="userName" label="登录名" min-width="120" fixed/>
<el-table-column prop="userNick" label="用户昵称" min-width="120" show-overflow-tooltip fixed/>
<el-table-column label="操作" align="center" min-width="200" fixed>
<template #default="scope">
<!--<el-button
......@@ -102,7 +93,7 @@
</el-button>
</template>
</el-table-column>
<el-table-column label="状态" align="center" width="70">
<!--<el-table-column label="状态" align="center" width="70">
<template #default="scope">
<el-switch
v-model="scope.row.status"
......@@ -112,14 +103,16 @@
disabled
></el-switch>
</template>
</el-table-column>
<el-table-column prop="role" label="角色" min-width="110">
</el-table-column>-->
<!--<el-table-column prop="role" label="角色" min-width="110">
<template #default="scope">
<dict-tag :options="ads_user_role" :value="scope.row.role"/>
</template>
</el-table-column>
<el-table-column prop="customerId" label="客户编号" min-width="60"></el-table-column>
<el-table-column label="创建时间" align="center" prop="gmtCreate" sortable="custom" min-width="160">
</el-table-column>-->
<el-table-column prop="expandData.role" label="角色" min-width="120" fixed/>
<el-table-column prop="expandData.customerName" label="客户名称" min-width="60"></el-table-column>
<el-table-column prop="expandData.customerAddress" label="地址" min-width="60"></el-table-column>
<!--<el-table-column label="创建时间" align="center" prop="gmtCreate" sortable="custom" min-width="160">
<template #default="scope">
<span>{{ parseTime(scope.row.gmtCreate) }}</span>
</template>
......@@ -128,7 +121,7 @@
<template #default="scope">
<span>{{ parseTime(scope.row.gmtModified) }}</span>
</template>
</el-table-column>
</el-table-column>-->
</el-table>
<pagination
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment