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