mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 15:56:47 +08:00
讲师管理bug
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<a-descriptions-item :labelStyle="{ width: '165px' }" label="培训发生组织编号">{{formData?.affiliationCode||'-'}}</a-descriptions-item>
|
||||
<a-descriptions-item :labelStyle="{ width: '165px' }" label="培训发生组名称">{{formData?.affiliationName||'-'}}</a-descriptions-item>
|
||||
<a-descriptions-item label="是否为根节点">
|
||||
<span v-if="formData?.parentName">{{ 否(formData?.parentName) }}</span>
|
||||
<span v-if="formData?.parentName">否({{ formData?.parentName }})</span>
|
||||
<span v-else>是({{ {1:'一',2:'二',3:'三'}[formData?.code] }}级审批)</span>
|
||||
</a-descriptions-item>
|
||||
<a-descriptions-item label="组织担当">{{formData?.act||'-'}}</a-descriptions-item>
|
||||
@@ -104,7 +104,8 @@ const props = defineProps({
|
||||
title: {
|
||||
type: String,
|
||||
default: ""
|
||||
}
|
||||
},
|
||||
parentName: String,
|
||||
});
|
||||
const emit = defineEmits({});
|
||||
const visibleModal = ref(false)
|
||||
@@ -288,6 +289,7 @@ watch(visible, (val)=>{
|
||||
api.getAffiliationById(props.id).then(res=>{
|
||||
if(res.data.code == 200){
|
||||
formData.value = res.data.data
|
||||
formData.value.parentName = props.parentName
|
||||
formData.value.act = filterList(formData.value.affiliationUserList,0)
|
||||
formData.value.one = filterList(formData.value.affiliationUserList,1)
|
||||
formData.value.two = filterList(formData.value.affiliationUserList,2)
|
||||
|
||||
Reference in New Issue
Block a user