讲师管理bug

This commit is contained in:
zhangsir
2024-11-23 18:48:09 +08:00
parent 9053527150
commit ae63c22d3c
16 changed files with 358 additions and 162 deletions

View File

@@ -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