解决pg-error问题,demo数据注入

This commit is contained in:
Cheng Zhou
2025-12-17 22:22:37 +08:00
parent 42d89eda51
commit 5d3e8667fc
85 changed files with 77 additions and 78 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
# CTMS 项目快速上手
## 账号(示例)
- ADMIN`admin / Password123!`
- PM`pm1 / Password123!`
- CRA`cra1 / Password123!`
- ADMIN`admin / 123456`
- PM`pm1 / 123456`
- CRA`cra1 / 123456`
> 如需更多账号,可在前端 `/admin/users` 由 ADMIN 创建,并在项目成员中赋予角色。
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CTMS</title>
<script type="module" crossorigin src="/assets/index-CdXH1-ll.js"></script>
<script type="module" crossorigin src="/assets/index-Bpcf_Y-a.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Dh_vTCuZ.css">
</head>
<body>
+1 -2
View File
@@ -23,7 +23,6 @@
<script setup lang="ts">
import { computed, reactive, ref } from "vue";
import { format } from "date-fns";
import type { FormInstance, FormRules } from "element-plus";
import { ElMessage } from "element-plus";
import { createSubject } from "../api/subjects";
@@ -68,7 +67,7 @@ const resetForm = () => {
const recentSubject = studyId ? localStorage.getItem(`recent_subject_${studyId}`) : null;
form.site_id = recentSite || "";
form.subject_no = recentSubject || "";
form.screening_date = format(new Date(), "yyyy-MM-dd");
form.screening_date = new Date().toISOString().slice(0, 10);
};
const onSubmit = async () => {
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.