diff --git a/package.json b/package.json
index 88ef6aa..e46bd9e 100644
--- a/package.json
+++ b/package.json
@@ -23,6 +23,7 @@
"echarts": "^5.0.2",
"echarts-for-react": "^3.0.2",
"lodash-es": "^4.17.21",
+ "moment": "^2.29.4",
"node-polyfill-webpack-plugin": "^2.0.1",
"react": "^18.2.0",
"react-custom-scrollbars-2": "^4.5.0",
diff --git a/src/components/domain/Five/FormPanel.jsx b/src/components/domain/Five/FormPanel.jsx
index 9fb1726..bd0f63e 100644
--- a/src/components/domain/Five/FormPanel.jsx
+++ b/src/components/domain/Five/FormPanel.jsx
@@ -1,4 +1,7 @@
-import { Button, Form, Select } from "antd";
+import { Button, DatePicker, Form, Select } from "antd";
+import moment from "moment";
+
+const { RangePicker } = DatePicker;
const layout = {
labelCol: { span: 6 },
@@ -53,6 +56,19 @@ const options = [
value: item,
}));
+let timeOptions = [];
+for (let index = 1861; index < 2004; index++) {
+ timeOptions.push({
+ item: index,
+ value: index,
+ });
+}
+
+const dataOptions = ["表面温度", "表面向上感热通量"].map((item) => ({
+ label: item,
+ value: item,
+}));
+
export default function FormPanel({ setShow }) {
const [form] = Form.useForm();
@@ -104,6 +120,8 @@ export default function FormPanel({ setShow }) {
"SAM0-UNICON",
"TaiESM1",
],
+ time: [moment("1861", "YYYY"), moment("2004", "YYYY")],
+ data: ["表面温度", "表面向上感热通量"],
}}
onFinish={(values) => {
setShow(true);
@@ -121,6 +139,29 @@ export default function FormPanel({ setShow }) {
options={options}
/>
+
+
+
+
+
+