Commit 3448eaa4 authored by krysent's avatar krysent

check

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