|  | @@ -97,6 +97,17 @@
 | 
	
		
			
				|  |  |              </el-option>
 | 
	
		
			
				|  |  |            </el-select>
 | 
	
		
			
				|  |  |          </el-form-item>
 | 
	
		
			
				|  |  | +        <el-form-item prop="notMobileAndWechat">
 | 
	
		
			
				|  |  | +          <el-select
 | 
	
		
			
				|  |  | +            v-model.trim="searchForm.notMobileAndWechat"
 | 
	
		
			
				|  |  | +            clearable
 | 
	
		
			
				|  |  | +            filterable
 | 
	
		
			
				|  |  | +            placeholder="是否手机微信双无"
 | 
	
		
			
				|  |  | +          >
 | 
	
		
			
				|  |  | +            <el-option label="是" value="1"></el-option>
 | 
	
		
			
				|  |  | +            <el-option label="否" value="0"></el-option>
 | 
	
		
			
				|  |  | +          </el-select>
 | 
	
		
			
				|  |  | +        </el-form-item>
 | 
	
		
			
				|  |  |          <el-form-item prop="dates" :label-width="formLabelWidth">
 | 
	
		
			
				|  |  |            <el-date-picker
 | 
	
		
			
				|  |  |              v-model="searchForm.dates"
 | 
	
	
		
			
				|  | @@ -118,9 +129,10 @@
 | 
	
		
			
				|  |  |              v-model.trim="searchForm.hrbp"
 | 
	
		
			
				|  |  |              clearable
 | 
	
		
			
				|  |  |              filterable
 | 
	
		
			
				|  |  | -            placeholder='请选择HRBP'
 | 
	
		
			
				|  |  | +            placeholder="请选择HRBP"
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  | -            <el-option v-for='(item,index) in roleList'
 | 
	
		
			
				|  |  | +            <el-option
 | 
	
		
			
				|  |  | +              v-for="(item, index) in roleList"
 | 
	
		
			
				|  |  |                :key="index"
 | 
	
		
			
				|  |  |                :value="item.userId"
 | 
	
		
			
				|  |  |                :label="item.userName"
 | 
	
	
		
			
				|  | @@ -137,17 +149,13 @@
 | 
	
		
			
				|  |  |          </el-form-item>
 | 
	
		
			
				|  |  |          <el-form-item>
 | 
	
		
			
				|  |  |            <el-button @click="search" type="danger">搜索</el-button>
 | 
	
		
			
				|  |  | -          <el-button
 | 
	
		
			
				|  |  | -            @click="onReSet"
 | 
	
		
			
				|  |  | -            type="primary"
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -            >重置</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          <el-button @click="onReSet" type="primary">重置</el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              type="primary"
 | 
	
		
			
				|  |  |              v-if="$helpers.permission('export/employeeInfo')"
 | 
	
		
			
				|  |  |              @click="employeeExport"
 | 
	
		
			
				|  |  | -            >导出</el-button>
 | 
	
		
			
				|  |  | +            >导出</el-button
 | 
	
		
			
				|  |  | +          >
 | 
	
		
			
				|  |  |            <!--  style="background-color: #409eff; border-color: #409eff" -->
 | 
	
		
			
				|  |  |          </el-form-item>
 | 
	
		
			
				|  |  |        </saveform>
 | 
	
	
		
			
				|  | @@ -376,11 +384,8 @@
 | 
	
		
			
				|  |  |              label="最后一次操作时间时间"
 | 
	
		
			
				|  |  |              width="160px"
 | 
	
		
			
				|  |  |            ></el-table-column>
 | 
	
		
			
				|  |  | -          <el-table-column
 | 
	
		
			
				|  |  | -            align="center"
 | 
	
		
			
				|  |  | -            label="HRBP"
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | -             <template slot-scope="scope">
 | 
	
		
			
				|  |  | +          <el-table-column align="center" label="HRBP">
 | 
	
		
			
				|  |  | +            <template slot-scope="scope">
 | 
	
		
			
				|  |  |                <div>
 | 
	
		
			
				|  |  |                  <copy-text>{{ roleFormat(scope.row.hrbp) }}</copy-text>
 | 
	
		
			
				|  |  |                </div>
 | 
	
	
		
			
				|  | @@ -473,14 +478,14 @@ import saveform from "@/components/save-form";
 | 
	
		
			
				|  |  |  import dayjs from "dayjs";
 | 
	
		
			
				|  |  |  import hrform from "./form";
 | 
	
		
			
				|  |  |  import { Export } from "@/utils/downLoadFile";
 | 
	
		
			
				|  |  | -import cleanDeep from 'clean-deep'
 | 
	
		
			
				|  |  | +import cleanDeep from "clean-deep";
 | 
	
		
			
				|  |  |  // import store from '@/store'
 | 
	
		
			
				|  |  |  import {
 | 
	
		
			
				|  |  |    helpCenterCatalogList,
 | 
	
		
			
				|  |  |    employeeInfo,
 | 
	
		
			
				|  |  |    helpCenterContentModify,
 | 
	
		
			
				|  |  |    helpCenterContentDelete,
 | 
	
		
			
				|  |  | -  queryEmployeeByRole
 | 
	
		
			
				|  |  | +  queryEmployeeByRole,
 | 
	
		
			
				|  |  |  } from "@/api/appTenant";
 | 
	
		
			
				|  |  |  import { getEmployeeOrgan, getSubject } from "@/api/buildTeam";
 | 
	
		
			
				|  |  |  import { subjectListTree } from "@/api/specialSetting";
 | 
	
	
		
			
				|  | @@ -502,8 +507,9 @@ const initSearch = {
 | 
	
		
			
				|  |  |    userNameOrIdOrMobile: "",
 | 
	
		
			
				|  |  |    operator: "",
 | 
	
		
			
				|  |  |    dates: [],
 | 
	
		
			
				|  |  | -  intentionCity: '',
 | 
	
		
			
				|  |  | -  hrbp: ''
 | 
	
		
			
				|  |  | +  intentionCity: "",
 | 
	
		
			
				|  |  | +  hrbp: "",
 | 
	
		
			
				|  |  | +  notMobileAndWechat:""
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  |    components: { pagination, hrform, saveform },
 | 
	
	
		
			
				|  | @@ -548,7 +554,7 @@ export default {
 | 
	
		
			
				|  |  |        tempTreeList: [],
 | 
	
		
			
				|  |  |        organList: [],
 | 
	
		
			
				|  |  |        subjectList: [],
 | 
	
		
			
				|  |  | -      roleList: []
 | 
	
		
			
				|  |  | +      roleList: [],
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    activated() {
 | 
	
	
		
			
				|  | @@ -580,8 +586,8 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    async mounted() {
 | 
	
		
			
				|  |  | -    let res = await queryEmployeeByRole({ roleId: 40})
 | 
	
		
			
				|  |  | -    this.roleList = res.data || []
 | 
	
		
			
				|  |  | +    let res = await queryEmployeeByRole({ roleId: 40 });
 | 
	
		
			
				|  |  | +    this.roleList = res.data || [];
 | 
	
		
			
				|  |  |      this.getList();
 | 
	
		
			
				|  |  |      // this.getTreeList()
 | 
	
		
			
				|  |  |      getEmployeeOrgan().then((res) => {
 | 
	
	
		
			
				|  | @@ -602,9 +608,9 @@ export default {
 | 
	
		
			
				|  |  |          this,
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |            url: "/api-web/export/employeeInfo",
 | 
	
		
			
				|  |  | -          fileName:`人力资源导出.xls`,
 | 
	
		
			
				|  |  | -          params:cleanDeep( {
 | 
	
		
			
				|  |  | -            ...params
 | 
	
		
			
				|  |  | +          fileName: `人力资源导出.xls`,
 | 
	
		
			
				|  |  | +          params: cleanDeep({
 | 
	
		
			
				|  |  | +            ...params,
 | 
	
		
			
				|  |  |            }),
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          "是否确认导出人力资源?"
 | 
	
	
		
			
				|  | @@ -814,21 +820,21 @@ export default {
 | 
	
		
			
				|  |  |          content: null, // 内容
 | 
	
		
			
				|  |  |          catalogId: [], // 分类编号
 | 
	
		
			
				|  |  |        };
 | 
	
		
			
				|  |  | -      this.getList()
 | 
	
		
			
				|  |  | +      this.getList();
 | 
	
		
			
				|  |  |        // this.$refs.cascader.handleClear()
 | 
	
		
			
				|  |  |        // this.$refs[formName].resetFields();
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      roleFormat(value) {
 | 
	
		
			
				|  |  | -      const roleList = this.roleList
 | 
	
		
			
				|  |  | -      let userName = null
 | 
	
		
			
				|  |  | -      roleList.forEach(item => {
 | 
	
		
			
				|  |  | -        if(item.userId == value) {
 | 
	
		
			
				|  |  | -          userName = item.userName
 | 
	
		
			
				|  |  | +      const roleList = this.roleList;
 | 
	
		
			
				|  |  | +      let userName = null;
 | 
	
		
			
				|  |  | +      roleList.forEach((item) => {
 | 
	
		
			
				|  |  | +        if (item.userId == value) {
 | 
	
		
			
				|  |  | +          userName = item.userName;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -      })
 | 
	
		
			
				|  |  | -      return userName
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | -  }
 | 
	
		
			
				|  |  | +      });
 | 
	
		
			
				|  |  | +      return userName;
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +  },
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  |  <style lang="scss" scoped>
 |