修改
This commit is contained in:
parent
21cd518e47
commit
96261d904c
@ -117,7 +117,7 @@
|
||||
<template slot-scope="props">
|
||||
<el-table
|
||||
:data="props.row.selectSubordinateItemlist"
|
||||
style="width: 100%;"
|
||||
style="width: 100%"
|
||||
:header-cell-style="{ background: '#fff', color: '#606266' }"
|
||||
>
|
||||
<el-table-column
|
||||
@ -1175,7 +1175,6 @@ export default {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
// 下拉
|
||||
info(row) {
|
||||
if (!row.expand) {
|
||||
// 先判断该行是否已经展开了
|
||||
@ -1350,11 +1349,13 @@ export default {
|
||||
var obj = {
|
||||
id: row.id,
|
||||
trainingShelfFlag: 1,
|
||||
trainingItemType: row.trainingItemType,
|
||||
};
|
||||
} else if (row.trainingShelfFlag == true) {
|
||||
var obj = {
|
||||
id: row.id,
|
||||
trainingShelfFlag: 0,
|
||||
trainingItemType: row.trainingItemType,
|
||||
};
|
||||
}
|
||||
updateTrainingShelfFlag(obj).then((res) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user