|  |  |  | 
|---|
|  |  |  | workType: '职业/工种', | 
|---|
|  |  |  | gender: '性别', | 
|---|
|  |  |  | birthDay: '出生日期', | 
|---|
|  |  |  | note: '备注', | 
|---|
|  |  |  | remark: '备注', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | .catch(() => { | 
|---|
|  |  |  | state.staffList = res.addOrSub; | 
|---|
|  |  |  | state.staffList = _.uniqBy(res.addOrSub, 'idNumber'); | 
|---|
|  |  |  | getList(); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | state.staffList = res.addOrSub; | 
|---|
|  |  |  | state.staffList = _.uniqBy(res.addOrSub, 'idNumber'); | 
|---|
|  |  |  | getList(); | 
|---|
|  |  |  | } catch (error) {} | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | gender: '性别', | 
|---|
|  |  |  | age: '年龄', | 
|---|
|  |  |  | birthDay: '出生日期', | 
|---|
|  |  |  | note: '备注', | 
|---|
|  |  |  | remark: '备注', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | .catch(() => { | 
|---|
|  |  |  | state.staffList = res.update; | 
|---|
|  |  |  | state.staffList = _.uniqBy(_.uniqBy(res.update, 'idNumber'), 'orginIdNumber'); | 
|---|
|  |  |  | getList(); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | state.staffList = res.update; | 
|---|
|  |  |  | state.staffList = _.uniqBy(_.uniqBy(res.update, 'idNumber'), 'orginIdNumber'); | 
|---|
|  |  |  | getList(); | 
|---|
|  |  |  | } catch (error) {} | 
|---|
|  |  |  | } | 
|---|