luoyb
2021-04-23 a5d644dc083ca502bc81de92741594c28048e740
src/views/user/inemployees.vue
@@ -201,6 +201,21 @@
                    </el-checkbox-group>
                  </td>
                </tr>
                <tr>
                  <td class="td">相关证件:</td>
                  <td class="td-group">
                    <el-checkbox-group v-model="queryParams.certificateList" class="fj-checkbox">
                      <el-checkbox label="" @change="selectAllCertificateList">全部</el-checkbox>
                      <el-checkbox
                        v-for="data in certificateListOptions"
                        :key="data.dicItemName"
                        :label="data.dicItemCode"
                      >
                        {{ data.dicItemName }}
                      </el-checkbox>
                    </el-checkbox-group>
                  </td>
                </tr>
              </table>
            </el-col>
          </el-row>
@@ -973,7 +988,8 @@
        empCardStatus: [],
        handbookStatus: [],
        entryType: [],
        empType: []
        empType: [],
        certificateList: []
      }, // 查询参数
      sort: {}, // 排序
      pagination: { // 分页参数
@@ -1336,7 +1352,8 @@
        handbookStatus: [],
        baseKey: '',
        empType: [],
        entryType: []
        entryType: [],
        certificateList: []
      }
      this.search()
    },
@@ -2051,6 +2068,13 @@
        this.queryParams.entryType = []
      }
    },
    selectAllCertificateList(val) {
      if (val) {
        this.queryParams.certificateList = this.dicListToArr(this.certificateListOptions)
      } else {
        this.queryParams.certificateList = []
      }
    },
    headers() {
      const token = getToken()
      if (token) {