数据架构

dev
yujialong 4 years ago
parent 5bee29b419
commit fdf3563d16
  1. 10
      src/components/Sidebar.vue
  2. 4
      src/views/data/Framework.vue

@ -75,11 +75,11 @@ export default {
// index: 'configure',
// title: ''
// },
{
icon: 'el-icon-document-checked',
index: 'curriculum',
title: '课程管理'
},
// {
// icon: 'el-icon-document-checked',
// index: 'curriculum',
// title: ''
// },
{
icon: 'el-icon-notebook-2',
index: 'data',

@ -124,7 +124,7 @@ export default {
total: 0,
multipleSelection: [],
importTypeList: [],
importTypeIndex: 10000,
importTypeIndex: 100000,
fieldData: [],
fieldHead: [],
tableName: '',
@ -335,7 +335,7 @@ export default {
},50)
},
getTable(n,isConcat){
this.$post(`${this.api.originalListById}?categoryId=${n.realId}&pageNum=${n.typeTreePage}&pageSize=${this.typeTreeUnit}`).then(res => {
this.$post(`${this.api.originalListById}?categoryId=${n.realId}&pageNum=${n.typeTreePage ? n.typeTreePage : 1}&pageSize=${this.typeTreeUnit}`).then(res => {
let list = res.list.records
list.map(n => {
n.label = n.showName

Loading…
Cancel
Save