This commit is contained in:
zhangsir
2024-05-23 10:33:12 +08:00
parent 93b2946acc
commit e86f353a8f
2 changed files with 25 additions and 8 deletions

View File

@@ -235,16 +235,27 @@ const columnsTeacher = [
title: '姓名',
key: 'teacherName',
dataIndex: 'teacherName',
width: 100,
},
{
title: '工号',
key: 'teacherNo',
dataIndex: 'teacherNo',
width: 100,
},
{
title: '课程名称',
key: 'courseName',
dataIndex: 'courseName',
ellipsis: true,
width: 220,
align: 'left',
},
{
title: '报名时间',
key: 'reviewTime',
dataIndex: 'reviewTime',
width:180,
},
]
@@ -561,7 +572,9 @@ const translateTeacher = (flag) => {
handleRest()
}
const translate = (flag) => {
SearchTeachers()
if(flag){
SearchTeachers()
}
}
//2次认证
const total2 = ref(null)
@@ -701,6 +714,7 @@ const twiceolumns = [
key: 'courseName',
ellipsis: true,
width: 400,
align: 'left',
},
{
title: '初稿状态',
@@ -1054,7 +1068,7 @@ const vwtext = ref(null)
</template>
<template v-else-if="column.key === 'reviewResult'">
<span>
{{ text===1?'未通过':(text===2?'进行中':text==3?'已报名':'通过') }}
{{ text===1?'未通过':(text===2?'进行中':text==3?'已报名':'通过') }}
</span>
</template>
<template v-else-if="column.key === 'second'">
@@ -1121,7 +1135,7 @@ const vwtext = ref(null)
</template>
<template v-else-if="column.key === 'reviewResult'">
<span>
{{ text===1?'未通过':(text===2?'进行中':text==3?'已报名':'通过') }}
{{ text===1?'未通过':(text===2?'进行中':text==3?'已报名':'通过') }}
</span>
</template>
<template v-else-if="column.key === 'action'">
@@ -1297,7 +1311,7 @@ const vwtext = ref(null)
</div>
<!-- 发起评审 -->
<a-drawer v-model:visible="InitiateReviewShow" class="custom-class" :closable="false" placement="right"
width="726px">
width="60%">
<div class="header" style=" margin-bottom: 20px;">
<div class="headerTitle">{{ rwname ? '编辑评审' : '发起评审' }}</div>
<img style="width: 29px; height: 29px; cursor: pointer" src="../../assets/images/basicinfo/close.png"
@@ -1306,7 +1320,7 @@ const vwtext = ref(null)
<div style="display: flex;flex-direction: column;">
<div style="display: flex;">
<div style="display: flex;flex-direction: column;">
<div style="display: flex;flex-direction: column;flex:2;">
<a-form :model="formState" name="basic" :label-col="{ span: 5 }" :wrapper-col="{ span: 16 }"
autocomplete="off" @finish="onFinish" @finishFailed="onFinishFailed">
<a-form-item style="margin-top: 29px;" label="评审名称" :rules="[{ required: true, message: '请填写评审名称' }]">
@@ -1318,7 +1332,7 @@ const vwtext = ref(null)
:format="['YYYY-MM-DD HH:mm']" valueFormat="YYYY-MM-DD HH:mm" @change="timeChangeEnd" />
</a-form-item>
<div>选择讲师</div>
<div style="width: 430px; height: 1px;background-color: #e2e0e0;margin-top: 8px;"></div>
<div style="width: 100%; height: 1px;background-color: #e2e0e0;margin-top: 8px;"></div>
<div style="display: flex;margin-top: 13px;">
<a-input v-model:value="teacherValue" placeholder="请输入姓名/工号" style="width: 150px;" />
<a-button @click="SearchTeacher()" type="primary"
@@ -1329,7 +1343,7 @@ const vwtext = ref(null)
<p style="margin-top: 11px; color: #b6b7b8; font-size: 12px;">说明列表仅显示终稿已上传且未认证的讲师</p>
<div style="display: flex;flex-direction: column;margin-top: -11px;">
<!-- 教师列表 -->
<a-table ref="teacherTables" :customRow="rowClick" :columns="columnsTeacher" row-key="teacherId" :pagination="false"
<a-table ref="teacherTables" :scroll="{ x: 500 }" :customRow="rowClick" :columns="columnsTeacher" row-key="teacherId" :pagination="false"
:data-source="tabledata" :row-selection="teacherRowSelection">
<template #bodyCell="{ column, text }">
<template v-if="column.dataIndex === 'name'">
@@ -1478,6 +1492,9 @@ const vwtext = ref(null)
</template>
<style lang="scss" scoped>
::v-deep .ant-col-5{
flex: none;
}
.close_exit {
position: absolute;
right: 42px;

View File

@@ -687,7 +687,7 @@ const route = useRoute()
groupId: props.groupId,
}).then(() => {
deleteDepSelect();
emit("finash", true);
// emit("finash", true);
});
})
}