This commit is contained in:
670788339
2025-10-26 16:37:15 +08:00
parent 73c3db7f2b
commit a2a93ed265

View File

@@ -251,7 +251,7 @@ export default {
title: "已关联课程", title: "已关联课程",
dataIndex: "useCount", dataIndex: "useCount",
key: "useCount", key: "useCount",
width: 220, width: 100,
align: "center", align: "center",
sorter: true sorter: true
}, },
@@ -259,42 +259,42 @@ export default {
title: "前台公共显示", title: "前台公共显示",
dataIndex: "isPublic", dataIndex: "isPublic",
key: "isPublic", key: "isPublic",
width: 220, width: 180,
align: "center" align: "center"
}, },
{ {
title: "热点标签展示", title: "热点标签展示",
dataIndex: "isHot", dataIndex: "isHot",
key: "isHot", key: "isHot",
width: 220, width: 180,
align: "center" align: "center"
}, },
{ {
title: "创建人", title: "创建人",
dataIndex: "sysCreateBy", dataIndex: "sysCreateBy",
key: "sysCreateBy", key: "sysCreateBy",
width: 220, width: 180,
align: "center" align: "center"
}, },
{ {
title: "创建时间", title: "创建时间",
dataIndex: "sysCreateTime", dataIndex: "sysCreateTime",
key: "sysCreateTime", key: "sysCreateTime",
width: 220, width: 180,
align: "center" align: "center"
}, },
{ {
title: "更新人", title: "更新人",
dataIndex: "sysUpdateBy", dataIndex: "sysUpdateBy",
key: "sysUpdateBy", key: "sysUpdateBy",
width: 220, width: 180,
align: "center" align: "center"
}, },
{ {
title: "更新时间", title: "更新时间",
dataIndex: "sysUpdateTime", dataIndex: "sysUpdateTime",
key: "sysUpdateTime", key: "sysUpdateTime",
width: 220, width: 180,
align: "center" align: "center"
} }
]); ]);
@@ -428,7 +428,8 @@ export default {
const originalStatus = record.isPublic; const originalStatus = record.isPublic;
try { try {
// await apiCourseTag.changeTagPublic(record); // await apiCourseTag.changeTagPublic(record);
changeTagPublic(record).then ((res) => { console.log("修改公共显示 参数 : ",record);
changeTagPublic(record.id).then ((res) => {
console.log("更新公共显示 结果 : ",res); console.log("更新公共显示 结果 : ",res);
if (res.status === 200) { if (res.status === 200) {
message.success('更新成功'); message.success('更新成功');
@@ -453,9 +454,9 @@ export default {
record.isHot = false; record.isHot = false;
message.warning(res.message); message.warning(res.message);
}*/ }*/
console.log("修改热点 参数 : ",record);
changeTagHot(record).then ((res) => { changeTagHot(record.id).then ((res) => {
console.log("获取标签列表 结果 : ",res); console.log("修改热点 结果 : ",res);
if (res.status === 200) { if (res.status === 200) {
message.success(res.message); message.success(res.message);
}else { }else {