2022-03-10 14:24:13 +08:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
2022-07-19 09:00:17 +08:00
|
|
|
|
|
2022-03-10 14:24:13 +08:00
|
|
|
|
<head>
|
2022-07-19 09:00:17 +08:00
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
|
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
|
2022-03-10 14:24:13 +08:00
|
|
|
|
<title>招标采购中心 | 文档控件编辑器</title>
|
2022-06-10 10:18:25 +08:00
|
|
|
|
<script type="text/javascript" src="officecontrol/jquery.js"></script>
|
|
|
|
|
<script type="text/javascript" src="officecontrol/ntko4Path.20220624.js"></script>
|
2022-07-19 09:00:17 +08:00
|
|
|
|
<link href="officecontrol/ntkoStyle.css" rel="stylesheet" type="text/css" />
|
2022-03-10 14:24:13 +08:00
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
var path; //文档地址
|
2022-04-01 20:06:34 +08:00
|
|
|
|
var fileName;//weboffice文件名
|
2022-04-18 20:53:41 +08:00
|
|
|
|
var fileType;//文件类型
|
2022-03-10 14:24:13 +08:00
|
|
|
|
|
|
|
|
|
function getQueryString(name) {
|
|
|
|
|
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
|
|
|
|
|
var r = window.location.search.substr(1).match(reg);
|
|
|
|
|
if (r != null) return unescape(r[2]);
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
.elementPosition {
|
|
|
|
|
margin: 10px auto 8px;
|
|
|
|
|
width: 1200px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnStyle {
|
|
|
|
|
margin-left: 5px;
|
|
|
|
|
padding: 0 15px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnStyle02 {
|
|
|
|
|
background: #fff;
|
|
|
|
|
color: #262626;
|
|
|
|
|
border: 1px solid #d9d9d9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnStyle02:hover {
|
|
|
|
|
background: #fff;
|
|
|
|
|
color: #b30000;
|
|
|
|
|
border: 1px solid #b30000;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<!--AfterPublishAsPDFToURL-->
|
|
|
|
|
|
2022-07-19 09:00:17 +08:00
|
|
|
|
<body
|
2023-06-27 15:49:42 +08:00
|
|
|
|
onload="path=getQueryString('path');fileName=decodeURI(getQueryString('fileName'));fileType=getQueryString('fileType');init(path);">
|
2022-03-10 14:24:13 +08:00
|
|
|
|
|
2022-07-19 09:00:17 +08:00
|
|
|
|
<script type="text/javascript" for="TANGER_OCX" event="OnDocumentOpened(File, Document)">
|
2022-03-10 14:24:13 +08:00
|
|
|
|
|
2022-07-19 09:00:17 +08:00
|
|
|
|
</script>
|
|
|
|
|
<div style="
|
2022-03-10 14:24:13 +08:00
|
|
|
|
background-color: #b30000;
|
|
|
|
|
color:white;
|
|
|
|
|
height: 56px;
|
|
|
|
|
line-height: 56px;
|
|
|
|
|
display: flex;
|
|
|
|
|
position: relative;
|
|
|
|
|
">
|
2022-07-19 09:00:17 +08:00
|
|
|
|
<div style="font-size: 16px; font-weight: 600;">
|
|
|
|
|
<img src="logo.svg" style="height: 30px; position: absolute; top: 13px; margin-left: 20px; margin-right: 10px;" />
|
|
|
|
|
<span
|
|
|
|
|
style="position: absolute; left: 70px; font-size: 16px; font-weight: 600; display: inline-block;">中国联通智慧供应链平台 |
|
|
|
|
|
招标采购中心</span>
|
|
|
|
|
</div>
|
2022-03-10 14:24:13 +08:00
|
|
|
|
</div>
|
2022-07-19 09:00:17 +08:00
|
|
|
|
<div class="elementPosition">
|
|
|
|
|
<button type="button" class="btnStyle btnStyle02" onclick="generalProp(2)">另存为</button>
|
|
|
|
|
<button type="button" class="btnStyle btnStyle02" onclick="generalProp(4)">打印</button>
|
|
|
|
|
<button type="button" class="btnStyle btnStyle02" onclick="closeBTN()">关闭</button>
|
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript">
|
2022-03-10 14:24:13 +08:00
|
|
|
|
|
2022-07-19 09:00:17 +08:00
|
|
|
|
function closeBTN() {
|
|
|
|
|
window.open('', '_parent', '');
|
|
|
|
|
window.close();
|
2022-06-10 10:18:25 +08:00
|
|
|
|
}
|
2022-07-19 09:00:17 +08:00
|
|
|
|
//调用文档通用属性方法 1-打开 2-保存(另存为) 4-打印
|
|
|
|
|
function generalProp(param) {
|
|
|
|
|
var name = '新建文本文档';
|
|
|
|
|
if (fileName != null) {
|
|
|
|
|
name = fileName;
|
|
|
|
|
}
|
|
|
|
|
TANGER_OCX.WebFileName = name + "." + fileType;//文档默认名称
|
|
|
|
|
TANGER_OCX.ShowDialog(param)
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<div class="divBody">
|
|
|
|
|
<script type="text/javascript" src="officecontrol/ntkoofficecontrol.min.20220624.js"></script>
|
|
|
|
|
</div>
|
2022-03-10 14:24:13 +08:00
|
|
|
|
</body>
|
|
|
|
|
|
2022-07-19 09:00:17 +08:00
|
|
|
|
</html>
|