|
|
@@ -4,7 +4,6 @@
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span style="font-weight: bold">分类</span>
|
|
|
<el-button style="float: right; padding: 3px 0" type="text" @click="showDialog">添加</el-button>
|
|
|
- <el-button style="float: right; padding: 3px 0" type="text" @click="getfilelist">文档列表</el-button>
|
|
|
</div>
|
|
|
<el-table :data="businessList" @selection-change="handleSelectionChange">
|
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
|
@@ -290,18 +289,19 @@
|
|
|
|
|
|
handleSelectionChange(val) {
|
|
|
this.selectBusiness = val
|
|
|
+ this.selectId = []
|
|
|
if (this.selectBusiness && this.selectBusiness.length > 0) {
|
|
|
for (var i = 0; i < this.selectBusiness.length; i++) {
|
|
|
this.selectId.push(this.selectBusiness[i].Id)
|
|
|
}
|
|
|
}
|
|
|
- console.log("===========================", this.selectId)
|
|
|
+ this.getfilelist()
|
|
|
},
|
|
|
subfiledialog() {
|
|
|
this.$refs["subfileList"].showDialog()
|
|
|
},
|
|
|
- getfilelist(val) {
|
|
|
- this.cersubId = val.Id + ''
|
|
|
+ getfilelist() {
|
|
|
+ this.cersubId = this.selectId.join(",")
|
|
|
this.$refs["subfileList"].initData()
|
|
|
},
|
|
|
|