| 中西药: | ++ + | +有效状态: | ++ + | ++ | 药品分类: | ++ + + | +
+
+
+
+
+
+
+
+
+ |
+
|
+
+
+
+
+
+
+ |
+
| 有效状态: | ++ + | ++ |
+
+
+
+
+
+
+
+ |
+
|
+
+
+
+
+
+
+ |
+
|
+
+
+
+
+
+
+ |
+
| 有效状态: | ++ + | +
| *组织机构: | +组织机构: | - | @@ -148,8 +148,10 @@ if (!$('#form1').formValid()) { return false; } - debugger + debugger var postData = $("#form1").formSerialize(); + if (!postData.OrganizeId) + postData.OrganizeId = "*"; $.submitForm({ url: "/SysDiagnosis/SubmitForm?keyValue=" + keyValue, param: postData, diff --git a/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysDiagnosis/Index.cshtml b/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysDiagnosis/Index.cshtml index 3c21d6e6..08c36a50 100644 --- a/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysDiagnosis/Index.cshtml +++ b/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysDiagnosis/Index.cshtml @@ -46,18 +46,18 @@ height: $(window).height() - 128, colModel: [ { label: "主键", name: "zdId", hidden: true }, - { label: '国临版诊断名称', name: 'zdmc', width: 100, align: 'left' }, + { label: '国临版诊断名称', name: 'zdmc', width: 150, align: 'left' }, { label: "国临版诊断编码", name: "zdCode", width: 100, align: 'left' }, { label: "诊断类型", name: "zdlx", width: 100, align: 'left' }, - { label: 'ICD10', name: 'icd10', width: 80, align: 'left', hidden: true }, - { label: '医保版编码', name: 'zdCode_yb', width: 80, align: 'left'}, - { label: 'ICD10附加码', name: 'icd10fjm', width: 80, align: 'left', hidden: true }, - { label: '医保版诊断', name: 'zdmc_yb', width: 80, align: 'left'}, - { label: '国家码', name: 'gjybdm', width: 80, align: 'left' }, - { label: '首拼', name: 'py', width: 60, align: 'left' }, - { label: '五笔', name: 'wb', width: 60, align: 'left' }, + { label: 'ICD10', name: 'icd10', width: 100, align: 'left' }, + { label: 'ICD10附加码', name: 'icd10fjm', width: 100, align: 'left' }, + { label: '医保版诊断', name: 'zdmc_yb', width: 150, align: 'left' }, + { label: '医保版编码', name: 'zdCode_yb', width: 80, align: 'left' }, + //{ label: '国家码', name: 'gjybdm', width: 80, align: 'left' }, + { label: '首拼', name: 'py', width: 80, align: 'left' }, + { label: '五笔', name: 'wb', width: 60, align: 'left', hidden: true }, { - label: "允许编辑", name: "AllowEdit", width: 60, align: "left", + label: "允许编辑", name: "AllowEdit", width: 60, align: "left",hidden: true , formatter: function (cellvalue, a, rowData) { return !(!!!rowData.OrganizeId || rowData.OrganizeId === '*') ? "" : ""; } @@ -67,7 +67,7 @@ { label: '创建时间', name: 'CreateTime', width: 80, align: 'left', formatter: "date", formatoptions: { srcformat: 'Y-m-d', newformat: 'Y-m-d' } }, { label: '最后修改', name: 'LastModifierCode', width: 60, align: 'left' }, { label: '最后修改时间', name: 'LastModifyTime', width: 80, align: 'left', formatter: "date", formatoptions: { srcformat: 'Y-m-d', newformat: 'Y-m-d' } }, - { label: '排序', name: 'px', width: 40, align: 'left' } + { label: '排序', name: 'px', width: 40, align: 'left', hidden: true } ], pager: "#gridPager", sortname: 'CreateTime desc', @@ -109,10 +109,10 @@ $.modalAlert("请选中一条信息", 'warning'); return; } - var AllowEdit = $("#gridList").jqGridRowValue().AllowEdit; - if (AllowEdit.indexOf('fa-toggle-off') >= 0) { - return; - } + //var AllowEdit = $("#gridList").jqGridRowValue().AllowEdit; + //if (AllowEdit.indexOf('fa-toggle-off') >= 0) { + // return; + //} var keyValue = $("#gridList").jqGridRowValue().zdId; $.modalOpen({ id: "Form", diff --git a/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysMedicalOrderFrequency/Form.cshtml b/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysMedicalOrderFrequency/Form.cshtml index a61bd9ea..54eeb37b 100644 --- a/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysMedicalOrderFrequency/Form.cshtml +++ b/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysMedicalOrderFrequency/Form.cshtml @@ -53,13 +53,22 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| *执行周期时间单位: |
-
+ @**@
+ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 周标志: |
-
+ @**@
+ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| *组织机构: | -+ |
|
+ + *大类: + | +
+ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| @@ -67,12 +75,10 @@ | - *大类: + *编码: |
- |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - *编码: + *药品规格: | - + | *药厂名称: @@ -106,12 +112,7 @@ | -- *药品规格: - | -- - | +*剂型: | @@ -119,6 +120,12 @@ +抗生素: | ++ + + + | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| *剂量单位: | @@ -144,49 +151,51 @@ -抗生素: | +默认用法: | - - - + + | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| *医保标志: |
-
+ @* *@
*@
+ @* |
国家医保代码: | -+ | - | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 国家医保名称: | + | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 省医保代码: | + | 医保规格: | ++ + | - 默认用法: + 库存预警值: | - - + | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - | 医保规格: | -- - | + +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
@@ -1120,6 +1127,7 @@
function InitYfbmByNewDrug() {
$.najax({
url: "/SysMedicine/GetAllYfbm",
+ data: { organizeId: $.request('orgId') },
dataType: "json",
success: function (data) {
if (!!data.data) {
@@ -1140,9 +1148,10 @@
//刷新授权药房
function RefreshEmpowermentPharmacyDepartment() {
if (!keyValue) return false;
+ var organizeId = $("#OrganizeId").val();
$.najax({
url: "/SysMedicine/GetEmpowermentPharmacyDepartment",
- data: { ypId: keyValue },
+ data: { ypId: keyValue, organizeId: $.request('orgId') },
dataType: "json",
async: false,
success: function (data) {
diff --git a/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysMedicineElectronicPrescription/Index.cshtml b/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysMedicineElectronicPrescription/Index.cshtml
new file mode 100644
index 00000000..8b1f5086
--- /dev/null
+++ b/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Views/SysMedicineElectronicPrescription/Index.cshtml
@@ -0,0 +1,138 @@
+@using Newtouch.Common.Operator;
+@{
+ ViewBag.Title = "电子处方药品管理";
+ Layout = "~/Views/Shared/_Index.cshtml";
+
+ var opr = Newtouch.Common.Operator.OperatorProvider.GetCurrent();
+}
+
+
+
+
diff --git a/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Web.9_190.config b/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Web.9_190.config
new file mode 100644
index 00000000..6324a42e
--- /dev/null
+++ b/Newtouch.HIS.Base/Newtouch.HIS.Base.HOSP/Web.9_190.config
@@ -0,0 +1,36 @@
+
+
+
+
+
-
diff --git a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/DoctorManage/Controllers/DoctorsAdviceController.cs b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/DoctorManage/Controllers/DoctorsAdviceController.cs
index 64320842..58ba9eb3 100644
--- a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/DoctorManage/Controllers/DoctorsAdviceController.cs
+++ b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/DoctorManage/Controllers/DoctorsAdviceController.cs
@@ -43,28 +43,38 @@ public override ActionResult Index()
return View("ZyyzQuery");
}
ViewBag.ysgh = UserIdentity.rygh;//医生工号
- ViewBag.pcStr = _sysConfigRepo.GetValueByCode("FrequencyStr", OrganizeId)== "" ? "": _sysConfigRepo.GetValueByCode("FrequencyStr", OrganizeId);//临时频次
- ViewBag.bhbq = _sysConfigRepo.GetBoolValueByCode("DoctorServiceTemplate", OrganizeId,true);//住院医嘱套餐是否包含病区
- ViewBag.zzlconfig = _sysConfigRepo.GetValueByCode("zllconfig", OrganizeId)=="" ? "每次治疗量": _sysConfigRepo.GetValueByCode("zllconfig", OrganizeId);//住院项目录入治疗量文本配置
+ ViewBag.pcStr = _sysConfigRepo.GetValueByCode("FrequencyStr", OrganizeId) == "" ? "" : _sysConfigRepo.GetValueByCode("FrequencyStr", OrganizeId);//临时频次
+ ViewBag.bhbq = _sysConfigRepo.GetBoolValueByCode("DoctorServiceTemplate", OrganizeId, true);//住院医嘱套餐是否包含病区
+ ViewBag.zzlconfig = _sysConfigRepo.GetValueByCode("zllconfig", OrganizeId) == "" ? "每次治疗量" : _sysConfigRepo.GetValueByCode("zllconfig", OrganizeId);//住院项目录入治疗量文本配置
ViewBag.bwhide = _sysConfigRepo.GetBoolValueByCode("bwhide", OrganizeId, false);//住院项目录入部位显示隐藏配置
- ViewBag.IsOpenJyJcSwitch = _sysConfigRepo.GetBoolValueByCode("OpenZYJyJcSwitch", this.OrganizeId,false);//是否开放检验检查
- ViewBag.IsOpenRehabSwitch = _sysConfigRepo.GetBoolValueByCode("OpenZYRehabSwitch", this.OrganizeId, false);//是否开放康复医嘱
- ViewBag.sfxmService = _sysConfigRepo.GetValueByCode("sfxmService", this.OrganizeId)=="" ? "cg" : _sysConfigRepo.GetValueByCode("sfxmService", this.OrganizeId);//是否开常规项目
- ViewBag.ISOpenSsyz= _sysConfigRepo.GetBoolValueByCode("ISOpenSsyzSwitch", this.OrganizeId, false);//是否开放膳食医嘱
- ViewBag.ISWithRehabSuggestion = _sysConfigRepo.GetBoolValueByCode("IS_WithRehabSuggestion", this.OrganizeId, false);//康复处方是否引用治疗建议
- //临时频次
- var frequencyStr = _sysConfigRepo.GetValueByCode("FrequencyStr", OrganizeId) ?? "";
+ ViewBag.IsOpenJyJcSwitch = _sysConfigRepo.GetBoolValueByCode("OpenZYJyJcSwitch", this.OrganizeId, false);//是否开放检验检查
+ ViewBag.IsOpenRehabSwitch = _sysConfigRepo.GetBoolValueByCode("OpenZYRehabSwitch", this.OrganizeId, false);//是否开放康复医嘱
+
+ ViewBag.ISOpenWzhc = _sysConfigRepo.GetBoolValueByCode("openWzhccf", this.OrganizeId);//开关:是否开放医用耗材
+ ViewBag.sfxmService = _sysConfigRepo.GetValueByCode("sfxmService", this.OrganizeId) == "" ? "cg" : _sysConfigRepo.GetValueByCode("sfxmService", this.OrganizeId);//是否开常规项目
+ ViewBag.ISOpenSsyz = _sysConfigRepo.GetBoolValueByCode("ISOpenSsyzSwitch", this.OrganizeId, false);//是否开放膳食医嘱
+ ViewBag.ISWithRehabSuggestion = _sysConfigRepo.GetBoolValueByCode("IS_WithRehabSuggestion", this.OrganizeId, false);//康复处方是否引用治疗建议
+
+ var frequencyStr = _sysConfigRepo.GetValueByCode("FrequencyStr", OrganizeId) ?? "";//临时频次串 分割的频次编码字符串例如:00,01
ViewBag.isqfswith = _sysConfigRepo.GetValueByCode("accountqfexecute_switch", OrganizeId);//欠费医嘱开立、执行开关
ViewBag.isopenPriorReview = _sysConfigRepo.GetValueByCode("OpenPriorReview", OrganizeId);//是否开启事前审核接口
+ ViewBag.openYjzxSwitch = _sysConfigRepo.GetValueByCode("openYjzxSwitch", OrganizeId); //开关:医技管理是否启用
if (!string.IsNullOrWhiteSpace(frequencyStr))
{
var FequencyList = frequencyStr.Split(',');
var pcInfo = _iDoctorserviceDmnService.getpcInfoByCode(FequencyList[0], OrganizeId);
- ViewBag.pccode = pcInfo.yzpcCode;
- ViewBag.zxcs = pcInfo.zxcs;
- ViewBag.zxzq = pcInfo.zxzq;
- ViewBag.zxzqdw = pcInfo.zxzqdw;
- ViewBag.pcmc = pcInfo.yzpcmc;
+ if (pcInfo != null)
+ {
+ ViewBag.pccode = pcInfo.yzpcCode;
+ ViewBag.zxcs = pcInfo.zxcs;
+ ViewBag.zxzq = pcInfo.zxzq;
+ ViewBag.zxzqdw = pcInfo.zxzqdw;
+ ViewBag.pcmc = pcInfo.yzpcmc;
+ }
+ else {
+ throw new Exception($"未找到有效的医嘱频次信息 (医嘱频次编号: {FequencyList[0]}),请稍后重试或联系管理员。");
+ }
+
}
#region 抗生素相关
ViewBag.IsQyKssKz = _sysConfigRepo.GetBoolValueByCode("openKssQxSwitch", OrganizeId);//是否启用抗生素
@@ -91,6 +101,7 @@ public override ActionResult Index()
#endregion 抗生素相关
//影像配置
ViewBag.PACSCode = _sysConfigRepo.GetValueByCode("PACSCode", OrganizeId);
+ ViewBag.isOpenRationalUse = _sysConfigRepo.GetValueByCode("OpenRationalUse", OrganizeId);//是否开启合理用药
#region 滴速
var frds = _sysConfigRepo.GetValueByCode("frequencyRelDroppingSpeed", OrganizeId);
@@ -99,7 +110,7 @@ public override ActionResult Index()
#endregion
//是否开启中草药医嘱
- ViewBag.ISOpenzcyyzSwitch = _sysConfigRepo.GetBoolValueByCode("ISOpenzcyyzSwitch", OrganizeId,false);
+ ViewBag.ISOpenzcyyzSwitch = _sysConfigRepo.GetBoolValueByCode("ISOpenzcyyzSwitch", OrganizeId, false);
return View();
}
@@ -107,6 +118,7 @@ public override ActionResult Index()
public ActionResult AdviceList()
{
ViewBag.isopenPriorReview = _sysConfigRepo.GetValueByCode("OpenPriorReview", OrganizeId);//是否开启事前审核接口
+ ViewBag.isOpenRationalUse = _sysConfigRepo.GetValueByCode("OpenRationalUse", OrganizeId);//是否开启合理用药
return View();
}
@@ -114,25 +126,28 @@ public ActionResult AdviceListLook()
{
return View();
}
-
public ActionResult ZyyzQueryAdviceList()
{
return View();
}
- public ActionResult AdviceStop() {
+ public ActionResult AdviceStop()
+ {
return View();
}
- public ActionResult AdviceLeaveHospitalStop() {
+ public ActionResult AdviceLeaveHospitalStop()
+ {
return View();
}
- public ActionResult ContinuePrint() {
+ public ActionResult ContinuePrint()
+ {
return View();
}
- public ActionResult TemplatePresForm() {
+ public ActionResult TemplatePresForm()
+ {
return View();
}
public ActionResult HistoricalOrders()
@@ -143,7 +158,8 @@ public ActionResult PatientHistoricalOrders()
{
return View();
}
- public ActionResult TransferWardStop() {
+ public ActionResult TransferWardStop()
+ {
return View();
}
#endregion
@@ -152,9 +168,9 @@ public ActionResult TransferWardStop() {
public ActionResult saveAsTemplate(InpatientOrderPackageEntity mbObj, List 新致医疗分公司:武汉 上海 杭州 常州 成都 重庆 贵阳 -上海新致软件股份有限公司©2016-2017 新致医疗版权所有 +
+ 本系统软件源代码来源于天天开源的许可
+
+
+
+
+
\ No newline at end of file
diff --git a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/DoctorManage/Views/DoctorsAdvice/AdviceList.cshtml b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/DoctorManage/Views/DoctorsAdvice/AdviceList.cshtml
index 67cdc48c..9d762bb9 100644
--- a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/DoctorManage/Views/DoctorsAdvice/AdviceList.cshtml
+++ b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/DoctorManage/Views/DoctorsAdvice/AdviceList.cshtml
@@ -1,23 +1,22 @@
@using Newtouch.Infrastructure;
@{
+ //医嘱查询
ViewBag.Title = "AdviceList";
Layout = null;
- var pacsHost = SiteUrl.GetUrl("OuterPacsServiceHost", "");
//长期医嘱打印单是否显示签名
var isShowSign = SysConfigReader.String("IS_ShowSigner");
- //是否开启lis pacs报告订阅
- var IsreportOpen = SysConfigReader.String("IsreportOpen");
//获取打印处方配置
var zycfdPrinturl = SysConfigReader.OrgReportLink("zycfdPrint"); //处方单
var isopenPriorReview = (ViewBag.isopenPriorReview);
+ var isOpenRationalUse = (ViewBag.isOpenRationalUse); //是否开启合理用药审核接口
var reportUrl = Newtouch.Core.Common.Utils.ConfigurationHelper.GetAppConfigValue("ReportUrl");
- var reportSystemCode = Newtouch.Core.Common.Utils.ConfigurationHelper.GetAppConfigValue("ReportSystemCode");
+ var ReportSystemCode = Newtouch.Core.Common.Utils.ConfigurationHelper.GetAppConfigValue("ReportSystemCode");
var curOpr = Newtouch.Common.Operator.OperatorProvider.GetCurrent();
}
院内报告
+
-
-
-
-
-
-
-
-
+
+
+
+
-
-
+ 院内报告
- 作废临时 |
+
+
+ |
+ 停止长期 |
+
+
+ |
+ 未执行长期/临时 |
+
-
+@* 合理用药模块 *@
+
-
+ *@
+ @Html.Partial("_BottomButtonsYzPrintView", new Newtouch.HIS.Web.Core.Models.BottomButtonViewModel()
+ {
+
+ ShowKeyList = new int[] { 2, 3, 9, 6, 7 ,8},
+ //F5Text = "测试病案审核",
+ F7Text = "转区全停",
+ F6Text = "出院全停",
+ F2Text = "打印长期",
+ F3Text = "打印临时",
+ F9Text = "三测单",
+ F8Text="打印精麻"
+ ,
+ F10Text = "测试病案审核"
+ })
+
+
+
+
@@ -117,8 +121,9 @@
var yjjzhmsg = "";
$(".dv-body").height($(window).height());
$(".dv-body").width($(window).width());
- var rightWidth = $(".Newtouch_iframe", parent.document).width() - $(".dv-left").width() - 25;
+ var rightWidth = $(".Newtouch_iframe", parent.document).width() - $(".dv-left").width() - 90;
$(".dv-right").width(rightWidth);
+ $(".dv-left").width(260);
$(".dv-left-tree").height($(window).height() - 70);
$(function () {
@@ -144,7 +149,7 @@
});
function getBqTreeList(zyhtimes) {
-
+ debugger
$("#BqTreeList").treeview({
height: $(".dv-body").height() - 40,
slimscroll: false,
@@ -152,7 +157,7 @@
url: "/NurseManage/OrderExecution/GetPatWardTree",
param: { aa: zyhtimes, zxsj: $('#txt_zxrq').val() },
oncheckboxclick: function (item, s) {
-
+ debugger
getOrderExecutionList(item, s);
}
});
@@ -237,7 +242,7 @@
// {
// $.modalAlert("住院号:" + this.zyh + "预交账户余额已达到限额,请提醒患者充值", 'warning');
// WarmList.push(this.zyh);
- // }
+ // }
// else if (this.zhsy<=0)//&& this.zhye>0
// {
// yjjzhmsg = "住院号:" + this.zyh + "预交账户已欠费,不能产生计费,需先充值预交账户";
@@ -322,8 +327,18 @@
{ label: '住院号', name: 'zyh', align: 'center', width: 50, hidden: true },
{ label: '患者姓名', name: 'hzxm', align: 'center', width: 60 },
{ label: '医嘱组号', name: 'zh', align: 'center', width: 50, formatter: function (val) { if (val != null) return val; else return ""; } },
- { label: 'zh1', name: 'zh1', align: 'center', width: 70, hidden:true, formatter: function (val) { if (val != null) return val; else return ""; } },
- { label: '医嘱项目', name: 'xmmc', align: 'left', width: 150 },
+ { label: 'zh1', name: 'zh1', align: 'center', width: 70, hidden: true, formatter: function (val) { if (val != null) return val; else return ""; } },
+ {
+ label: '附属医嘱', name: 'isfsyz', align: 'center', width: 60, formatter: function (val, option, row) {
+ if (row.isfsyz != null && row.isfsyz != "") {
+ return " ";
+ }
+ else {
+ return "";
+ }
+ }
+ },
+ {label: '医嘱项目', name: 'xmmc', align: 'left', width: 150},
{
label: '医嘱类型', name: 'yzlx', align: 'center', width: 60, formatter: function (val, option, row) {
return $.enum.getDescByValue("EnumYzlx", row.yzlx);
@@ -332,13 +347,21 @@
{ label: '剂量', name: 'yzjl', align: 'center', width: 40 },
{ label: '用法', name: 'yfmc', align: 'center', width: 30 },
{ label: '频次', name: 'yzpcmc', align: 'center', width: 30 },
+ { label: '单价', name: 'dj', align: 'center', width: 50 },
+ { label: '数量', name: 'sl', align: 'center', width: 50,hidden:true },
+ { label: '数量', name: 'slstr', align: 'center', width: 50 },
+ { label: '金额', name: 'je', align: 'center', width: 50 },
{ label: 'yzlx', name: 'yzlx', align: 'center', hidden: true },
+ { label: 'deptCode', name: 'deptCode', align: 'center', width: 50, hidden: true },
+ { label: 'xmdm', name: 'xmdm', align: 'center', width: 50, hidden: true },
+ { label: 'isfsyz', name: 'isfsyz', align: 'center', hidden: true },
+ { label: 'yzh', name: 'yzh', align: 'center', hidden: true },
{ label: 'isjf', name: 'isjf', align: 'center', hidden: true },
{ label: 'zh1', name: 'zh1', align: 'center', hidden: true },
{ label: 'yfztbs', name: 'yfztbs', align: 'center', hidden: true },
{ label: '医嘱性质', name: 'yzxzsm', align: 'center', width: 60 },
{ label: '收费项目单价', name: 'dj', align: 'center', width: 100, hidden: true },
- { label: '医嘱', name: 'yznr', align: 'left', width: 300 },
+ { label: '医嘱', name: 'yzmc', align: 'left', width: 300 },
{ label: '开始时间', name: 'kssj', align: 'center', width: 110, formatter: "date", formatoptions: { srcformat: 'Y-m-d H:i:s', newformat: 'Y-m-d H:i:s' } },
{ label: '最后执行时间', name: 'zxsj', align: 'center', width: 110, formatter: "date", formatoptions: { srcformat: 'Y-m-d H:i:s', newformat: 'Y-m-d H:i:s' } },
{ label: '停止/作废时间', name: 'tzsj', align: 'center', width: 110, formatter: "date", formatoptions: { srcformat: 'Y-m-d H:i:s', newformat: 'Y-m-d H:i:s' } },
@@ -359,7 +382,7 @@
],
pager: "#gridPager",
- sortname: 'kssj desc,zyh,yzlx,zh',
+ sortname: 'yzh desc,kssj,zyh,yzlx,zh,px',
viewrecords: true,
multiselect: true,
onSelectRow: function (rowIndex, s) {
@@ -488,7 +511,7 @@
allbtn();
return;
}
- var strYZID = [];
+ var strYZID = [];var hccfmxlist = new Array();
var selRowIds = jQuery("#gridList").jqGrid("getGridParam", "selarrrow");//选中的id
if (selRowIds == null || selRowIds.length === 0) {
$.modalAlert("请先选中需执行的医嘱", 'warning');
@@ -500,12 +523,13 @@
strYZID.push({
zyh: rowData.zyh, yzid: rowData.yzid, yzxz: rowData.yzxz, yzlx: rowData.yzlx, dj: rowData.dj,
zxsj: rowData.zxsj, ypmc: rowData.xmmc, zh: rowData.zh, zh1: rowData.zh1, isjf: rowData.isjf,
- yfztbs: rowData.yfztbs, yply: rowData.yply
+ yfztbs: rowData.yfztbs, yply: rowData.yply, deptCode: rowData.deptCode, xmdm: rowData.xmdm,sl:rowData.sl
});
+ if(rowData=='@((int)EnumYzlx.yyhc)')
+ hccfmxlist.push(rowData.yzh);
}
$.loading(true, "医嘱执行中,请稍后...");
var Vzxsj = ctorzxsj();
-
$.ajax({
type: "POST",
url: "/NurseManage/OrderExecution/submitOrderExecutionList",
@@ -515,23 +539,21 @@
success: function (ajaxresp) {
var rtnobj = JSON.parse(ajaxresp.data);
if (ajaxresp.state === "success") {
- $.ajax({
- type: "POST",
- url: "/NurseManage/OrderExecution/pushApplicationform",
- data: { orderList: strYZID },
- dataType: "json",
- async: false,
- success: function (repjson) {
-
- }
- });
+ //$.ajax({
+ // type: "POST",
+ // url: "/NurseManage/OrderExecution/pushApplicationform",
+ // data: { orderList: strYZID },
+ // dataType: "json",
+ // async: false,
+ // success: function (repjson) {
+ // }
+ //});
if (rtnobj.cnt > 0) {
-
$.modalConfirm("执行成功,是否打印?",
function (flag) {
if (flag) {
console.log($("#txt_zxrq").val());
- var uri = '@reportUrl' + "?tempCode=98" + "&systemCode=" + '@reportSystemCode' + "&yzh=" + "" + "&orgId=" + '@curOpr.OrganizeId' + "&lyxh=" + rtnobj.lyxh + "&zxrq=" + ctorzxsj();
+ var uri = '@reportUrl' + "?tempCode=98" + "&systemCode=" + '@Html.Raw(ReportSystemCode)' + "&yzh=" + "" + "&orgId=" + '@curOpr.OrganizeId' + "&lyxh=" + rtnobj.lyxh + "&zxrq=" + ctorzxsj();
window.open(uri);
//window.open("/ReportManage/Report/PrintYzYpReport?yzh=" + rtnobj.yzh + "&lyxh=" + rtnobj.lyxh + "&zxrq=" + rtnobj.zxrq, "height=500, width=1195,top=100, left=50, toolbar =no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no");
}
@@ -541,7 +563,7 @@
RefreshOrder();
}
else {
- $.modalAlert(ajaxresp.message, 'warning');
+ $.modalAlert(ajaxresp.message, 'warning');
RefreshOrder();
}
//getOrderExecutionList(null, null);
@@ -634,4 +656,228 @@
function ShowInvalidLoginMessage() {
RefreshOrder()
}
+
+
+
+ //绑定费用
+ function BindingFee() {
+ //allbtndisabled();
+ var selPatTrees = $("#BqTreeList").getCheckedNodeObjArray();
+ if (selPatTrees == null || selPatTrees.length < 1) {
+ let res = confirm('附属医嘱未勾选病人 是否继续?');
+ if (res == true) {
+ $.modalOpen({
+ id: "BindingFeeForm",
+ title: "附属医嘱",
+ url: "/NurseManage/OrderExecution/BindingFeeForm?zyh=&yzid=",
+ width: "1000px",
+ height: "700px",
+ btn: ['', '关闭'],
+ btnclass: ['', 'btn btn-danger'],
+ callBack: function (iframeId) {
+ RefreshOrder();
+ //var Obj = top.frames[iframeId].submitForm();
+ $.modalClose("BindingFeeForm");
+ },
+ cancelCallBack: function (iframeId) {
+ reloadgrid();
+ $.modalClose("BindingFeeForm");
+ }
+ });
+ return;
+ } else {
+ return;
+ }
+ }
+ var zyharr = [];
+ for (var i = 0; i < selPatTrees.length; i++) {
+ if (selPatTrees[i].Ex1 === "c") {
+ zyharr.push({ zyh: selPatTrees[i].value});
+ }
+ }
+ if (zyharr.length==0) {
+ $.modalAlert("请先选中需执行的患者", 'warning');
+ return;
+ }
+ if (zyharr.length>1) {
+ $.modalAlert("绑定费用只能选中一个病人", 'warning');
+ return;
+ }
+ var strYZID = [];
+ var selRowIds = jQuery("#gridList").jqGrid("getGridParam", "selarrrow");//选中的id
+ if (selRowIds == null || selRowIds.length === 0) {
+ let res = confirm('附属医嘱未勾选药品/项目 是否继续?');
+ if (res == true) {//未选择医嘱或者药品新增医嘱
+ $.modalOpen({
+ id: "BindingFeeForm",
+ title: "附属医嘱",
+ url: "/NurseManage/OrderExecution/BindingFeeForm?zyh=" + zyharr[0].zyh + "&yzid=" +"",
+ width: "1000px",
+ height: "700px",
+ btn: ['', '关闭'],
+ btnclass: ['', 'btn btn-danger'],
+ callBack: function (iframeId) {
+ reloadgrid();
+ //var Obj = top.frames[iframeId].submitForm();
+ $.modalClose("BindingFeeForm");
+ },
+ cancelCallBack: function (iframeId) {
+ reloadgrid();
+ $.modalClose("BindingFeeForm");
+ }
+ });
+ } else {
+ return;
+ }
+ } else {
+ for (var i = 0; i < selRowIds.length; i++) {
+ var rowData = $("#gridList").jqGrid('getRowData', selRowIds[i]);
+ strYZID.push({
+ zyh: rowData.zyh, yzid: rowData.yzid, yzxz: rowData.yzxz, yzlx: rowData.yzlx, dj: rowData.dj,
+ zxsj: rowData.zxsj, ypmc: rowData.xmmc, zh: rowData.zh, zh1: rowData.zh1, isjf: rowData.isjf,
+ yfztbs: rowData.yfztbs, yply: rowData.yply, brxm: rowData.hzxm, yzh: rowData.yzh, sl: rowData.sl
+ });
+ }
+ if (strYZID.length > 1) {
+ for (var i = 0; i < strYZID.length; i++) {
+ if (strYZID[i].zh == null || strYZID[i].zh == "") {
+ $.modalAlert("多条医嘱无法绑定", 'warning');
+ return;
+ }
+ for (var j = 0; j < strYZID.length; j++) {
+ if (strYZID[i].zh != strYZID[j].zh) {
+ $.modalAlert("多条医嘱无法绑定", 'warning');
+ return;
+ }
+ }
+ }
+ }
+ $.modalOpen({
+ id: "BindingFeeForm",
+ title: "附属医嘱",
+ url: "/NurseManage/OrderExecution/BindingFeeForm?zyh=" + zyharr[0].zyh + "&yzid=" + strYZID[0].yzid,
+ width: "1000px",
+ height: "700px",
+ btn: ['', '关闭'],
+ btnclass: ['', 'btn btn-danger'],
+ callBack: function (iframeId) {
+ //var Obj = top.frames[iframeId].submitForm();
+ reloadgrid();
+ $.modalClose("BindingFeeForm");
+
+ },
+ cancelCallBack: function (iframeId) {
+ reloadgrid();
+ $.modalClose("BindingFeeForm");
+ }
+ });
+ }
+
+ }
+ function reloadgrid() {
+ var selPatTrees = $("#BqTreeList").getCheckedNodeObjArray();
+ if (selPatTrees == null || selPatTrees.length < 1) {
+ $.modalAlert("请先选中需执行的患者", 'warning');
+ return;
+ }
+ var patzyh = "";
+ for (var i = 0; i < selPatTrees.length; i++) {
+ if (selPatTrees[i].Ex1 === "c") {
+ patzyh += selPatTrees[i].value + ",";
+ //预交金超出限额无法执行
+ //if (UnExecutionList.indexOf(selPatTrees[i].value) != -1) {
+ // $.modalAlert("预交账户已欠费,不能产生计费,需先充值预交账户", 'warning');
+ // return;
+ //}
+ }
+ }
+ if (patzyh === "") {
+ $.modalAlert("请先选中需执行的患者", 'warning');
+ allbtn();
+ return;
+ }
+ $('#gridList').jqGrid('setGridParam', {
+ postData: {
+ patList: patzyh, zxsj: $('#txt_zxrq').val() + " " + $('#txt_yzxsj').val()
+ }
+ }).trigger("reloadGrid");
+ }
+ //删除并解绑医嘱
+ function DeleteBind() {
+ //allbtndisabled();
+ var selPatTrees = $("#BqTreeList").getCheckedNodeObjArray();
+ if (selPatTrees == null || selPatTrees.length < 1) {
+ $.modalAlert("请先选中需绑定费用的患者", 'warning');
+ return;
+ }
+ var zyharr = [];
+ for (var i = 0; i < selPatTrees.length; i++) {
+ if (selPatTrees[i].Ex1 === "c") {
+ zyharr.push({ zyh: selPatTrees[i].value });
+ }
+ }
+ if (zyharr.length == 0) {
+ $.modalAlert("请先选中患者", 'warning');
+ return;
+ }
+ if (zyharr.length > 1) {
+ $.modalAlert("作废附属医嘱只能选中一个病人", 'warning');
+ return;
+ }
+ var strYZID = [];
+ var selRowIds = jQuery("#gridList").jqGrid("getGridParam", "selarrrow");//选中的id
+ if (selRowIds == null || selRowIds.length === 0) {
+ $.modalAlert("请选中需要作废或停止的医嘱", 'warning');
+ return;
+ }
+ for (var i = 0; i < selRowIds.length; i++) {
+ var rowData = $("#gridList").jqGrid('getRowData', selRowIds[i]);
+ if (rowData.isfsyz != null && rowData.isfsyz!="") {
+ strYZID.push({
+ zyh: rowData.zyh, yzid: rowData.yzid, yzxz: rowData.yzxz, yzlx: rowData.yzlx, dj: rowData.dj,
+ zxsj: rowData.zxsj, ypmc: rowData.xmmc, zh: rowData.zh, zh1: rowData.zh1, isjf: rowData.isjf,
+ yfztbs: rowData.yfztbs, yply: rowData.yply, brxm: rowData.hzxm, yzh: rowData.yzh, isfsyz: rowData.isfsyz
+ });
+ }
+ }
+ if (strYZID.length > 1) {
+ for (var i = 0; i < strYZID.length; i++) {
+ if (strYZID[i].zh == null || strYZID[i].zh == "") {
+ $.modalAlert("多条医嘱无法作废/停止", 'warning');
+ return;
+ }
+ for (var j = 0; j < strYZID.length; j++) {
+ if (strYZID[i].zh != strYZID[j].zh) {
+ $.modalAlert("多条医嘱无法作废/停止", 'warning');
+ return;
+ }
+ }
+ }
+ }
+ if (strYZID[0].isfsyz != null && strYZID[0].isfsyz != "") {
+ $.ajax({
+ url: "/NurseManage/OrderExecution/DeleteBind",
+ data: { zyh: zyharr[0].zyh, yzid: strYZID[0].yzid, yzxz: strYZID[0].yzxz },
+ dataType: "json",
+ type: "POST",
+ async: false,
+ success: function (data) {
+ if (data != null && data.message != "") {
+ $.modalAlert("作废/停止失败!" + data.message, 'warning');
+ return;
+ }
+ else {
+ $.modalAlert("作废/停止成功!", 'success');
+ reloadgrid();
+ return;
+ }
+ }
+ });
+
+ }
+ else {
+ $.modalAlert("请选择附属医嘱进行作废!", 'warning');
+ return;
+ }
+ }
\ No newline at end of file
diff --git a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/OrderExecution/MedicalSkillExecution.cshtml b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/OrderExecution/MedicalSkillExecution.cshtml
index e1238e35..a7b26d74 100644
--- a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/OrderExecution/MedicalSkillExecution.cshtml
+++ b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/OrderExecution/MedicalSkillExecution.cshtml
@@ -1,29 +1,29 @@
-
+@using Newtouch.Infrastructure
@{
- ViewBag.Title = "MedicalSkillExecution";
+ ViewBag.Title = "医技管理-医技科室执行";
Layout = "~/Views/Shared/_Index.cshtml";
}
+ .form .formTitle {
+ position: relative;
+ left: 0px;
+ text-align: right;
+ white-space: nowrap;
+ font-weight: normal;
+ width: 60px;
+ padding-right: 10px;
+ padding-left: 5px;
+ }
+
+
+
+ 损益信息
+
+
+
+
物资信息
+
+
+
+
+@Html.Partial("_BottomButtonsView", new Newtouch.HIS.Web.Core.Models.BottomButtonViewModel
+{
+ ShowKeyList = new int[] { 7, 8 },
+ F7Text = "重置",
+ F8Text = "保存"
+})
+损溢总额: 元
+
diff --git a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/ProfitAndLoss/QueryProfitAndLoss.cshtml b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/ProfitAndLoss/QueryProfitAndLoss.cshtml
new file mode 100644
index 00000000..29b8a8b5
--- /dev/null
+++ b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/ProfitAndLoss/QueryProfitAndLoss.cshtml
@@ -0,0 +1,196 @@
+@model dynamic
+@using Newtouch.Infrastructure;
+@{
+ ViewBag.Title = "损益查询";
+ Layout = "~/Views/Shared/_Index.cshtml";
+ var reportUrl = Newtouch.Core.Common.Utils.ConfigurationHelper.GetAppConfigValue("ReportUrl");
+ var reportSystemCode = Newtouch.Core.Common.Utils.ConfigurationHelper.GetAppConfigValue("ReportSystemCode");
+
+}
+
+
+
+
+ 筛选信息
+
+
+
+
+
+
+
diff --git a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/ProfitAndLoss/Syyy.cshtml b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/ProfitAndLoss/Syyy.cshtml
new file mode 100644
index 00000000..24e7d7b3
--- /dev/null
+++ b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/ProfitAndLoss/Syyy.cshtml
@@ -0,0 +1,165 @@
+@using Newtouch.Common.Operator
+@model dynamic
+
+@{
+ ViewBag.Title = "损益原因";
+ Layout = "~/Views/Shared/_Index.cshtml";
+}
+
+
+
+
+
+
+
+
+
diff --git a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/ProfitAndLoss/SyyyForm.cshtml b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/ProfitAndLoss/SyyyForm.cshtml
new file mode 100644
index 00000000..374cc036
--- /dev/null
+++ b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/ProfitAndLoss/SyyyForm.cshtml
@@ -0,0 +1,81 @@
+@using Newtouch.Infrastructure
+@{
+ ViewBag.Title = "新增/修改";
+ Layout = "~/Views/Shared/_Form.cshtml";
+}
+
+
+
+
+
+
+
+
+
+
+ 结转
+
+
+
+
+
+ @Html.Partial("_BottomButtonsView", new Newtouch.HIS.Web.Core.Models.BottomButtonViewModel
+{
+ ShowKeyList = new[] { 8 },
+ F8Text = "结转当前"
+})
+
+
+
\ No newline at end of file
diff --git a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/StockInventory/InventoryAction.cshtml b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/StockInventory/InventoryAction.cshtml
new file mode 100644
index 00000000..e3d0bb8d
--- /dev/null
+++ b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Areas/NurseManage/Views/StockInventory/InventoryAction.cshtml
@@ -0,0 +1,566 @@
+
+@using Newtouch.Infrastructure
+@model dynamic
+
+@{
+ ViewBag.Title = "开始盘点";
+ Layout = "~/Views/Shared/_Index.cshtml";
+}
+
+
+
+开始盘点
+ 查询
+
+
+ 查询条件
+
+
+
+ 盘点明细 | 按批次:
+
+
+
+
+
+
+ (实)部门数:实际部门单位数;(实)最小数:实际最小单位数!请将部门数与最小数组合使用
+ @Html.Partial("_BottomButtonsView", new Newtouch.HIS.Web.Core.Models.BottomButtonViewModel
+ {
+ ShowKeyList = new[] { 8, 3, 7 },
+ F8Text = "保存",
+ F3Text = "结束",
+ F7Text = "取消"
+ })
+
+
+
+
+ 自动结转:
+
+
+ 查询条件
+
+
+
+ 库存盘点信息 | 按批次:
+
+
+
+
+
+
+
-
+
',title:"",trigger:"hover focus"},an={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ln extends W{constructor(t,e){if(void 0===Ve)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return rn}static get DefaultType(){return an}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),P.off(this._element.closest(tn),en,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=P.trigger(this._element,this.constructor.eventName("show")),e=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),P.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(Zi),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.on(t,"mouseover",h);this._queueCallback((()=>{P.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!P.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Zi),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.off(t,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),P.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Ji,Zi),e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",i),this._isAnimated()&&e.classList.add(Ji),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Ui({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Ji)}_isShown(){return this.tip&&this.tip.classList.contains(Zi)}_createPopper(t){const e=g(this._config.placement,[this,t,this._element]),i=on[e.toUpperCase()];return qe(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return g(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...g(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)P.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===nn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===nn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");P.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?sn:nn]=!0,e._enter()})),P.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?sn:nn]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},P.on(this._element.closest(tn),en,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=H.getDataAttributes(this._element);for(const t of Object.keys(e))Gi.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:r(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,i]of Object.entries(this._config))this.constructor.Default[e]!==i&&(t[e]=i);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=ln.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}m(ln);const cn={...ln.Default,content:"",offset:[0,8],placement:"right",template:' ',trigger:"click"},hn={...ln.DefaultType,content:"(null|string|element|function)"};class dn extends ln{static get Default(){return cn}static get DefaultType(){return hn}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=dn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}m(dn);const un="click.bs.scrollspy",fn="active",pn="[href]",mn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},gn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class _n extends W{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return mn}static get DefaultType(){return gn}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=r(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(P.off(this._config.target,un),P.on(this._config.target,un,pn,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window,n=e.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&t){if(i(o),!n)return}else s||t||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=z.find(pn,this._config.target);for(const e of t){if(!e.hash||l(e))continue;const t=z.findOne(decodeURI(e.hash),this._element);a(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(fn),this._activateParents(t),P.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))z.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(fn);else for(const e of z.parents(t,".nav, .list-group"))for(const t of z.prev(e,".nav-link, .nav-item > .nav-link, .list-group-item"))t.classList.add(fn)}_clearActiveClass(t){t.classList.remove(fn);const e=z.find("[href].active",t);for(const t of e)t.classList.remove(fn)}static jQueryInterface(t){return this.each((function(){const e=_n.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(window,"load.bs.scrollspy.data-api",(()=>{for(const t of z.find('[data-bs-spy="scroll"]'))_n.getOrCreateInstance(t)})),m(_n);const bn="ArrowLeft",vn="ArrowRight",yn="ArrowUp",wn="ArrowDown",An="active",En="fade",Tn="show",Cn='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',On=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${Cn}`;class xn extends W{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),P.on(this._element,"keydown.bs.tab",(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),i=e?P.trigger(e,"hide.bs.tab",{relatedTarget:t}):null;P.trigger(t,"show.bs.tab",{relatedTarget:e}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(An),this._activate(z.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),P.trigger(t,"shown.bs.tab",{relatedTarget:e})):t.classList.add(Tn)}),t,t.classList.contains(En)))}_deactivate(t,e){t&&(t.classList.remove(An),t.blur(),this._deactivate(z.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),P.trigger(t,"hidden.bs.tab",{relatedTarget:e})):t.classList.remove(Tn)}),t,t.classList.contains(En)))}_keydown(t){if(![bn,vn,yn,wn].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=[vn,wn].includes(t.key),i=b(this._getChildren().filter((t=>!l(t))),t.target,e,!0);i&&(i.focus({preventScroll:!0}),xn.getOrCreateInstance(i).show())}_getChildren(){return z.find(On,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",e),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=z.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains("dropdown"))return;const n=(t,n)=>{const s=z.findOne(t,i);s&&s.classList.toggle(n,e)};n(".dropdown-toggle",An),n(".dropdown-menu",Tn),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(An)}_getInnerElement(t){return t.matches(On)?t:z.findOne(On,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=xn.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(document,"click.bs.tab",Cn,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this)||xn.getOrCreateInstance(this).show()})),P.on(window,"load.bs.tab",(()=>{for(const t of z.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))xn.getOrCreateInstance(t)})),m(xn);const kn="hide",Ln="show",Sn="showing",Dn={animation:"boolean",autohide:"boolean",delay:"number"},In={animation:!0,autohide:!0,delay:5e3};class Nn extends W{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return In}static get DefaultType(){return Dn}static get NAME(){return"toast"}show(){P.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(kn),d(this._element),this._element.classList.add(Ln,Sn),this._queueCallback((()=>{this._element.classList.remove(Sn),P.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(P.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(Sn),this._queueCallback((()=>{this._element.classList.add(kn),this._element.classList.remove(Sn,Ln),P.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ln),super.dispose()}isShown(){return this._element.classList.contains(Ln)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){P.on(this._element,"mouseover.bs.toast",(t=>this._onInteraction(t,!0))),P.on(this._element,"mouseout.bs.toast",(t=>this._onInteraction(t,!1))),P.on(this._element,"focusin.bs.toast",(t=>this._onInteraction(t,!0))),P.on(this._element,"focusout.bs.toast",(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Nn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}return R(Nn),m(Nn),{Alert:q,Button:K,Carousel:rt,Collapse:ft,Dropdown:ci,Modal:Ni,Offcanvas:zi,Popover:dn,ScrollSpy:_n,Tab:xn,Toast:Nn,Tooltip:ln}}));
+//# sourceMappingURL=bootstrap.bundle.min.js.map
\ No newline at end of file
diff --git a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Content/js/floatingselector.js b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Content/js/floatingselector.js
index ecc61290..c86ee4a8 100644
--- a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Content/js/floatingselector.js
+++ b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Content/js/floatingselector.js
@@ -510,7 +510,6 @@ $.fn.multiquencyNewtouchFloatingSelector = function (options, data) {
//单击其他 隐藏浮层
$(document).click(function (e) {
- debugger;
e = e || window.event;
$target = $(e.target);
var elem = e.target || e.srcElement;
diff --git a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Content/js/page.common.js b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Content/js/page.common.js
index 16b178fa..7496fa13 100644
--- a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Content/js/page.common.js
+++ b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Content/js/page.common.js
@@ -46,8 +46,8 @@ $.fn.yfFloatingSelector = function (options) {
$.fn.sfxmFloatingSelector = function (options) {
//默认options
var defaults = {
- width: 900,
- height: 200,
+ width: 1550,
+ height: 380,
clickautotrigger: true,
url: '/SystemManage/BaseData/SelectSfxmYp',
ajaxparameters: null, //请指定
@@ -58,10 +58,10 @@ $.fn.sfxmFloatingSelector = function (options) {
ypkccbjc: true, //药品库存初步检查 是否被控制 是否库存0
colModel: [
- { label: '代码', name: 'sfxmCode', widthratio: 7 },
- { label: '名称', name: 'sfxmmc', widthratio: 10 },
+ { label: '代码', name: 'sfxmCode', widthratio: 6 },
+ { label: '名称', name: 'sfxmmc', widthratio: 6 },
{
- label: '规格', name: 'gg', widthratio: 10
+ label: '规格', name: 'gg', widthratio: 6
, hidden: true
},
{ label: '医嘱类型', name: 'yzlx', hidden: true },
@@ -69,12 +69,12 @@ $.fn.sfxmFloatingSelector = function (options) {
{ label: '收费大类', name: 'sfdlCode', hidden: true },
{
label: '收费大类', name: 'sfdlmc'
- , widthratio: 10
+ , widthratio: 6
, hidden: true
},
- { label: '单位', name: 'dw', widthratio: 4 },
+ { label: '单位', name: 'dw', widthratio: 3 },
{
- label: '单价', name: 'dj', widthratio: 10, formatter: function (cellvalue) {
+ label: '单价', name: 'dj', widthratio: 6, formatter: function (cellvalue) {
return (!!cellvalue || cellvalue == 0) ? (parseFloat(cellvalue).toFixed(options.djDecimalPlaces ? options.djDecimalPlaces : 2)) : '';
}
},
@@ -93,11 +93,11 @@ $.fn.sfxmFloatingSelector = function (options) {
//},
{ label: '报销政策', name: 'zfxz', hidden: true },
{
- label: '报销政策', name: 'zfxzmc', widthratio: 8, formatter: function (cellvalue, a, b) {
+ label: '报销政策', name: 'zfxzmc', widthratio: 5, formatter: function (cellvalue, a, b) {
return $.enum.getDescByValue("EnumZiFuXingZhi", b.zfxz);
}
},
- { label: '自负比例', name: 'zfbl', hidden: true },
+ { label: '自负比例', name: 'zfbl', widthratio: 3,hidden: true },
{ label: '特殊药品标志', name: 'tsypbz', hidden: true },
{
label: '特殊药品标志', name: 'tsypbzmc', hidden: true, formatter: function (cellvalue, a, b) {
@@ -132,33 +132,33 @@ $.fn.sfxmFloatingSelector = function (options) {
return $.enum.getDescByValue("EnumKss", b.kssqxjb);
} },
{
- label: '超限价金额', name: 'cxjje', formatter: function (cellvalue, a, b) {
+ label: '医保限价', name: 'cxjje', formatter: function (cellvalue, a, b) {
if (b.cxjje == null) {
return "0.00"
}
else return b.cxjje
- }, widthratio: 7, hidden: true
+ }, widthratio: 4, hidden: true
},
{
label: '药房', name: 'yfbmmc', formatter: function (cellvalue, a, b) {
return b.yzlx === '1' && !!cellvalue ? cellvalue : '';
- }, widthratio: 7, hidden: false
+ }, widthratio: 4, hidden: true
},
{
label: '库存', name: 'kcsl', formatter: function (cellvalue, a, b) {
return b.yzlx === '1'&&!!cellvalue ? cellvalue : '';
- }, widthratio: 6, hidden: true
+ }, widthratio: 4, hidden: true
},
{
label: '库存', name: 'clkcsl', formatter: function (cellvalue, a, b) {
//给的kcsl是最小单位的,这里要显示门诊/住院单位的数量
return b.yzlx === '1' ? (!!b.kcsl && !!b.cls ? (parseInt(b.kcsl / b.cls)) : '无') : '';
- }, widthratio: 6, hidden: true
+ }, widthratio: 4, hidden: true
},
{
label: '抗生素', name: 'isKss', formatter: function (cellvalue, a, b) {
return cellvalue == '1' ? '是' : '否';
- }, widthratio: 7, hidden: true
+ }, widthratio: 3, hidden: true
},
{
label: '单次剂量', name: 'jlfw', formatter: function (cellvalue, a, b) {
@@ -179,20 +179,26 @@ $.fn.sfxmFloatingSelector = function (options) {
{
label: '控制', name: 'kzbz', formatter: function (cellvalue, a, b) {
return cellvalue == '1' ? '控制' : '';
- }, widthratio: 6, hidden: true
+ }, widthratio: 3, hidden: true
},
- { label: '备注', name: 'bz', hidden: true ,widthratio: 15}
+ {
+ label: '生产厂家', name: 'sccj'/*, hidden: true*/, formatter: function (cellvalue, a, b) {
+ return cellvalue == undefined ? '' : cellvalue;
+ }, widthratio: 8
+ },
+ { label: '国家医保代码', name: 'gjybdm', widthratio: 8 },
+ { label: '备注', name: 'bz' }
]
};
var options = $.extend(defaults, options);
if (!!!options.searchType) {
- debugger
options.searchType = "yp,sfxm"; //默认
}
if (options.searchType && !!!options.showColModel) {
- var colsfxmmc = null;
+ var colsfxmmc = null;
+ var colsfxmCode = null;
var colgg = null;
var colsfdlmc = null;
var coldwjls = null;
@@ -206,6 +212,8 @@ $.fn.sfxmFloatingSelector = function (options) {
var colbz = null;
var colcxjje = null;
var coltsypbz = null;
+ var colsccj = null;
+ var colgjybdm = null;
$.each(options.colModel, function () {
if (this.name === 'bz') {
colbz = this;
@@ -216,6 +224,15 @@ $.fn.sfxmFloatingSelector = function (options) {
if (this.name === 'sfxmmc') {
colsfxmmc = this;
}
+ if (this.name === 'zfxzmc') {
+ colzfxzmc = this;
+ }
+ if (this.name === 'dw') {
+ coldw = this;
+ }
+ if (this.name === 'sfxmCode') {
+ colsfxmCode=this;
+ }
else if (this.name === 'gg') {
colgg = this;
}
@@ -246,6 +263,12 @@ $.fn.sfxmFloatingSelector = function (options) {
else if (this.name == 'cxjje') {
colcxjje = this;
}
+ else if (this.name === 'sccj') {
+ colsccj = this;
+ }
+ else if (this.name === 'gjybdm') {
+ colgjybdm = this;
+ }
if (this.name === 'tsypbzmc') {
coltsypbz = this;
}
@@ -253,7 +276,7 @@ $.fn.sfxmFloatingSelector = function (options) {
if (!!colsfxmmc && !!colgg && !!colsfdlmc && !!coldwjls && !!colyfbmmc && !!colclkcsl && !!colkzbz) {
//已被占用50宽
switch (options.searchType) {
- case "yp": console.log('12');
+ case "yp":
colsfxmmc.widthratio = 10;
colgg.hidden = undefined;
colgg.widthratio = 8;
@@ -261,16 +284,20 @@ $.fn.sfxmFloatingSelector = function (options) {
colsfdlmc.widthratio = 10;
colisKss.hidden = undefined;
colisKss.widthratio = 6;
- //colzfbl.hidden = undefined;
- //colzfbl.widthratio = 10;
+ colzfbl.hidden = undefined;
+ colzfbl.widthratio = 10;
colbz.hidden = undefined;
- colbz.widthratio = 10;
+ colbz.widthratio = 5;
+ colsccj.hidden = undefined;
+ colsccj.widthratio = 10;
+ colgjybdm.hidden = undefined;
+ colgjybdm.widthratio = 5;
//coljlfw.hidden = undefined;
//coljlfw.widthratio = 10;
//colpcfw.hidden = undefined;
//colpcfw.widthratio = 10;
break;
- case "sfxm": console.log('1');
+ case "sfxm":
colgg.hidden = undefined;
colgg.widthratio = 10;
colsfxmmc.widthratio = 20;
@@ -278,54 +305,63 @@ $.fn.sfxmFloatingSelector = function (options) {
colsfdlmc.widthratio = 12;
colcxjje.hidden = undefined;
colcxjje.widthratio = 10;
- colclkcsl.hidden = undefined;
- colclkcsl.widthratio = 5;
+ //colclkcsl.hidden = undefined;
+ //colclkcsl.widthratio = 10;
break;
case "yp,sfxm":
- case "sfxm,yp": console.log('128');
- colsfxmmc.widthratio = 14;
+ case "sfxm,yp":
+ colsfxmCode.widthratio = 9;
+ colsfxmmc.widthratio = 20;
+ coldw.widthratio = 8;
+ colgjybdm.hidden = true;
+ colzfxzmc.widthratio = 8;
colgg.hidden = undefined;
colgg.widthratio = 12;
- colisKss.hidden = undefined;
- colisKss.widthratio = 6;
- //colzfbl.hidden = undefined;
- //colzfbl.widthratio = 10;
+ //colisKss.hidden = undefined;
+ //colisKss.widthratio = 6;
+ colzfbl.hidden = undefined;
+ colzfbl.widthratio = 10;
colbz.hidden = undefined;
- colbz.widthratio = 10;
+ colbz.widthratio = 19;
//coljlfw.hidden = undefined;
//coljlfw.widthratio = 10;
//colpcfw.hidden = undefined;
//colpcfw.widthratio = 10;
break;
- case "yp.kc":
+ case "yp.kc":
+ case "yyhc":
case "yp.kc,sfxm":
case "sfxm,yp.kc": //cxjje
- //coltsypbz.hidden = undefined;
- //coltsypbz.widthratio = 9;
- colsfxmmc.widthratio = 20;
+ coltsypbz.hidden = undefined;
+ coltsypbz.widthratio = 8;
+ colsfxmmc.widthratio = 15;
colgg.hidden = undefined;
- colgg.widthratio = 10;
- //colyfbmmc.hidden = undefined;
- //colyfbmmc.widthratio = 5;
+ colgg.widthratio = 8;
+ colyfbmmc.hidden = undefined;
+ colyfbmmc.widthratio = 5;
colclkcsl.hidden = undefined;
- colclkcsl.widthratio = 5;
- //colkzbz.hidden = undefined;
- //colkzbz.widthratio = 5;
+ colclkcsl.widthratio = 4;
+ colkzbz.hidden = undefined;
+ colkzbz.widthratio = 4;
colisKss.hidden = undefined;
- colisKss.widthratio = 6;
- //colzfbl.hidden = undefined;
- //colzfbl.widthratio = 9;
+ colisKss.widthratio = 4;
+ colzfbl.hidden = undefined;
+ colzfbl.widthratio = 5;
colbz.hidden = undefined;
- colbz.widthratio = 10;
+ colbz.widthratio = 5;
colbz.cx = undefined;
+ colbz.widthratio = 5;
colcxjje.hidden = undefined;
- colcxjje.widthratio = 10;
+ colcxjje.widthratio = 6;
+ colsccj.widthratio = 8;
+ colgjybdm.hidden = undefined;
+ colgjybdm.widthratio = 8;
//coljlfw.hidden = undefined;
//coljlfw.widthratio = 10;
//colpcfw.hidden = undefined;
//colpcfw.widthratio = 10;
break;
- case "sfxm.dwjls": console.log('121');
+ case "sfxm.dwjls":
colgg.hidden = undefined;
colgg.widthratio = 10;
colsfxmmc.widthratio = 25;
@@ -335,7 +371,7 @@ $.fn.sfxmFloatingSelector = function (options) {
colcxjje.widthratio = 10;
break;
case "yp,sfxm.dwjls":
- case "sfxm.dwjls,yp": console.log('1233');
+ case "sfxm.dwjls,yp":
colsfxmmc.widthratio = 12;
colgg.hidden = undefined;
colgg.widthratio = 10;
@@ -343,10 +379,10 @@ $.fn.sfxmFloatingSelector = function (options) {
coldwjls.widthratio = 8;
colisKss.hidden = undefined;
colisKss.widthratio = 7;
- //colzfbl.hidden = undefined;
- //colzfbl.widthratio = 10;
+ colzfbl.hidden = undefined;
+ colzfbl.widthratio = 10;
colbz.hidden = undefined;
- colbz.widthratio = 10;
+ colbz.widthratio = 5;
//coljlfw.hidden = undefined;
//coljlfw.widthratio = 10;
//colpcfw.hidden = undefined;
@@ -355,24 +391,24 @@ $.fn.sfxmFloatingSelector = function (options) {
case "yp.kc,sfxm.dwjls":
case "sfxm.dwjls,yp.kc":
colyfbmmc.hidden = undefined;
- //coltsypbz.widthratio = 9;
- colsfxmmc.widthratio = 20;
+ coltsypbz.widthratio = 9;
+ colsfxmmc.widthratio = 12;
colgg.hidden = undefined;
colgg.widthratio = 8;
colyfbmmc.hidden = undefined;
colyfbmmc.widthratio = 7;
colclkcsl.hidden = undefined;
colclkcsl.widthratio = 5;
- //colkzbz.hidden = undefined;
- //colkzbz.widthratio = 5;
+ colkzbz.hidden = undefined;
+ colkzbz.widthratio = 5;
coldwjls.hidden = undefined;
coldwjls.widthratio = 6;
colisKss.hidden = undefined;
colisKss.widthratio = 6;
- //colzfbl.hidden = undefined;
- //colzfbl.widthratio = 10;
+ colzfbl.hidden = undefined;
+ colzfbl.widthratio = 10;
colbz.hidden = undefined;
- colbz.widthratio = 10;
+ colbz.widthratio = 5;
//coljlfw.hidden = undefined;
//coljlfw.widthratio = 10;
//colpcfw.hidden = undefined;
@@ -450,7 +486,47 @@ $.fn.ksFloatingSelector = function (options) {
$(this).newtouchFloatingSelector(options);
}
+//处方模板浮层
+$.fn.cfzutaoFloatingSelector12 = function (options) {
+ //默认options
+ var defaults = {
+ width: 350,
+ height: 280,
+ focusautotrigger: true,
+ caption: "选择组套",
+ url: '/PresTemplate/GetCfmbList',
+ ajaxparameters: function ($thisinput) {
+ return "mblx="+ options.mblx + "&cflx="+options.cflx+"&expandCflx=null&mbKeyword=" + $.trim($thisinput.val());
+ },
+ itemdbclickhandler: null,
+ colModel: [
+ { label: 'cfmbId', name: 'mbId', hidden: true },
+ { label: '模板名称', name: 'mbmc', widthratio: 30 },
+ {
+ label: '处方类型',
+ name: 'cflx',
+ widthratio: 20,
+ formatter: function(value, options, row) {
+ // 将数字值转换为汉字
+ const prescriptionTypes = {
+ 1: "西药处方",
+ 2: "中药处方",
+ 3: "检验处方",
+ 4: "检查处方",
+ 5: "康复处方",
+ 6: "常规项目处方",
+ };
+ return prescriptionTypes[value] || "未知类型"; // 默认值为 "未知类型"
+ }
+ },
+ { label: '描述', name: 'Description', widthratio: 30, hidden: true},
+ { label: '注意事项', name: 'Remark', widthratio: 30 ,hidden: true}
+ ]
+ };
+ var options = $.extend(defaults, options);
+ $(this).newtouchFloatingSelector(options);
+}
//组套 浮层选择器
$.fn.zutaoFloatingSelector = function (options) {
@@ -482,7 +558,6 @@ $.fn.zutaoFloatingSelector = function (options) {
//系统部位 浮层选择器
$.fn.bwFloatingSelector = function (options, data) {
- debugger;
//默认options
var defaults = {
width: 300,
@@ -588,7 +663,7 @@ $.fn.zdFloatingSelector = function (options) {
},
itemdbclickhandler: null,
colModel: [
- { label: '代码', name: 'zdCode', hidden: true },
+ { label: '代码', name: 'zdCode', hidden: true},
{ label: '名称', name: 'zdmc', widthratio: 60 },
{ label: '拼音', name: 'py', widthratio: 20 },
{ label: 'icd10', name: 'icd10', widthratio: 20 },
diff --git a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Controllers/ClientsDataController.cs b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Controllers/ClientsDataController.cs
index c18d8889..a9bae6a4 100644
--- a/Newtouch.HIS.CIS/Newtouch.CIS.Web/Controllers/ClientsDataController.cs
+++ b/Newtouch.HIS.CIS/Newtouch.CIS.Web/Controllers/ClientsDataController.cs
@@ -26,6 +26,9 @@ public class ClientsDataController : FrameworkBase.MultiOrg.Web.Controllers.Clie
/// 国籍
///
private readonly ISysNationalityRepo _sysNationalityRepo;
+
+ private readonly ISysDepartmentRepo _sysDepartmentRepo;
+
/// | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||