|
|
@ -62,7 +62,7 @@ function PersonInfo() { |
|
|
|
number: '', //员工编号 |
|
|
|
tel: '', |
|
|
|
birth_year: '', |
|
|
|
user_role: '', //用户角色id |
|
|
|
user_role: 0, //用户角色id |
|
|
|
operator: '', //所属运营商 |
|
|
|
depart_id: '', //所属部门id |
|
|
|
good_ids: '', // 物品ids |
|
|
@ -341,9 +341,9 @@ function PersonInfo() { |
|
|
|
setFormData({ |
|
|
|
name: '', |
|
|
|
pda_number: '', |
|
|
|
job_status: '', |
|
|
|
user_role: '', |
|
|
|
operator_id: '', |
|
|
|
job_status: 0, |
|
|
|
user_role: 0, |
|
|
|
operator_id: '0', |
|
|
|
depart_id: '', |
|
|
|
property_id: '', |
|
|
|
road_name: '', |
|
|
@ -357,8 +357,8 @@ function PersonInfo() { |
|
|
|
...formData, |
|
|
|
name: '', |
|
|
|
pda_number: '', |
|
|
|
job_status: '', |
|
|
|
user_role: '', |
|
|
|
job_status: 0, |
|
|
|
user_role: 0, |
|
|
|
operator_id: '', |
|
|
|
depart_id: '', |
|
|
|
property_id: '', |
|
|
@ -537,7 +537,7 @@ function PersonInfo() { |
|
|
|
<FormSelect |
|
|
|
yisaLabel="在职状态" |
|
|
|
yisaData={sysConfig.jobStatus} |
|
|
|
defaultValue={formData.job_status || null} |
|
|
|
defaultValue={formData.job_status ||0} |
|
|
|
placeholder="" |
|
|
|
hasUnlimited={false} |
|
|
|
showClose={false} |
|
|
@ -546,7 +546,7 @@ function PersonInfo() { |
|
|
|
<FormSelect |
|
|
|
yisaLabel="角色" |
|
|
|
yisaData={sysConfig.BPM_ROLE} |
|
|
|
defaultValue={formData.user_role || null} |
|
|
|
defaultValue={formData.user_role||0 } |
|
|
|
placeholder="" |
|
|
|
hasUnlimited={false} |
|
|
|
showClose={false} |
|
|
@ -562,7 +562,7 @@ function PersonInfo() { |
|
|
|
<FormSelect |
|
|
|
yisaLabel="所属运营商" |
|
|
|
yisaData={operatorOptions} |
|
|
|
defaultValue={formData.operator_id || null} |
|
|
|
defaultValue={formData.operator_id||'0'} |
|
|
|
placeholder="" |
|
|
|
hasUnlimited={false} |
|
|
|
showClose={false} |
|
|
|