|
@@ -15,7 +15,7 @@ import { A2_APIgetInfo, A2_APIsave } from "@/store/action/A2exhibition";
|
|
|
import dayjs from "dayjs";
|
|
|
import { MessageFu } from "@/utils/message";
|
|
|
import classNames from "classnames";
|
|
|
-import ZupAudio, { ZupAudioType } from "@/components/ZupAudio";
|
|
|
+import ZupAudio from "@/components/ZupAudio";
|
|
|
import ZupOne from "@/components/ZupOne";
|
|
|
import MyPopconfirm from "@/components/MyPopconfirm";
|
|
|
import ZRichTexts from "@/components/ZRichTexts";
|
|
@@ -304,7 +304,7 @@ function A2add({ editInfo, closeFu, editTableFu, addTableFu }: Props) {
|
|
|
<ZupAudio
|
|
|
fileInfo={nameAudio}
|
|
|
upDataFu={(info) => setNameAudio(info)}
|
|
|
- delFu={() => setNameAudio({} as ZupAudioType)}
|
|
|
+ delFu={() => setNameAudio({ fileName: "", filePath: "" })}
|
|
|
dirCode={dirCode}
|
|
|
myUrl="cms/exhibition/upload"
|
|
|
isLook={editInfo.txt === "查看"}
|
|
@@ -358,8 +358,10 @@ function A2add({ editInfo, closeFu, editTableFu, addTableFu }: Props) {
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+ {editInfo.txt === "查看"?<br/>:null}
|
|
|
+
|
|
|
<Form.Item label="摘要" name="digest">
|
|
|
- <TextArea placeholder="请输入内容" maxLength={200} showCount />
|
|
|
+ <TextArea readOnly={editInfo.txt === "查看"} placeholder="请输入内容" maxLength={200} showCount />
|
|
|
</Form.Item>
|
|
|
|
|
|
{/* 时间 */}
|
|
@@ -431,6 +433,7 @@ function A2add({ editInfo, closeFu, editTableFu, addTableFu }: Props) {
|
|
|
))}
|
|
|
 
|
|
|
<Input
|
|
|
+ readOnly={editInfo.txt === "查看"}
|
|
|
style={{ width: 536, marginLeft: 14 }}
|
|
|
maxLength={50}
|
|
|
showCount
|
|
@@ -529,7 +532,7 @@ function A2add({ editInfo, closeFu, editTableFu, addTableFu }: Props) {
|
|
|
placeholder="请输入"
|
|
|
/>
|
|
|
</Form.Item>
|
|
|
- <div className="A2_6Frow">
|
|
|
+ <div className="A2_6Frow" hidden={editInfo.txt === "查看"}>
|
|
|
请输入1~999的数字。数字越小,排序越靠前。数字相同时,更新发布的内容排在前面
|
|
|
</div>
|
|
|
</div>
|