fastlion-amis
Version:
一种MIS页面生成工具
38 lines (37 loc) • 2.04 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.openNotification = void 0;
var tslib_1 = require("tslib");
// 提醒安装Lodop
var react_1 = (0, tslib_1.__importDefault)(require("react"));
var notification_1 = (0, tslib_1.__importDefault)(require("antd/lib/notification"));
var openNotification = function () {
var key = "LODOP";
// saas-web项目 webpack.config.ts配置,前面没有/,是相对于当前目录
var downloadUrl = "static/software/CLodop_Setup_for_Win32NT.exe";
// const donwload_32 = 'https://demo.lodop.net:8443/Lodop6.226_Clodop6.577.zip'
// const download_64 = 'http://www.c-lodop.com/download/CLodop_Setup_for_Win64NT_6.577EN.zip'
var description = (react_1.default.createElement("div", null,
react_1.default.createElement("p", null, "C-Lodop\u53EF\u80FD\u672A\u542F\u52A8\uFF0C\u82E5\u5DF2\u5B89\u88C5\u8BF7\u542F\u52A8\u3002"),
react_1.default.createElement("p", null,
'若未安装或未启动或需要升级,点击直接下载 ',
react_1.default.createElement("a", { href: downloadUrl, target: "_self", rel: "noopenner noreferrer" }, "C-Lodop"),
' 安装并',
react_1.default.createElement("b", null, "\u542F\u52A8"),
"\uFF0C\u5B89\u88C5\u5B8C\u6210\u540E\u8BF7",
react_1.default.createElement("a", { onClick: function () { return window.location.reload(); } }, "\u5237\u65B0"),
"\u9875\u9762\u3002"),
react_1.default.createElement("p", null, '注意:如曾安装过 Lodop 旧版附件 npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它')));
notification_1.default.info({
message: '提示',
description: description,
key: key,
duration: null,
style: {
width: 500,
marginLeft: -120,
},
});
};
exports.openNotification = openNotification;
//# sourceMappingURL=./utils/print/notifyLodop.js.map