mirror of
https://github.com/ZSCNetSupportDept/scheduler.git
synced 2025-10-29 04:55:04 +08:00
增加pgx驱动,完善前端的代码,暂定supabase后端数据库
This commit is contained in:
@@ -28,7 +28,7 @@ document.getElementById('getAssignment').addEventListener('click', function () {
|
||||
cell.textContent = item.Name || item.ID;
|
||||
|
||||
// 优先判断 Access 条件
|
||||
if (item.Access < 5) {
|
||||
if (item.Access <=3) {
|
||||
cell.classList.add('cell_Moderator');
|
||||
} else if (item.Note === 1) {
|
||||
cell.classList.add('cell_SwitchOrRepay');
|
||||
|
||||
@@ -116,8 +116,8 @@ button:hover {
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>选择日期</h1>
|
||||
<i>如果不选择的日期的话,则自动获取今天的值班表</i><br></br>
|
||||
<h1>请选择日期</h1>
|
||||
<i>不选择日期则自动获取今天的值班表</i><br></br>
|
||||
<input type="date" id="calendar">
|
||||
<button id="getAssignment">获取值班表</button>
|
||||
<div id="response"></div>
|
||||
|
||||
Reference in New Issue
Block a user