Commit 3448eaa4 authored by krysent's avatar krysent

check

parent 963ec1c6
...@@ -13,7 +13,7 @@ const Footer = () => { ...@@ -13,7 +13,7 @@ const Footer = () => {
key: "download", key: "download",
title: "插件下载", title: "插件下载",
blankTarget: true, blankTarget: true,
href: '/staticfile/group1/M00/00/00/CLodop_Setup_for_Win32NT.exe', href: '/staticfile/download/CLodop_Setup_for_Win32NT.exe',
}, },
// { // {
// key: "github", // key: "github",
......
...@@ -127,7 +127,7 @@ function Outstore(props) { ...@@ -127,7 +127,7 @@ function Outstore(props) {
title: `查看详情`, title: `查看详情`,
...detail, ...detail,
totalPath: totalPath:
"/ngic-workmanship/wmsMaterieOutstore/getOutStoreInfoById", "/ngic-workmanship/wmsMaterieInstore/getInStoreInfoById",
totalParams: { id: record.id }, totalParams: { id: record.id },
extra: ( extra: (
<Button <Button
...@@ -245,7 +245,7 @@ function Outstore(props) { ...@@ -245,7 +245,7 @@ function Outstore(props) {
title: `查看详情`, title: `查看详情`,
...detail, ...detail,
totalPath: totalPath:
"/ngic-workmanship/wmsMaterieOutstore/getOutStoreInfoById", "/ngic-workmanship/wmsMaterieInstoreHis/getInStoreInfoById",
totalParams: { id: record.id }, totalParams: { id: record.id },
extra: ( extra: (
<Button <Button
......
import { str } from "@/utils/mymodelhtml.js"; import { str } from "@/utils/mymodelhtml.js";
import { doFetch } from "./doFetch"; import { doFetch } from "./doFetch";
export async function start(url, params) { export async function start(url, params) {
try {
if (!getLodop) { if (!getLodop) {
return;
}
} catch (error) {
alert("系统检测当前环境未安装相关插件,请先安装C-Lodop插件!"); alert("系统检测当前环境未安装相关插件,请先安装C-Lodop插件!");
return; return;
} }
const res = await doFetch({ url, params }); const res = await doFetch({ url, params });
const data = JSON.parse(JSON.stringify(res?.data?.dataList)); const data = JSON.parse(JSON.stringify(res?.data?.dataList));
console.log(data); console.log(data);
...@@ -17,7 +22,5 @@ export async function start(url, params) { ...@@ -17,7 +22,5 @@ export async function start(url, params) {
LODOP.SET_PRINT_PAGESIZE(0, 800, 600, ""); LODOP.SET_PRINT_PAGESIZE(0, 800, 600, "");
// LODOP.PREVIEW(); // LODOP.PREVIEW();
LODOP.PRINT(); LODOP.PRINT();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment