|
@@ -30,6 +30,9 @@ var ksjzType = null;
|
|
var hospitalName='沭阳铭和医院'
|
|
var hospitalName='沭阳铭和医院'
|
|
var wpyHide = 0;
|
|
var wpyHide = 0;
|
|
|
|
|
|
|
|
+//药房信息
|
|
|
|
+var groupNoList = []
|
|
|
|
+
|
|
var currentPatientId = '';
|
|
var currentPatientId = '';
|
|
//就诊病人信息
|
|
//就诊病人信息
|
|
var currentPatientInfo = {} ;
|
|
var currentPatientInfo = {} ;
|
|
@@ -1802,6 +1805,7 @@ function refreshClinic() {
|
|
function loadClinicTableList() {
|
|
function loadClinicTableList() {
|
|
//loadCommonClinicTableList("tb_table_clinic","/thmz/getClinicWithPage");
|
|
//loadCommonClinicTableList("tb_table_clinic","/thmz/getClinicWithPage");
|
|
loadCommonClinicTableList("tb_table_clinic", queryParamsClinic);
|
|
loadCommonClinicTableList("tb_table_clinic", queryParamsClinic);
|
|
|
|
+ initZyClassTypeSelect()
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -4558,6 +4562,7 @@ function initZyClassTypeSelect() {
|
|
getAjaxRequst("/thmz/selectYfAllByTime",{},true,function (res) {
|
|
getAjaxRequst("/thmz/selectYfAllByTime",{},true,function (res) {
|
|
let html = '';
|
|
let html = '';
|
|
$.each(res.data, function (commentIndex, comment) {
|
|
$.each(res.data, function (commentIndex, comment) {
|
|
|
|
+ groupNoList = res.data
|
|
if(comment.mzFlag ==='1' && (comment.zcyFlag==='1' || comment.klFlag==='1')){
|
|
if(comment.mzFlag ==='1' && (comment.zcyFlag==='1' || comment.klFlag==='1')){
|
|
html += '<option value="' + comment.groupNo + '">' + comment.groupName + '</option>';
|
|
html += '<option value="' + comment.groupNo + '">' + comment.groupName + '</option>';
|
|
}
|
|
}
|
|
@@ -8371,6 +8376,7 @@ function loadYpList(index, event) {
|
|
// }
|
|
// }
|
|
$('#' + MedicineName).webuiPopover('show');
|
|
$('#' + MedicineName).webuiPopover('show');
|
|
$('#' + tableMedicine).bootstrapTable('refresh');
|
|
$('#' + tableMedicine).bootstrapTable('refresh');
|
|
|
|
+
|
|
$('#' + tableMedicine).bootstrapTable({
|
|
$('#' + tableMedicine).bootstrapTable({
|
|
url: '/thmz/getYpListByCommonParams', //请求后台的URL(*)
|
|
url: '/thmz/getYpListByCommonParams', //请求后台的URL(*)
|
|
method: 'GET', //请求方式(*)
|
|
method: 'GET', //请求方式(*)
|
|
@@ -8383,7 +8389,12 @@ function loadYpList(index, event) {
|
|
queryParams: function (params) {
|
|
queryParams: function (params) {
|
|
var groupNo = null;
|
|
var groupNo = null;
|
|
if (index == 0) {
|
|
if (index == 0) {
|
|
- groupNo = 71;
|
|
|
|
|
|
+ groupNoListMz = groupNoList.filter((ere)=>{
|
|
|
|
+ return "1" == ere.mzFlag && "1" == ere.xyFlag
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+// console.log("groupNoListMz",groupNoListMz[0].groupNo)
|
|
|
|
+ groupNo = groupNoListMz[0].groupNo;
|
|
}
|
|
}
|
|
if (index == 1) {
|
|
if (index == 1) {
|
|
groupNo = $("#zyClassType").val();
|
|
groupNo = $("#zyClassType").val();
|