|
@@ -221,7 +221,7 @@ function renderTab(data,hisId){
|
|
|
<td class="recordScoreOperaBtn textCenter" style="opacity:${hasData('FUNC000017')?'1':'0.5'}">评分</td>`
|
|
|
for(let j = 0; j < pageSet.length; j++){
|
|
|
if(pageSet[j].status == 1){
|
|
|
- str += `<td><span data-index=${i} class="${pageSet[j].val=='name'?'patientNameSpan':''}">${item[pageSet[j].val] || "-"}<span></td>`
|
|
|
+ str += `<td class="${isTextCenter(pageSet[j].val) ? 'textCenter':''}"><span data-index=${i} class="${pageSet[j].val=='name'?'patientNameSpan':'' } ">${item[pageSet[j].val] || "-"}<span></td>`
|
|
|
}
|
|
|
}
|
|
|
// <td >${item.behospitalCode || "-"}</td>
|
|
@@ -259,6 +259,11 @@ function renderTab(data,hisId){
|
|
|
bindScoreDetail(hisId)
|
|
|
}
|
|
|
|
|
|
+function isTextCenter(name){
|
|
|
+ const textCenterList = ['level', 'scoreRes', 'sex','age', 'behospitalDate', 'leaveHospitalDate', 'placefileDate', 'gradeTime']
|
|
|
+ return textCenterList.findIndex(item=> item==name) > -1
|
|
|
+}
|
|
|
+
|
|
|
function scoreDetail(id,age,hid,code,name){
|
|
|
window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`)
|
|
|
}
|