|
@@ -40,7 +40,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { listStandardChapter, getStandardChapter, delStandardChapter, addStandardChapter, updateStandardChapter } from "@/api/rc/standardchapter";
|
|
|
+import { listStandardChapterTree, getStandardChapter, delStandardChapter, addStandardChapter, updateStandardChapter } from "@/api/rc/standardchapter";
|
|
|
|
|
|
export default {
|
|
|
name: "StandardChapter",
|
|
@@ -102,11 +102,8 @@ export default {
|
|
|
/** 查询章节列表 */
|
|
|
getList() {
|
|
|
this.loading = true;
|
|
|
- listStandardChapter().then(response => {
|
|
|
- // this.chapterList = response.data;
|
|
|
+ listStandardChapterTree().then(response => {
|
|
|
this.treeData = response.data;
|
|
|
- // console.log(this.treeData)
|
|
|
- // console.log(response.data)
|
|
|
this.total = response.total;
|
|
|
this.loading = false;
|
|
|
});
|