luoyb
2021-03-09 bf82a6c5f6f690ed1d41f05488c5c0c380c7f9ed
fix(bug修复): 查询

1.在职员工与离职员工每页只显示15条
2.修复了选择员工时无法关键词查询的bug
3个文件已修改
22 ■■■■ 已修改文件
src/views/user/inemployees.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/outemployess.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/selectuser.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/inemployees.vue
@@ -919,7 +919,7 @@
      }, // 查询参数
      sort: {}, // 排序
      pagination: { // 分页参数
        size: 12,
        size: 15,
        num: 1
      },
      baseicInformationForm: {},
src/views/user/outemployess.vue
@@ -1238,7 +1238,7 @@
      }, // 查询参数
      sort: {}, // 排序
      pagination: { // 分页参数
        size: 12,
        size: 15,
        num: 1
      },
      headerHeight: '30px',
src/views/user/selectuser.vue
@@ -5,7 +5,7 @@
        <el-row>
          <el-col :span="10">
            <el-form-item label="关键字">
              <el-input v-model="queryParams.empNumb" placeholder="请输入内容" style="width:200px" />
              <el-input v-model="queryParams.baseKey" placeholder="请输入内容" style="width:200px" />
            </el-form-item>
          </el-col>
          <el-col :span="10">
@@ -84,7 +84,7 @@
      multipleSelection: [],
      total: 0, // 总数量
      queryParams: {
        empNumb: '',
        baseKey: '',
        empStatus: []
      }, // 查询参数
      sort: {}, // 排序
@@ -112,23 +112,13 @@
    },
    vagueSearch() {
      this.fetch({
        empNumb: this.queryParams.empNumb,
        empName: this.queryParams.empNumb,
        deptName: this.queryParams.empNumb,
        certificateNumb: this.queryParams.empNumb,
        nativePlaceName: this.queryParams.empNumb,
        censusAddress: this.queryParams.empNumb,
        baseKey: this.queryParams.baseKey,
        empStatus: this.queryParams.empStatus
      })
    },
    resetSearch() {
      this.queryParams = {
        empNumb: '',
        empName: '',
        deptName: '',
        certificateNumb: '',
        nativePlaceName: '',
        censusAddress: '',
        baseKey: '',
        empStatus: []
      }
      this.search()