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