修改
This commit is contained in:
parent
4875241c4a
commit
ba7cced558
@ -117,7 +117,7 @@
|
|||||||
<template slot-scope="props">
|
<template slot-scope="props">
|
||||||
<el-table
|
<el-table
|
||||||
:data="props.row.selectSubordinateItemlist"
|
:data="props.row.selectSubordinateItemlist"
|
||||||
style="width: 100%;"
|
style="width: 100%"
|
||||||
:header-cell-style="{ background: '#fff', color: '#606266' }"
|
:header-cell-style="{ background: '#fff', color: '#606266' }"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@ -1349,11 +1349,13 @@ export default {
|
|||||||
var obj = {
|
var obj = {
|
||||||
id: row.id,
|
id: row.id,
|
||||||
trainingShelfFlag: 1,
|
trainingShelfFlag: 1,
|
||||||
|
trainingItemType: row.trainingItemType,
|
||||||
};
|
};
|
||||||
} else if (row.trainingShelfFlag == true) {
|
} else if (row.trainingShelfFlag == true) {
|
||||||
var obj = {
|
var obj = {
|
||||||
id: row.id,
|
id: row.id,
|
||||||
trainingShelfFlag: 0,
|
trainingShelfFlag: 0,
|
||||||
|
trainingItemType: row.trainingItemType,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
updateTrainingShelfFlag(obj).then((res) => {
|
updateTrainingShelfFlag(obj).then((res) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user