|
@@ -1712,7 +1712,11 @@ function loadCanClinicTableList(id, queryParams) {
|
|
|
//TODO 继续接诊需要新方法
|
|
|
return '<a title="继续接诊" onclick="clinicalReception(\'' + row.patientId + '\',\'' + row.serialNo + '\',' + row.reqType + ')" style="cursor: pointer">续诊</a> <a title="取消接诊" onclick="cancelClinic(\'' + row.patientId + '\',\'' + row.times + '\')" style="cursor: pointer">消诊</a>';
|
|
|
} else if (row.statusFlag == 1 || row.statusFlag == 2 || row.statusFlag == 3) {
|
|
|
- return '<a title="通知" onclick="clinicCallNumber(\'' + row.serialNo + '\')" style="cursor: pointer">通知</a> <a title="接诊" onclick="clinicalReception(\'' + row.patientId + '\',\'' + row.serialNo + '\',' + row.reqType + ')" style="cursor: pointer">接诊</a>';
|
|
|
+ var userIdCode= localStorage.getItem("userIdCode");
|
|
|
+ if(userIdCode===row.doctorCode){
|
|
|
+ return '<a title="通知" onclick="clinicCallNumber(\'' + row.serialNo + '\')" style="cursor: pointer">通知</a> <a title="接诊" onclick="clinicalReception(\'' + row.patientId + '\',\'' + row.serialNo + '\',' + row.reqType + ')" style="cursor: pointer">接诊</a>';
|
|
|
+ }
|
|
|
+ return '<a title="接诊" onclick="clinicalReception(\'' + row.patientId + '\',\'' + row.serialNo + '\',' + row.reqType + ')" style="cursor: pointer">接诊</a>';
|
|
|
}
|
|
|
}
|
|
|
}
|