|
@@ -6,6 +6,7 @@ import A6Qadd from "./A6Qadd";
|
|
import { A6QInfoType } from "./data";
|
|
import { A6QInfoType } from "./data";
|
|
import A6QInfo from "./A6QInfo";
|
|
import A6QInfo from "./A6QInfo";
|
|
import A6Qtopic from "./A6Qtopic";
|
|
import A6Qtopic from "./A6Qtopic";
|
|
|
|
+import downloadPDF2 from "@/utils/htmlToPdf2";
|
|
|
|
|
|
function A6_1ques() {
|
|
function A6_1ques() {
|
|
const dispatch = useDispatch();
|
|
const dispatch = useDispatch();
|
|
@@ -93,6 +94,14 @@ function A6_1ques() {
|
|
<Button onClick={() => setInfo({ id: 1, txt: "题目管理" })}>
|
|
<Button onClick={() => setInfo({ id: 1, txt: "题目管理" })}>
|
|
题目管理
|
|
题目管理
|
|
</Button>
|
|
</Button>
|
|
|
|
+  
|
|
|
|
+ <Button
|
|
|
|
+ onClick={() =>
|
|
|
|
+ downloadPDF2(document.querySelector(".A6_1tableBox")!, "xxxx")
|
|
|
|
+ }
|
|
|
|
+ >
|
|
|
|
+ 导出pdf
|
|
|
|
+ </Button>
|
|
{/* <MyTable
|
|
{/* <MyTable
|
|
yHeight={625}
|
|
yHeight={625}
|
|
list={tableInfo.list}
|
|
list={tableInfo.list}
|