c0db4eb4 by lihua

修改用户管理的编辑和详情

1 parent 58ec8228
......@@ -6,7 +6,7 @@
col="col3" />
</ContentWrap>
<ContentWrap title="入职部门" expandSwicth style="margin-top: 15px">
<EntryOrgList ref="entryOrgListRef" :organisationJson="organisationInfo"></EntryOrgList>
<EntryOrgList ref="entryOrgListRef" :organisationJson="organisationInfo" :disabled="isDetail"></EntryOrgList>
</ContentWrap>
</div>
<div class="submit_btn_wrap">
......@@ -74,6 +74,7 @@ const schemaParam1 = ref([
default: '',
required: false,
clearable: true,
disabled: false,
visible: true,
},
{
......@@ -348,7 +349,11 @@ function setDetail() {
}
nextTick(() => {
formItem1.value.setValue(formData)
schemaParam1.value.forEach(s => {
s.disabled = isDetail.value;
s.default = formData[s.field];
})
// formItem1.value.setValue(formData)
organisationInfo.value = detailData.value.staffOrgRelRSVOList || []
})
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!