|
|
@@ -384,7 +384,7 @@ function editUnitCode(code) {
|
|
|
if ($('#parentCodePlus').find("option").length == 1) {
|
|
|
initParentCodePlus();
|
|
|
}
|
|
|
- $("div.bs-example-modal-lg").modal();
|
|
|
+ $("#unitCodeModal").modal();
|
|
|
$("#myModalLabel").text("编辑科室");
|
|
|
fillModel(code);
|
|
|
}
|
|
|
@@ -565,7 +565,7 @@ $(function () {
|
|
|
initParentCodePlus();
|
|
|
}
|
|
|
$("#myModalLabel").text("新增科室");
|
|
|
- $("div.bs-example-modal-lg").modal();
|
|
|
+ $("#unitCodeModal").modal();
|
|
|
});
|
|
|
|
|
|
$("#saveUnitCode").on("click", function (t) {
|
|
|
@@ -610,7 +610,7 @@ $(function () {
|
|
|
return;
|
|
|
}
|
|
|
if (data.code == 0) {
|
|
|
- $("div.bs-example-modal-lg").modal("hide");
|
|
|
+ $("#unitCodeModal").modal("hide");
|
|
|
$dataTableHot.bootstrapTable('refresh');
|
|
|
} else {
|
|
|
new PNotify({
|