mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 21:06:44 +08:00
feat:修改版本号
This commit is contained in:
@@ -635,6 +635,7 @@
|
||||
<span class="th">{{ stuTotal }}</span>
|
||||
<span class="yi"> 条</span>
|
||||
</div>
|
||||
<div class="clear" @click="clearChooseStu">清空</div>
|
||||
</div>
|
||||
<div class="tableBox" style="margin-top: 30px">
|
||||
<a-table
|
||||
@@ -1288,6 +1289,7 @@ import * as api from "../../api/index1";
|
||||
import { editRoutered } from "../../api/indexLearningPath";
|
||||
import { codeUrl } from "../../api/method";
|
||||
import TwoDimensionalCode from "../../components/TwoDimensionalCode.vue";
|
||||
// import * as student from "@/api/student";
|
||||
export default {
|
||||
name: "LevelAdd",
|
||||
components: {
|
||||
@@ -2307,9 +2309,22 @@ export default {
|
||||
};
|
||||
state.codeInfo = obj;
|
||||
};
|
||||
//清空所选的学员
|
||||
const clearChooseStu = () => {
|
||||
Modal.confirm({
|
||||
title: '确定清空所有学员吗?', onOk: async () => {
|
||||
state.addAuthList = []
|
||||
// student.studentDelAll({id: state.routerId, type: 2})
|
||||
// state.tabledata = []
|
||||
// state.tableDataTotal = 0;
|
||||
}, bodyStyle: 'margin-top:70%'
|
||||
});
|
||||
};
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
...toRefs(levelList),
|
||||
clearChooseStu,
|
||||
showDeleteALLModal,
|
||||
closeDeleteALLModal,
|
||||
tableDataFunc,
|
||||
@@ -2369,6 +2384,14 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.clear {
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
color: #387df7;
|
||||
line-height: 24px;
|
||||
position: absolute;
|
||||
right: 60px;
|
||||
}
|
||||
.pub {
|
||||
.ant-modal {
|
||||
.ant-modal-body {
|
||||
|
||||
Reference in New Issue
Block a user