|
@@ -11,10 +11,10 @@ const router = useRouter()
|
|
|
|
|
|
const filterState = reactive({
|
|
const filterState = reactive({
|
|
keyword: '',
|
|
keyword: '',
|
|
- SellerDepartmentId: '',
|
|
|
|
|
|
+ sellerId: [],
|
|
createTime: [],
|
|
createTime: [],
|
|
- sortType:'',
|
|
|
|
- sortVal:''
|
|
|
|
|
|
+ SortField: 0,
|
|
|
|
+ SortRule: 0
|
|
})
|
|
})
|
|
|
|
|
|
const tableColOpt = computed( ()=>{
|
|
const tableColOpt = computed( ()=>{
|
|
@@ -44,7 +44,8 @@ const tableColOpt = computed( ()=>{
|
|
{
|
|
{
|
|
label: '创建时间',
|
|
label: '创建时间',
|
|
key: 'CreateTime',
|
|
key: 'CreateTime',
|
|
- width: '200px'
|
|
|
|
|
|
+ width: '200px',
|
|
|
|
+ sort: true,
|
|
},
|
|
},
|
|
]
|
|
]
|
|
} else {
|
|
} else {
|
|
@@ -55,7 +56,7 @@ const tableColOpt = computed( ()=>{
|
|
},
|
|
},
|
|
{
|
|
{
|
|
label: '手机号',
|
|
label: '手机号',
|
|
- key: 'MobileHidden'
|
|
|
|
|
|
+ key: 'Mobile'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
label: '营业部',
|
|
label: '营业部',
|
|
@@ -72,10 +73,6 @@ const tableColOpt = computed( ()=>{
|
|
sort: true,
|
|
sort: true,
|
|
headerTips: '用户首次登录小程序的时间'
|
|
headerTips: '用户首次登录小程序的时间'
|
|
},
|
|
},
|
|
- {
|
|
|
|
- label: '是否关注公众号',
|
|
|
|
- key: 'IsSubscribed'
|
|
|
|
- },
|
|
|
|
{
|
|
{
|
|
label: '创建时间',
|
|
label: '创建时间',
|
|
key: 'CreateTime',
|
|
key: 'CreateTime',
|
|
@@ -84,7 +81,7 @@ const tableColOpt = computed( ()=>{
|
|
},
|
|
},
|
|
{
|
|
{
|
|
label: '最近一次阅读时间',
|
|
label: '最近一次阅读时间',
|
|
- key: 'ModifyTime',
|
|
|
|
|
|
+ key: 'LastReadTime',
|
|
sort: true
|
|
sort: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -111,16 +108,15 @@ async function getUserList() {
|
|
const parames = {
|
|
const parames = {
|
|
PageSize: pageSize.value,
|
|
PageSize: pageSize.value,
|
|
CurrentIndex: page.value,
|
|
CurrentIndex: page.value,
|
|
- SellerDepartmentId: filterState.SellerDepartmentId,
|
|
|
|
- KeyWord: filterState.keyword,
|
|
|
|
- CreateStartDate: filterState.createTime ? filterState.createTime[0] : '',
|
|
|
|
- CreateEndDate: filterState.createTime ? filterState.createTime[1] : '',
|
|
|
|
- SortParam:filterState.sortType,
|
|
|
|
- SortType:filterState.sortVal,
|
|
|
|
|
|
+ SellerIds: filterState.sellerId.length > 0 ? filterState.sellerId.join(',') : '',
|
|
|
|
+ Keywords: filterState.keyword,
|
|
|
|
+ StartTime: filterState.createTime ? filterState.createTime[0] : '',
|
|
|
|
+ EndTime: filterState.createTime ? filterState.createTime[1] : '',
|
|
|
|
+ SortField:filterState.SortField,
|
|
|
|
+ SortRule:filterState.SortRule,
|
|
UserStatus: 2
|
|
UserStatus: 2
|
|
}
|
|
}
|
|
- console.log(radio.value === 1 ? 'companyPageList' : 'userList');
|
|
|
|
-
|
|
|
|
|
|
+
|
|
const res = radio.value === 1 ? await apiCustomerUser.companyPageList(parames) : await apiCustomerUser.userList(parames)
|
|
const res = radio.value === 1 ? await apiCustomerUser.companyPageList(parames) : await apiCustomerUser.userList(parames)
|
|
tableLoading.value = false
|
|
tableLoading.value = false
|
|
if (res.Ret === 200) {
|
|
if (res.Ret === 200) {
|
|
@@ -149,17 +145,22 @@ async function getSellerDepartment() {
|
|
}
|
|
}
|
|
|
|
|
|
function handleTableSort(e) {
|
|
function handleTableSort(e) {
|
|
- const { order, prop } = e//order:"descending",prop: "RegisterTime"
|
|
|
|
- filterState.sortType=prop
|
|
|
|
- if(!order){
|
|
|
|
- filterState.sortVal=''
|
|
|
|
- }else{
|
|
|
|
- filterState.sortVal=order==='descending'?'desc':'asc'
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ const sortFieldMap = {
|
|
|
|
+ CreateTime: 1,
|
|
|
|
+ RegisterTime: 2,
|
|
|
|
+ LastReadTime: 3,
|
|
|
|
+ ReadTimes: 4
|
|
|
|
+ };
|
|
|
|
+ // 设置排序字段
|
|
|
|
+ filterState.SortField = sortFieldMap[e.prop] || 0;
|
|
|
|
+ // 设置排序规则
|
|
|
|
+ filterState.SortRule = e.order ? (e.order === 'descending' ? 2 : 1) : 0;
|
|
handleFilterList()
|
|
handleFilterList()
|
|
}
|
|
}
|
|
function handleFilterList() {
|
|
function handleFilterList() {
|
|
|
|
+ console.log('handleFilterList', filterState.sellerId);
|
|
|
|
+
|
|
page.value = 1
|
|
page.value = 1
|
|
getUserList()
|
|
getUserList()
|
|
}
|
|
}
|
|
@@ -192,7 +193,8 @@ async function handleChangecompany(row) {
|
|
CompanyId: row.CompanyId,
|
|
CompanyId: row.CompanyId,
|
|
})
|
|
})
|
|
if (res.Ret !== 200) return
|
|
if (res.Ret !== 200) return
|
|
- ElMessage.success('禁用成功')
|
|
|
|
|
|
+ console.log(row);
|
|
|
|
+ row.AuthStatus === 1 ? ElMessage.success('禁用成功') : ElMessage.success('启用成功')
|
|
getUserList()
|
|
getUserList()
|
|
}
|
|
}
|
|
|
|
|
|
@@ -200,7 +202,6 @@ async function handleChangecompany(row) {
|
|
async function handleDisabledUser(row) {
|
|
async function handleDisabledUser(row) {
|
|
const res = await apiCustomerUser.setUserStatus({
|
|
const res = await apiCustomerUser.setUserStatus({
|
|
UserId: row.UserId,
|
|
UserId: row.UserId,
|
|
- IsEnabled: false
|
|
|
|
})
|
|
})
|
|
if (res.Ret !== 200) return
|
|
if (res.Ret !== 200) return
|
|
ElMessage.success('禁用成功')
|
|
ElMessage.success('禁用成功')
|
|
@@ -211,13 +212,11 @@ async function handleDisabledUser(row) {
|
|
function handleEnableUser(row) {
|
|
function handleEnableUser(row) {
|
|
const params={
|
|
const params={
|
|
UserId:row.UserId,
|
|
UserId:row.UserId,
|
|
- IsEnabled:true,
|
|
|
|
}
|
|
}
|
|
apiCustomerUser.setUserStatus(params).then(res=>{
|
|
apiCustomerUser.setUserStatus(params).then(res=>{
|
|
if(res.Ret===200){
|
|
if(res.Ret===200){
|
|
ElMessage.success('启用成功')
|
|
ElMessage.success('启用成功')
|
|
- emits('success')
|
|
|
|
- show.value=false
|
|
|
|
|
|
+ getUserList()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -225,7 +224,7 @@ function handleEnableUser(row) {
|
|
// 删除机构或者用户
|
|
// 删除机构或者用户
|
|
function handleDelUserAndCompany(row) {
|
|
function handleDelUserAndCompany(row) {
|
|
ElMessageBox.confirm(
|
|
ElMessageBox.confirm(
|
|
- '该操作会删除该用户所有相关信息,不可恢复,确认删除吗?',
|
|
|
|
|
|
+ `删除后不可恢复,是否确认删除客户【${row.CompanyName || row.RealName}】所有信息?`,
|
|
'提示'
|
|
'提示'
|
|
).then(() => {
|
|
).then(() => {
|
|
if (radio.value === 2) {
|
|
if (radio.value === 2) {
|
|
@@ -314,6 +313,7 @@ const showDetail=ref(false)
|
|
const activeUserId=ref(0)
|
|
const activeUserId=ref(0)
|
|
const activeUserName=ref('')
|
|
const activeUserName=ref('')
|
|
function handleGoReadTimes(e){
|
|
function handleGoReadTimes(e){
|
|
|
|
+ if(e.ReadTimes < 1) return
|
|
activeUserId.value=e.UserId
|
|
activeUserId.value=e.UserId
|
|
activeUserName.value=e.RealName
|
|
activeUserName.value=e.RealName
|
|
showDetail.value=true
|
|
showDetail.value=true
|
|
@@ -321,164 +321,168 @@ function handleGoReadTimes(e){
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<template>
|
|
<template>
|
|
- <div class="customer-user-list-page">
|
|
|
|
-
|
|
|
|
- <div class="select">
|
|
|
|
- <el-radio-group v-model="radio" fill="#0052D9" size="large" @change="getUserList()">
|
|
|
|
- <el-radio-button label="机构投资者" :value="1"></el-radio-button>
|
|
|
|
- <el-radio-button label="个人投资者" :value="2"></el-radio-button>
|
|
|
|
- </el-radio-group>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <div class="search-box">
|
|
|
|
- <div class="flex filter-wrap">
|
|
|
|
- <el-input
|
|
|
|
- placeholder="请输入机构名称/联系人姓名/手机号"
|
|
|
|
- v-model="filterState.keyword"
|
|
|
|
- :prefix-icon="Search"
|
|
|
|
- clearable
|
|
|
|
- size="large"
|
|
|
|
- style="max-width: 359px;float: right"
|
|
|
|
- @input="handleFilterList"
|
|
|
|
- />
|
|
|
|
- <el-select
|
|
|
|
- placeholder="请选择营业部"
|
|
|
|
- v-model="filterState.SellerDepartmentId"
|
|
|
|
- style="width: 165px"
|
|
|
|
- clearable
|
|
|
|
- size="large"
|
|
|
|
- @change="handleFilterList"
|
|
|
|
- >
|
|
|
|
- <el-option v-for="(item, index) in departmentList" :key="index" :label="item.SysDepartmentName" :value="item.SysDepartmentId"></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- <div style="width: 235px">
|
|
|
|
- <el-date-picker
|
|
|
|
- style="width: 235px"
|
|
|
|
- v-model="filterState.createTime"
|
|
|
|
- type="daterange"
|
|
|
|
- range-separator="至"
|
|
|
|
- start-placeholder="创建时间"
|
|
|
|
- end-placeholder="创建时间"
|
|
|
|
- value-format="YYYY-MM-DD"
|
|
|
|
|
|
+ <el-card>
|
|
|
|
+ <div class="customer-user-list-page">
|
|
|
|
+ <div class="select">
|
|
|
|
+ <el-radio-group v-model="radio" fill="#0052D9" size="large" @change="getUserList()">
|
|
|
|
+ <el-radio-button label="机构投资者" :value="1"></el-radio-button>
|
|
|
|
+ <el-radio-button label="个人投资者" :value="2"></el-radio-button>
|
|
|
|
+ </el-radio-group>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="search-box">
|
|
|
|
+ <div class="flex filter-wrap">
|
|
|
|
+ <el-input
|
|
|
|
+ :placeholder="radio === 1 ? '请输入机构名称/联系人姓名/手机号' : '请输入投资者姓名/手机号'"
|
|
|
|
+ v-model="filterState.keyword"
|
|
|
|
+ :prefix-icon="Search"
|
|
clearable
|
|
clearable
|
|
size="large"
|
|
size="large"
|
|
- @change="handleFilterList"
|
|
|
|
|
|
+ style="max-width: 359px;float: right"
|
|
|
|
+ @input="handleFilterList"
|
|
/>
|
|
/>
|
|
|
|
+ <div style="width: 235px">
|
|
|
|
+ <all-user-for-depart
|
|
|
|
+ style="width: 100%"
|
|
|
|
+ :props="{
|
|
|
|
+ emitPath: false,
|
|
|
|
+ multiple: true,
|
|
|
|
+ }"
|
|
|
|
+ :filterable="true"
|
|
|
|
+ onlySelectUser
|
|
|
|
+ :size="'large'"
|
|
|
|
+ v-model="filterState.sellerId"
|
|
|
|
+ placeholder="请选择营业部"
|
|
|
|
+ @change="handleFilterList"
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
|
|
+ <div style="width: 235px">
|
|
|
|
+ <el-date-picker
|
|
|
|
+ style="width: 235px"
|
|
|
|
+ v-model="filterState.createTime"
|
|
|
|
+ type="daterange"
|
|
|
|
+ range-separator="至"
|
|
|
|
+ start-placeholder="创建时间"
|
|
|
|
+ end-placeholder="创建时间"
|
|
|
|
+ value-format="YYYY-MM-DD"
|
|
|
|
+ clearable
|
|
|
|
+ size="large"
|
|
|
|
+ @change="handleFilterList"
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ :icon="Plus"
|
|
|
|
+ size="large"
|
|
|
|
+ @click="goAddUserPage"
|
|
|
|
+ v-permission="permissionBtn.customerManageBtn.customer_add"
|
|
|
|
+ >新增</el-button
|
|
|
|
+ >
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
</div>
|
|
</div>
|
|
- <div>
|
|
|
|
- <el-button
|
|
|
|
- type="primary"
|
|
|
|
- :icon="Plus"
|
|
|
|
- size="large"
|
|
|
|
- @click="goAddUserPage"
|
|
|
|
- v-permission="'user:add'"
|
|
|
|
- >新增</el-button
|
|
|
|
|
|
+ <div class="userlist-wrap" style="margin-top: 30px">
|
|
|
|
+ <el-table
|
|
|
|
+ :data="userList"
|
|
|
|
+ border
|
|
|
|
+ element-loading-text="数据加载中..."
|
|
|
|
+ v-loading="tableLoading"
|
|
|
|
+ @sort-change="handleTableSort"
|
|
|
|
+ :header-cell-style="{ background: '#EBEEF5' }"
|
|
>
|
|
>
|
|
|
|
+ <el-table-column
|
|
|
|
+ v-for="column in tableColOpt"
|
|
|
|
+ :key="column.key"
|
|
|
|
+ :prop="column.key"
|
|
|
|
+ :label="column.label"
|
|
|
|
+ :sortable="column.sort ? 'custom' : false"
|
|
|
|
+ :width="column.width"
|
|
|
|
+ align="center"
|
|
|
|
+ >
|
|
|
|
+ <template v-if="column.headerTips" #header>
|
|
|
|
+ <span>{{ column.label }}</span>
|
|
|
|
+ <el-tooltip
|
|
|
|
+ class="box-item"
|
|
|
|
+ effect="dark"
|
|
|
|
+ :content="column.headerTips"
|
|
|
|
+ placement="top"
|
|
|
|
+ >
|
|
|
|
+ <el-icon style="position: relative; top: 2px"
|
|
|
|
+ ><i-ep-QuestionFilled
|
|
|
|
+ /></el-icon>
|
|
|
|
+ </el-tooltip>
|
|
|
|
+ </template>
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
+ <span v-if="column.key === 'RealName' || column.key === 'CompanyName'" class="company-name" @click="handleGoDetail(row)">{{row.RealName || row.CompanyName}}</span>
|
|
|
|
+ <span v-else-if="column.key === 'ReadTimes'" :style="row.ReadTimes > 0 ?'color: #075EEE;' : ''" @click="handleGoReadTimes(row)">{{ row.ReadTimes}}</span>
|
|
|
|
+ <span v-else-if="column.key === 'IsRegistered'">{{
|
|
|
|
+ row.IsRegistered ? "是" : "否" || '-'
|
|
|
|
+ }}</span>
|
|
|
|
+ <span v-else-if="column.key === 'RegisterTime'">{{
|
|
|
|
+ formatTime(row.RegisterTime) || '-'
|
|
|
|
+ }}</span>
|
|
|
|
+ <span v-else-if="column.key === 'CreateTime'">{{
|
|
|
|
+ formatTime(row.CreateTime) || '-'
|
|
|
|
+ }}</span>
|
|
|
|
+ <span v-else>{{ row[column.key] || '-' }}</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column label="操作" width="200" align="center">
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
+ <el-button
|
|
|
|
+ v-permission="permissionBtn.customerManageBtn.customer_edit"
|
|
|
|
+ type="primary"
|
|
|
|
+ link
|
|
|
|
+ @click.stop="handleEditUser(row)"
|
|
|
|
+ >编辑</el-button
|
|
|
|
+ >
|
|
|
|
+ <el-button
|
|
|
|
+ v-permission="permissionBtn.customerManageBtn.customer_permissionSettings"
|
|
|
|
+ type="danger"
|
|
|
|
+ link
|
|
|
|
+ v-if="row.AuthStatus === 1"
|
|
|
|
+ @click.stop="handleOpenAndClose(row,'close')"
|
|
|
|
+ >关闭权限</el-button
|
|
|
|
+ >
|
|
|
|
+ <el-button
|
|
|
|
+ v-permission="permissionBtn.customerManageBtn.customer_permissionSettings"
|
|
|
|
+ type="primary"
|
|
|
|
+ link
|
|
|
|
+ v-else
|
|
|
|
+ @click.stop="handleOpenAndClose(row,'open')"
|
|
|
|
+ >开启权限</el-button
|
|
|
|
+ >
|
|
|
|
+ <el-button
|
|
|
|
+ v-permission="permissionBtn.customerManageBtn.customer_delete"
|
|
|
|
+ type="danger"
|
|
|
|
+ link
|
|
|
|
+ @click.stop="handleDelUserAndCompany(row)"
|
|
|
|
+ >删除</el-button
|
|
|
|
+ >
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ </el-table>
|
|
|
|
+ <el-pagination
|
|
|
|
+ background
|
|
|
|
+ layout="total,prev,pager,next,jumper"
|
|
|
|
+ :current-page="page"
|
|
|
|
+ :page-size="pageSize"
|
|
|
|
+ :total="totals"
|
|
|
|
+ @current-change="handlePageChange"
|
|
|
|
+ class="pagination"
|
|
|
|
+ />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
- <div class="userlist-wrap" style="margin-top: 30px">
|
|
|
|
- <el-table
|
|
|
|
- :data="userList"
|
|
|
|
- border
|
|
|
|
- element-loading-text="数据加载中..."
|
|
|
|
- v-loading="tableLoading"
|
|
|
|
- @sort-change="handleTableSort"
|
|
|
|
- >
|
|
|
|
- <el-table-column
|
|
|
|
- v-for="column in tableColOpt"
|
|
|
|
- :key="column.key"
|
|
|
|
- :prop="column.key"
|
|
|
|
- :label="column.label"
|
|
|
|
- :sortable="column.sort ? 'custom' : false"
|
|
|
|
- :width="column.width"
|
|
|
|
- align="center"
|
|
|
|
- >
|
|
|
|
- <template v-if="column.headerTips" #header>
|
|
|
|
- <span>{{ column.label }}</span>
|
|
|
|
- <el-tooltip
|
|
|
|
- class="box-item"
|
|
|
|
- effect="dark"
|
|
|
|
- :content="column.headerTips"
|
|
|
|
- placement="top"
|
|
|
|
- >
|
|
|
|
- <el-icon style="position: relative; top: 2px"
|
|
|
|
- ><i-ep-QuestionFilled
|
|
|
|
- /></el-icon>
|
|
|
|
- </el-tooltip>
|
|
|
|
- </template>
|
|
|
|
- <template #default="{ row }">
|
|
|
|
- <span v-if="column.key === 'RealName' || column.key === 'CompanyName'" style="color: #075EEE;" @click="handleGoDetail(row)">{{row.RealName || row.CompanyName}}</span>
|
|
|
|
- <span v-else-if="column.key === 'ReadTimes'" :style="row.ReadTimes > 0 ?'color: #075EEE;' : ''" @click="handleGoReadTimes(row)">{{ row.ReadTimes}}</span>
|
|
|
|
- <span v-else-if="column.key === 'IsRegistered'">{{
|
|
|
|
- row.IsRegistered ? "是" : "否" || '-'
|
|
|
|
- }}</span>
|
|
|
|
- <span v-else-if="column.key === 'IsSubscribed'">{{
|
|
|
|
- row.IsSubscribed ? "是" : "否" || '-'
|
|
|
|
- }}</span>
|
|
|
|
- <span v-else-if="column.key === 'RegisterTime'">{{
|
|
|
|
- formatTime(row.RegisterTime) || '-'
|
|
|
|
- }}</span>
|
|
|
|
- <span v-else-if="column.key === 'CreateTime'">{{
|
|
|
|
- formatTime(row.CreateTime) || '-'
|
|
|
|
- }}</span>
|
|
|
|
- <span v-else>{{ row[column.key] || '-' }}</span>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column label="操作" width="200" align="center">
|
|
|
|
- <template #default="{ row }">
|
|
|
|
- <el-button
|
|
|
|
- v-permission="permissionBtn.customerManageBtn.customer_edit"
|
|
|
|
- type="primary"
|
|
|
|
- link
|
|
|
|
- @click.stop="handleEditUser(row)"
|
|
|
|
- >编辑</el-button
|
|
|
|
- >
|
|
|
|
- <el-button
|
|
|
|
- v-permission="permissionBtn.customerManageBtn.customer_permissionSettings"
|
|
|
|
- type="danger"
|
|
|
|
- link
|
|
|
|
- v-if="row.Status === 2"
|
|
|
|
- @click.stop="handleOpenAndClose(row,'close')"
|
|
|
|
- >关闭权限</el-button
|
|
|
|
- >
|
|
|
|
- <el-button
|
|
|
|
- v-permission="permissionBtn.customerManageBtn.customer_permissionSettings"
|
|
|
|
- type="primary"
|
|
|
|
- link
|
|
|
|
- v-else
|
|
|
|
- @click.stop="handleOpenAndClose(row,'open')"
|
|
|
|
- >开启权限</el-button
|
|
|
|
- >
|
|
|
|
- <el-button
|
|
|
|
- v-permission="permissionBtn.customerManageBtn.customer_delete"
|
|
|
|
- type="danger"
|
|
|
|
- link
|
|
|
|
- @click.stop="handleDelUserAndCompany(row)"
|
|
|
|
- >删除</el-button
|
|
|
|
- >
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- </el-table>
|
|
|
|
- <el-pagination
|
|
|
|
- background
|
|
|
|
- layout="total,prev,pager,next,jumper"
|
|
|
|
- :current-page="page"
|
|
|
|
- :page-size="pageSize"
|
|
|
|
- :total="totals"
|
|
|
|
- @current-change="handlePageChange"
|
|
|
|
- style="margin-top: 30px; justify-content: flex-end"
|
|
|
|
- />
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ </el-card>
|
|
<UserStatisticDetail v-model:show="showDetail" :userId="activeUserId" :userName="activeUserName"/>
|
|
<UserStatisticDetail v-model:show="showDetail" :userId="activeUserId" :userName="activeUserName"/>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
.customer-user-list-page {
|
|
.customer-user-list-page {
|
|
|
|
+ position: relative;
|
|
width: 100%;
|
|
width: 100%;
|
|
|
|
+ min-height: calc(100vh - 180px);
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
.search-box {
|
|
.search-box {
|
|
display: flex;
|
|
display: flex;
|
|
@@ -491,5 +495,17 @@ function handleGoReadTimes(e){
|
|
flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
gap: 10px;
|
|
}
|
|
}
|
|
|
|
+ .pagination {
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: 30px;
|
|
|
|
+ right: 0;
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+.company-name {
|
|
|
|
+ color: #075EEE;
|
|
|
|
+ white-space: nowrap; /* 禁止换行 */
|
|
|
|
+ overflow: hidden; /* 隐藏溢出内容 */
|
|
|
|
+ text-overflow: ellipsis;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|