|
@@ -123,7 +123,7 @@ function renderTab(data,hisId,activePage){
|
|
|
<td >${item.typeName || "-"}</td>
|
|
|
<td>${item.description || "-"}</td>
|
|
|
<td>${item.statusName || "-"}</td>
|
|
|
- <td>${item.remark || "-"}</td>
|
|
|
+ <td style="width: 200px;">${item.remark || "-"}</td>
|
|
|
<td class="textCenter">
|
|
|
<span data-index="${i}" style="opacity:${item.type==1&&item.description==''?'0.4':'1'};cursor:${item.type==1&&item.description==''?'no-drop':'pointer'};" data-type="1" data-des="${item.description}" data-mol="${item.type}" class="patientNameSpan">修改</span>
|
|
|
<span data-index="${i}" data-type="2" class="patientNameSpan patientNameSpans">删除</span>
|
|
@@ -135,6 +135,7 @@ function renderTab(data,hisId,activePage){
|
|
|
bindScoreDetail(hisId)
|
|
|
}
|
|
|
function getQcAnnormalMode(item,type,mol,des){
|
|
|
+ console.log(type)
|
|
|
post(api.getQcAnnormalMode,{'description':des}).then(res =>{
|
|
|
if(res.data.code == '0'){
|
|
|
const data = res.data.data;
|
|
@@ -163,10 +164,11 @@ function bindScoreDetail(hisId){
|
|
|
const mol = $(this).attr("data-mol")
|
|
|
const des = $(this).attr("data-des")||''
|
|
|
const item = tabList[index]
|
|
|
- if(item.type==1&&item.description==''){
|
|
|
+ console.log(item.type,item.description)
|
|
|
+ if(type==1&&item.type==1&&item.description==''){
|
|
|
return
|
|
|
}
|
|
|
- if(type == 1&&mol&&mol==1){
|
|
|
+ if(mol&&mol == 1&&des){
|
|
|
getQcAnnormalMode(item,type,mol,des)
|
|
|
}else{
|
|
|
midifyMsgBox(item,type,mol,des)
|