| 邮箱: |
diff --git a/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/Organize/Index.cshtml b/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/Organize/Index.cshtml
index e7a1c4a1..334bcb2a 100644
--- a/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/Organize/Index.cshtml
+++ b/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/Organize/Index.cshtml
@@ -2,6 +2,8 @@
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Index.cshtml";
+
+ var opr = Newtouch.Common.Operator.OperatorProvider.GetCurrent();
}
@@ -67,6 +72,8 @@
}
},
{ label: '电话', name: 'TelePhone', width: 100, align: 'left' },
+ { label: '医保区划名称', name: 'ybxzqhName', width: 100, align: 'left' },
+ { label: '医保区划代码', name: 'ybxzqhCode', width: 100, align: 'left' },
{ label: '微信', name: 'WeChat', width: 100, align: 'left' },
{ label: '传真', name: 'Fax', width: 100, align: 'left' },
{ label: '邮箱', name: 'Email', width: 100, align: 'left' },
@@ -126,4 +133,26 @@
});
}
+ function btn_YBGetInfo() {
+ var ybresp = { hisId: "0", operatorId: "@opr.rygh", operatorName: "@opr.UserName", orgId: "@opr.OrganizeId" };
+ $.ajax({
+ type: "POST",
+ url: "http://127.0.0.1:33333/api/YiBao/GetfixmedinsInfo1201",
+ data: ybresp,
+ dataType: "json",
+ async: false,
+ success: function (data) {
+ var upDataReturn = eval('(' + data + ')');
+ if (upDataReturn.infcode == "0") {
+ $.modalAlert("医院登记:" + upDataReturn.output.medinsinfo[0].hosp_lv + "; \n\r 统一社会信用代码:" + upDataReturn.output.medinsinfo[0].uscc, 'success');
+ }
+ else {
+ $.modalAlert("获取机构信息失败:" + upDataReturn.err_msg, 'error');
+ return;
+ }
+
+ }
+ });
+ }
+
\ No newline at end of file
diff --git a/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/ReportManagement/Form.cshtml b/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/ReportManagement/Form.cshtml
index cef46a02..d5b2c8e1 100644
--- a/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/ReportManagement/Form.cshtml
+++ b/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/ReportManagement/Form.cshtml
@@ -55,6 +55,7 @@
var ReportId = $.request("ReportId");
var Type= $.request("Type");
$(function () {
+ debugger;
initControl();
if (Type == "update") {
$.najax({
@@ -66,8 +67,8 @@
$("#ReportCode").val(data.ReportCode);
$("#Name").val(data.ReportName);
$("#SystemCode").val(data.SystemCode);
- $("#HospitalCode").val(data.HospitalCode);
- //$("#HospitalCode").find("option:selected").val(data.HospitalCode);
+ //$("#HospitalCode").val(data.HospitalCode);
+ $("#HospitalCode").val(data.HospitalCode).trigger('change');
$("#ReportName").val(data.mc);
$("#ReportName").prop("disabled", true);
$("#ReportCode").prop("disabled", true);
@@ -96,6 +97,7 @@
});
}
function submitForm() {
+ debugger;
var postData = $("#form1").formSerialize();
if ($("#HospitalCode").val()=="") {
$.modalAlert("请选择医院", 'warning');
diff --git a/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysDiagnosis/Form.cshtml b/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysDiagnosis/Form.cshtml
index a901aab0..1c00c2d8 100644
--- a/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysDiagnosis/Form.cshtml
+++ b/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysDiagnosis/Form.cshtml
@@ -11,9 +11,9 @@
|