|
@@ -119,6 +119,9 @@ function renderTipsInfo(className,title, data) {
|
|
// renderTipsInfoMsg('tipsInfo', data.name, data.details, className+'box')
|
|
// renderTipsInfoMsg('tipsInfo', data.name, data.details, className+'box')
|
|
$('.' + className+'box').append('<p class="TipsInfoNull">暂无数据</p>')
|
|
$('.' + className+'box').append('<p class="TipsInfoNull">暂无数据</p>')
|
|
}
|
|
}
|
|
|
|
+ $('.' + className + 'box' + ' img').bind('contextmenu', function(){
|
|
|
|
+ return false
|
|
|
|
+ })
|
|
}
|
|
}
|
|
|
|
|
|
function renderKnowledgeInfo(className,title, data) {
|
|
function renderKnowledgeInfo(className,title, data) {
|
|
@@ -147,7 +150,7 @@ function renderScaleInfo(className,title, data) {
|
|
|
|
|
|
function renderTipsInfoMsg(className,item,data, parentNode) {
|
|
function renderTipsInfoMsg(className,item,data, parentNode) {
|
|
const childrenNodeBoxStr = `
|
|
const childrenNodeBoxStr = `
|
|
- <div class = "treatItemBox ${className + 'box'}">
|
|
|
|
|
|
+ <div class = "treatItemBox ${className + 'box'} disCopy">
|
|
<p class="treatItemTitle">${item.name} <span class="moreInfo" data-name="${item.name}" data-type="${item.type}"}>详情</span></p>
|
|
<p class="treatItemTitle">${item.name} <span class="moreInfo" data-name="${item.name}" data-type="${item.type}"}>详情</span></p>
|
|
<p class="${className + 'Info'} clearfix"></p>
|
|
<p class="${className + 'Info'} clearfix"></p>
|
|
</div>
|
|
</div>
|
|
@@ -198,6 +201,9 @@ function renderTreatText(className,title,data, parentNode) {
|
|
$(".treatItemBox").on('click',".slideDown",function(){
|
|
$(".treatItemBox").on('click',".slideDown",function(){
|
|
openNewWin(`treatplan.html?msg=${encodeURIComponent(JSON.stringify(msg))}`)
|
|
openNewWin(`treatplan.html?msg=${encodeURIComponent(JSON.stringify(msg))}`)
|
|
})
|
|
})
|
|
|
|
+ $('.' + className + 'Info' + ' img').bind('contextmenu', function(){
|
|
|
|
+ return false
|
|
|
|
+ })
|
|
}
|
|
}
|
|
function renderTreatDrug(className,title,data, parentNode) {
|
|
function renderTreatDrug(className,title,data, parentNode) {
|
|
const childrenNodeBoxStr = `
|
|
const childrenNodeBoxStr = `
|