🔥 重构管理页面,长得更好看一些了

This commit is contained in:
李寻欢
2024-04-23 10:42:08 +08:00
parent ab5a8092f7
commit 1fca021b38
18 changed files with 1144 additions and 279 deletions

1
views/static/js/404.js Normal file
View File

@@ -0,0 +1 @@
// no JS this time !

View File

@@ -16,6 +16,8 @@ function changeAiEnableStatus(wxId) {
}).catch(function (error) {
console.log(`错误信息: ${error}`);
alert("修改失败")
}).finally(function () {
window.location.reload();
})
}
@@ -34,6 +36,8 @@ function changeGroupRankEnableStatus(wxId) {
}).catch(function (error) {
console.log(`错误信息: ${error}`);
alert("修改失败")
}).finally(function () {
window.location.reload();
})
}
@@ -52,6 +56,8 @@ function changeSummaryEnableStatus(wxId) {
}).catch(function (error) {
console.log(`错误信息: ${error}`);
alert("修改失败")
}).finally(function () {
window.location.reload();
})
}
@@ -69,6 +75,8 @@ function changeWelcomeEnableStatus(wxId) {
}).catch(function (error) {
console.log(`错误信息: ${error}`);
alert("修改失败")
}).finally(function () {
window.location.reload();
})
}
@@ -86,6 +94,8 @@ function changeCommandEnableStatus(wxId) {
}).catch(function (error) {
console.log(`错误信息: ${error}`);
alert("修改失败")
}).finally(function () {
window.location.reload();
})
}
@@ -105,6 +115,8 @@ function changeUserGroupRankSkipStatus(groupId, userId) {
}).catch(function (error) {
console.log(`错误信息: ${error}`);
alert("修改失败")
}).finally(function () {
window.location.reload();
})
}
@@ -177,5 +189,7 @@ function aiModelChange(event, wxid) {
}).catch(function (error) {
console.log(`错误信息: ${error}`);
alert("修改失败")
}).finally(function () {
window.location.reload();
})
}