|
@@ -129,7 +129,7 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop='system' label='专业' show-overflow-tooltip width='120'>
|
|
<el-table-column prop='system' label='专业' show-overflow-tooltip width='120'>
|
|
<template slot-scope='{row}'>
|
|
<template slot-scope='{row}'>
|
|
- <span v-for='(item,index) in row.InfoSystems ' :key='index'>{{item.Name}}</span>
|
|
|
|
|
|
+ <span v-for='(item,index) in row.InfoSystem ' :key='index'>{{item.Name}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -418,7 +418,25 @@ export default {
|
|
this.total = res.Total
|
|
this.total = res.Total
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- transformDate(arr) {},
|
|
|
|
|
|
+ transformDate(arr) {
|
|
|
|
+ arr.map(({ GraphCategorys, InfoLocal, InfoSystems, InfoTypes }) => {
|
|
|
|
+ if (GraphCategorys.length) {
|
|
|
|
+ GraphCategorys.map(i => i)
|
|
|
|
+ }
|
|
|
|
+ if (InfoLocal.length) {
|
|
|
|
+ GraphCategorys.map(i => {
|
|
|
|
+ i.name
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ if (InfoSystems.length) {
|
|
|
|
+ GraphCategorys.map()
|
|
|
|
+ }
|
|
|
|
+ if (InfoTypes.length) {
|
|
|
|
+ GraphCategorys.map()
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ return arr
|
|
|
|
+ },
|
|
getTableList() {
|
|
getTableList() {
|
|
// if (this.GraphCategoryIds || this.InfoLocals || this.InfoSystems || this.keyword) {
|
|
// if (this.GraphCategoryIds || this.InfoLocals || this.InfoSystems || this.keyword) {
|
|
// this.currentPage = 1
|
|
// this.currentPage = 1
|