|
@@ -7,7 +7,6 @@ import {
|
|
DatePicker,
|
|
DatePicker,
|
|
Form,
|
|
Form,
|
|
FormInstance,
|
|
FormInstance,
|
|
- Input,
|
|
|
|
InputNumber,
|
|
InputNumber,
|
|
Select,
|
|
Select,
|
|
} from "antd";
|
|
} from "antd";
|
|
@@ -19,6 +18,7 @@ import ZupAudio from "@/components/ZupAudio";
|
|
import ZupOne from "@/components/ZupOne";
|
|
import ZupOne from "@/components/ZupOne";
|
|
import ZRichTexts from "@/components/ZRichTexts";
|
|
import ZRichTexts from "@/components/ZRichTexts";
|
|
import classNames from "classnames";
|
|
import classNames from "classnames";
|
|
|
|
+import TextArea from "antd/es/input/TextArea";
|
|
|
|
|
|
const { RangePicker } = DatePicker;
|
|
const { RangePicker } = DatePicker;
|
|
|
|
|
|
@@ -155,7 +155,7 @@ function A1add({ editInfo, closeFu, editTableFu, addTableFu }: Props) {
|
|
dateEnd,
|
|
dateEnd,
|
|
fileName: nameAudio.fileName,
|
|
fileName: nameAudio.fileName,
|
|
filePath: nameAudio.filePath,
|
|
filePath: nameAudio.filePath,
|
|
- dirCode
|
|
|
|
|
|
+ dirCode,
|
|
};
|
|
};
|
|
|
|
|
|
const res = await A1_APIsave(obj);
|
|
const res = await A1_APIsave(obj);
|
|
@@ -201,12 +201,11 @@ function A1add({ editInfo, closeFu, editTableFu, addTableFu }: Props) {
|
|
label="标题"
|
|
label="标题"
|
|
name="name"
|
|
name="name"
|
|
rules={[{ required: true, message: "请输入标题!" }]}
|
|
rules={[{ required: true, message: "请输入标题!" }]}
|
|
- getValueFromEvent={(e) => e.target.value.trim()}
|
|
|
|
>
|
|
>
|
|
- <Input
|
|
|
|
|
|
+ <TextArea
|
|
readOnly={editInfo.txt === "查看"}
|
|
readOnly={editInfo.txt === "查看"}
|
|
style={{ width: "500px" }}
|
|
style={{ width: "500px" }}
|
|
- maxLength={50}
|
|
|
|
|
|
+ maxLength={100}
|
|
showCount
|
|
showCount
|
|
placeholder="请输入内容"
|
|
placeholder="请输入内容"
|
|
/>
|
|
/>
|