15179 调整一下排版 调整为一行

pet_li_6.6
liujun 2024-04-18 17:03:13 +08:00
parent 71720df56f
commit 77d6ab4f81
1 changed files with 8 additions and 15 deletions

View File

@ -60,10 +60,10 @@
width="55" width="55"
align="center"/> align="center"/>
<el-table-column type="index" label="序号" width="50" align="center" /> <el-table-column type="index" label="序号" width="50" align="center" />
<el-table-column prop="CLASS_NAME" label="班级名称" /> <el-table-column prop="CLASS_NAME" width="300px" label="班级名称" />
<el-table-column prop="TRAINING_TYPE_NAME" label="培训类型" /> <el-table-column prop="TRAINING_TYPE_NAME" width="200px" label="培训类型" />
<el-table-column prop="OPENING_TIME" label="开班时间" /> <el-table-column prop="OPENING_TIME" label="开班时间" />
<el-table-column prop="PLACE_NAME" label="培训地点" /> <el-table-column prop="PLACE_NAME" width="200px" label="培训地点" />
<el-table-column prop="CLASS_SIZE" label="班级容量" /> <el-table-column prop="CLASS_SIZE" label="班级容量" />
<el-table-column prop="TRAINEES_NUM" label="培训人员数量" /> <el-table-column prop="TRAINEES_NUM" label="培训人员数量" />
<el-table-column prop="CLASS_STATUS" label="班级状态"> <el-table-column prop="CLASS_STATUS" label="班级状态">
@ -71,19 +71,12 @@
{{ row.CLASS_STATUS === '0'?'待开班':(row.CLASS_STATUS === '1'?'已开班':'完成') }} {{ row.CLASS_STATUS === '0'?'待开班':(row.CLASS_STATUS === '1'?'已开班':'完成') }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="200"> <el-table-column label="操作" align="center" width="400" fixed="right">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-row> <el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.CLASS_MESSAGE_ID)"></el-button>
<el-col :span="24"> <el-button v-show=" row.CLASS_STATUS === '0'" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.CLASS_MESSAGE_ID)"></el-button>
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.CLASS_MESSAGE_ID)"></el-button> <el-button v-show=" row.CLASS_STATUS === '1'" type="primary" size="mini" @click="uploadExcel(row)"></el-button>
<el-button v-show=" row.CLASS_STATUS === '0'" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.CLASS_MESSAGE_ID)"></el-button> <el-button v-show=" row.CLASS_STATUS === '0'" type="primary" icon="el-icon-edit" size="mini" @click="changeName(row)"></el-button>
<el-button v-show=" row.CLASS_STATUS === '1'" type="primary" size="mini" @click="uploadExcel(row)"></el-button>
</el-col>
<el-col v-if="row.CLASS_STATUS === '0'" :span="24" style="margin-top: 10px">
<el-button v-show=" row.CLASS_STATUS === '0'" type="primary" icon="el-icon-edit" size="mini" @click="changeName(row)"></el-button>
</el-col>
</el-row>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>