mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 20:36:45 +08:00
-- 学员审核
This commit is contained in:
@@ -209,7 +209,7 @@ const tablecolumns = ref([
|
||||
width: 100,
|
||||
align: "center",
|
||||
customRender: ({record: {source}}) =>
|
||||
({1: "快速添加", 2: "组织", 3: "受众"}[source]),
|
||||
({1: "快速添加", 2: "组织", 3: "受众", 4: '报名'}[source]),
|
||||
},
|
||||
...props.columns,
|
||||
{
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
placeholder="请输入创建人"/>
|
||||
</div>
|
||||
<div class="pathnameInp">
|
||||
<a-input v-model:value="name" style="width: 200px; height: 40px; border-radius: 8px" placeholder="请输入名称" />
|
||||
<a-input v-model:value="name" style="width: 200px; height: 40px; border-radius: 8px"
|
||||
placeholder="请输入名称"/>
|
||||
</div>
|
||||
<div class="pathnameInp">
|
||||
<a-input v-model:value="projectName" style="width: 200px; height: 40px; border-radius: 8px"
|
||||
@@ -36,7 +37,8 @@
|
||||
return triggerNode.parentNode || document.body;
|
||||
}
|
||||
" v-model:value="categoryId" show-search style="width: 200px"
|
||||
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }" placeholder="请选择内容分类" allow-clear
|
||||
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }" placeholder="请选择内容分类"
|
||||
allow-clear
|
||||
tree-default-expand-all :tree-data="options2222">
|
||||
<template #title="{ value: val, title }">
|
||||
<b v-if="val === '11111'" style="color: #08c">sss</b>
|
||||
@@ -97,7 +99,8 @@
|
||||
<span style="margin-right: 3px">课程名称:</span>
|
||||
</div>
|
||||
<div class="in b_input">
|
||||
<NameInput placeholder="请输入课程名称" v-model:value="xzinputV1" v-model:validate="validate" :maxlength="20"
|
||||
<NameInput placeholder="请输入课程名称" v-model:value="xzinputV1" v-model:validate="validate"
|
||||
:maxlength="20"
|
||||
show-count :type="2"></NameInput>
|
||||
<!-- <a-input-->
|
||||
<!-- v-model:value="xzinputV1"-->
|
||||
@@ -1079,7 +1082,8 @@
|
||||
<div class="tableBox" style="margin-top: 50px">
|
||||
<div class="pa">
|
||||
<a-pagination :showSizeChanger="false" showQuickJumper="true" hideOnSinglePage="true"
|
||||
:pageSize="pageSize2" :current="currentPage2" :total="tableDataTotal2" class="pagination"
|
||||
:pageSize="pageSize2" :current="currentPage2" :total="tableDataTotal2"
|
||||
class="pagination"
|
||||
@change="handelChangePage2"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1141,7 +1145,8 @@
|
||||
<div class="select fitems">
|
||||
<a-range-picker style="width: 440px; height: 40px; border-radius: 8px" :show-time="{ format: 'HH:mm' }"
|
||||
:disabled-date="disabledDate" :disabled-time="disabledRangeTime" format="YYYY-MM-DD HH:mm"
|
||||
v-model:value="xjkkinputV3" separator="至" :placeholder="[' 开始时间', ' 结束时间']" />
|
||||
v-model:value="xjkkinputV3" separator="至"
|
||||
:placeholder="[' 开始时间', ' 结束时间']"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cstm_items">
|
||||
@@ -1329,11 +1334,40 @@
|
||||
</div>
|
||||
<div class="stmm_i5">
|
||||
<TableStudent :type="3" :id="offcoursePlanId" :columns="stuColumns" :visable="sm_hs">
|
||||
<!-- <template #extension = "data">-->
|
||||
<!-- <div style="display: flex">-->
|
||||
<!-- <button @click="handlJoinStu(data)">成绩录入</button>-->
|
||||
<!-- </div>-->
|
||||
<!-- </template>-->
|
||||
<template #extension="{data:{record}}">
|
||||
<div style="display:flex">
|
||||
<div
|
||||
v-if="record.source===4 && record.status ===1"
|
||||
@click="()=>{
|
||||
record.status = 0
|
||||
auditStudent(record)
|
||||
}"
|
||||
style="color: #4ea6ff; font-size: 14px; text-align: center;margin-left: 20px;cursor: pointer;"
|
||||
>
|
||||
审核通过
|
||||
</div>
|
||||
<div
|
||||
v-if="record.source===4 && record.status ===1"
|
||||
@click="()=>{
|
||||
record.status = 2
|
||||
auditStudent(record)
|
||||
}"
|
||||
style="color: #4ea6ff; font-size: 14px; text-align: center;margin-left: 20px;cursor: pointer;"
|
||||
>
|
||||
拒绝
|
||||
</div>
|
||||
<div
|
||||
v-if="record.source===4 && (record.status ===0 || record.status ===2)"
|
||||
@click="()=>{
|
||||
record.status = 1
|
||||
auditStudent(record)
|
||||
}"
|
||||
style="color: #4ea6ff; font-size: 14px; text-align: center;margin-left: 20px;cursor: pointer;"
|
||||
>
|
||||
撤回
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</TableStudent>
|
||||
</div>
|
||||
<div class="tableBox" style="margin-top: 20px">
|
||||
@@ -1820,6 +1854,7 @@ import AddHomework from "../../components/drawers/AddHomework.vue";
|
||||
import AddTest from "../../components/drawers/AddTest.vue";
|
||||
import TableStudent from "@/components/student/TableStudent";
|
||||
import FJUpload from "@/components/common/FJUpload";
|
||||
import {updateStudent} from "@/api/indexProjStu";
|
||||
//列表表格
|
||||
const columns1 = [
|
||||
// {
|
||||
@@ -4741,11 +4776,14 @@ export default defineComponent({
|
||||
disabledSeconds: () => [55, 56],
|
||||
};
|
||||
};
|
||||
function auditStudent(record){
|
||||
updateStudent(record)
|
||||
}
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
CourseModalRef,
|
||||
|
||||
auditStudent,
|
||||
getdateToDateFn,
|
||||
moment,
|
||||
disabledDate,
|
||||
@@ -7110,8 +7148,6 @@ export default defineComponent({
|
||||
justify-content: space-between;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
.stmm_i6 {
|
||||
@@ -7449,7 +7485,6 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
|
||||
|
||||
// .tableSelect {
|
||||
// position: relative;
|
||||
// .hoverList {
|
||||
|
||||
Reference in New Issue
Block a user