mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 08:16:46 +08:00
讲师管理bug
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
</div>
|
||||
<!-- 抽屉 -->
|
||||
<a-drawer v-model:visible="teacherdialog" :closable="false" :title="false" placement="right" width="60%" :maskClosable="false" >
|
||||
<div class="headers">
|
||||
<div class="headers" style="margin-top: -24px">
|
||||
<div class="headerTitle">{{ teacherdialogtitle }}</div>
|
||||
<img
|
||||
style="width: 29px; height: 29px; cursor: pointer"
|
||||
@@ -405,7 +405,7 @@ const orgColumns = ref([
|
||||
customRender: (text) => {
|
||||
return (
|
||||
<div>
|
||||
{text.record.isSelect == 1 ? `是 (${text.record.orgName})` : "否 (-)"}
|
||||
{text.record.isSelect == 1 ? `是 (${text.record.affiliationName})` : "否 (-)"}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -582,6 +582,15 @@ const getTableDate = (obj) => {
|
||||
});
|
||||
state.formParam.leveThreeValue = state.formParam.leveThreeArray.map(item => item.label).join(',');
|
||||
state.formParam.orglistName = state.formParam.affiliationOrgList?.map(item=>item.id).join(',')
|
||||
state.formParam.selectOrgList?.map(item=>{
|
||||
state.formParam.affiliationOrgList.some(item2=>{
|
||||
if(item.orgId==item2.orgId){
|
||||
item2 = Object.assign(item2,item)
|
||||
return true
|
||||
}
|
||||
})
|
||||
})
|
||||
console.log(state.formParam.affiliationOrgList,'state.formParam.affiliationOrgList')
|
||||
state.teacherdialog = true;
|
||||
state.teacherdialogtitle = '编辑培训发生组织'
|
||||
state.vf = false
|
||||
|
||||
Reference in New Issue
Block a user