|
@@ -5,7 +5,7 @@
|
|
<div class="table-page-search-wrapper">
|
|
<div class="table-page-search-wrapper">
|
|
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
|
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
|
<a-row :gutter="24">
|
|
<a-row :gutter="24">
|
|
- <a-col :md="6" :sm="12">
|
|
|
|
|
|
+ <a-col :md="6" :sm="8">
|
|
<a-form-item label="真实名字">
|
|
<a-form-item label="真实名字">
|
|
<a-input @change="clearSpace" placeholder="请输入真实名字" v-model="queryParam.realname"></a-input>
|
|
<a-input @change="clearSpace" placeholder="请输入真实名字" v-model="queryParam.realname"></a-input>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
@@ -43,6 +43,41 @@
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
<template v-if="toggleSearchStatus">
|
|
<template v-if="toggleSearchStatus">
|
|
|
|
+ <!-- <a-row :gutter="24">
|
|
|
|
+
|
|
|
|
+ <a-col :md="6" :sm="8">
|
|
|
|
+ <a-form-item label="性别">
|
|
|
|
+ <a-select placeholder="请选择性别"
|
|
|
|
+ v-model="queryParam.sex"
|
|
|
|
+ :getPopupContainer="(target) => target.parentNode">
|
|
|
|
+ <a-select-option :value="1">男</a-select-option>
|
|
|
|
+ <a-select-option :value="2">女</a-select-option>
|
|
|
|
+ </a-select>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ <a-col :md="6" :sm="8">
|
|
|
|
+ <a-form-item label="入职日期">
|
|
|
|
+ <a-range-picker
|
|
|
|
+ style="width: 210px"
|
|
|
|
+ format="YYYY-MM-DD"
|
|
|
|
+ :placeholder="['开始时间', '结束时间']"
|
|
|
|
+ @change="onDateChange"
|
|
|
|
+
|
|
|
|
+ />
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ <a-col :md="6" :sm="8">
|
|
|
|
+ <a-form-item label="试用结束日期">
|
|
|
|
+ <a-range-picker
|
|
|
|
+ style="width: 210px"
|
|
|
|
+ format="YYYY-MM-DD"
|
|
|
|
+ :placeholder="['开始时间', '结束时间']"
|
|
|
|
+ @change="onDateChanges"
|
|
|
|
+
|
|
|
|
+ />
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ </a-row> -->
|
|
<a-row :gutter="24">
|
|
<a-row :gutter="24">
|
|
<a-col :md="6" :sm="12" style="width: 50%;">
|
|
<a-col :md="6" :sm="12" style="width: 50%;">
|
|
<a-form-item label="人员类别">
|
|
<a-form-item label="人员类别">
|
|
@@ -224,9 +259,11 @@ import JSelectDepart from '@/components/jeecgbiz/JSelectDepart'
|
|
description: '这是用户管理页面',
|
|
description: '这是用户管理页面',
|
|
queryParam: {
|
|
queryParam: {
|
|
empStatus:"10",
|
|
empStatus:"10",
|
|
- categorys:"101",
|
|
|
|
|
|
+ categorys:null,
|
|
orgCodeTxt:null,
|
|
orgCodeTxt:null,
|
|
|
|
+ entryDate
|
|
},
|
|
},
|
|
|
|
+
|
|
departNames:null,
|
|
departNames:null,
|
|
recycleBinVisible: false,
|
|
recycleBinVisible: false,
|
|
selectedRowKeys:[],
|
|
selectedRowKeys:[],
|
|
@@ -247,13 +284,15 @@ import JSelectDepart from '@/components/jeecgbiz/JSelectDepart'
|
|
align: "center",
|
|
align: "center",
|
|
dataIndex: 'workNo',
|
|
dataIndex: 'workNo',
|
|
width: 100,
|
|
width: 100,
|
|
|
|
+ sorter: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '员工姓名',
|
|
title: '员工姓名',
|
|
align: "center",
|
|
align: "center",
|
|
width: 100,
|
|
width: 100,
|
|
dataIndex: 'realname',
|
|
dataIndex: 'realname',
|
|
- scopedSlots: {customRender: "userRealname"}
|
|
|
|
|
|
+ scopedSlots: {customRender: "userRealname"},
|
|
|
|
+ sorter: true
|
|
},
|
|
},
|
|
// {
|
|
// {
|
|
// title: '头像',
|
|
// title: '头像',
|
|
@@ -267,6 +306,7 @@ import JSelectDepart from '@/components/jeecgbiz/JSelectDepart'
|
|
align: "center",
|
|
align: "center",
|
|
width: 80,
|
|
width: 80,
|
|
dataIndex: 'sex_dictText',
|
|
dataIndex: 'sex_dictText',
|
|
|
|
+ sorter: true
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
@@ -296,16 +336,17 @@ import JSelectDepart from '@/components/jeecgbiz/JSelectDepart'
|
|
title: '邮箱',
|
|
title: '邮箱',
|
|
align: "center",
|
|
align: "center",
|
|
width: 120,
|
|
width: 120,
|
|
- dataIndex: 'email'
|
|
|
|
|
|
+ dataIndex: 'email',
|
|
|
|
+ sorter: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '一级部门',
|
|
title: '一级部门',
|
|
align: "center",
|
|
align: "center",
|
|
width: 120,
|
|
width: 120,
|
|
- dataIndex: 'del2'
|
|
|
|
|
|
+ dataIndex: 'del2',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '二级部门',
|
|
|
|
|
|
+ title: '末级部门',
|
|
align: "center",
|
|
align: "center",
|
|
width: 120,
|
|
width: 120,
|
|
dataIndex: 'del3'
|
|
dataIndex: 'del3'
|
|
@@ -320,13 +361,15 @@ import JSelectDepart from '@/components/jeecgbiz/JSelectDepart'
|
|
title: '职位',
|
|
title: '职位',
|
|
align: "center",
|
|
align: "center",
|
|
width: 120,
|
|
width: 120,
|
|
- dataIndex: 'post_dictText'
|
|
|
|
|
|
+ dataIndex: 'post_dictText',
|
|
|
|
+ sorter: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '入职时间',
|
|
title: '入职时间',
|
|
align: "center",
|
|
align: "center",
|
|
width: 120,
|
|
width: 120,
|
|
- dataIndex: 'entryDate'
|
|
|
|
|
|
+ dataIndex: 'entryDate',
|
|
|
|
+ sorter: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '人员类别',
|
|
title: '人员类别',
|
|
@@ -334,6 +377,7 @@ import JSelectDepart from '@/components/jeecgbiz/JSelectDepart'
|
|
width: 100,
|
|
width: 100,
|
|
dataIndex: 'category_dictText',
|
|
dataIndex: 'category_dictText',
|
|
scopedSlots: {customRender: "categorys"},
|
|
scopedSlots: {customRender: "categorys"},
|
|
|
|
+ sorter: true
|
|
|
|
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -342,6 +386,7 @@ import JSelectDepart from '@/components/jeecgbiz/JSelectDepart'
|
|
width: 100,
|
|
width: 100,
|
|
dataIndex: 'employmentStatus',
|
|
dataIndex: 'employmentStatus',
|
|
scopedSlots: {customRender: "employmentStatuss"},
|
|
scopedSlots: {customRender: "employmentStatuss"},
|
|
|
|
+ sorter: true
|
|
|
|
|
|
},
|
|
},
|
|
// {
|
|
// {
|
|
@@ -391,6 +436,13 @@ import JSelectDepart from '@/components/jeecgbiz/JSelectDepart'
|
|
// this.selectedRowKeys = selectedRowKeys;
|
|
// this.selectedRowKeys = selectedRowKeys;
|
|
// this.selectionRows = selectionRows;
|
|
// this.selectionRows = selectionRows;
|
|
// },
|
|
// },
|
|
|
|
+ onDateChange: function (value, dateString) {
|
|
|
|
+ this.queryParam.entryDate=dateString[0]+","+dateString[1];
|
|
|
|
+ },
|
|
|
|
+ onDateChanges: function (value, dateString) {
|
|
|
|
+ this.queryParam.trialEndDate=dateString[0]+","+dateString[1];
|
|
|
|
+
|
|
|
|
+ },
|
|
handleExportXltx(){
|
|
handleExportXltx(){
|
|
this.queryParam.orgCodeTxt="空白模板";
|
|
this.queryParam.orgCodeTxt="空白模板";
|
|
this.$options.methods.handleExportXls.call(this)
|
|
this.$options.methods.handleExportXls.call(this)
|