9.21更新

This commit is contained in:
许允枞 2024-09-21 14:16:15 +08:00
parent 85ae66dc87
commit 4d773c7cb1

View File

@ -115,12 +115,12 @@
<el-table-column label="审核状态" align="center" prop="auditStatus" >
<template slot-scope="props">
<div v-if="props.row.auditStatus == '0' && techerType != '0'" style="color:#007bff;"> 待审核</div>
<div v-if="props.row.auditStatus == '1' && techerType != '0'" style="color:green;"> 通过</div>
<div v-if="props.row.auditStatus == '2' && techerType != '0'" style="color:red;"> 拒绝</div>
<div v-if="props.row.registrationInformation.status == '0' && props.row.zdTeacherList.includes(userId) && techerType == '0'" style="color:#007bff;"> 待确认</div>
<div v-if="props.row.registrationInformation.status == '1' && props.row.zdTeacherList.includes(userId) && techerType == '0'" style="color:green;"> 已同意</div>
<div v-if="props.row.registrationInformation.status == '2' && props.row.zdTeacherList.includes(userId) && techerType == '0'" style="color:red;"> 已拒绝</div>
<div v-if="props.row.auditStatus == '0' " style="color:#007bff;"> 待审核</div>
<div v-if="props.row.auditStatus == '1' " style="color:green;"> 通过</div>
<div v-if="props.row.auditStatus == '2' " style="color:red;"> 拒绝</div>
<div v-if="props.row.registrationInformation.status == '0' && props.row.zdTeacherList.includes(userId) && techerType == '0' && props.row.auditStatus == '9'" style="color:#007bff;"> 待确认</div>
<div v-if="props.row.registrationInformation.status == '1' && props.row.zdTeacherList.includes(userId) && techerType == '0' && props.row.auditStatus == '9'" style="color:green;"> 已同意</div>
<div v-if="props.row.registrationInformation.status == '2' && props.row.zdTeacherList.includes(userId) && techerType == '0' && props.row.auditStatus == '9'" style="color:red;"> 已拒绝</div>
</template>
</el-table-column>
@ -129,13 +129,13 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-popconfirm title="确定当前操作?"
v-if="techerType != '0' && scope.row.auditStatus == '0' || scope.row.auditStatus == '2'"
v-if="techerType != '0' && (scope.row.auditStatus == '0' || scope.row.auditStatus == '2')"
@confirm="auditData(scope.row, '1')">
<el-button size="mini" type="text" slot="reference">通过</el-button>
</el-popconfirm>
<el-popconfirm title="确定当前操作?" style="margin-left: 10px"
v-if="techerType != '0' && scope.row.auditStatus == '0' || scope.row.auditStatus == '1'"
v-if="techerType != '0' && (scope.row.auditStatus == '0' || scope.row.auditStatus == '1')"
@confirm="auditData(scope.row, '2')">
<el-button size="mini" type="text" slot="reference">拒绝</el-button>
</el-popconfirm>