WPS中台V6集成-wcp知识分享平台.html 81 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463
  1. <!DOCTYPE html>
  2. <!-- saved from url=(0077)http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf1480184a87a1d182a88.html -->
  3. <html lang="zh-CN">
  4. <head>
  5. <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  6. <!--<base href="http://172.20.97.78:8989/">-->
  7. <base href=".">
  8. <title>WPS中台V6集成-wcp知识分享平台</title>
  9. <meta content=" 版本要求 wep版本 &gt;=  8.1.0.26 中台版本 == v6 配置方式 1. wps中台配置回调地址(http://[oa的nginx IP:端口]/api/framework/v1/wps-doc-middle-end), 2. wps中台配置跨域白名单 3. oa中文件预览服务配置以下内容 1. 在线预览 2. 在线编辑 2. 清稿 套红 转版 "
  10. name="description">
  11. <meta content="李超" name="author">
  12. <meta content="wps中台" name="keywords">
  13. <meta content="index,fllow" name="robots">
  14. <!--<base href="http://172.20.97.78:8989/">-->
  15. <base href=".">
  16. <meta content="IE=edge" http-equiv="X-UA-Compatible">
  17. <meta content="width=device-width, initial-scale=1,user-scalable=no" name="viewport">
  18. <link href="http://172.20.97.78:8989/favicon.ico" mce_href="favicon.ico" rel="icon" type="image/x-icon">
  19. <link href="http://172.20.97.78:8989/favicon.ico" mce_href="favicon.ico" rel="shortcut icon" type="image/x-icon">
  20. <script src="./WPS中台V6集成-wcp知识分享平台_files/jquery-1.8.0.min.js" type="text/javascript"></script>
  21. <link href="./WPS中台V6集成-wcp知识分享平台_files/bootstrap.min.css" rel="stylesheet">
  22. <link href="./WPS中台V6集成-wcp知识分享平台_files/bootstrap-theme.min.css" rel="stylesheet">
  23. <script src="./WPS中台V6集成-wcp知识分享平台_files/bootstrap.min.js"></script>
  24. <script src="./WPS中台V6集成-wcp知识分享平台_files/respond.min.js"></script>
  25. <link href="./WPS中台V6集成-wcp知识分享平台_files/web-base.css" rel="stylesheet">
  26. <link href="./WPS中台V6集成-wcp知识分享平台_files/web-black.css" rel="stylesheet">
  27. <link href="./WPS中台V6集成-wcp知识分享平台_files/editInner.css" rel="stylesheet">
  28. <script type="text/javascript">
  29. var basePath = 'http://172.20.97.78:8989/';
  30. $(function () {
  31. $.ajaxSetup({
  32. cache: false
  33. });
  34. })
  35. //-->
  36. </script>
  37. <script charset="utf-8" src="./WPS中台V6集成-wcp知识分享平台_files/validate.js"></script>
  38. </head>
  39. <body>
  40. <!-- class="navbar navbar-default|navbar-inverse" -->
  41. <style>
  42. <!--
  43. .imgMenuIcon {
  44. width: 16px;
  45. height: 16px;
  46. margin-right: 4px;
  47. margin-left: -2px;
  48. margin-top: -2px;
  49. }
  50. -->
  51. </style>
  52. <div class="navbar navbar-inverse navbar-fixed-top " role="navigation" style="margin: 0px;">
  53. <div class="container">
  54. <!-- Brand and toggle get grouped for better mobile display -->
  55. <div class="navbar-header">
  56. <button class="navbar-toggle" data-target="#bs-example-navbar-collapse-1" data-toggle="collapse"
  57. type="button">
  58. <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span
  59. class="icon-bar"></span> <span class="icon-bar"></span>
  60. </button>
  61. <a class="navbar-brand" href="http://172.20.97.78:8989/home/Pubindex.html"
  62. style="color: #ffffff; font-weight: bold; padding: 5px;"> <img align="middle" alt="WCP" height="40"
  63. src="./WPS中台V6集成-wcp知识分享平台_files/logo">
  64. </a>
  65. </div>
  66. <!-- Collect the nav links, forms, and other content for toggling -->
  67. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  68. <ul class="nav navbar-nav">
  69. <li><a href="http://172.20.97.78:8989/home/Pubindex.html"><span class="glyphicon glyphicon-home"></span>
  70. 首页</a></li>
  71. <li><a href="http://172.20.97.78:8989/webtype/view/Pub1.html"><span
  72. class="glyphicon glyphicon-book"></span> 知识</a></li>
  73. <li class="dropdown hidden-xs"><a aria-expanded="false" aria-haspopup="true" class="dropdown-toggle"
  74. data-toggle="dropdown" role="button"> <span
  75. class="glyphicon glyphicon-th"></span>
  76. <span class="caret"></span></a>
  77. <ul class="dropdown-menu">
  78. <li><a href="http://172.20.97.78:8989/webstat/PubHome.html"><span
  79. class="glyphicon glyphicon-stats"></span> 荣誉</a></li>
  80. </ul>
  81. </li>
  82. </ul>
  83. <ul class="nav navbar-nav navbar-right hidden-xs" style="margin-right: 10px;">
  84. <!-- 查询 -->
  85. <li class="hidden-lg"><a href="http://172.20.97.78:8989/websearch/PubHome.html"><span
  86. class="glyphicon glyphicon-search"></span></a></li>
  87. <!-- 登录注册 -->
  88. <li><a href="http://172.20.97.78:8989/login/webPage.html"><span
  89. class="glyphicon glyphicon glyphicon-user"></span> 登录</a></li>
  90. </ul>
  91. <form action="http://172.20.97.78:8989/websearch/PubDo.do"
  92. class="navbar-form navbar-right hidden-xs hidden-sm hidden-md" id="lucenesearchFormId" method="post"
  93. role="search" style="margin-top: 10px;">
  94. <div class="form-group">
  95. <div class="input-group" style="max-width: 160px;">
  96. <input class="form-control input-sm" id="wordId" name="word" placeholder="检索词..." type="text"
  97. value=""> <input id="pageNumId" name="pagenum" type="hidden"> <span
  98. class="input-group-btn">
  99. <button class="btn btn-default btn-sm" type="submit">
  100. <span aria-hidden="true" class="glyphicon glyphicon-search"></span>检索
  101. </button>
  102. </span>
  103. </div>
  104. </div>
  105. </form>
  106. </div>
  107. </div>
  108. <!-- /.navbar-collapse -->
  109. </div>
  110. <!-- 确认框和提示框组件,使用方法在最下方!confirm和alert的bootstrap实现 -->
  111. <div class="modal" id="ycf-alert">
  112. <div class="modal-dialog modal-sm">
  113. <div class="modal-content">
  114. <div class="modal-header">
  115. <button class="close" data-dismiss="modal" type="button">
  116. <span aria-hidden="true">×</span><span class="sr-only">Close</span>
  117. </button>
  118. <h5 class="modal-title">
  119. <i class="fa fa-exclamation-circle"></i> [Title]
  120. </h5>
  121. </div>
  122. <div class="modal-body small">
  123. <p>[Message]</p>
  124. </div>
  125. <div class="modal-footer">
  126. <button class="btn btn-primary ok" data-dismiss="modal" type="button">[BtnOk]</button>
  127. <button class="btn btn-default cancel" data-dismiss="modal" type="button">[BtnCancel]</button>
  128. </div>
  129. </div>
  130. </div>
  131. </div>
  132. <script type="text/javascript">
  133. //Modal.alert({msg: '内容',title: '标题',btnok: '确定',btncl:'取消'});
  134. //Modal.confirm({msg : "是否删除角色?"}).on(function(e) {alert("返回结果:" + e);});
  135. $(function () {
  136. //控制内容中的图片,在缩放情况下不变形
  137. $('#docContentsId img').attr('height', '');
  138. window.Modal = function () {
  139. var reg = new RegExp("\\[([^\\[\\]]*?)\\]", 'igm');
  140. var alr = $("#ycf-alert");
  141. var ahtml = alr.html();
  142. var _alert = function (options) {
  143. alr.html(ahtml); // 复原
  144. alr.find('.ok').removeClass('btn-primary').addClass(
  145. 'btn-primary');
  146. alr.find('.cancel').hide();
  147. _dialog(options);
  148. return {
  149. on: function (callback) {
  150. if (callback && callback instanceof Function) {
  151. alr.find('.ok').click(function () {
  152. callback(true)
  153. });
  154. }
  155. }
  156. };
  157. };
  158. var _confirm = function (options) {
  159. alr.html(ahtml); // 复原
  160. alr.find('.ok').removeClass('btn-primary').addClass(
  161. 'btn-primary');
  162. alr.find('.cancel').show();
  163. _dialog(options);
  164. return {
  165. on: function (callback) {
  166. if (callback && callback instanceof Function) {
  167. alr.find('.ok').click(function () {
  168. callback(true)
  169. });
  170. alr.find('.cancel').click(function () {
  171. callback(false)
  172. });
  173. }
  174. }
  175. };
  176. };
  177. var _dialog = function (options) {
  178. var ops = {
  179. msg: "提示内容",
  180. title: "操作提示",
  181. btnok: "确定",
  182. btncl: "取消"
  183. };
  184. $.extend(ops, options);
  185. console.log(alr);
  186. var html = alr.html().replace(reg, function (node, key) {
  187. return {
  188. Title: ops.title,
  189. Message: ops.msg,
  190. BtnOk: ops.btnok,
  191. BtnCancel: ops.btncl
  192. }[key];
  193. });
  194. alr.html(html);
  195. alr.modal({
  196. width: 500,
  197. backdrop: 'static'
  198. });
  199. }
  200. return {
  201. alert: _alert,
  202. confirm: _confirm
  203. }
  204. }();
  205. });
  206. </script>
  207. <!-- system modal end -->
  208. <script type="text/javascript">
  209. function luceneSearch(key) {
  210. $('#wordId').val(key);
  211. $('#lucenesearchFormId').submit();
  212. }
  213. function luceneSearchGo(page) {
  214. $('#pageNumId').val(page);
  215. $('#lucenesearchFormId').submit();
  216. }
  217. //-->
  218. </script>
  219. <div class="super_content">
  220. </div>
  221. <div class="containerbox" style="min-height: 945px;">
  222. <div class="container ">
  223. <div class="row" style="margin-top: 20px;">
  224. <div class="col-md-10 clear-both">
  225. <div class="panel panel-default view-left-content">
  226. <div class="panel-body">
  227. <!-- 知识正文 -->
  228. <style>
  229. <!--
  230. .inner-img {
  231. cursor: pointer;
  232. }
  233. -->
  234. </style>
  235. <div class="row">
  236. <div class="col-md-12">
  237. <!-- 如果是内容类型等于4小组首页,则在此处不提供任何操作功能1.HTML文档(知识),5资源文件,6资源URL 4小组首页 -->
  238. <div class="visible-lg visible-md" style="padding: 2px;">
  239. <div aria-label="..." class="btn-group wcp-doc-operate" role="group">
  240. <button class="btn btn-default btn-xs" disabled="disabled" type="button">
  241. <span class="glyphicon glyphicon-star"></span> &nbsp;登录后关注
  242. </button>
  243. </div>
  244. <div class="pull-right">
  245. &nbsp; <span class="badge" title="访问量"> <span
  246. class="glyphicon glyphicon-hand-up"></span>
  247. &nbsp;60
  248. </span> &nbsp; <img class="towcodeTooltipfalg" src="./WPS中台V6集成-wcp知识分享平台_files/towcode24.png">
  249. </div>
  250. <div class="pull-right">
  251. &nbsp; <a
  252. href="http://172.20.97.78:8989/webdocmessage/Pubmsg.do?docid=2c94e1ce80ccf1480184a87a1d182a88"> <span
  253. class="badge" title="评论"> <span class="glyphicon glyphicon-comment"></span>
  254. &nbsp;0
  255. </span>
  256. </a>
  257. </div>
  258. </div>
  259. <script type="text/javascript">
  260. $(function () {
  261. $('#editTopButtonId').bind('click', function () {
  262. window.location = basePath + 'know/edit.do?docid=2c94e1ce80ccf1480184a87a1d182a88';
  263. });
  264. $('#editImgTopButtonId').bind(
  265. 'click',
  266. function () {
  267. window.location = basePath
  268. + 'webdoc/editImg.do?docid=2c94e1ce80ccf1480184a87a1d182a88';
  269. });
  270. $('#editRelationKnowButtonId').bind(
  271. 'click',
  272. function () {
  273. window.location = basePath
  274. + 'webdoc/editRelationDoc.do?docid=2c94e1ce80ccf1480184a87a1d182a88';
  275. });
  276. //设置知识分类和标签
  277. $('#editTypeAndTagButtonId').bind(
  278. 'click',
  279. function () {
  280. window.location = basePath
  281. + 'webdoc/editTypeTag.do?docid=2c94e1ce80ccf1480184a87a1d182a88';
  282. });
  283. //下载知识到本地
  284. $('#downPdfButtonId').bind(
  285. 'click',
  286. function () {
  287. window.location = basePath
  288. + 'webdoc/FLDownloadJsPDF.do?docid=2c94e1ce80ccf1480184a87a1d182a88';
  289. });
  290. //设置知识摘要
  291. $('#editDocdescribeButtonId').bind(
  292. 'click',
  293. function () {
  294. window.location = basePath
  295. + 'webdoc/editDocdescribe.do?docid=2c94e1ce80ccf1480184a87a1d182a88';
  296. });
  297. //设置自定義權限
  298. $('#setDocPopButtonId').bind(
  299. 'click',
  300. function () {
  301. window.location = basePath
  302. + 'webdoc/editDocPop.do?docid=2c94e1ce80ccf1480184a87a1d182a88';
  303. });
  304. $('#addRelationFile')
  305. .bind(
  306. 'click',
  307. function () {
  308. window.location = basePath
  309. + 'webfile/add.do?docId=2c94e1ce80ccf1480184a87a1d182a88&flag=OUTRELATION';
  310. });
  311. $('#delTopButtonId').bind(
  312. 'click',
  313. function () {
  314. if (confirm("删除后该知识将无法恢复,确定要删除吗?")) {
  315. window.location = basePath
  316. + 'webdoc/FLDelKnow.do?id=2c94e1ce80ccf1480184a87a1d182a88';
  317. }
  318. });
  319. $('#publickButtonId').bind(
  320. 'click',
  321. function () {
  322. if (confirm("是否要将该文档开放阅读和编辑权限到分类下,同时如果是小组文档将删除小组所有权?")) {
  323. window.location = basePath
  324. + 'webdoc/FLflyKnow.do?id=2c94e1ce80ccf1480184a87a1d182a88';
  325. }
  326. });
  327. //下载知识到本地
  328. $('#downKnowButtonId')
  329. .bind(
  330. 'click',
  331. function () {
  332. if (confirm("下载过程可能持续一段时间,是否继续下载?")) {
  333. window.location = basePath
  334. + 'webdoc/FLDownloadKnow.do?docid=2c94e1ce80ccf1480184a87a1d182a88&safecode=2c94e1ce80ccf1480184e1f257e035d3';
  335. }
  336. });
  337. //站内推送
  338. $('#sendButtonId')
  339. .bind(
  340. 'click',
  341. function () {
  342. window.location = basePath
  343. + 'webusermessage/FLmanySendKnow.do?id=2c94e1ce80ccf1480184a87a1d182a88&type=know';
  344. });
  345. //链接分享
  346. $('#shareButtonId')
  347. .bind(
  348. 'click',
  349. function () {
  350. window.location = basePath
  351. + 'webshare/sharedoc.do?id=2c94e1ce80ccf1480184a87a1d182a88&type=know';
  352. });
  353. //关注
  354. $('#enjoyId')
  355. .live(
  356. 'click',
  357. function () {
  358. $
  359. .post(
  360. 'webdoc/enjoy.do?id=2c94e1ce80ccf1480184a87a1d182a88',
  361. function (flag) {
  362. if (flag.commitType == '0') {
  363. alert('关注成功');
  364. var buttonStr = '<button type="button" id="disEnjoyId" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-star"></span>&nbsp;取消关注</button>';
  365. $('#enjoyId').before(
  366. buttonStr);
  367. $('#enjoyId').remove();
  368. } else {
  369. alert('关注失败');
  370. }
  371. }, 'json');
  372. });
  373. //取消关注
  374. $('#disEnjoyId')
  375. .live(
  376. 'click',
  377. function () {
  378. $
  379. .post(
  380. 'webdoc/FLunEnjoy.do?id=2c94e1ce80ccf1480184a87a1d182a88',
  381. function (flag) {
  382. if (flag.commitType == '0') {
  383. alert('取消关注成功');
  384. var buttonStr = '<button type="button" id="enjoyId" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-star-empty"></span>&nbsp;关注</button>';
  385. $('#disEnjoyId').before(
  386. buttonStr);
  387. $('#disEnjoyId').remove();
  388. } else {
  389. alert('取消关注失败');
  390. }
  391. }, 'json');
  392. });
  393. });
  394. </script>
  395. </div>
  396. </div>
  397. <!-- 展示知识内容 -->
  398. <div class="row ">
  399. <div class="col-md-12">
  400. <div class="doc_title">WPS中台V6集成</div>
  401. <div class="doc-conentinfo">
  402. 作者: <span class="authortagsearch" title="李超">李超</span>
  403. 2022年11月24日
  404. <b>发布在分类</b>
  405. /
  406. <a href="http://172.20.97.78:8989/webtype/view2c94e1ce71a61e810171bfc25a310018/Pub1.html"
  407. title="产品文档">产品文档</a>
  408. /
  409. <a href="http://172.20.97.78:8989/webtype/view2c94e1ce71a61e810171bfc9a726004b/Pub1.html"
  410. title="设计文档">设计文档</a>
  411. <b>下,并于</b>
  412. 2022年12月05日
  413. <b>编辑</b>
  414. <a name="markdocTag"></a>
  415. <div class="row">
  416. <div class="col-md-12 text-left" style="margin-top: 8px;margin-bottom: 4px;">
  417. <span class="label label-default tagsearch" style="cursor: pointer;"
  418. title="wps中台">wps中台</span>
  419. </div>
  420. </div>
  421. <script type="text/javascript">
  422. //标签
  423. $('.tagsearch').bind('click', function () {
  424. luceneSearch('TAG:' + $(this).attr('title'));
  425. });
  426. </script>
  427. </div>
  428. <!-- 当前版本就是待审核版本,且当前知识是待审核状态-->
  429. </div>
  430. </div>
  431. <div class="row" style="margin-left: -18px; margin-right: -18px;">
  432. <!-- 当前版本就是待审核版本,或者知识非审核状态 -->
  433. <div class="col-md-12" id="docContentsId">
  434. <!-- 自定义表单展示 -->
  435. <hr style="clear: both; margin-bottom: 20px; border-top: dashed 1px #ddd;">
  436. <div class="ke-content currentVersion">
  437. <p> 版本要求 </p>
  438. <p><span>wep版本&nbsp;&gt;=&nbsp;</span> <span>8.1.0.26</span> <br> <span>中台版本&nbsp;==&nbsp;v6</span>
  439. </p>
  440. <p> 配置方式 </p>
  441. <p> 1. wps中台配置回调地址(http://[oa的nginx
  442. IP:端口]/api/framework/v1/wps-doc-middle-end), </p>
  443. <p> 2. <span>wps中台配置</span>跨域白名单 </p>
  444. <p> 3. oa中文件预览服务配置以下内容 </p>
  445. <p><img alt="粘贴图片" class=" inner-img" height=""
  446. id="2c94e1ce80ccf1480184e1f015a435c2"
  447. src="./WPS中台V6集成-wcp知识分享平台_files/paste1670237918612.png" title="粘贴图片"></p>
  448. <p> 1. 在线预览 </p>
  449. <p><img alt="粘贴图片" class=" inner-img" height=""
  450. id="2c94e1ce80ccf1480184a85626e32a6d"
  451. src="./WPS中台V6集成-wcp知识分享平台_files/paste1669271529187.png" title="粘贴图片"></p>
  452. <p><br></p>
  453. <p> 2. 在线编辑 </p>
  454. <p><img alt="粘贴图片" class=" inner-img" height=""
  455. id="2c94e1ce80ccf1480184a86cab092a79"
  456. src="./WPS中台V6集成-wcp知识分享平台_files/paste1669273004793.png" title="粘贴图片"></p>
  457. <p><span>2. 清稿 套红 转版</span></p>
  458. <p><img alt="粘贴图片" class=" inner-img" height=""
  459. id="2c94e1ce80ccf1480184a879b35e2a85"
  460. src="./WPS中台V6集成-wcp知识分享平台_files/paste1669273858910.png" title="粘贴图片"></p>
  461. </div>
  462. </div>
  463. <!-- 知识当前版本和审核版本不同,且,审核版本存在(文章是待审核状态) -->
  464. </div>
  465. <script type="text/javascript">
  466. $(function () {
  467. //分类
  468. $('.typetagsearch').bind('click', function () {
  469. luceneSearch('TYPE:' + $(this).attr('title'));
  470. });
  471. //作者
  472. $('.authortagsearch').bind('click', function () {
  473. luceneSearch('AUTHOR:' + $(this).attr('title'));
  474. });
  475. //图片点击
  476. $('.currentVersion .inner-img').bind(
  477. 'click',
  478. function () {
  479. window.location = basePath + "webdoc/view/PubFile"
  480. + $(this).attr("id") + ".html";
  481. });
  482. //版本审核时第二个页签中的图片直接加载
  483. $('#home img').each(function (i, obj) {
  484. if ($(obj).attr('data-original')) {
  485. $(obj).attr('src', $(obj).attr('data-original'));
  486. }
  487. });
  488. });
  489. </script>
  490. <script charset="utf-8" type="text/javascript">
  491. $(function () {
  492. $("img.lazy").lazyload({
  493. effect: "fadeIn"
  494. });
  495. });
  496. </script>
  497. <script type="text/javascript">
  498. var baseUrl = 'http://172.20.97.78:8989/';
  499. </script>
  500. <script charset="utf-8" src="./WPS中台V6集成-wcp知识分享平台_files/wcp-relation-viewer.js"></script>
  501. <script charset="utf-8" src="./WPS中台V6集成-wcp知识分享平台_files/jquery.lazyload.js"></script>
  502. </div>
  503. <div class="panel-body">
  504. <div class="row">
  505. <div class="col-md-12">
  506. <!-- 知識評價 -->
  507. <div style="text-align: center;">
  508. <a name="markDocPrice"></a><br>
  509. <style>
  510. <!--
  511. .wcp-userjudge-users {
  512. text-align: center;
  513. }
  514. .wcp-userjudge-users img {
  515. max-width: 32px;
  516. max-height: 32px;
  517. margin: auto;
  518. margin: 4px;
  519. }
  520. -->
  521. </style>
  522. <div style="border: 1px dashed #ccc; padding: 20px; border-left: 0px; border-right: 0px;">
  523. <div class="row">
  524. <div class="col-md-12 text-center">
  525. <div class="btn-group btn-group-sm">
  526. <button class="btn btn-default btn-success btn-lg"
  527. id="btnPraiseOkId" type="button">
  528. 好评
  529. <span id="praiseyesNumId">1</span>
  530. </button>
  531. <button class="btn btn-default btn-lg" disabled="disabled"
  532. id="textLablePraiseNumId" type="button">1
  533. </button>
  534. <button class="btn btn-default btn-danger btn-lg" id="btnPraiseNoId"
  535. type="button">
  536. 差评
  537. <span id="praisenoNumId">0</span>
  538. </button>
  539. </div>
  540. </div>
  541. </div>
  542. <div class="row" style="margin-top: 20px;">
  543. <div class="col-md-12 text-center" id="doctypeJudgesId"></div>
  544. </div>
  545. </div>
  546. <script type="text/javascript">
  547. $(function () {
  548. var posting = false;
  549. $('#btnPraiseOkId').bind('click', function () {
  550. if (posting) {
  551. return;
  552. }
  553. $('#textLablePraiseNumId').text("...");
  554. posting = true;
  555. $.post('webdoc/PubPraiseYes.do', {
  556. id: '2c94e1ce80ccf1480184a87a1d182a88'
  557. }, function (flag) {
  558. posting = false;
  559. if (flag.STATE == '0') {
  560. $('#textLablePraiseNumId').text(flag.runinfo.evaluate);
  561. $('#praiseyesNumId').text(flag.runinfo.praiseyes);
  562. $('#praisenoNumId').text(flag.runinfo.praiseno);
  563. } else {
  564. alert(flag.MESSAGE);
  565. }
  566. }, 'json');
  567. });
  568. $('#btnPraiseNoId').bind('click', function () {
  569. if (posting) {
  570. return;
  571. }
  572. $('#textLablePraiseNumId').text("...");
  573. posting = true;
  574. $.post('webdoc/PubPraiseNo.do', {
  575. id: '2c94e1ce80ccf1480184a87a1d182a88'
  576. }, function (flag) {
  577. posting = false;
  578. if (flag.STATE == '0') {
  579. $('#textLablePraiseNumId').text(flag.runinfo.evaluate);
  580. $('#praiseyesNumId').text(flag.runinfo.praiseyes);
  581. $('#praisenoNumId').text(flag.runinfo.praiseno);
  582. } else {
  583. alert(flag.MESSAGE);
  584. }
  585. }, 'json');
  586. });
  587. loadTypeJudge();
  588. });
  589. function loadTypeJudge() {
  590. //$('#doctypeJudgesId').text('loadding...');
  591. $('#doctypeJudgesId').load('webjudge/PubDocJudges.do', {
  592. 'docid': '2c94e1ce80ccf1480184a87a1d182a88'
  593. });
  594. }
  595. </script>
  596. </div>
  597. <hr style="margin-top: 20px;border: 0px;">
  598. <!-- 关联知识 -->
  599. <!-- -->
  600. <!-- -->
  601. <a name="markdocMessage"></a>
  602. <!--<br /><div class="row doc_column_box">
  603. <div class="col-sm-12">
  604. <span class="glyphicon glyphicon-comment column_title">&nbsp;评论当前知识</span>
  605. </div>
  606. </div> -->
  607. <div class="row">
  608. <div class="col-md-12">
  609. <hr class="hr_split">
  610. <form action="http://172.20.97.78:8989/webdocmessage/addmsg.do"
  611. class="wcp_noEnterSubmit" id="knowSubmitFormId" method="post" role="form">
  612. <input name="docid" type="hidden" value="2c94e1ce80ccf1480184a87a1d182a88">
  613. <div class="row">
  614. <div class="col-md-12">
  615. <div class="form-group">
  616. <textarea class="form-control" disabled="disabled"
  617. id="mesTextId" name="content"
  618. placeholder="请登陆后发表评论"></textarea>
  619. </div>
  620. </div>
  621. </div>
  622. <div class="row">
  623. <div class="col-md-12 text-center">
  624. <a class="btn btn-primary"
  625. href="http://172.20.97.78:8989/login/webPage.html">登陆后发表评论</a>
  626. </div>
  627. </div>
  628. </form>
  629. </div>
  630. </div>
  631. <script type="text/javascript">
  632. $(function () {
  633. $('#msgSubmitButtonId').bind('click', function () {
  634. if (!validate('knowSubmitFormId')) {
  635. } else {
  636. $('#knowSubmitFormId').submit();
  637. $('#msgSubmitButtonId').addClass("disabled");
  638. $('#msgSubmitButtonId').text("提交中...");
  639. }
  640. });
  641. validateInput('mesTextId', function (id, val, obj) {
  642. // 留言
  643. if (valid_isNull(val)) {
  644. return {
  645. valid: false,
  646. msg: '评论内容不能为空'
  647. };
  648. }
  649. if (valid_maxLength(val, 1024)) {
  650. return {
  651. valid: false,
  652. msg: '长度不能大于' + 1024
  653. };
  654. }
  655. return {
  656. valid: true,
  657. msg: '正确'
  658. };
  659. });
  660. });
  661. </script>
  662. </div>
  663. </div>
  664. </div>
  665. </div>
  666. <div style="margin-top: 20px;"></div>
  667. <div class="panel panel-default view-left-content">
  668. <div class="panel-body">
  669. <div class="row">
  670. <div class="col-md-6">
  671. <a name="markdocType"></a><br>
  672. <!-- 分类下的知识列表,小的列表页面(缩写) -->
  673. <div class="row doc_column_box">
  674. <div class="col-sm-12">
  675. <span class="glyphicon glyphicon-bookmark column_title">&nbsp;同类知识</span>
  676. </div>
  677. </div>
  678. <div class="row">
  679. <div class="col-md-12">
  680. <hr class="hr_split">
  681. <div id="newTypeBoxId">
  682. <ol class="wcp-min-unit-ul">
  683. <li>
  684. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf1480188c38d58dc2e75.html">Builder设计中的VUD原则</a>
  685. </li>
  686. <li>
  687. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf148018851ee2d061145.html">用印管理设计文档
  688. 2023-05</a>
  689. </li>
  690. <li>
  691. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf148018851ec7b541129.html">会议管理设计文档
  692. 2023-05</a>
  693. </li>
  694. <li>
  695. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf148018851e879141113.html">信创OA公文管理设计文档
  696. 2023-05</a>
  697. </li>
  698. <li>
  699. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf1480188519a719c10bf.html">制度管理设计文档
  700. 2023-05</a>
  701. </li>
  702. <li>
  703. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf14801885199ae8d10ac.html">知识管理设计文档
  704. 2023-05</a>
  705. </li>
  706. <li>
  707. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf148018851985a081098.html">效能管理设计文档
  708. 2023-05</a>
  709. </li>
  710. <li>
  711. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf1480188519760ac1084.html">门户管理设计文档
  712. 2023-05</a>
  713. </li>
  714. <li>
  715. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf1480188519645501071.html">督办管理设计文档
  716. 2023-05</a>
  717. </li>
  718. <li>
  719. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf14801885194e9e8105b.html">内部邮件设计文档
  720. 2023-05</a>
  721. </li>
  722. </ol>
  723. </div>
  724. </div>
  725. </div>
  726. </div>
  727. <div class="col-md-6">
  728. <a name="markdocApply"></a>
  729. <br>
  730. <div id="RelationdocsBoxId">
  731. <!-- 查询和文档内容相关的知识列表,传入文档id -->
  732. <div class="row doc_column_box">
  733. <div class="col-sm-12">
  734. <span class="glyphicon glyphicon-star column_title">&nbsp;推荐知识
  735. </span>
  736. </div>
  737. </div>
  738. <div class="row">
  739. <div class="col-md-12">
  740. <hr class="hr_split">
  741. <div id="luceneResultMinId">
  742. <ol class="wcp-min-unit-ul" id="luceneResultMinOlId">
  743. <li>
  744. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf1480184a87a1d182a88.html"><font
  745. color="red">WPS</font><font color="red">中</font><font
  746. color="red">台</font><font color="red">V6</font><font
  747. color="red">集成</font></a></li>
  748. <li>
  749. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf148018576b5ea844d83.html"><font
  750. color="red">WPS</font>文档<font color="red">中</font><font
  751. color="red">台</font>配置手册-<font
  752. color="red">V6</font>/<font color="red">V</font>7版本</a>
  753. </li>
  754. <li>
  755. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce71a61e81017d699ba5f560f9.html"><font
  756. color="red">WPS</font>文档<font color="red">中</font><font
  757. color="red">台</font><font color="red">集成</font>资料</a>
  758. </li>
  759. <li>
  760. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce71a61e8101806a9d86cc4c65.html"><font
  761. color="red">WPS</font>文档<font color="red">中</font><font
  762. color="red">台</font>知识库</a></li>
  763. <li>
  764. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce8906b853018a981516207b62.html"><font
  765. color="red">WPS</font><font color="red">中</font><font
  766. color="red">台</font>套打、编辑 等操作后预览不刷新</a></li>
  767. <li>
  768. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce71a61e81017fb5c7cf1f1586.html">【扩展包】<font
  769. color="red">WPS</font>在线编辑-<font color="red">V</font>5版本</a>
  770. </li>
  771. <li>
  772. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf1480183e9032d83745c.html">WE.Mobile
  773. <font color="red">V</font>8.1.0.26产品发版公告</a></li>
  774. <li>
  775. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce8906b853018a30ed4a6f5b28.html">CAS<font
  776. color="red">集成</font>项目上遇到的问题一:登陆<font
  777. color="red">成</font>功跳转url失败问题处理</a></li>
  778. </ol>
  779. </div>
  780. </div>
  781. </div>
  782. </div>
  783. <script type="text/javascript">
  784. $(function () {
  785. $('#luceneResultMinOlId').append('<li>加载中~</li>');
  786. $.post('websearch/PubRelationDocs.do', {
  787. docid: '2c94e1ce80ccf1480184a87a1d182a88'
  788. }, function (flag) {
  789. $('#luceneResultMinOlId').empty();
  790. $($.parseJSON(flag).RELATIONDOCS).each(
  791. function (i, obj) {
  792. if (obj.domtype == 'fqa') {
  793. $('#luceneResultMinOlId').append(
  794. '<li><a href="webquest/fqa/Pub' + obj.docid + '.html">'
  795. + obj.title + '</a></li>');
  796. }
  797. if (obj.domtype == '1') {
  798. $('#luceneResultMinOlId').append(
  799. '<li><a href="webdoc/view/Pub' + obj.docid + '.html">'
  800. + obj.title + '</a></li>');
  801. }
  802. });
  803. });
  804. });
  805. </script>
  806. </div>
  807. </div>
  808. <div class="row">
  809. <div class="col-md-12">
  810. <div class="row doc_column_box">
  811. <div class="col-sm-12">
  812. <span class="glyphicon glyphicon-dashboard column_title">&nbsp;历史版本</span>
  813. <a name="markdocVersions"></a>
  814. </div>
  815. </div>
  816. <div class="row">
  817. <div class="col-md-12">
  818. <hr class="hr_split">
  819. <div id="DocVersionsBoxId">
  820. <table class="table table-bordered table-hover" style="font-size: 12px;">
  821. <tbody>
  822. <tr class="active">
  823. <td><b>修改日期</b></td>
  824. <td><b>修改人</b></td>
  825. <td><b>备注</b></td>
  826. </tr>
  827. <tr>
  828. <td>
  829. <a href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf1480184a87a1d182a88.html">2022-12-05
  830. 19:01:06[当前版本]
  831. </a></td>
  832. <td>李超</td>
  833. <td>修改文档</td>
  834. </tr>
  835. <tr>
  836. <td>
  837. <a href="http://172.20.97.78:8989/webdoc/PubVersion.do?textid=2c94e1ce80ccf1480184e1f1f19f35cb">2022-12-05
  838. 19:00:40
  839. </a></td>
  840. <td>李超</td>
  841. <td>修改文档</td>
  842. </tr>
  843. <tr>
  844. <td>
  845. <a href="http://172.20.97.78:8989/webdoc/PubVersion.do?textid=2c94e1ce80ccf1480184e1f043d435c3">2022-12-05
  846. 18:58:50
  847. </a></td>
  848. <td>李超</td>
  849. <td>修改文档</td>
  850. </tr>
  851. <tr>
  852. <td>
  853. <a href="http://172.20.97.78:8989/webdoc/PubVersion.do?textid=2c94e1ce80ccf1480184a87a1d182a87">2022-11-24
  854. 15:11:25
  855. </a></td>
  856. <td>李超</td>
  857. <td>文档创建</td>
  858. </tr>
  859. </tbody>
  860. </table>
  861. <script type="text/javascript">
  862. $(function () {
  863. $('#ShowAllVersionId').bind('click', function () {
  864. $('.hideVersionTr').show();
  865. $('#ShowAllVersionId').hide();
  866. });
  867. });
  868. </script>
  869. </div>
  870. </div>
  871. </div>
  872. <a name="markdocFile"></a><br>
  873. <div class="row doc_column_box">
  874. <div class="col-sm-12">
  875. <span class="glyphicon glyphicon-paperclip column_title">&nbsp;附件</span>
  876. </div>
  877. </div>
  878. <div class="row">
  879. <div class="col-md-12">
  880. <hr class="hr_split">
  881. <!-- 需要特殊显示的文件_开始 -->
  882. <table class="table table-bordered table-hover" style="font-size: 12px;">
  883. <tbody>
  884. <tr>
  885. <td class="active" style="width: 100px;"><b>附件类型</b></td>
  886. <td><p>
  887. <img alt="PNG" src="./WPS中台V6集成-wcp知识分享平台_files/PNG.png"
  888. style="max-height: 42px; max-width: 42px;">PNG
  889. </p></td>
  890. </tr>
  891. <tr>
  892. <td colspan="2">
  893. <!-- 需要特殊显示的文件_结束 --> <!-- 详细附件列表_开始 -->
  894. <p style="text-align: center;">
  895. <button class="btn btn-primary btn-xs" id="ShowAllDocFileId"
  896. type="button">显示附件列表(4)
  897. </button>
  898. </p>
  899. <div id="docFilesListPId" style="display: none;">
  900. <p>
  901. <a href="http://172.20.97.78:8989/webdoc/view/PubFile2c94e1ce80ccf1480184a85626e32a6d.html"><span
  902. class="glyphicon glyphicon-paperclip"></span>
  903. paste1669271529187.png</a>(87274.0b)
  904. </p>
  905. <p>
  906. <a href="http://172.20.97.78:8989/webdoc/view/PubFile2c94e1ce80ccf1480184a86cab092a79.html"><span
  907. class="glyphicon glyphicon-paperclip"></span>
  908. paste1669273004793.png</a>(95499.0b)
  909. </p>
  910. <p>
  911. <a href="http://172.20.97.78:8989/webdoc/view/PubFile2c94e1ce80ccf1480184a879b35e2a85.html"><span
  912. class="glyphicon glyphicon-paperclip"></span>
  913. paste1669273858910.png</a>(46587.0b)
  914. </p>
  915. <p>
  916. <a href="http://172.20.97.78:8989/webdoc/view/PubFile2c94e1ce80ccf1480184e1f015a435c2.html"><span
  917. class="glyphicon glyphicon-paperclip"></span>
  918. paste1670237918612.png</a>(166103.0b)
  919. </p>
  920. </div>
  921. <script type="text/javascript">
  922. $(function () {
  923. $('#ShowAllDocFileId').bind('click',
  924. function () {
  925. $('#docFilesListPId').show();
  926. $('#ShowAllDocFileId').hide();
  927. });
  928. });
  929. </script>
  930. </td>
  931. </tr>
  932. </tbody>
  933. </table>
  934. </div>
  935. </div>
  936. <!-- 详细附件列表_结束 -->
  937. </div>
  938. </div>
  939. </div>
  940. </div>
  941. </div>
  942. <div class="col-md-2 visible-lg visible-md">
  943. <div style="margin-left: -13px;">
  944. <!-- includeNavigationDoc.jsp,includeNavigationMini.jsp -->
  945. <!-- 文档中的目录导航 -->
  946. <style>
  947. <!--
  948. .affix {
  949. top: 54px;
  950. width: 230px;
  951. }
  952. .wcpdocMinConsole .disable {
  953. color: #ccc;
  954. }
  955. -->
  956. </style>
  957. <div class="affix" id="docContentMenuId" style="z-index: 1000; width: 230px;">
  958. <div>
  959. <ul class="wcpdocMinConsole">
  960. <li class="navigation-max-button">
  961. <div class="topbuttonClass" title="回到顶端">
  962. <i class="glyphicon glyphicon-chevron-up"></i>
  963. <p>顶端</p>
  964. </div>
  965. </li>
  966. <li class="navigation-max-button" id="menuLi" style="display: none;">
  967. <div id="openDocMenuLink">
  968. <i class="glyphicon glyphicon-list-alt"></i>
  969. <p>目录</p>
  970. </div>
  971. </li>
  972. <li class="navigation-max-button">
  973. <div id="markDocPriceSuperLink">
  974. <i class="glyphicon glyphicon-star"></i>
  975. <p>评价</p>
  976. </div>
  977. </li>
  978. <!-- 标签-->
  979. <li><a id="markTagListSuperLink" title="标签"> <span
  980. class="glyphicon glyphicon-tags"></span>
  981. </a></li>
  982. <!-- 标签END-->
  983. <!-- 评论-->
  984. <li><a id="markCommentListSuperLink" title="评论"> <span
  985. class="glyphicon glyphicon-comment"></span>
  986. </a></li>
  987. <!-- 评论END-->
  988. <!-- 同类知识-->
  989. <li><a id="markTypeListSuperLink" title="同类知识"> <span
  990. class="glyphicon glyphicon-bookmark"></span>
  991. </a></li>
  992. <!-- 同类知识END-->
  993. <!-- 推荐知识-->
  994. <li><a id="markApplyListSuperLink" title="推荐知识"> <span
  995. class="glyphicon glyphicon-heart"></span>
  996. </a></li>
  997. <!-- 推荐知识 END-->
  998. <!-- 文档版本 文档版本END -->
  999. <li><a id="markVersionListSuperLink" title="文档版本(4)"><span
  1000. class="glyphicon glyphicon-dashboard"></span></a></li>
  1001. <li><a id="markFileListSuperLink" title="文档附件(4)"> <span
  1002. class="glyphicon glyphicon-paperclip"></span>
  1003. </a></li>
  1004. <!-- 附件 附件END -->
  1005. </ul>
  1006. </div>
  1007. </div>
  1008. <!-- Modal -->
  1009. <div aria-hidden="true" aria-labelledby="myModalLabel" class="modal fade" id="currentDocMenuWin"
  1010. role="dialog" tabindex="-1">
  1011. <div class="modal-dialog" role="document">
  1012. <div class="modal-content">
  1013. <div class="modal-header">
  1014. <button aria-label="Close" class="close" data-dismiss="modal" type="button">
  1015. <span aria-hidden="true">×</span>
  1016. </button>
  1017. <h4 class="modal-title" id="myModalLabel">
  1018. <i class="glyphicon glyphicon-list-alt "></i> &nbsp;&nbsp;知识目录
  1019. </h4>
  1020. </div>
  1021. <div class="modal-body">
  1022. <ul class="doc_vavigat" id="ContentMenuId" style="overflow-y: auto;"></ul>
  1023. </div>
  1024. </div>
  1025. </div>
  1026. </div>
  1027. <script type="text/javascript">
  1028. var n1 = 1;
  1029. var n2 = 1;
  1030. var n3 = 1;
  1031. function creatMenus(i, obj) {
  1032. if ($(obj).get(0).tagName == 'H1') {
  1033. $('#ContentMenuId').append(
  1034. '<li class="doc_vavigat_h1"><a id="linkmark'
  1035. + i + '">'
  1036. + $(obj).text() + '</a></li>');
  1037. }
  1038. if ($(obj).get(0).tagName == 'H2') {
  1039. $('#ContentMenuId').append(
  1040. '<li class="doc_vavigat_h2"><a id="linkmark'
  1041. + i + '">'
  1042. + $(obj).text() + '</a></li>');
  1043. }
  1044. if ($(obj).get(0).tagName == 'H3') {
  1045. $('#ContentMenuId').append(
  1046. '<li class="doc_vavigat_h3"><a id="linkmark'
  1047. + i + '">'
  1048. + $(obj).text() + '</a></li>');
  1049. }
  1050. }
  1051. function initLeftMenu() {
  1052. $('#docContentMenuId').affix({
  1053. offset: {
  1054. top: 50,
  1055. bottom: 5
  1056. }
  1057. })
  1058. var isMenuAble = false;
  1059. $('h1,h2,h3', '#docContentsId').each(function (i, obj) {
  1060. creatMenus(i, obj);
  1061. $(obj).before("<a name='mark" + i + "'></a>");
  1062. $('#linkmark' + i).bind('click', function () {
  1063. $('html,body').animate({
  1064. scrollTop: $("a[name='mark" + i + "']").offset().top - 100
  1065. }, 500);
  1066. });
  1067. isMenuAble = true;
  1068. });
  1069. if ($.trim($('#ContentMenuId').text()) != null
  1070. && $.trim($('#ContentMenuId').text()) != "") {
  1071. $('#ContentMenuId').css('height', $(window).height() - 400);
  1072. } else {
  1073. $('#docContentPanelbody').remove();
  1074. }
  1075. $('#ContentMenuId').css('overflow-y', 'auto');
  1076. if (!isMenuAble) {
  1077. $('#docContentMenuId #menuLi').hide();
  1078. }
  1079. }
  1080. $(function () {
  1081. //去顶端
  1082. $('.topbuttonClass').bind('click', function () {
  1083. //window.scrollTo(0, 0);
  1084. $('html,body').animate({
  1085. scrollTop: 0
  1086. }, 500);
  1087. });
  1088. //打开目录
  1089. $('#openDocMenuLink').bind('click', function () {
  1090. $('#currentDocMenuWin').modal({
  1091. keyboard: false
  1092. });
  1093. });
  1094. //关联知识
  1095. $('#markRelationDocLink').bind('click', function () {
  1096. scrollToMarkName("markRelationDoc");
  1097. });
  1098. //知识评价
  1099. $('#markDocPriceSuperLink').bind('click', function () {
  1100. scrollToMarkName("markDocPrice");
  1101. });
  1102. //去底端
  1103. $('#buttombuttonId').bind('click', function () {
  1104. scrollToMarkName("markdocbottom");
  1105. });
  1106. //标签
  1107. $('#markTagListSuperLink').bind('click', function () {
  1108. scrollToMarkName("markdocTag");
  1109. });
  1110. //评论
  1111. $('#markCommentListSuperLink').bind('click', function () {
  1112. scrollToMarkName("markdocMessage");
  1113. });
  1114. //同类知识
  1115. $('#markTypeListSuperLink').bind('click', function () {
  1116. scrollToMarkName("markdocType");
  1117. });
  1118. //推荐知识
  1119. $('#markApplyListSuperLink').bind('click', function () {
  1120. scrollToMarkName("markdocApply");
  1121. });
  1122. //权限定位
  1123. $('#markauthListSuperLink').bind('click', function () {
  1124. scrollToMarkName("markdocauth");
  1125. });
  1126. //附件定位
  1127. $('#markFileListSuperLink').bind('click', function () {
  1128. scrollToMarkName("markdocFile");
  1129. });
  1130. //版本定位
  1131. $('#markVersionListSuperLink').bind('click', function () {
  1132. scrollToMarkName("markdocVersions");
  1133. });
  1134. initLeftMenu();
  1135. });
  1136. //滾動到指定位置
  1137. function scrollToMarkName(markName) {
  1138. $('html,body').animate({
  1139. scrollTop: $("a[name='" + markName + "']").offset().top - 50
  1140. }, 0, function () {
  1141. $('html,body').animate({
  1142. scrollTop: $("a[name='" + markName + "']").offset().top - 70
  1143. }, 200);
  1144. });
  1145. }
  1146. </script>
  1147. </div>
  1148. </div>
  1149. </div>
  1150. <div class="row column_box">
  1151. <div class="col-md-12"></div>
  1152. </div>
  1153. </div>
  1154. </div>
  1155. <a name="markdocbottom"></a>
  1156. <div class="super_contentfoot hidden-xs" style="margin: 0px;">
  1157. <div class="container ">
  1158. <div class="row">
  1159. <div class="col-sm-1">
  1160. <style>
  1161. /* tooltip */
  1162. #tooltip {
  1163. position: absolute;
  1164. border: 1px solid #fff;
  1165. background: #fff;
  1166. padding: 3px 3px 3px 3px;
  1167. color: #333;
  1168. display: none;
  1169. }
  1170. </style>
  1171. <div class="row">
  1172. <div class="col-sm-12 visible-lg visible-md" style="text-align: center;">
  1173. <div>
  1174. <a class="towcodelink"
  1175. href="http://172.20.97.78:8989/webdoc/view/Pub2c94e1ce80ccf1480184a87a1d182a88.html">
  1176. <img class="towcodeTooltipfalgOpposite" src="./WPS中台V6集成-wcp知识分享平台_files/towcode24.png"
  1177. style="background-color: #ffffff;">
  1178. </a>
  1179. </div>
  1180. </div>
  1181. </div>
  1182. <script>
  1183. $(function () {
  1184. var towcodelinkurl = location.href;
  1185. $('.towcodelink').attr('href', towcodelinkurl);
  1186. initTowCodeTooltip('.towcodeTooltipfalg',
  1187. 'http://172.20.97.78:8989/home/PubQRCode.do', -170, 20);
  1188. initTowCodeTooltip('.towcodeTooltipfalgOpposite',
  1189. 'http://172.20.97.78:8989/home/PubQRCode.do', 0, -175);
  1190. });
  1191. function initTowCodeTooltip(objKey, imgurl, x, y) {
  1192. $(objKey)
  1193. .live(
  1194. 'mouseover',
  1195. function (e) {
  1196. this.imgTitle = this.title;
  1197. this.title = "";
  1198. var imgTitle = this.imgTitle ? "<br/>"
  1199. + this.imgTitle : "";
  1200. var tooltip = "<div id='tooltip'><img style='max-width: 150px;' src='" + imgurl + "' alt='预览图'/>"
  1201. + imgTitle + "<\/div>"; //创建 div 元素
  1202. $("body").append(tooltip);
  1203. $("#tooltip").css({
  1204. "top": (e.pageY + y) + "px",
  1205. "left": (e.pageX + x) + "px"
  1206. }).show("fast"); //设置x坐标和y坐标,并且显示
  1207. });
  1208. $(objKey).live('mouseout', function (e) {
  1209. this.title = this.imgTitle;
  1210. $("#tooltip").remove();
  1211. });
  1212. $(objKey).live('mousemove', function (e) {
  1213. $("#tooltip").css({
  1214. "top": (e.pageY + y) + "px",
  1215. "left": (e.pageX + x) + "px"
  1216. });
  1217. });
  1218. }
  1219. </script>
  1220. </div>
  1221. <div class="col-sm-11 putServerBox">
  1222. <ul class="footServerUl" id="recommendServiceList">
  1223. <li><img alt="WE.Office禅道系统" class="img-circle footServerImg"
  1224. src="./WPS中台V6集成-wcp知识分享平台_files/none.png">&nbsp; <a
  1225. href="http://172.20.97.78:8989/wurl/Pubgo.do?urlid=2c94e1ce71a61e810173e56013980e51"
  1226. target="_blank">WE.Office禅道系统</a></li>
  1227. <li><img alt="WE.Office演示环境" class="img-circle footServerImg"
  1228. src="./WPS中台V6集成-wcp知识分享平台_files/none.png">&nbsp; <a
  1229. href="http://172.20.97.78:8989/wurl/Pubgo.do?urlid=2c94e1ce71a61e810173e5619be90e54"
  1230. target="_blank">WE.Office演示环境</a></li>
  1231. <li><img alt="信创OA内部网盘" class="img-circle footServerImg" src="./WPS中台V6集成-wcp知识分享平台_files/none.png">&nbsp;
  1232. <a href="http://172.20.97.78:8989/wurl/Pubgo.do?urlid=2c94e1ce71a61e810173e56387400e57"
  1233. target="_blank">信创OA内部网盘</a></li>
  1234. <li><img alt="WE.Office Git仓库" class="img-circle footServerImg"
  1235. src="./WPS中台V6集成-wcp知识分享平台_files/none.png">&nbsp; <a
  1236. href="http://172.20.97.78:8989/wurl/Pubgo.do?urlid=2c94e1ce71a61e810173e564f4060e59"
  1237. target="_blank">WE.Office Git仓库</a></li>
  1238. <li><img alt="WE.Office SVN仓库" class="img-circle footServerImg"
  1239. src="./WPS中台V6集成-wcp知识分享平台_files/none.png">&nbsp; <a
  1240. href="http://172.20.97.78:8989/wurl/Pubgo.do?urlid=2c94e1ce71a61e810173e565aa1a0e5a"
  1241. target="_blank">WE.Office SVN仓库</a></li>
  1242. <li><img alt="GRC.Office演示环境" class="img-circle footServerImg"
  1243. src="./WPS中台V6集成-wcp知识分享平台_files/none.png">&nbsp; <a
  1244. href="http://172.20.97.78:8989/wurl/Pubgo.do?urlid=2c94e1ce71a61e810173e568c0d40e5e"
  1245. target="_blank">GRC.Office演示环境</a></li>
  1246. <li><img alt="平台知识库" class="img-circle footServerImg" src="./WPS中台V6集成-wcp知识分享平台_files/none.png">&nbsp;
  1247. <a href="http://172.20.97.78:8989/wurl/Pubgo.do?urlid=2c94e1ce71a61e810173e55b5a590e4f"
  1248. target="_blank">平台知识库</a></li>
  1249. <li><img alt="平台V5.5.0演示环境" class="img-circle footServerImg"
  1250. src="./WPS中台V6集成-wcp知识分享平台_files/none.png">&nbsp; <a
  1251. href="http://172.20.97.78:8989/wurl/Pubgo.do?urlid=2c94e1ce71a61e810173e566716e0e5c"
  1252. target="_blank">平台V5.5.0演示环境</a></li>
  1253. <li><img alt="政务OA知识库" class="img-circle footServerImg" src="./WPS中台V6集成-wcp知识分享平台_files/none.png">&nbsp;
  1254. <a href="http://172.20.97.78:8989/wurl/Pubgo.do?urlid=2c94e1ce71a61e810173e55f1c010e50"
  1255. target="_blank">政务OA知识库</a></li>
  1256. </ul>
  1257. </div>
  1258. </div>
  1259. </div>
  1260. </div>
  1261. <div class="foot">
  1262. wcp知识分享平台
  1263. -
  1264. free.V4.3.0-439
  1265. -
  1266. <a href="http://www.wcpdoc.com/" style="color: #ffffff;text-decoration: underline;" target="blank_">免费版</a>
  1267. </div>
  1268. <script type="text/javascript">
  1269. $(function () {
  1270. $(window).resize(function () {
  1271. $('.containerbox').css('min-height', $(window).height() - 170);
  1272. });
  1273. $('.containerbox').css('min-height', $(window).height() - 170);
  1274. });
  1275. </script>
  1276. <!-- includeTextEditorKindEdit.jsp, includeTextEditorUeditor.jsp-->
  1277. <script charset="utf-8" src="./WPS中台V6集成-wcp知识分享平台_files/shCore.js" type="text/javascript"></script>
  1278. <link href="./WPS中台V6集成-wcp知识分享平台_files/shCoreDefault.css" rel="stylesheet" type="text/css">
  1279. <script type="text/javascript">
  1280. $(function () {
  1281. SyntaxHighlighter.defaults['html-script'] = false; //是否开启html的混合形式 默认为false 为关闭
  1282. SyntaxHighlighter.all();
  1283. });
  1284. </script>
  1285. </body>
  1286. </html>