全面优化
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user