|
|
@@ -1568,7 +1568,7 @@ function loadCardList() {
|
|
|
html += mzyReqrecVo.mzPatientMi.responseType + '</div></div><div class="patient-card-main-right"><div></div> <div class="el-row"><label>';
|
|
|
html += text;
|
|
|
html += '</div><div class="el-row" title="' + mzyReqrecVo.mzPatientMi.phoneNo + '">' + sex + ' / ' + mzyReqrecVo.mzPatientMi.age + '岁 / ' + mzyReqrecVo.mzPatientMi.phoneNo + '</div><div class="el-row" title="' + mzyReqrecVo.mzyReqrec.ampm + '">' + mzyReqrecVo.mzyReqrec.ampm + ' / ' + mzyReqrecVo.mzyReqrec.chargeType + '</div><div class="el-row" title="' + mzyReqrecVo.mzyReqrec.chargeType + '">' + mzyReqrecVo.mzyReqrec.unitCode + ' / ' + mzyReqrecVo.mzyReqrec.doctorCode + '</div><div class="el-row">' + format(mzyReqrecVo.mzyReqrec.requestDay, "yyyy-MM-dd HH:mm:ss") + '</div></div></div>';
|
|
|
- if (mzyReqrecVo.mzyReqrec.cancelMark == 1 || mzyReqrecVo.mzyReqrec.visitedMark == 1) {
|
|
|
+ if (mzyReqrecVo.mzyReqrec.cancelMark == 1 ) {
|
|
|
html += '<div class="patient-card-foot">' +
|
|
|
' <div class="col-md-3 col-sm-3 col-xs-12">' +
|
|
|
' <button type="button" class="can-not-used"' +
|
|
|
@@ -1595,6 +1595,33 @@ function loadCardList() {
|
|
|
' </button>' +
|
|
|
' </div>' +
|
|
|
' </div>';
|
|
|
+ } if (mzyReqrecVo.mzyReqrec.visitedMark == 1) {
|
|
|
+ html += '<div class="patient-card-foot">' +
|
|
|
+ ' <div class="col-md-3 col-sm-3 col-xs-12">' +
|
|
|
+ ' <button type="button" class="can-not-used"' +
|
|
|
+ ' title="修改挂号">' +
|
|
|
+ ' <i class="fa fa-edit"></i>' +
|
|
|
+ ' </button>' +
|
|
|
+ ' </div>' +
|
|
|
+ ' <div class="col-md-3 col-sm-3 col-xs-12">' +
|
|
|
+ ' <button type="button" class="registration-no-color-foot-button"' +
|
|
|
+ ' title="修改患者" onclick="editUserModal(\'' + mzyReqrecVo.mzyReqrec.patientId + '\')">' +
|
|
|
+ ' <i class="fa fa-user"></i>' +
|
|
|
+ ' </button>' +
|
|
|
+ ' </div>' +
|
|
|
+ ' <div class="col-md-3 col-sm-3 col-xs-12">' +
|
|
|
+ ' <button type="button" class="can-not-used"' +
|
|
|
+ ' title="退号">' +
|
|
|
+ ' <i class="fa fa-minus-square-o"></i>' +
|
|
|
+ ' </button>' +
|
|
|
+ ' </div>' +
|
|
|
+ ' <div class="col-md-3 col-sm-3 col-xs-12">' +
|
|
|
+ ' <button type="button" class="registration-no-color-foot-button"' +
|
|
|
+ ' title="打印">' +
|
|
|
+ ' <i class="fa fa-print"></i>' +
|
|
|
+ ' </button>' +
|
|
|
+ ' </div>' +
|
|
|
+ ' </div>';
|
|
|
} else {
|
|
|
html += '<div class="patient-card-foot">' +
|
|
|
' <div class="col-md-3 col-sm-3 col-xs-12">' +
|
|
|
@@ -1771,8 +1798,10 @@ function loadTableList() {
|
|
|
valign: 'middle',
|
|
|
// sortable: true,
|
|
|
formatter: function (value, row, index) {
|
|
|
- if (row.mzyReqrec.cancelMark == 1 || row.mzyReqrec.visitedMark == 1) {
|
|
|
+ if (row.mzyReqrec.cancelMark == 1) {
|
|
|
return '<button type="button" class="can-not-used" title="修改挂号"><i class="fa fa-edit"></i></button><button type="button" class="registration-no-color-foot-button"title="修改患者" onclick="editUserModal(\'' + row.mzyReqrec.patientId + '\')"><i class="fa fa-user"></i></button><button type="button" class="can-not-used" title="退号"><i class="fa fa-minus-square-o"></i></button><button type="button" class="can-not-used" title="打印" ><i class="fa fa-print"></i></button>';
|
|
|
+ } if (row.mzyReqrec.visitedMark == 1) {
|
|
|
+ return '<button type="button" class="can-not-used" title="修改挂号"><i class="fa fa-edit"></i></button><button type="button" class="registration-no-color-foot-button"title="修改患者" onclick="editUserModal(\'' + row.mzyReqrec.patientId + '\')"><i class="fa fa-user"></i></button><button type="button" class="can-not-used" title="退号"><i class="fa fa-minus-square-o"></i></button><button type="button" class="registration-no-color-foot-button" title="打印" ><i class="fa fa-print"></i></button>';
|
|
|
} else {
|
|
|
var html = '<button type="button" class="can-not-used" title="修改挂号"><i class="fa fa-edit"></i></button><button type="button" class="registration-no-color-foot-button"title="修改患者" onclick="editUserModal(\'' + row.mzyReqrec.patientId + '\')"><i class="fa fa-user"></i></button><button type="button" class="registration-no-color-foot-button" title="退号" onclick="backNoModal(\'' + row.mzyReqrec.patientId + '\',' + row.mzyReqrec.times + ')"><i class="fa fa-minus-square-o"></i></button>';
|
|
|
var printFlag = isEmpty(row.mzyReqrec.printerId);
|