|
@@ -9,33 +9,34 @@
|
|
<a-col :md="6" :sm="12">
|
|
<a-col :md="6" :sm="12">
|
|
<a-form-item label="账号">
|
|
<a-form-item label="账号">
|
|
<!--<a-input placeholder="请输入账号查询" v-model="queryParam.username"></a-input>-->
|
|
<!--<a-input placeholder="请输入账号查询" v-model="queryParam.username"></a-input>-->
|
|
- <j-input placeholder="输入账号模糊查询" v-model="queryParam.username"></j-input>
|
|
|
|
|
|
+ <j-input placeholder="输入账号查询" v-model="queryParam.username"></j-input>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
<a-col :md="6" :sm="8">
|
|
- <a-form-item label="性别">
|
|
|
|
- <a-select v-model="queryParam.sex" placeholder="请选择性别">
|
|
|
|
- <a-select-option value="">请选择</a-select-option>
|
|
|
|
- <a-select-option value="1">男</a-select-option>
|
|
|
|
- <a-select-option value="2">女</a-select-option>
|
|
|
|
- </a-select>
|
|
|
|
|
|
+ <a-form-item label="真实名字">
|
|
|
|
+ <a-input placeholder="请输入真实名字" v-model="queryParam.realname"></a-input>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
|
+
|
|
</a-col>
|
|
</a-col>
|
|
|
|
|
|
|
|
|
|
<template v-if="toggleSearchStatus">
|
|
<template v-if="toggleSearchStatus">
|
|
- <a-col :md="6" :sm="8">
|
|
|
|
- <a-form-item label="真实名字">
|
|
|
|
- <a-input placeholder="请输入真实名字" v-model="queryParam.realname"></a-input>
|
|
|
|
|
|
+ <!-- <a-col :md="6" :sm="8">
|
|
|
|
+ <a-form-item label="性别">
|
|
|
|
+ <a-select v-model="queryParam.sex" placeholder="请选择性别">
|
|
|
|
+ <a-select-option value="">请选择</a-select-option>
|
|
|
|
+ <a-select-option value="1">男</a-select-option>
|
|
|
|
+ <a-select-option value="2">女</a-select-option>
|
|
|
|
+ </a-select>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
- </a-col>
|
|
|
|
|
|
+ </a-col> -->
|
|
|
|
|
|
- <a-col :md="6" :sm="8">
|
|
|
|
|
|
+ <!-- <a-col :md="6" :sm="8">
|
|
<a-form-item label="手机号码">
|
|
<a-form-item label="手机号码">
|
|
<a-input placeholder="请输入手机号码查询" v-model="queryParam.phone"></a-input>
|
|
<a-input placeholder="请输入手机号码查询" v-model="queryParam.phone"></a-input>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
- </a-col>
|
|
|
|
|
|
+ </a-col> -->
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
<a-col :md="6" :sm="8">
|
|
<a-form-item label="用户状态">
|
|
<a-form-item label="用户状态">
|
|
@@ -208,16 +209,18 @@
|
|
queryParam: {},
|
|
queryParam: {},
|
|
recycleBinVisible: false,
|
|
recycleBinVisible: false,
|
|
columns: [
|
|
columns: [
|
|
- /*{
|
|
|
|
- title: '#',
|
|
|
|
- dataIndex: '',
|
|
|
|
- key:'rowIndex',
|
|
|
|
- width:60,
|
|
|
|
- align:"center",
|
|
|
|
- customRender:function (t,r,index) {
|
|
|
|
- return parseInt(index)+1;
|
|
|
|
- }
|
|
|
|
- },*/
|
|
|
|
|
|
+ // {
|
|
|
|
+ // title: '序号',
|
|
|
|
+ // dataIndex: '',
|
|
|
|
+ // key:'rowIndex',
|
|
|
|
+ // width:60,
|
|
|
|
+ // align:"center",
|
|
|
|
+ // // fixed: 'left',
|
|
|
|
+ // customRender:function (t,r,index) {
|
|
|
|
+ // return parseInt(index)+1;
|
|
|
|
+ // }
|
|
|
|
+ // },
|
|
|
|
+ // 修改:设置fixed出现空白列:fixed列设置width,其余不设置(自适应,获取有必须设置的设置的设置一下宽度)。设置了fixed后不要全都设置宽度会出现空白列
|
|
{
|
|
{
|
|
title: '用户账号',
|
|
title: '用户账号',
|
|
align: "center",
|
|
align: "center",
|
|
@@ -236,7 +239,7 @@
|
|
{
|
|
{
|
|
title: '头像',
|
|
title: '头像',
|
|
align: "center",
|
|
align: "center",
|
|
- width: 120,
|
|
|
|
|
|
+ // width: 120,
|
|
dataIndex: 'avatar',
|
|
dataIndex: 'avatar',
|
|
scopedSlots: {customRender: "avatarslot"}
|
|
scopedSlots: {customRender: "avatarslot"}
|
|
},
|
|
},
|
|
@@ -244,38 +247,38 @@
|
|
{
|
|
{
|
|
title: '性别',
|
|
title: '性别',
|
|
align: "center",
|
|
align: "center",
|
|
- width: 80,
|
|
|
|
|
|
+ // width: 80,
|
|
dataIndex: 'sex_dictText',
|
|
dataIndex: 'sex_dictText',
|
|
sorter: true
|
|
sorter: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '生日',
|
|
|
|
- align: "center",
|
|
|
|
- width: 100,
|
|
|
|
- dataIndex: 'birthday'
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- title: '手机号码',
|
|
|
|
- align: "center",
|
|
|
|
- width: 100,
|
|
|
|
- dataIndex: 'phone'
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
title: '部门',
|
|
title: '部门',
|
|
align: "center",
|
|
align: "center",
|
|
- width: 180,
|
|
|
|
|
|
+ // width: 200,
|
|
dataIndex: 'orgCodeTxt'
|
|
dataIndex: 'orgCodeTxt'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '负责部门',
|
|
title: '负责部门',
|
|
align: "center",
|
|
align: "center",
|
|
- width: 180,
|
|
|
|
|
|
+ // width: 200,
|
|
dataIndex: 'departIds_dictText'
|
|
dataIndex: 'departIds_dictText'
|
|
},
|
|
},
|
|
|
|
+ // {
|
|
|
|
+ // title: '生日',
|
|
|
|
+ // align: "center",
|
|
|
|
+ // width: 100,
|
|
|
|
+ // dataIndex: 'birthday'
|
|
|
|
+ // },
|
|
|
|
+ {
|
|
|
|
+ title: '手机号码',
|
|
|
|
+ align: "center",
|
|
|
|
+ // width: 100,
|
|
|
|
+ dataIndex: 'phone'
|
|
|
|
+ },
|
|
{
|
|
{
|
|
title: '状态',
|
|
title: '状态',
|
|
align: "center",
|
|
align: "center",
|
|
- width: 80,
|
|
|
|
|
|
+ // width: 80,
|
|
dataIndex: 'status_dictText'
|
|
dataIndex: 'status_dictText'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -306,7 +309,7 @@
|
|
computed: {
|
|
computed: {
|
|
importExcelUrl: function(){
|
|
importExcelUrl: function(){
|
|
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|
|
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|
|
- }
|
|
|
|
|
|
+ },
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
getAvatarView: function (avatar) {
|
|
getAvatarView: function (avatar) {
|