更新报表
This commit is contained in:
parent
216ab8a916
commit
3f2bfb154a
|
|
@ -13,8 +13,10 @@ namespace MasaBlazorApp3.DataAccess.Dao
|
|||
Task<PageData<ReportStockDateInfo>> GetStockExportData(string drugName);
|
||||
//专用账册导出数据
|
||||
Task<PageData<ReportAccountDateInfo>> GetAccountExportData(DateTime? startDate, DateTime? endDate, string drugName);
|
||||
//手术室患者麻醉药品使用登记本主表数据
|
||||
Task<List<ReportUsageParentDateInfo>> GetOrderInfoParentData(DateTime? startDate);
|
||||
//手术室患者麻醉药品使用登记本
|
||||
Task<PageData<ReportUsageDateInfo>> GetOrderInfoData(DateTime? startDate);
|
||||
Task<List<ReportUsageDateInfo>> GetOrderInfoData(DateTime? startDate);
|
||||
//请领登记表导出
|
||||
Task<PageData<ReportApplyInfo>> GetApplyInfoDate(DateTime searchDate);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -103,36 +103,45 @@ namespace MasaBlazorApp3.DataAccess.Impl
|
|||
Desserts = accountList
|
||||
};
|
||||
}
|
||||
//手术室患者麻醉药品使用登记本
|
||||
public async Task<PageData<ReportUsageDateInfo>> GetOrderInfoData(DateTime? searchDate)
|
||||
//手术室患者麻醉药品使用登记本(主表数据)
|
||||
public async Task<List<ReportUsageParentDateInfo>> GetOrderInfoParentData(DateTime? searchDate)
|
||||
{
|
||||
List<ReportUsageDateInfo> accountList = new List<ReportUsageDateInfo>();
|
||||
//List<ReportUsageParentDateInfo> accountList = new List<ReportUsageParentDateInfo>();
|
||||
int pagedData = 0;
|
||||
|
||||
string SQL = $@"SELECT oi.charge_Date as portdate, od.drug_id as DrugId,1 as ShouShuJian,'' as ZhuMa,'' as FuMa,oi.patient_id as IDNumber,oi.p_name as PName,oi.disease as Diagnose,
|
||||
CONCAT(di.drug_name,' ',di.drug_spec) as DrugName,od.set_manu_No as ManuNo,od.use_dosage as UsageDosage,'' as CanYeLiang,'' as CanYeChuZhi,'' as UseUserName,'' as CheckUserName
|
||||
string SQL = $@"SELECT od.drug_id drugId1, di.drug_Name drugName1,od.set_manu_No as manuNo1,sum(od.quantity) quantity1 ,oi.charge_Date as portDate
|
||||
from order_info oi inner join order_detail od on oi.order_no=od.order_no inner join drug_info di on od.drug_id=di.drug_id
|
||||
WHERE DATE_FORMAT(oi.charge_Date,'%Y-%m-%d')='{searchDate?.ToString("yyyy-MM-dd")}' and oi.dm_status=2 and oi.cancel_flag=0 and oi.his_disp_flag=0 and di.pack_h=1";
|
||||
WHERE DATE_FORMAT(oi.charge_Date,'%Y-%m-%d')='{searchDate?.ToString("yyyy-MM-dd")}' and oi.dm_status=2 and oi.cancel_flag=0 and oi.his_disp_flag=0 and di.pack_h=1 group by od.drug_id,od.set_manu_No";
|
||||
|
||||
|
||||
|
||||
|
||||
var reportList = _connection.FromSql<ReportUsageDateInfo>(SQL);
|
||||
if (reportList != null)
|
||||
{
|
||||
foreach (var report in reportList)
|
||||
{
|
||||
accountList.Add(report);
|
||||
}
|
||||
var reportList =await _connection.FromSql<ReportUsageParentDateInfo>(SQL).ToListAsync();
|
||||
//if (reportList != null)
|
||||
//{
|
||||
// foreach (var report in reportList)
|
||||
// {
|
||||
// accountList.Add(report);
|
||||
// }
|
||||
|
||||
pagedData = await reportList.CountAsync();
|
||||
}
|
||||
return new PageData<ReportUsageDateInfo>()
|
||||
{
|
||||
// pagedData = await reportList.CountAsync();
|
||||
//}
|
||||
return reportList;
|
||||
}
|
||||
|
||||
TotalDesserts = pagedData,
|
||||
Desserts = accountList
|
||||
};
|
||||
//手术室患者麻醉药品使用登记本(子数据)
|
||||
public async Task<List<ReportUsageDateInfo>> GetOrderInfoData(DateTime? searchDate)
|
||||
{
|
||||
string SQL = $@"SELECT oi.charge_Date as portdate, od.drug_id as DrugId,1 as ShouShuJian,oi.anaesthetist_code as doctor1,oi.anaesthetist_name as doctor2,oi.patient_id as patientId,oi.p_name as PName,oi.disease as Diagnose,
|
||||
CONCAT(di.drug_name,' ',di.drug_spec) as DrugName,od.set_manu_No as ManuNo,od.use_dosage as UsageDosage,'' as CanYeLiang,'' as CanYeChuZhi,'' as UseUserName,'' as CheckUserName,od.quantity as quantity
|
||||
from order_info oi inner join order_detail od on oi.order_no=od.order_no inner join drug_info di on od.drug_id=di.drug_id
|
||||
WHERE DATE_FORMAT(oi.charge_Date,'%Y-%m-%d')='{searchDate?.ToString("yyyy-MM-dd")}' and oi.dm_status=2 and oi.cancel_flag=0 and oi.his_disp_flag=0 and di.pack_h=1 order by oi.anaesthetist_code,oi.anaesthetist_name, od.drug_id";
|
||||
|
||||
|
||||
|
||||
|
||||
var reportList =await _connection.FromSql<ReportUsageDateInfo>(SQL).ToListAsync();
|
||||
return reportList;
|
||||
}
|
||||
|
||||
//麻醉科毒麻药品请领登记表
|
||||
|
|
@ -164,6 +173,6 @@ namespace MasaBlazorApp3.DataAccess.Impl
|
|||
TotalDesserts = pagedData,
|
||||
Desserts = accountList
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -81,6 +81,9 @@
|
|||
<None Update="ReportTemp\account_book_temp.grf">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="ReportTemp\use_book.grf">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="ReportTemp\machine_log_add.grf">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
|
|
|||
|
|
@ -500,8 +500,10 @@
|
|||
);
|
||||
return;
|
||||
}
|
||||
PageData<ReportUsageDateInfo> pageData = await reportDataDao.GetOrderInfoData(PortOrderDate);
|
||||
GridReportUtil.PrintReport("Usage_Temp.grf", pageData);
|
||||
List<ReportUsageDateInfo> pageData = await reportDataDao.GetOrderInfoData(PortOrderDate);
|
||||
Dictionary<string, object> parameters = new Dictionary<string, object>();
|
||||
parameters.Add("PortOrderDate", pageData);
|
||||
GridReportUtil.PrintReport("Usage_Temp.grf", parameters);
|
||||
}
|
||||
// protected override async Task OnInitializedAsync()
|
||||
// {
|
||||
|
|
|
|||
|
|
@ -554,8 +554,15 @@
|
|||
);
|
||||
return;
|
||||
}
|
||||
PageData<ReportUsageDateInfo> pageData = await reportDataDao.GetOrderInfoData(PortOrderDate);
|
||||
GridReportUtil.PrintReport("Usage_Temp.grf", pageData);
|
||||
// PageData<ReportUsageDateInfo> pageParentData = await reportDataDao.GetOrderInfoParentData(PortOrderDate);
|
||||
// PageData<ReportUsageDateInfo> pageData = await reportDataDao.GetOrderInfoData(PortOrderDate);
|
||||
|
||||
List<ReportUsageParentDateInfo> pageParentData = await reportDataDao.GetOrderInfoParentData(PortOrderDate);
|
||||
List<ReportUsageDateInfo> pageData = await reportDataDao.GetOrderInfoData(PortOrderDate);
|
||||
Dictionary<string, object> parameters = new Dictionary<string, object>();
|
||||
parameters.Add("parent", pageParentData);
|
||||
parameters.Add("child", pageData);
|
||||
GridReportUtil.PrintReport("use_book.grf", parameters);
|
||||
}
|
||||
// protected override async Task OnInitializedAsync()
|
||||
// {
|
||||
|
|
|
|||
|
|
@ -274,7 +274,7 @@
|
|||
{
|
||||
var drugManuNo = new Pojo.DrugManuNo()
|
||||
{
|
||||
Id = Guid.NewGuid().ToString(),
|
||||
// Id = Guid.NewGuid().ToString(),
|
||||
DrugId = SelectedDrugs.FirstOrDefault().DrugId
|
||||
};
|
||||
SelectedDrugs.FirstOrDefault().Manus.Add(drugManuNo);
|
||||
|
|
@ -291,13 +291,15 @@
|
|||
}
|
||||
async Task SaveRow(DrugManuNo drugManuNo)
|
||||
{
|
||||
drugManuNo.Id = string.IsNullOrEmpty(drugManuNo.Id) ? Guid.NewGuid().ToString() : drugManuNo.Id;
|
||||
await ManusGrid.UpdateRow(drugManuNo);
|
||||
}
|
||||
|
||||
void CancelEdit(DrugManuNo drugManuNo)
|
||||
{
|
||||
// Reset(drugManuNo);
|
||||
Reset(drugManuNo);
|
||||
// SelectedDrugs.FirstOrDefault().Manus.Remove(drugManuNo);
|
||||
SelectedDrugs.FirstOrDefault().Manus.RemoveAll(mn=>string.IsNullOrEmpty(mn.Id));
|
||||
ManusGrid.CancelEditRow(drugManuNo);
|
||||
ManusGrid.Reload();
|
||||
}
|
||||
|
|
@ -330,6 +332,7 @@
|
|||
}
|
||||
void OnUpdateRow(DrugManuNo dm)
|
||||
{
|
||||
dm.Id = string.IsNullOrEmpty(dm.Id) ? Guid.NewGuid().ToString() : dm.Id;
|
||||
Reset(dm);
|
||||
|
||||
// Êý¾Ý¿â¸üÐÂ
|
||||
|
|
|
|||
|
|
@ -90,7 +90,20 @@ namespace MasaBlazorApp3.Pojo
|
|||
//数量
|
||||
public int Quantity { get; set; }
|
||||
}
|
||||
|
||||
//手术室患者麻醉药品使用登记本
|
||||
public class ReportUsageParentDateInfo
|
||||
{
|
||||
//药品ID
|
||||
public string drugId1 { get; set; }
|
||||
//药品名称
|
||||
public string drugName1 { get; set; }
|
||||
//批次
|
||||
public string manuNo1 { get; set; }
|
||||
//数量
|
||||
public int quantity1 { get; set; }
|
||||
//日期
|
||||
public DateTime portDate { get; set; }
|
||||
}
|
||||
//手术室患者麻醉药品使用登记本
|
||||
public class ReportUsageDateInfo
|
||||
{
|
||||
|
|
@ -99,11 +112,11 @@ namespace MasaBlazorApp3.Pojo
|
|||
//手术间
|
||||
public int ShouShuJian { get; set; }
|
||||
//主麻
|
||||
public string ZhuMa { get; set; }
|
||||
public string doctor1 { get; set; }
|
||||
//副麻
|
||||
public string FuMa { get; set; }
|
||||
public string doctor2 { get; set; }
|
||||
//ID号
|
||||
public string IDNumber { get; set; }
|
||||
public string patientId { get; set; }
|
||||
//患者姓名
|
||||
public string PName { get; set; }
|
||||
public string Diagnose { get; set; }
|
||||
|
|
@ -123,6 +136,8 @@ namespace MasaBlazorApp3.Pojo
|
|||
public string UseUserName { get; set; }
|
||||
//核对人姓名
|
||||
public string CheckUserName { get; set; }
|
||||
//数量
|
||||
public int quantity { get; set; }
|
||||
}
|
||||
//请领报表信息
|
||||
public class ReportApplyInfo
|
||||
|
|
|
|||
|
|
@ -0,0 +1,453 @@
|
|||
{
|
||||
"Version":"6.8.1.1",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":105000,
|
||||
"Weight":400,
|
||||
"Charset":134
|
||||
},
|
||||
"Printer":{
|
||||
"Oriention":"Landscape"
|
||||
},
|
||||
"DetailGrid":{
|
||||
"Recordset":{
|
||||
"Field":[
|
||||
{
|
||||
"Name":"药品",
|
||||
"DBFieldName":"drugName1"
|
||||
},
|
||||
{
|
||||
"Name":"批次",
|
||||
"DBFieldName":"manuNo1"
|
||||
},
|
||||
{
|
||||
"Name":"数量",
|
||||
"DBFieldName":"quantity1"
|
||||
},
|
||||
{
|
||||
"Name":"日期",
|
||||
"Type":"DateTime",
|
||||
"Format":"yyyy年MM月dd日",
|
||||
"DBFieldName":"portDate"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Column":[
|
||||
{
|
||||
"Name":"药品",
|
||||
"Width":6.16479
|
||||
},
|
||||
{
|
||||
"Name":"批次",
|
||||
"Width":2.40771
|
||||
},
|
||||
{
|
||||
"Name":"数量",
|
||||
"Width":1.79917
|
||||
}
|
||||
],
|
||||
"ColumnContent":{
|
||||
"Height":1.00542,
|
||||
"ColumnContentCell":[
|
||||
{
|
||||
"Column":"药品",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"DataField":"药品"
|
||||
},
|
||||
{
|
||||
"Column":"批次",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"DataField":"批次"
|
||||
},
|
||||
{
|
||||
"Column":"数量",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"DataField":"数量"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ColumnTitle":{
|
||||
"Height":0.608542,
|
||||
"ColumnTitleCell":[
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"药品",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"药品"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"批次",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"批次"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"数量",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"数量"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"ReportHeader":[
|
||||
{
|
||||
"Name":"ReportHeader1",
|
||||
"Height":3.41313,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"MemoBox",
|
||||
"Name":"MemoBox12",
|
||||
"Anchor":"[Right|Bottom]",
|
||||
"AlignColumnSide":"Right",
|
||||
"Left":17.6212,
|
||||
"Top":2.80458,
|
||||
"Width":3.46604,
|
||||
"Height":0.582083,
|
||||
"ShrinkFontToFit":true,
|
||||
"Text":"日期:[#日期#]"
|
||||
},
|
||||
{
|
||||
"Type":"MemoBox",
|
||||
"Name":"MemoBox1",
|
||||
"Center":"Both",
|
||||
"Left":1.45521,
|
||||
"Top":0.79375,
|
||||
"Width":21.8017,
|
||||
"Height":1.79917,
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":217500,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"ShrinkFontToFit":true,
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"中国人民解放军中部战区总医院手术患者麻醉药品使用登记本"
|
||||
},
|
||||
{
|
||||
"Type":"MemoBox",
|
||||
"Name":"MemoBox13",
|
||||
"Anchor":"[Right|Bottom]",
|
||||
"Left":21.4313,
|
||||
"Top":2.83104,
|
||||
"Width":3.01625,
|
||||
"Height":0.582083,
|
||||
"ShrinkFontToFit":true,
|
||||
"Text":"手术室:武昌院区"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ReportFooter":[
|
||||
{
|
||||
"Name":"ReportFooter2",
|
||||
"Height":0.608542
|
||||
},
|
||||
{
|
||||
"Name":"ReportFooter1",
|
||||
"CanGrow":true,
|
||||
"Height":1.5875,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"SubReport",
|
||||
"Name":"SubReport1",
|
||||
"Dock":"Fill",
|
||||
"Report":{
|
||||
"Version":"6.8.1.1",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":105000,
|
||||
"Weight":400,
|
||||
"Charset":134
|
||||
},
|
||||
"Printer":{
|
||||
"Oriention":"Landscape"
|
||||
},
|
||||
"DetailGrid":{
|
||||
"Recordset":{
|
||||
"Field":[
|
||||
{
|
||||
"Name":"药品",
|
||||
"DBFieldName":"drugName"
|
||||
},
|
||||
{
|
||||
"Name":"批次",
|
||||
"DBFieldName":"manuNo"
|
||||
},
|
||||
{
|
||||
"Name":"数量",
|
||||
"Type":"Integer",
|
||||
"DBFieldName":"quantity"
|
||||
},
|
||||
{
|
||||
"Name":"主麻",
|
||||
"DBFieldName":"doctor1"
|
||||
},
|
||||
{
|
||||
"Name":"药品id",
|
||||
"DBFieldName":"DrugId"
|
||||
},
|
||||
{
|
||||
"Name":"副麻",
|
||||
"DBFieldName":"doctor2"
|
||||
},
|
||||
{
|
||||
"Name":"患者",
|
||||
"DBFieldName":"PName"
|
||||
},
|
||||
{
|
||||
"Name":"患者id",
|
||||
"DBFieldName":"patientId"
|
||||
},
|
||||
{
|
||||
"Name":"诊断",
|
||||
"DBFieldName":"Diagnose"
|
||||
},
|
||||
{
|
||||
"Name":"残余液",
|
||||
"DBFieldName":"residual"
|
||||
},
|
||||
{
|
||||
"Name":"用量",
|
||||
"DBFieldName":"usage"
|
||||
},
|
||||
{
|
||||
"Name":"残液处置方式",
|
||||
"DBFieldName":"CanYeChuZhi"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Column":[
|
||||
{
|
||||
"Name":"药品",
|
||||
"Width":5.76792
|
||||
},
|
||||
{
|
||||
"Name":"批次",
|
||||
"Width":3.41313
|
||||
},
|
||||
{
|
||||
"Name":"数量",
|
||||
"Width":1.21708
|
||||
},
|
||||
{
|
||||
"Name":"患者"
|
||||
},
|
||||
{
|
||||
"Name":"患者id"
|
||||
},
|
||||
{
|
||||
"Name":"诊断"
|
||||
},
|
||||
{
|
||||
"Name":"残余液",
|
||||
"Width":2.03729
|
||||
},
|
||||
{
|
||||
"Name":"用量",
|
||||
"Width":1.19063
|
||||
},
|
||||
{
|
||||
"Name":"残液处置方式",
|
||||
"Width":1.77271
|
||||
}
|
||||
],
|
||||
"ColumnContent":{
|
||||
"Height":0.6,
|
||||
"ColumnContentCell":[
|
||||
{
|
||||
"Column":"药品",
|
||||
"ShrinkFontToFit":true,
|
||||
"DataField":"药品"
|
||||
},
|
||||
{
|
||||
"Column":"批次",
|
||||
"CanGrow":true,
|
||||
"DataField":"批次"
|
||||
},
|
||||
{
|
||||
"Column":"数量",
|
||||
"FreeCell":true,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"MemoBox",
|
||||
"Name":"MemoBox2",
|
||||
"Dock":"Fill",
|
||||
"Text":"[#SumAcc(数量)#]"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Column":"患者",
|
||||
"DataField":"患者"
|
||||
},
|
||||
{
|
||||
"Column":"患者id",
|
||||
"DataField":"患者id"
|
||||
},
|
||||
{
|
||||
"Column":"诊断",
|
||||
"DataField":"诊断"
|
||||
},
|
||||
{
|
||||
"Column":"残余液",
|
||||
"DataField":"残余液"
|
||||
},
|
||||
{
|
||||
"Column":"用量",
|
||||
"DataField":"用量"
|
||||
},
|
||||
{
|
||||
"Column":"残液处置方式",
|
||||
"DataField":"残液处置方式"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ColumnTitle":{
|
||||
"RepeatStyle":"OnGroupHeader",
|
||||
"ColumnTitleCell":[
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"药品",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"药品"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"批次",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"批次"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"数量",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"数量"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"患者",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"患者"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"患者id",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"患者id"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"诊断",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"诊断"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"残余液",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"残余液"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"用量",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"用量"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"残液处置方式",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"CanGrow":true,
|
||||
"CanShrink":true,
|
||||
"Text":"残液\r\n处置\r\n方式"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Group":[
|
||||
{
|
||||
"Name":"Group1",
|
||||
"ByFields":"主麻;副麻",
|
||||
"GroupHeader":{
|
||||
"Height":2.98979,
|
||||
"PrintGridBorder":false,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"MemoBox",
|
||||
"Name":"MemoBox1",
|
||||
"Top":0.79375,
|
||||
"Width":6.79979,
|
||||
"Height":2.19604,
|
||||
"Text":"麻醉医师\r\n主麻:[#主麻#]\r\n副麻:[#副麻#]"
|
||||
}
|
||||
]
|
||||
},
|
||||
"GroupFooter":{
|
||||
"Visible":false,
|
||||
"Height":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name":"Group2",
|
||||
"ByFields":"药品id",
|
||||
"GroupHeader":{
|
||||
"CanGrow":true,
|
||||
"Height":0.6,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"MemoBox",
|
||||
"Name":"MemoBox3",
|
||||
"AlignColumn":"药品",
|
||||
"Width":5.74146,
|
||||
"Height":0.6,
|
||||
"CanGrow":true,
|
||||
"ShrinkFontToFit":true,
|
||||
"Text":"[#药品#]"
|
||||
},
|
||||
{
|
||||
"Type":"SummaryBox",
|
||||
"Name":"SummaryBox1",
|
||||
"AlignColumn":"数量",
|
||||
"Left":9.18104,
|
||||
"Width":1.19063,
|
||||
"Height":0.6,
|
||||
"DataField":"数量"
|
||||
}
|
||||
],
|
||||
"OccupyColumn":true,
|
||||
"SameAsColumn":false,
|
||||
"OccupiedColumns":"药品;数量",
|
||||
"VAlign":"Middle"
|
||||
},
|
||||
"GroupFooter":{
|
||||
"Visible":false,
|
||||
"Height":0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"ReportFooter3",
|
||||
"Height":0.79375,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"StaticBox",
|
||||
"Name":"StaticBox1",
|
||||
"AlignColumnSide":"Left",
|
||||
"Left":0.396875,
|
||||
"Top":0.211667,
|
||||
"Width":24.2094,
|
||||
"Height":0.396875,
|
||||
"ShrinkFontToFit":true,
|
||||
"Text":"残余毒麻药品处置方法:①未使用完的注射液和镇痛泵中的残余药液,由医师、药师或护士在视频监控下双人将残余液完全倾泻入下水道并用水冲净,双人复核确认并签字,空安瓿按流程回收;②废贴需核对批次和数量,在领用后次日交回药房,并在药房签字确认"
|
||||
}
|
||||
],
|
||||
"PrintAtBottom":true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"connectionStrings": "server=127.0.0.1;port=3306;database=zbzq20250908;userid=root;password=root;Charset=utf8mb4;",
|
||||
"connectionStrings": "server=127.0.0.1;port=3306;database=zhongbuzhanqu;userid=root;password=qq1223;Charset=utf8mb4;",
|
||||
"finger": {
|
||||
"ip": "192.168.50.59",
|
||||
"port": 4370,
|
||||
|
|
|
|||
|
|
@ -0,0 +1,356 @@
|
|||
{
|
||||
"Version":"6.8.1.1",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":105000,
|
||||
"Weight":400,
|
||||
"Charset":134
|
||||
},
|
||||
"Printer":{
|
||||
},
|
||||
"DetailGrid":{
|
||||
"Recordset":{
|
||||
"Field":[
|
||||
{
|
||||
"Name":"药品",
|
||||
"DBFieldName":"drugName1"
|
||||
},
|
||||
{
|
||||
"Name":"批次",
|
||||
"DBFieldName":"manuNo1"
|
||||
},
|
||||
{
|
||||
"Name":"数量",
|
||||
"DBFieldName":"quantity1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Column":[
|
||||
{
|
||||
"Name":"药品"
|
||||
},
|
||||
{
|
||||
"Name":"批次"
|
||||
},
|
||||
{
|
||||
"Name":"数量"
|
||||
}
|
||||
],
|
||||
"ColumnContent":{
|
||||
"Height":1.00542,
|
||||
"ColumnContentCell":[
|
||||
{
|
||||
"Column":"药品",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"DataField":"药品"
|
||||
},
|
||||
{
|
||||
"Column":"批次",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"DataField":"批次"
|
||||
},
|
||||
{
|
||||
"Column":"数量",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"DataField":"数量"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ColumnTitle":{
|
||||
"Height":0.608542,
|
||||
"ColumnTitleCell":[
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"药品",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"药品"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"批次",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"批次"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"数量",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"数量"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"ReportFooter":[
|
||||
{
|
||||
"Name":"ReportFooter2",
|
||||
"Height":0.608542
|
||||
},
|
||||
{
|
||||
"Name":"ReportFooter1",
|
||||
"CanGrow":true,
|
||||
"Height":1.5875,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"SubReport",
|
||||
"Name":"SubReport1",
|
||||
"Left":6.19125,
|
||||
"Top":0.396875,
|
||||
"Width":2.59292,
|
||||
"Height":0.608542,
|
||||
"Report":{
|
||||
"Version":"6.8.1.1",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":105000,
|
||||
"Weight":400,
|
||||
"Charset":134
|
||||
},
|
||||
"Printer":{
|
||||
},
|
||||
"DetailGrid":{
|
||||
"Recordset":{
|
||||
"Field":[
|
||||
{
|
||||
"Name":"药品",
|
||||
"DBFieldName":"drugName"
|
||||
},
|
||||
{
|
||||
"Name":"批次",
|
||||
"DBFieldName":"manuNo"
|
||||
},
|
||||
{
|
||||
"Name":"数量",
|
||||
"DBFieldName":"quantity"
|
||||
},
|
||||
{
|
||||
"Name":"主麻",
|
||||
"DBFieldName":"dcotor1"
|
||||
},
|
||||
{
|
||||
"Name":"drug_id",
|
||||
"DBFieldName":"drugId"
|
||||
},
|
||||
{
|
||||
"Name":"副麻",
|
||||
"DBFieldName":"doctor2"
|
||||
},
|
||||
{
|
||||
"Name":"患者",
|
||||
"DBFieldName":"PName"
|
||||
},
|
||||
{
|
||||
"Name":"患者id",
|
||||
"DBFieldName":"patientId"
|
||||
},
|
||||
{
|
||||
"Name":"诊断",
|
||||
"DBFieldName":"Diagnose"
|
||||
},
|
||||
{
|
||||
"Name":"残余液",
|
||||
"DBFieldName":"residual"
|
||||
},
|
||||
{
|
||||
"Name":"用量",
|
||||
"DBFieldName":"usage"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Column":[
|
||||
{
|
||||
"Name":"药品"
|
||||
},
|
||||
{
|
||||
"Name":"批次"
|
||||
},
|
||||
{
|
||||
"Name":"数量"
|
||||
},
|
||||
{
|
||||
"Name":"主麻"
|
||||
},
|
||||
{
|
||||
"Name":"drug_id"
|
||||
},
|
||||
{
|
||||
"Name":"副麻"
|
||||
},
|
||||
{
|
||||
"Name":"患者"
|
||||
},
|
||||
{
|
||||
"Name":"患者id"
|
||||
},
|
||||
{
|
||||
"Name":"诊断"
|
||||
},
|
||||
{
|
||||
"Name":"残余液"
|
||||
},
|
||||
{
|
||||
"Name":"用量"
|
||||
}
|
||||
],
|
||||
"ColumnContent":{
|
||||
"ColumnContentCell":[
|
||||
{
|
||||
"Column":"药品",
|
||||
"DataField":"药品"
|
||||
},
|
||||
{
|
||||
"Column":"批次",
|
||||
"DataField":"批次"
|
||||
},
|
||||
{
|
||||
"Column":"数量",
|
||||
"DataField":"数量"
|
||||
},
|
||||
{
|
||||
"Column":"主麻",
|
||||
"DataField":"主麻"
|
||||
},
|
||||
{
|
||||
"Column":"drug_id",
|
||||
"DataField":"drug_id"
|
||||
},
|
||||
{
|
||||
"Column":"副麻",
|
||||
"DataField":"副麻"
|
||||
},
|
||||
{
|
||||
"Column":"患者",
|
||||
"DataField":"患者"
|
||||
},
|
||||
{
|
||||
"Column":"患者id",
|
||||
"DataField":"患者id"
|
||||
},
|
||||
{
|
||||
"Column":"诊断",
|
||||
"DataField":"诊断"
|
||||
},
|
||||
{
|
||||
"Column":"残余液",
|
||||
"DataField":"残余液"
|
||||
},
|
||||
{
|
||||
"Column":"用量",
|
||||
"DataField":"用量"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ColumnTitle":{
|
||||
"RepeatStyle":"OnGroupHeader",
|
||||
"ColumnTitleCell":[
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"药品",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"药品"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"批次",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"批次"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"数量",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"数量"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"主麻",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"主麻"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"drug_id",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"drug_id"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"副麻",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"副麻"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"患者",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"患者"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"患者id",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"患者id"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"诊断",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"诊断"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"残余液",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"残余液"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"用量",
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"用量"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Group":[
|
||||
{
|
||||
"Name":"Group1",
|
||||
"ByFields":"主麻;副麻",
|
||||
"GroupHeader":{
|
||||
"Height":3,
|
||||
"PrintGridBorder":false,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"MemoBox",
|
||||
"Name":"MemoBox1",
|
||||
"Top":0.79375,
|
||||
"Width":6.79979,
|
||||
"Height":2.19604,
|
||||
"Text":"麻醉医师:\r\n主麻:[#主麻#]\r\n副麻:[#副麻#]"
|
||||
}
|
||||
]
|
||||
},
|
||||
"GroupFooter":{
|
||||
"Visible":false,
|
||||
"Height":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name":"Group2",
|
||||
"ByFields":"drug_id",
|
||||
"GroupHeader":{
|
||||
"OccupyColumn":true,
|
||||
"OccupiedColumns":"药品;数量",
|
||||
"VAlign":"Middle"
|
||||
},
|
||||
"GroupFooter":{
|
||||
"Visible":false,
|
||||
"Height":0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.4 MiB |
Loading…
Reference in New Issue