景谷县中医医院县级中医医院综合服务能力推进县域医共体建设项目(C包)采购文件更正公告

2020-08-10 05:30:00
  • 澄清/更正
  • 其他采购方式
  • 云南省
  • 医疗系统
  • 景谷县中医医院采购

本项目电子招标文件发生修改,请投标人重新下载电子招标文件。

 

     特此说明!

 

采购人:景谷县中医医院

采购代理机构:云南中盈招标咨询有限公司

                           2020810

//UEDITOR_CONFIG.UMEDITOR_HOME_URL = "/zfcg-zb/res/common/umeditor/"; //实例化编辑器 // var um = UM.getEditor('myEditor'); var isView=$.getUrlParam("isView"); var width=$.getUrlParam("width"); var height=$.getUrlParam("height"); if(width==null){ width=$(document).width(); } if(height==null){ height=$(document).height(); } var um=UM.createEditor('myEditor',{initialFrameHeight:height-70,initialFrameWidth:width-2 });; um.addListener('blur',function(){ //$('#focush2').html('编辑器失去焦点了') }); um.addListener('focus',function(){ // $('#focush2').html('') }); $(function(){ var isView=$.getUrlParam("isView"); if(isView=="true"){ setDisabled(); /* setTimeout(function(){ $("#_baidu_bookmark_start_0").parent().hide();//如果是只读会生成一行多的p,去掉 },500); */ } else{ //有内容的情况下,编辑器自动加p 手动去掉。后面再处理 /* setTimeout(function(){ var pfirst=$("#myEditor").find("p:first"); if(pfirst.html()==""||pfirst.html()=="
"){ pfirst.remove(); } },300); */ } }); //按钮的操作 function insertHtml() { var value = prompt('插入html代码', ''); um.execCommand('insertHtml', value) } //是否聚焦 function isFocus(){ alert(um.isFocus()) } function doBlur(){ um.blur() } //创建editor function createEditor() { //enableBtn(); um = UM.getEditor('myEditor'); } //获取html function getAllHtml() { return UM.getEditor('myEditor').getAllHtml(); } //获取内容 function getContent() { return UM.getEditor('myEditor').getContent(); } //设置内容 content 内容 isAppendTo 是否追加 true是追加 false是不追加,默认追加 function setContent(content,isAppendTo) { if(isAppendTo==undefined){isAppendTo=true;} UM.getEditor('myEditor').setContent(content, isAppendTo); } function getPlainTxt() { var arr = []; arr.push("使用editor.getPlainTxt()方法可以获得编辑器的带格式的纯文本内容"); arr.push("内容为:"); arr.push(UM.getEditor('myEditor').getPlainTxt()); alert(arr.join('\n')) } function setDisabled() { UM.getEditor('myEditor').setDisabled('fullscreen'); // disableBtn("enable"); } function setEnabled() { UM.getEditor('myEditor').setEnabled(); // enableBtn(); } function getText() { //当你点击按钮时编辑区域已经失去了焦点,如果直接用getText将不会得到内容,所以要在选回来,然后取得内容 var range = UM.getEditor('myEditor').selection.getRange(); range.select(); var txt = UM.getEditor('myEditor').selection.getText(); alert(txt); } function getContentTxt() { var arr = []; arr.push("使用editor.getContentTxt()方法可以获得编辑器的纯文本内容"); arr.push("编辑器的纯文本内容为:"); arr.push(UM.getEditor('myEditor').getContentTxt()); alert(arr.join("\n")); } function hasContent() { var arr = []; arr.push("使用editor.hasContents()方法判断编辑器里是否有内容"); arr.push("判断结果为:"); arr.push(UM.getEditor('myEditor').hasContents()); alert(arr.join("\n")); } function setFocus() { UM.getEditor('myEditor').focus(); } function deleteEditor() { disableBtn(); UM.getEditor('myEditor').destroy(); } function disableBtn(str) { var div = document.getElementById('btnContainer'); var btns = UM.dom.domUtils.getElementsByTagName(div, "button"); for (var i = 0, btn; btn = btns[i++];) { if (btn.id == str) { UM.dom.domUtils.removeAttributes(btn, ["disabled"]); } else { $(btn).attr( "disabled", true ).addClass( "disabled" ); } } } function enableBtn() { var div = document.getElementById('btnContainer'); var btns = UM.dom.domUtils.getElementsByTagName(div, "button"); for (var i = 0, btn; btn = btns[i++];) { $(btn).removeAttr( "disabled" ).removeClass( "disabled" ); } } function isNotBlank(value){ if(value == undefined){ return false; } if(value == "undefined"){ return false; } if(value == null){ return false; } if(value == "null"){ return false; } if(value === ""){ return false; } return true; } function resizeHeight(heightParam){ if(isNotBlank(heightParam)){ height = heightParam; } if(!height){ var heightTmp = $(document).height(); um.setHeight(heightTmp); }else{ um.setHeight(height); } } function resizeWidth(widthParam){ if(isNotBlank(widthParam)){ width = widthParam; } if(!width){ var widthTmp = $(document).width(); um.setWidth(widthTmp); }else{ um.setWidth(width); } }