|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="wrap"> |
|
|
|
<div class="wrap"> |
|
|
|
<div class="side"> |
|
|
|
<div class="side"> |
|
|
|
<org ref="tree" @initData="initData"></org> |
|
|
|
<org ref="tree" @initData="initData" @getData="getData"></org> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="right"> |
|
|
|
<div class="right"> |
|
|
@ -70,7 +70,7 @@ export default { |
|
|
|
isTopLevel: true, // 是否是在顶级分类 |
|
|
|
isTopLevel: true, // 是否是在顶级分类 |
|
|
|
listData: [], |
|
|
|
listData: [], |
|
|
|
keyword: '', |
|
|
|
keyword: '', |
|
|
|
page: 1, |
|
|
|
page: +this.$route.query.page || 1, |
|
|
|
pageSize: 10, |
|
|
|
pageSize: 10, |
|
|
|
total: 0, |
|
|
|
total: 0, |
|
|
|
multipleSelection: [], |
|
|
|
multipleSelection: [], |
|
|
@ -234,6 +234,13 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
handleCurrentChange(val) { |
|
|
|
handleCurrentChange(val) { |
|
|
|
this.page = val |
|
|
|
this.page = val |
|
|
|
|
|
|
|
this.$router.push({ |
|
|
|
|
|
|
|
path: 'backstage', |
|
|
|
|
|
|
|
query: { |
|
|
|
|
|
|
|
...this.$route.query, |
|
|
|
|
|
|
|
page: val |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
this.getData() |
|
|
|
this.getData() |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 导入模型提交 |
|
|
|
// 导入模型提交 |
|
|
|