1
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
{{ userInfo.name }}
|
||||
</a>
|
||||
<div class="delimiter fl align-middle"></div>
|
||||
<a href=" " @click="logout" class="logout fl align-middle" title="退出登陆">
|
||||
<a href="javascript:void(0);" @click="logout" class="logout fl align-middle" title="退出登陆">
|
||||
<!-- <i class="iconfont icon-logout"></i> -->
|
||||
<Icon type="md-power" color="#fff" size="18" />
|
||||
</a>
|
||||
@@ -97,7 +97,7 @@
|
||||
</div>
|
||||
<div class="path-nav" v-if="!isAlone">
|
||||
<Breadcrumb separator=">">
|
||||
<a :href="baseHost + '/BschHome/front/index.html'">
|
||||
<a :href="baseHost + '/userhome/front/index.html'">
|
||||
<BreadcrumbItem>
|
||||
<i class="iconfont icon-category"></i>
|
||||
首页
|
||||
|
||||
@@ -401,7 +401,7 @@ export default {
|
||||
created() {
|
||||
this.getgradeselect();
|
||||
this.getClassTree();
|
||||
this.initTableColumn()
|
||||
this.initTableColumn();
|
||||
},
|
||||
methods: {
|
||||
//获取年级下拉
|
||||
@@ -513,12 +513,12 @@ export default {
|
||||
this.enrollYear=treeNode.enrollYear?treeNode.enrollYear+'':'';
|
||||
this.classId=treeNode.classId?treeNode.classId+'':'';
|
||||
this.selectnodeid=treeNode.id;
|
||||
this.pageNum = 1
|
||||
this.loadData()
|
||||
this.pageNum = 1;
|
||||
this.loadData();
|
||||
},
|
||||
// 多选行回调
|
||||
selectionChange(rows) {
|
||||
this.selectedRows = rows
|
||||
this.selectedRows = rows;
|
||||
},
|
||||
|
||||
// 加载列表数据
|
||||
@@ -623,7 +623,7 @@ export default {
|
||||
this.$api.post(url, JSON.stringify(newItem), resp => {
|
||||
if (resp.code == 0) {
|
||||
this.$Message.success("编辑保存成功!");
|
||||
this.editModalVisible = false
|
||||
this.editModalVisible = false;
|
||||
this.loadData();
|
||||
} else if (resp.code == 4) {
|
||||
this.$Message.info(resp.msg);
|
||||
@@ -635,7 +635,7 @@ export default {
|
||||
// 批量删除
|
||||
batchDelete() {
|
||||
if (!this.selectedRows.length) {
|
||||
return this.$Message.warning('请先勾选学生')
|
||||
return this.$Message.warning('请先勾选学生');
|
||||
}
|
||||
this.$Modal.confirm({
|
||||
title: '提示',
|
||||
@@ -646,8 +646,8 @@ export default {
|
||||
this.$api.post(url,{}, resp => {
|
||||
if (resp.code == 0) {
|
||||
this.$Message.success("删除成功!");
|
||||
this.selectedRows = []
|
||||
this.loadData()
|
||||
this.selectedRows = [];
|
||||
this.loadData();
|
||||
} else if (resp.code == 4) {
|
||||
this.$Message.info(resp.msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user