You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
170 lines
6.7 KiB
Plaintext
170 lines
6.7 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title></title>
|
|
<link rel="stylesheet" type="text/css" href="../../WF/Portal/icons/font-icons.min.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../WF/Portal/icons/icons.css">
|
|
<link rel="stylesheet" type="text/css" href="../../WF/Portal/layui/css/layui.css">
|
|
<link rel="stylesheet" type="text/css" href="../../WF/Portal/layui/css/customer.css">
|
|
<script type="text/javascript" src="./js/sortjs/Sortable.min.js"></script>
|
|
<!--- 引入代码. -->
|
|
<script src="../../WF//Scripts/jquery/jquery.min.js"></script>
|
|
<script type="text/javascript" src="../../WF/Portal/layui/layui.js"></script>
|
|
<script src="../../WF/Scripts/QueryString.js" type="text/javascript"></script>
|
|
<script src="../../WF/Scripts/config.js" type="text/javascript"></script>
|
|
<script src="../../WF/Comm/Gener.js" type="text/javascript"></script>
|
|
<script type="text/javascript" src="../../WF/Portal/js/vue/vue.js"></script>
|
|
<script type="text/javascript" src="../../WF/Scripts/layui/LayuiDialog.js"></script>
|
|
<!-- <script type="text/javascript" src="Flows.js"></script>-->
|
|
|
|
<style>
|
|
body, html {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
|
|
.wrapper .row {
|
|
background-color: #fff;
|
|
}
|
|
|
|
#s-main {
|
|
transition: all ease .4s;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.fixed {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
[v-cloak] {
|
|
display: none !important;
|
|
}
|
|
</style>
|
|
<script type="text/javascript">
|
|
var editor;
|
|
|
|
function Lod() {
|
|
|
|
|
|
//实体信息.
|
|
var no = GetQueryString("No");
|
|
var en = new Entity("BP.CCOA.CCInfo.Info", no);
|
|
en.DoMethodReturnString("DoRead");
|
|
|
|
var value = GenerFullAllCtrlsVal(en);
|
|
|
|
$('#content').html(en.Docs);
|
|
var titleHTML = '<span style="font-size: 2.1em;font-weight: 700;margin:0px auto">' + en.Name + '</span>';
|
|
titleHTML += '</br>发布信息:' + en.RelerName + '-' + en.RelDeptName + ' ' + en.RDT + ' ' + en.InfoPRIText + ' ' + en.InfoTypeText;
|
|
titleHTML += ' 记录人:' + en.RecName;
|
|
|
|
$('#title').html(titleHTML);
|
|
|
|
//查询附件.
|
|
var fls = new Entities("BP.Sys.SysFileManagers");
|
|
fls.Retrieve("EnName", "BP.CCOA.CCInfo.Info", "RefVal", no);
|
|
fls = fls.TurnToArry();
|
|
console.log(fls);
|
|
var fileHTML = "";
|
|
for (var i = 0; i < fls.length; i++) {
|
|
var imgsrc = "../Img/FileType/" + fls[i].MyFileExt.split(".")[1] + ".gif";
|
|
fileHTML += "<a href='" + basePath + fls[i].MyFilePath + "' download='" + basePath + fls[i].MyFilePath + "'><img src='" + imgsrc + "' /> " + fls[i].MyFileName + fls[i].MyFileExt + "</a></br>";
|
|
|
|
}
|
|
$("#files").append(fileHTML);
|
|
}
|
|
$(function () {
|
|
|
|
Lod();
|
|
})
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="ccdiv" id="ccdiv">
|
|
|
|
<div id="name" name="name"></div>
|
|
|
|
<div class="layui-card">
|
|
<div class="layui-card-body">
|
|
<div id="title" style="text-align: center;"></div>
|
|
<blockquote class="layui-elem-quote layui-quote-nm">
|
|
<font size="14px;">
|
|
<div class="layui-inline" id="content"></div>
|
|
</font>
|
|
</blockquote>
|
|
|
|
|
|
<!--<form class="layui-form" action="" lay-filter="example">
|
|
|
|
<div class="layui-form-item">
|
|
<div class="layui-input-block">
|
|
<h3>
|
|
<div id="name" name="name"></div>-->
|
|
<!--<input type="text" name="Name" lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input" disabled>-->
|
|
<!--</h3>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item layui-form-text">
|
|
<label class="layui-form-label">内容</label>
|
|
<div class="layui-input-block">
|
|
<textarea placeholder=" " class="layui-textarea" name="Docs" disabled></textarea>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">重要性</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="InfoPRI" autocomplete="off" class="layui-input" disabled>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">记录人</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="RecName" autocomplete="off" class="layui-input" disabled>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">发布人</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="RelerName" autocomplete="off" class="layui-input" disabled>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">发布单位</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="RelDeptName" autocomplete="off" class="layui-input" disabled>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">发布日期</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="RDT" autocomplete="off" class="layui-input" disabled>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">类型</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="InfoType" autocomplete="off" class="layui-input" disabled>
|
|
</div>
|
|
</div>
|
|
|
|
</form>-->
|
|
<blockquote class="layui-elem-quote layui-quote-nm">
|
|
附件:<div id="files"></div>
|
|
</blockquote>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html> |