|
@@ -3411,10 +3411,11 @@ function initListDeptSelect() {
|
|
|
* 小科室列表
|
|
|
*/
|
|
|
function initSmallDeptByDept() {
|
|
|
+ let code = escape($('#inpatientWardBeHospitalized').val()).replace(/\+/g, '%2B');
|
|
|
//小科室列表
|
|
|
$.ajax({
|
|
|
type: "GET",
|
|
|
- url: '/thmz/getSmallDeptByDept?code=' + $('#inpatientWardBeHospitalized').val(),
|
|
|
+ url: '/thmz/getSmallDeptByDept?code=' + code,
|
|
|
dataType: "json",
|
|
|
headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
|
|
|
success: function (res) {
|
|
@@ -3435,7 +3436,7 @@ function initSmallDeptByDept() {
|
|
|
//病床数
|
|
|
$.ajax({
|
|
|
type: "GET",
|
|
|
- url: '/thmz/getBedStatusNumByDept?code=' + $('#inpatientWardBeHospitalized').val(),
|
|
|
+ url: '/thmz/getBedStatusNumByDept?code=' + code,
|
|
|
dataType: "json",
|
|
|
headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
|
|
|
success: function (res) {
|