Commit 78bbc542 authored by 赵伟庚's avatar 赵伟庚

Merge branch 'dev' into zwg

parents c22e3163 e5592120
...@@ -133,6 +133,7 @@ const getOrgPersonFormData = (data) => { ...@@ -133,6 +133,7 @@ const getOrgPersonFormData = (data) => {
...formData, ...formData,
logo: formData.logo && formData.logo.length > 0 ? formData.logo[0].url : '', logo: formData.logo && formData.logo.length > 0 ? formData.logo[0].url : '',
} }
params.document_type = params.document_type == "" ? 0 : params.document_type
$axios.put(`/apaas/system/v5/org/update/user/${route.query.id}`,params) $axios.put(`/apaas/system/v5/org/update/user/${route.query.id}`,params)
.then((res) => { .then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
......
...@@ -163,12 +163,12 @@ const getDetail = () => { ...@@ -163,12 +163,12 @@ const getDetail = () => {
personInfo[1].value = detail.contact_email; personInfo[1].value = detail.contact_email;
personInfo[2].value = detail.document_type === 1 ? '身份证' : ''; personInfo[2].value = detail.document_type === 1 ? '身份证' : '';
personInfo[3].value = detail.document_number; personInfo[3].value = detail.document_number;
personInfo[4].value = detail.rem personInfo[4].value = detail.remark;
personInfo2[0].value = detail.contact_name; personInfo2[0].value = detail.contact_name;
personInfo2[1].value = detail.contact_email; personInfo2[1].value = detail.contact_email;
personInfo2[2].value = detail.rem personInfo2[2].value = detail.remark;
logo.value = detail.logo; logo.value = detail.logo;
accountType.value = detail.is_ad accountType.value = detail.is_admin;
}else { }else {
$message.error(res.data.data) $message.error(res.data.data)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment