|
|
|
|
@ -36,7 +36,7 @@
|
|
|
|
|
<xy-table @getHeight="initHeight" :list="list" :total="total" @pageIndexChange="pageIndexChange"
|
|
|
|
|
@pageSizeChange="pageSizeChange" :table-item="table_item">
|
|
|
|
|
<template v-slot:catalog_name>
|
|
|
|
|
<el-table-column align='left' label="所属目录" width="120" header-align="center">
|
|
|
|
|
<el-table-column align='left' label="所属目录" width="240" header-align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div v-if="scope.row.catalog_id_details && scope.row.catalog_id_details.length>0">
|
|
|
|
|
<el-tag style="margin-right:5px;margin-bottom:5px" v-for="item in scope.row.catalog_id_details">
|
|
|
|
|
@ -130,13 +130,12 @@
|
|
|
|
|
prop: 'title',
|
|
|
|
|
label: '标题',
|
|
|
|
|
align: 'left',
|
|
|
|
|
width: 360
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
prop: 'catalog_name',
|
|
|
|
|
label: '所属目录',
|
|
|
|
|
align: 'center',
|
|
|
|
|
width: 120
|
|
|
|
|
width: 240
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
prop: 'area_name',
|
|
|
|
|
@ -168,6 +167,9 @@
|
|
|
|
|
if (this.$route.path) {
|
|
|
|
|
let path = this.$route.path.split("_")
|
|
|
|
|
this.select.catalog_id = path[1]
|
|
|
|
|
}
|
|
|
|
|
if(this.$route.query.searchTitle){
|
|
|
|
|
this.select.title = this.$route.query.searchTitle
|
|
|
|
|
}
|
|
|
|
|
this.getList()
|
|
|
|
|
},
|
|
|
|
|
|