mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-20 00:06:45 +08:00
1期问题修改
This commit is contained in:
@@ -144,20 +144,31 @@
|
||||
<el-table :header-cell-style="{textAlign: 'center', background: 'rgba(66, 132, 247, 0.1)',
|
||||
color: '#60769D'}"
|
||||
:cell-style="{ textAlign: 'center' }" max-height="500" border :data="inviteTeacher" style="width: 100%;">
|
||||
<el-table-column prop="type" label="审核类型">
|
||||
<el-table-column prop="auditType" width="80" label="审核类型">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.auditState ? '通过' : '不通过' }}
|
||||
{{ auditTypeEnum[scope.row.auditType] }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="type" label="审核状态">
|
||||
<el-table-column prop="status" width="80" label="审核状态">
|
||||
<template slot-scope="scope">
|
||||
{{ auditEnum[scope.row.status] }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="auditUser" label="审核人"></el-table-column>
|
||||
<el-table-column prop="auditTime" label="审核结果"></el-table-column>
|
||||
<el-table-column prop="auditTime" label="审核时间"></el-table-column>
|
||||
<el-table-column prop="auditRemark" label="审核意见"></el-table-column>
|
||||
<el-table-column prop="auditUser" width="80" label="审核人"></el-table-column>
|
||||
<el-table-column prop="auditResult" width="80" label="审核结果">
|
||||
<template slot-scope="scope">
|
||||
{{ auditResultEnum[scope.row.auditResult] }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="auditTime" width="220" label="审核时间"></el-table-column>
|
||||
<el-table-column prop="auditRemark" label="审核意见">
|
||||
<template slot-scope="scope">
|
||||
<el-tooltip class="item" popper-class="tooltip-multiline" effect="dark" :content="scope.row.auditRemark" placement="top-start">
|
||||
<p class="no-wrap">
|
||||
{{scope.row.auditRemark}}</p>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<span slot="footer" class="dialog-footer"><el-button @click="dialogVisible = false">关 闭</el-button></span>
|
||||
@@ -278,9 +289,19 @@ export default {
|
||||
loading: false,
|
||||
noMore: false,
|
||||
auditEnum: {
|
||||
1: "未审核",
|
||||
1: "审核中",
|
||||
2: "审核不通过",
|
||||
9: "审核通过",
|
||||
},
|
||||
auditTypeEnum: {
|
||||
1: "新建",
|
||||
2: "编辑",
|
||||
3: "停用",
|
||||
4: "启用",
|
||||
},
|
||||
auditResultEnum: {
|
||||
0: "驳回",
|
||||
1: "通过",
|
||||
},
|
||||
hoverStates: {},
|
||||
};
|
||||
@@ -621,6 +642,14 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.no-wrap {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 1;
|
||||
word-break: break-all;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.page-tip {
|
||||
margin: 20px auto;
|
||||
text-align: center;
|
||||
|
||||
Reference in New Issue
Block a user