解决pg-error问题,demo数据注入
This commit is contained in:
+72
File diff suppressed because one or more lines are too long
-72
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -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>
|
||||
|
||||
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user