修改
This commit is contained in:
parent
a1db8818c3
commit
65d43d4f5e
@ -118,6 +118,7 @@
|
|||||||
<el-table
|
<el-table
|
||||||
:data="props.row.selectSubordinateItemlist"
|
:data="props.row.selectSubordinateItemlist"
|
||||||
style="width: 100%; padding-left: 120px"
|
style="width: 100%; padding-left: 120px"
|
||||||
|
:header-cell-style="{background:'#fff',color:'#606266'}"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="trainingParentName"
|
prop="trainingParentName"
|
||||||
@ -1345,6 +1346,7 @@ export default {
|
|||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
listTrainingItem(this.queryParams).then((response) => {
|
listTrainingItem(this.queryParams).then((response) => {
|
||||||
|
console.log(response)
|
||||||
response.rows.forEach((e) => {
|
response.rows.forEach((e) => {
|
||||||
e.selectSubordinateItemlist = []; // 先给一个空值
|
e.selectSubordinateItemlist = []; // 先给一个空值
|
||||||
e.expand = false; // 表示当前行是闭合的,不设置这个等下展开后就没法闭合了
|
e.expand = false; // 表示当前行是闭合的,不设置这个等下展开后就没法闭合了
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user