|
@@ -289,7 +289,7 @@ const toExamSave = async () => {
|
|
|
const toUse = async (data, is_use) => {
|
|
|
ElMessageBox.confirm(`确定修改【${data.name}】数据?`, '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' })
|
|
|
.then(async () => {
|
|
|
- let res = await store.update({ id: get(data, 'id'), is_use })
|
|
|
+ let res = await store.update({ id: get(data, 'id'), is_use, status: get(data, 'status') })
|
|
|
if ($checkRes(res, true)) {
|
|
|
search({ skip, limit })
|
|
|
}
|