|
|
|
@ -1,6 +1,6 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="app-container">
|
|
|
|
<div class="app-container">
|
|
|
|
<!-- <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" v-if="!isEmployee" label-width="80px">
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" v-if="!isEmployee" label-width="80px">
|
|
|
|
<el-form-item label="部门名称" prop="deptName">
|
|
|
|
<el-form-item label="部门名称" prop="deptName">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="queryParams.deptName"
|
|
|
|
v-model="queryParams.deptName"
|
|
|
|
@ -29,7 +29,7 @@
|
|
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form>-->
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
@ -137,7 +137,6 @@
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
<pagination
|
|
|
|
<pagination
|
|
|
|
v-show="total>0"
|
|
|
|
v-show="total>0"
|
|
|
|
:total="total"
|
|
|
|
:total="total"
|
|
|
|
@ -145,7 +144,6 @@
|
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
|
@pagination="getList"
|
|
|
|
@pagination="getList"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 添加或修改职工信息对话框 -->
|
|
|
|
<!-- 添加或修改职工信息对话框 -->
|
|
|
|
<el-dialog :title="title" :visible.sync="open" width="900px" append-to-body :close-on-click-modal="false">
|
|
|
|
<el-dialog :title="title" :visible.sync="open" width="900px" append-to-body :close-on-click-modal="false">
|
|
|
|
@ -397,7 +395,7 @@ export default {
|
|
|
|
// 查询参数
|
|
|
|
// 查询参数
|
|
|
|
queryParams: {
|
|
|
|
queryParams: {
|
|
|
|
pageNum: 1,
|
|
|
|
pageNum: 1,
|
|
|
|
pageSize: 1000000000,
|
|
|
|
pageSize: 10,
|
|
|
|
userId: null,
|
|
|
|
userId: null,
|
|
|
|
deptId: null,
|
|
|
|
deptId: null,
|
|
|
|
deptName: null,
|
|
|
|
deptName: null,
|
|
|
|
@ -432,24 +430,25 @@ export default {
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
/** 查询职工信息列表 */
|
|
|
|
/** 查询职工信息列表 */
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
|
this.loading = true
|
|
|
|
this.loading = true;
|
|
|
|
|
|
|
|
this.queryParams.remark='领导';
|
|
|
|
listEmployee(this.queryParams).then(response => {
|
|
|
|
listEmployee(this.queryParams).then(response => {
|
|
|
|
let arr = ['金佳勇','单丽','靳铎','张杰','李建强','孙溢','马丽贞','王倞','安静','潘颖','马连营','朱玲','李爱民','隋雪莲','亓鋆',
|
|
|
|
/*let arr = ['金佳勇','单丽','靳铎','张杰','李建强','孙溢','马丽贞','王倞','安静','潘颖','马连营','朱玲','李爱民','隋雪莲','亓鋆',
|
|
|
|
'冯春爽','徐铁红','王芊然','沈芝','高卫华','张青','李丽娜','王芳','王丽红','朱立明','刘建明','李丽山','杜学东','李诚','时代','张建环',
|
|
|
|
'冯春爽','徐铁红','王芊然','沈芝','高卫华','张青','李丽娜','王芳','王丽红','朱立明','刘建明','李丽山','杜学东','李诚','时代','张建环',
|
|
|
|
'孟祥昕','吴海波','贾长胜','秦丹','董慧彬','杨长锁','马振','李敬华','刘继祥','李志伟','鲁芳','王芳','蔡建丰','常海龙','王建国','尹海',
|
|
|
|
'孟祥昕','吴海波','贾长胜','秦丹','董慧彬','杨长锁','马振','李敬华','刘继祥','李志伟','鲁芳','王芳','蔡建丰','常海龙','王建国','尹海',
|
|
|
|
'刘云伟','陈伟莲','杜光熙','王文娟','黄静','唐翠云','霍翠红','曹丽君','王丹丹','刘冰怡','张志伟','王洋','杨焱','高一帆','王璐',
|
|
|
|
'刘云伟','陈伟莲','杜光熙','王文娟','黄静','唐翠云','霍翠红','曹丽君','王丹丹','刘冰怡','张志伟','王洋','杨焱','高一帆','王璐',
|
|
|
|
'石野飞','檀艳','周庆平','刘梦','刘庆辉','朱艳伟','李雪梅','谷世海','侯宇','刘颖','郭海莉','于静','李旭','崔岩','郭小松','刘金玲',
|
|
|
|
'石野飞','檀艳','周庆平','刘梦','刘庆辉','朱艳伟','李雪梅','谷世海','侯宇','刘颖','郭海莉','于静','李旭','崔岩','郭小松','刘金玲',
|
|
|
|
'陈克良','范永山','陈静','王英','马作东','沈方','石瑾','杜福光','白玉海','闫敬','张志宇','谌志鹏','蔡玉梅','安彬','刘凯','鲁丽丽',
|
|
|
|
'陈克良','范永山','陈静','王英','马作东','沈方','石瑾','杜福光','白玉海','闫敬','张志宇','谌志鹏','蔡玉梅','安彬','刘凯','鲁丽丽',
|
|
|
|
'刘肇民','宋晓敏','董怀晶','赵婉华','武炜','张琮','李晓萍','贾秀敏','李桃桃','郑向群','丁新龙','张海卿','崔乃忠','任翠香','李师广',
|
|
|
|
'刘肇民','宋晓敏','董怀晶','赵婉华','武炜','张琮','李晓萍','贾秀敏','李桃桃','郑向群','丁新龙','张海卿','崔乃忠','任翠香','李师广',
|
|
|
|
'韩雅倩','杨玉娟','李远航','王学增','康晓梅','张运峰']
|
|
|
|
'韩雅倩','杨玉娟','李远航','王学增','康晓梅','张运峰'] //领导
|
|
|
|
let arr1 = []
|
|
|
|
let arr1 = []
|
|
|
|
response.rows.forEach(item=>{
|
|
|
|
response.rows.forEach(item=>{
|
|
|
|
if(arr.indexOf(item.empName) !== -1 && (item.wordId!='110009') && (item.wordId!='110009') && (item.wordId!='117014')){
|
|
|
|
if(arr.indexOf(item.empName) !== -1 && (item.wordId!='110009') && (item.wordId!='110009') && (item.wordId!='117014')){
|
|
|
|
arr1.push(item)
|
|
|
|
arr1.push(item)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
console.log(arr1);
|
|
|
|
console.log(arr1);*/
|
|
|
|
this.employeeList = arr1
|
|
|
|
this.employeeList = response.rows
|
|
|
|
this.total = response.total
|
|
|
|
this.total = response.total
|
|
|
|
this.loading = false
|
|
|
|
this.loading = false
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|