全面优化

This commit is contained in:
2023-04-03 12:43:27 +08:00
parent a2087efdc9
commit a3c4468ee9
27 changed files with 24827 additions and 542 deletions

View File

@@ -103,7 +103,7 @@ function toDealDetail(type) {
ID{{teacherInfo.user_id}}
</div>
<div class="bb-item">
注册时间{{teacherInfo.CreatedAt}}
注册时间{{custom.dateFmt(teacherInfo.CreatedAt)}}
</div>
<div class="bb-item">
身份教师

View File

@@ -186,7 +186,7 @@ async function pOk() { // 审核提交
</el-popover>
</div>
<!-- 数据列表-->
<el-table :data="tableData" @selection-change="handleSelectionChange">
<el-table border :data="tableData" @selection-change="handleSelectionChange">
<el-table-column align="center" label="ID" prop="teacher_info_id" sortable="custom" />
<el-table-column align="center" label="头像">
<template #default="scope">
@@ -197,7 +197,7 @@ async function pOk() { // 审核提交
<el-table-column align="center" label="手机号" min-width="150" prop="phone" />
<el-table-column align="center" label="所属区域" min-width="150" prop="province">
<template #default="scope">
{{cityList[scope.row.province].name}}
{{cityList[scope.row.province].province}}
</template>
</el-table-column>
<el-table-column align="center" label="申请时间" min-width="150" >
@@ -229,14 +229,14 @@ async function pOk() { // 审核提交
size="small"
type="primary"
link
@click="processFunc(scope.row,2)"
@click="processFunc(scope.row,3)"
>同意</el-button>
<el-button v-if="scope.row.status == 1"
icon="delete"
size="small"
type="danger"
link
@click="processFunc(scope.row,3)"
@click="processFunc(scope.row,2)"
>拒绝</el-button>
</template>
</el-table-column>