mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 15:56:47 +08:00
授课记录调整1015
This commit is contained in:
@@ -105,8 +105,7 @@
|
||||
|
||||
</div>
|
||||
<div class="tableBox ">
|
||||
<div style="float: right;">
|
||||
|
||||
<div class="pa">
|
||||
<a-pagination v-if="tableDataTotal > 10" :showSizeChanger="true" :showQuickJumper="false"
|
||||
:hideOnSinglePage="true" :pageSize="searchParam.pageSize" :current="searchParam.pageNo" :total="tableDataTotal"
|
||||
class="pagination" @change="changePagination" />
|
||||
@@ -948,6 +947,8 @@ export default {
|
||||
state.deleteInTeacherdialog = false
|
||||
getTableDate();
|
||||
}
|
||||
}).catch((err)=>{
|
||||
state.deleteInTeacherdialog = false
|
||||
})
|
||||
}
|
||||
//确认启用停用
|
||||
@@ -955,13 +956,15 @@ export default {
|
||||
//调用接口
|
||||
let ids = {
|
||||
id: state.editTeacherid,
|
||||
newStatus: state.newStatus
|
||||
status: state.newStatus
|
||||
}
|
||||
console.log(ids)
|
||||
updateTeacherState(ids).then((res) => {
|
||||
message.success("操作成功");
|
||||
state.editTeacher = false
|
||||
getTableDate();
|
||||
}).catch((err)=>{
|
||||
state.editTeacher = false
|
||||
})
|
||||
}
|
||||
//取消按钮 清空输入的数据
|
||||
@@ -1491,4 +1494,22 @@ export default {
|
||||
::v-deep .ant-modal-close {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
.tableBox {
|
||||
padding-bottom: 20px;
|
||||
margin: 20px 38px 30px;
|
||||
::v-deep .ant-select-dropdown{
|
||||
display: inline-block;
|
||||
}
|
||||
::v-deep .ant-select-selection-item{
|
||||
margin-left: 3px;
|
||||
}
|
||||
::v-deep .ant-pagination-options-size-changer.ant-select{
|
||||
width: 84px;
|
||||
}
|
||||
.pa {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: right;
|
||||
}
|
||||
}
|
||||
</style >
|
||||
Reference in New Issue
Block a user