Initial_commit_SecMPS_v2
This commit is contained in:
410
api_sqlsugar/VolPro.WebApi/ReportTemplate/1b.grf
Normal file
410
api_sqlsugar/VolPro.WebApi/ReportTemplate/1b.grf
Normal file
@@ -0,0 +1,410 @@
|
||||
{
|
||||
"Version":"6.8.5.0",
|
||||
"Title":"1b.双层表头",
|
||||
"Author":"锐浪报表软件",
|
||||
"Description":"演示双层表头报表: Grid++Report 的明细网格标题行可以定义任意多层的级联关系。在设计器‘列标题布局...’界面中可以在设计时定义多层标头。通过IGRDetailGrid 与 IGRColumnTitleCell 的一些方法可以用编程的方式定义多层表头。",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Weight":400,
|
||||
"Charset":134
|
||||
},
|
||||
"Printer":{
|
||||
},
|
||||
"DetailGrid":{
|
||||
"CenterView":true,
|
||||
"PrintAdaptMethod":"ToNewPage",
|
||||
"Recordset":{
|
||||
"ConnectionString":"Provider=Microsoft.Jet.OLEDB.4.0;\r\nUser ID=Admin;\r\nData Source=C:\\Grid++Report 6\\Samples\\Data\\Northwind.mdb",
|
||||
"QuerySQL":"select * from Customers\r\norder by Region,City",
|
||||
"Field":[
|
||||
{
|
||||
"Name":"CustomerID"
|
||||
},
|
||||
{
|
||||
"Name":"CompanyName"
|
||||
},
|
||||
{
|
||||
"Name":"ContactName"
|
||||
},
|
||||
{
|
||||
"Name":"ContactTitle"
|
||||
},
|
||||
{
|
||||
"Name":"Address"
|
||||
},
|
||||
{
|
||||
"Name":"City"
|
||||
},
|
||||
{
|
||||
"Name":"Region"
|
||||
},
|
||||
{
|
||||
"Name":"PostalCode"
|
||||
},
|
||||
{
|
||||
"Name":"Country"
|
||||
},
|
||||
{
|
||||
"Name":"Phone"
|
||||
},
|
||||
{
|
||||
"Name":"Fax"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Column":[
|
||||
{
|
||||
"Name":"CustomerID",
|
||||
"Width":2.38125
|
||||
},
|
||||
{
|
||||
"Name":"CompanyName",
|
||||
"Width":3.175
|
||||
},
|
||||
{
|
||||
"Name":"ContactName",
|
||||
"Width":1.5875
|
||||
},
|
||||
{
|
||||
"Name":"ContactTitle",
|
||||
"Width":1.5875
|
||||
},
|
||||
{
|
||||
"Name":"Address",
|
||||
"Width":3.175
|
||||
},
|
||||
{
|
||||
"Name":"City",
|
||||
"Width":1.5875
|
||||
},
|
||||
{
|
||||
"Name":"Region",
|
||||
"Width":1.98438
|
||||
},
|
||||
{
|
||||
"Name":"PostalCode",
|
||||
"Width":1.5875
|
||||
},
|
||||
{
|
||||
"Name":"Country",
|
||||
"Width":1.5875
|
||||
},
|
||||
{
|
||||
"Name":"Phone",
|
||||
"Width":2.98979
|
||||
},
|
||||
{
|
||||
"Name":"Fax",
|
||||
"Width":3.175
|
||||
}
|
||||
],
|
||||
"ColumnContent":{
|
||||
"Height":0.79375,
|
||||
"ColumnContentCell":[
|
||||
{
|
||||
"Column":"CustomerID",
|
||||
"DataField":"CustomerID"
|
||||
},
|
||||
{
|
||||
"Column":"CompanyName",
|
||||
"DataField":"CompanyName"
|
||||
},
|
||||
{
|
||||
"Column":"ContactName",
|
||||
"DataField":"ContactName"
|
||||
},
|
||||
{
|
||||
"Column":"ContactTitle",
|
||||
"DataField":"ContactTitle"
|
||||
},
|
||||
{
|
||||
"Column":"Address",
|
||||
"DataField":"Address"
|
||||
},
|
||||
{
|
||||
"Column":"City",
|
||||
"DataField":"City"
|
||||
},
|
||||
{
|
||||
"Column":"Region",
|
||||
"DataField":"Region"
|
||||
},
|
||||
{
|
||||
"Column":"PostalCode",
|
||||
"DataField":"PostalCode"
|
||||
},
|
||||
{
|
||||
"Column":"Country",
|
||||
"DataField":"Country"
|
||||
},
|
||||
{
|
||||
"Column":"Phone",
|
||||
"DataField":"Phone"
|
||||
},
|
||||
{
|
||||
"Column":"Fax",
|
||||
"DataField":"Fax"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ColumnTitle":{
|
||||
"BackColor":"C0C0C0",
|
||||
"Height":1.37583,
|
||||
"RepeatStyle":"OnPage",
|
||||
"ColumnTitleCell":[
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"CustomerID",
|
||||
"BackColor":"FFFFFF",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"客户编号"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"CompanyName",
|
||||
"BackColor":"FFFFFF",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"公司名称"
|
||||
},
|
||||
{
|
||||
"GroupTitle":true,
|
||||
"Name":"Column1",
|
||||
"ColumnTitleCell":[
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"ContactName",
|
||||
"BackColor":"FFFFFF",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"姓名"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"ContactTitle",
|
||||
"BackColor":"FFFFFF",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"称谓"
|
||||
}
|
||||
],
|
||||
"BackColor":"FFFFFF",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"联系方法"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"Phone",
|
||||
"BackColor":"FFFFFF",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"电话"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"Fax",
|
||||
"BackColor":"FFFFFF",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"传真"
|
||||
},
|
||||
{
|
||||
"GroupTitle":true,
|
||||
"Name":"Column2",
|
||||
"ColumnTitleCell":[
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"Country",
|
||||
"BackColor":"FFFFFF",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"国家"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"City",
|
||||
"BackColor":"FFFFFF",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"城市"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"Region",
|
||||
"BackColor":"FFFFFF",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"地区"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"PostalCode",
|
||||
"BackColor":"FFFFFF",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"邮编"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"Address",
|
||||
"BackColor":"FFFFFF",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"地址"
|
||||
}
|
||||
],
|
||||
"BackColor":"FFFFFF",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"位置信息"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"PageHeader":{
|
||||
"Height":1.32292,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"MemoBox",
|
||||
"Name":"MemoBox1",
|
||||
"Anchor":"[Top|Right]",
|
||||
"Left":2.19604,
|
||||
"Top":0.396875,
|
||||
"Width":13.7054,
|
||||
"Height":0.47625,
|
||||
"Font":{
|
||||
"Name":"楷体",
|
||||
"Size":120000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"Text":"欢迎访问Grid++Report网站www.rubylong.cn,了解最新产品信息。"
|
||||
},
|
||||
{
|
||||
"Type":"Line",
|
||||
"Name":"Line1",
|
||||
"Anchor":"[Left|Top|Right]",
|
||||
"Top":1.00542,
|
||||
"Width":16.0073,
|
||||
"Pen":{
|
||||
"Width":2
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"PageFooter":{
|
||||
"Height":1.32292,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"MemoBox",
|
||||
"Name":"MemoBox2",
|
||||
"Anchor":"[Top|Right]",
|
||||
"Left":13.2027,
|
||||
"Top":0.396875,
|
||||
"Width":2.59292,
|
||||
"Height":0.608542,
|
||||
"Text":"第[#SystemVar(PageNumber)#]页 共[#SystemVar(PageCount)#]页"
|
||||
},
|
||||
{
|
||||
"Type":"MemoBox",
|
||||
"Name":"MemoBox3",
|
||||
"Left":0.211667,
|
||||
"Top":0.396875,
|
||||
"Width":6.19125,
|
||||
"Height":0.608542,
|
||||
"Text":"打印时间:[#SystemVar(CurrentDateTime):yyyy年MM月dd日 HH:mm:ss#]"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ReportHeader":[
|
||||
{
|
||||
"Height":1.19063,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"StaticBox",
|
||||
"Name":"StaticBox1",
|
||||
"Center":"Horizontal",
|
||||
"Left":6.29708,
|
||||
"Top":0.396875,
|
||||
"Width":3.41313,
|
||||
"Height":0.582083,
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":150000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"Text":"客户基本信息"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
374
api_sqlsugar/VolPro.WebApi/ReportTemplate/2a.grf
Normal file
374
api_sqlsugar/VolPro.WebApi/ReportTemplate/2a.grf
Normal file
@@ -0,0 +1,374 @@
|
||||
{
|
||||
"Version":"6.8.5.0",
|
||||
"Title":"2a.基本分组",
|
||||
"Author":"锐浪报表软件",
|
||||
"Description":"演示一个最一般的分组报表:首先定义一个分组,在报表布局窗口中会自动加入分组头与分组尾。通过设定分组对象的‘依据字段(ByFields)’属性,指定分组生成的依据字段。在分组头与分组尾中加入相应的部件框,实现分组信息的显示。使用统计框或Memo框实现数据的统计分析。",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Weight":400,
|
||||
"Charset":134
|
||||
},
|
||||
"Printer":{
|
||||
},
|
||||
"DetailGrid":{
|
||||
"CenterView":true,
|
||||
"ColLine":{
|
||||
"Color":"646F71"
|
||||
},
|
||||
"RowLine":{
|
||||
"Color":"646F71"
|
||||
},
|
||||
"Recordset":{
|
||||
"ConnectionString":"Provider=Microsoft.Jet.OLEDB.4.0;\r\nUser ID=Admin;\r\nData Source=C:\\Grid++Report 6\\Samples\\Data\\Northwind.mdb",
|
||||
"QuerySQL":"select m.OrderID,m.CustomerId,c.CompanyName,m.OrderDate,M.Freight,\r\nd.ProductID,p.ProductName,d.UnitPrice,d.Quantity,d.Discount,\r\nd.UnitPrice*d.Quantity as Amount, Amount*d.Discount as DiscountAmt, Amount-DiscountAmt as NetAmount\r\nfrom (Orders m inner join \r\n(OrderDetails d inner join Products p on P.ProductID=D.ProductID) on m.OrderId=d.OrderId)\r\nleft join Customers c on c.CustomerID=m.CustomerID\r\nwhere m.OrderID<=10300\r\norder by m.OrderDate, m.OrderID",
|
||||
"Field":[
|
||||
{
|
||||
"Name":"OrderID",
|
||||
"Type":"Integer"
|
||||
},
|
||||
{
|
||||
"Name":"CustomerID"
|
||||
},
|
||||
{
|
||||
"Name":"CompanyName"
|
||||
},
|
||||
{
|
||||
"Name":"OrderDate",
|
||||
"Type":"DateTime",
|
||||
"Format":"yyyy年MM月dd日"
|
||||
},
|
||||
{
|
||||
"Name":"Freight",
|
||||
"Type":"Float",
|
||||
"Format":"#,##0.00"
|
||||
},
|
||||
{
|
||||
"Name":"ProductID",
|
||||
"Type":"Integer"
|
||||
},
|
||||
{
|
||||
"Name":"ProductName"
|
||||
},
|
||||
{
|
||||
"Name":"UnitPrice",
|
||||
"Type":"Float",
|
||||
"Format":"#,##0.##"
|
||||
},
|
||||
{
|
||||
"Name":"Quantity",
|
||||
"Type":"Integer",
|
||||
"Format":"#,##0.##"
|
||||
},
|
||||
{
|
||||
"Name":"Discount",
|
||||
"Type":"Float",
|
||||
"Format":"0.00%"
|
||||
},
|
||||
{
|
||||
"Name":"Amount",
|
||||
"Type":"Float",
|
||||
"Format":"#,##0.00"
|
||||
},
|
||||
{
|
||||
"Name":"DiscountAmt",
|
||||
"Type":"Float",
|
||||
"Format":"#,##0.00"
|
||||
},
|
||||
{
|
||||
"Name":"NetAmount",
|
||||
"Type":"Float",
|
||||
"Format":"#,##0.00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Column":[
|
||||
{
|
||||
"Name":"UnitPriceaaa",
|
||||
"Width":2.77813
|
||||
},
|
||||
{
|
||||
"Name":"UnitPrice",
|
||||
"Width":1.98438
|
||||
},
|
||||
{
|
||||
"Name":"Quantity",
|
||||
"Width":1.5875
|
||||
},
|
||||
{
|
||||
"Name":"Discount",
|
||||
"Width":1.79917
|
||||
},
|
||||
{
|
||||
"Name":"Amount",
|
||||
"Width":2.59292
|
||||
},
|
||||
{
|
||||
"Name":"DisCountAmt",
|
||||
"Width":2.38125
|
||||
},
|
||||
{
|
||||
"Name":"NetAmount",
|
||||
"Width":2.77813
|
||||
}
|
||||
],
|
||||
"ColumnContent":{
|
||||
"Height":0.582083,
|
||||
"ColumnContentCell":[
|
||||
{
|
||||
"Column":"UnitPriceaaa",
|
||||
"DataField":"ProductName"
|
||||
},
|
||||
{
|
||||
"Column":"UnitPrice",
|
||||
"TextAlign":"MiddleRight",
|
||||
"DataField":"UnitPrice"
|
||||
},
|
||||
{
|
||||
"Column":"Quantity",
|
||||
"TextAlign":"MiddleRight",
|
||||
"DataField":"Quantity"
|
||||
},
|
||||
{
|
||||
"Column":"Discount",
|
||||
"TextAlign":"MiddleRight",
|
||||
"DataField":"Discount"
|
||||
},
|
||||
{
|
||||
"Column":"Amount",
|
||||
"TextAlign":"MiddleRight",
|
||||
"DataField":"Amount"
|
||||
},
|
||||
{
|
||||
"Column":"DisCountAmt",
|
||||
"TextAlign":"MiddleRight",
|
||||
"DataField":"DiscountAmt"
|
||||
},
|
||||
{
|
||||
"Column":"NetAmount",
|
||||
"TextAlign":"MiddleRight",
|
||||
"DataField":"NetAmount"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ColumnTitle":{
|
||||
"BackColor":"E2EFF1",
|
||||
"Height":0.582083,
|
||||
"RepeatStyle":"OnPage",
|
||||
"ColumnTitleCell":[
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"UnitPriceaaa",
|
||||
"Text":"产品名称"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"UnitPrice",
|
||||
"Text":"单价"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"Quantity",
|
||||
"Text":"数量"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"Discount",
|
||||
"Text":"折扣"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"Amount",
|
||||
"Text":"折扣前金额"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"DisCountAmt",
|
||||
"Text":"折扣金额"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"NetAmount",
|
||||
"Text":"折扣后金额"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Group":[
|
||||
{
|
||||
"Name":"Group1",
|
||||
"ByFields":"OrderID",
|
||||
"GroupHeader":{
|
||||
"Height":0.79375,
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"Control":[
|
||||
{
|
||||
"Type":"FieldBox",
|
||||
"Name":"Field1",
|
||||
"Width":1.40229,
|
||||
"Height":0.79375,
|
||||
"DataField":"OrderID"
|
||||
},
|
||||
{
|
||||
"Type":"FieldBox",
|
||||
"Name":"Field2",
|
||||
"Left":2.59292,
|
||||
"Width":3.59833,
|
||||
"Height":0.79375,
|
||||
"DataField":"CompanyName"
|
||||
},
|
||||
{
|
||||
"Type":"FieldBox",
|
||||
"Name":"Field3",
|
||||
"Left":7.19667,
|
||||
"Width":2.98979,
|
||||
"Height":0.79375,
|
||||
"DataField":"OrderDate"
|
||||
},
|
||||
{
|
||||
"Type":"StaticBox",
|
||||
"Name":"StaticBox3",
|
||||
"Left":11.1919,
|
||||
"Width":1.00542,
|
||||
"Height":0.79375,
|
||||
"Text":"运费:"
|
||||
},
|
||||
{
|
||||
"Type":"FieldBox",
|
||||
"Name":"Field4",
|
||||
"Left":12.3825,
|
||||
"Width":2.40771,
|
||||
"Height":0.79375,
|
||||
"DataField":"Freight"
|
||||
}
|
||||
]
|
||||
},
|
||||
"GroupFooter":{
|
||||
"BackColor":"E1FFFF",
|
||||
"Height":0.79375,
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"Control":[
|
||||
{
|
||||
"Type":"StaticBox",
|
||||
"Name":"StaticBox2",
|
||||
"BackColor":"FFFFFF",
|
||||
"Width":2.40771,
|
||||
"Height":0.79375,
|
||||
"Text":"本单小计"
|
||||
},
|
||||
{
|
||||
"Type":"SummaryBox",
|
||||
"Name":"sumAmt",
|
||||
"BackColor":"FFFFFF",
|
||||
"AlignColumn":"Amount",
|
||||
"Left":8.14917,
|
||||
"Width":2.61938,
|
||||
"Height":0.79375,
|
||||
"TextAlign":"MiddleRight",
|
||||
"DataField":"Amount",
|
||||
"Format":"#,##0.00"
|
||||
},
|
||||
{
|
||||
"Type":"SummaryBox",
|
||||
"Name":"Summary2",
|
||||
"BackColor":"FFFFFF",
|
||||
"AlignColumn":"DisCountAmt",
|
||||
"Left":10.7421,
|
||||
"Width":2.40771,
|
||||
"Height":0.79375,
|
||||
"TextAlign":"MiddleRight",
|
||||
"DataField":"DiscountAmt",
|
||||
"Format":"#,##0.00"
|
||||
},
|
||||
{
|
||||
"Type":"SummaryBox",
|
||||
"Name":"NetAmountSummaryBox",
|
||||
"BackColor":"FFFFFF",
|
||||
"AlignColumn":"NetAmount",
|
||||
"Left":13.1233,
|
||||
"Width":2.80458,
|
||||
"Height":0.79375,
|
||||
"TextAlign":"MiddleRight",
|
||||
"DataField":"NetAmount",
|
||||
"Format":"#,##0.00"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"PageHeader":{
|
||||
"Height":0.582083,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"StaticBox",
|
||||
"Name":"StaticBox5",
|
||||
"Left":9.78958,
|
||||
"Width":6.00604,
|
||||
"Height":0.582083,
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":105000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleRight",
|
||||
"Text":"Grid++Report 示例"
|
||||
},
|
||||
{
|
||||
"Type":"StaticBox",
|
||||
"Name":"StaticBox6",
|
||||
"ForeColor":"FF0000",
|
||||
"Width":8.17563,
|
||||
"Height":0.582083,
|
||||
"Text":"欢迎访问:www.rubylong.cn,了解最新产品信息"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PageFooter":{
|
||||
"Height":0.79375,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"MemoBox",
|
||||
"Name":"MemoBox1",
|
||||
"Left":12.1973,
|
||||
"Width":3.59833,
|
||||
"Height":0.396875,
|
||||
"Text":"第[#SystemVar(PageNumber)#]页/共[#SystemVar(PageCount)#]页"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ReportHeader":[
|
||||
{
|
||||
"Height":1.37583,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"StaticBox",
|
||||
"Name":"TitleBox",
|
||||
"Center":"Horizontal",
|
||||
"Left":5.18583,
|
||||
"Top":0.396875,
|
||||
"Width":5.63563,
|
||||
"Height":0.582083,
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":150000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"按单统计销售明细报表"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
200
api_sqlsugar/VolPro.WebApi/ReportTemplate/simple.grf
Normal file
200
api_sqlsugar/VolPro.WebApi/ReportTemplate/simple.grf
Normal file
@@ -0,0 +1,200 @@
|
||||
{
|
||||
"Version":"6.6.8.1",
|
||||
"Title":"1a.简单表格",
|
||||
"Author":"锐浪报表软件",
|
||||
"Description":"演示一个最基本的列表报表。",
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Weight":400,
|
||||
"Charset":134
|
||||
},
|
||||
"Printer":{
|
||||
"TopMargin":1.5,
|
||||
"BottomMargin":1.5
|
||||
},
|
||||
"DetailGrid":{
|
||||
"CenterView":true,
|
||||
"PrintAdaptMethod":"ResizeToFit",
|
||||
"Recordset":{
|
||||
"ConnectionString":"xml",
|
||||
"QuerySQL":"simple_json.txt",
|
||||
"Field":[
|
||||
{
|
||||
"Name":"CustomerID"
|
||||
},
|
||||
{
|
||||
"Name":"CompanyName"
|
||||
},
|
||||
{
|
||||
"Name":"ContactName"
|
||||
},
|
||||
{
|
||||
"Name":"ContactTitle"
|
||||
},
|
||||
{
|
||||
"Name":"Address"
|
||||
},
|
||||
{
|
||||
"Name":"City"
|
||||
},
|
||||
{
|
||||
"Name":"Region"
|
||||
},
|
||||
{
|
||||
"Name":"PostalCode"
|
||||
},
|
||||
{
|
||||
"Name":"Country"
|
||||
},
|
||||
{
|
||||
"Name":"Phone"
|
||||
},
|
||||
{
|
||||
"Name":"Fax"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Column":[
|
||||
{
|
||||
"Name":"CustomerID",
|
||||
"Width":2.38125
|
||||
},
|
||||
{
|
||||
"Name":"CompanyName",
|
||||
"Width":3.175
|
||||
},
|
||||
{
|
||||
"Name":"ContactName",
|
||||
"Width":1.5875
|
||||
},
|
||||
{
|
||||
"Name":"Phone",
|
||||
"Width":2.98979
|
||||
},
|
||||
{
|
||||
"Name":"Region",
|
||||
"Width":1.98438
|
||||
},
|
||||
{
|
||||
"Name":"City",
|
||||
"Width":1.5875
|
||||
},
|
||||
{
|
||||
"Name":"Address",
|
||||
"Width":3.175
|
||||
}
|
||||
],
|
||||
"ColumnContent":{
|
||||
"Height":0.79375,
|
||||
"ColumnContentCell":[
|
||||
{
|
||||
"Column":"CustomerID",
|
||||
"DataField":"CustomerID"
|
||||
},
|
||||
{
|
||||
"Column":"CompanyName",
|
||||
"DataField":"CompanyName"
|
||||
},
|
||||
{
|
||||
"Column":"ContactName",
|
||||
"DataField":"ContactName"
|
||||
},
|
||||
{
|
||||
"Column":"Phone",
|
||||
"DataField":"Phone"
|
||||
},
|
||||
{
|
||||
"Column":"Region",
|
||||
"DataField":"Region"
|
||||
},
|
||||
{
|
||||
"Column":"City",
|
||||
"DataField":"City"
|
||||
},
|
||||
{
|
||||
"Column":"Address",
|
||||
"DataField":"Address"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ColumnTitle":{
|
||||
"BackColor":"C0C0C0",
|
||||
"Height":0.79375,
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"RepeatStyle":"OnPage",
|
||||
"ColumnTitleCell":[
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"CustomerID",
|
||||
"BackColor":"FFFFFF",
|
||||
"Text":"客户编号"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"CompanyName",
|
||||
"BackColor":"FFFFFF",
|
||||
"Text":"公司名称"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"ContactName",
|
||||
"BackColor":"FFFFFF",
|
||||
"Text":"联系人"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"Phone",
|
||||
"BackColor":"FFFFFF",
|
||||
"Text":"电话"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"Region",
|
||||
"BackColor":"FFFFFF",
|
||||
"Text":"地区"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"City",
|
||||
"BackColor":"FFFFFF",
|
||||
"Text":"城市"
|
||||
},
|
||||
{
|
||||
"GroupTitle":false,
|
||||
"Column":"Address",
|
||||
"BackColor":"FFFFFF",
|
||||
"Text":"地址"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"ReportHeader":[
|
||||
{
|
||||
"Height":0.978958,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"StaticBox",
|
||||
"Name":"StaticBox1",
|
||||
"Center":"Horizontal",
|
||||
"Left":6.74688,
|
||||
"Top":0.185208,
|
||||
"Width":3.41313,
|
||||
"Height":0.582083,
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":150000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"Text":"客户基本信息"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
55
api_sqlsugar/VolPro.WebApi/ReportTemplate/分组计.grf
Normal file
55
api_sqlsugar/VolPro.WebApi/ReportTemplate/分组计.grf
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"Version":"6.8.8.0",
|
||||
"Title":"按单统计销售明细报表",
|
||||
"Author":"锐浪报表软件",
|
||||
"Description":"分组字段只在本分组项的第一笔记录显示:\r\n通过在内容格的 “取显示文字脚本” 属性上写报表脚本来实现,按条件设置相关内容格的显示文字。通过 IGridppReport.SystemVarValue2 方法获取当前的分组行号,如果不是1,则把内容格的 DisplayText 设置为空字符串。\r\n",
|
||||
"PrintAsDesignPaper":false,
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":90000,
|
||||
"Weight":400,
|
||||
"Charset":134
|
||||
},
|
||||
"InitializeScript":"Report.ParameterByName(\"UnionName\").AsString = \"\";",
|
||||
"Printer":{
|
||||
"Size":256,
|
||||
"Width":27,
|
||||
"Height":39.7,
|
||||
"LeftMargin":0,
|
||||
"TopMargin":2.35479,
|
||||
"RightMargin":0
|
||||
},
|
||||
"Parameter":[
|
||||
{
|
||||
"Name":"Comment",
|
||||
"Value":"用脚本实现每个分组的统计值串接显示在报表尾:\r\n1、定义一个参数,用来存储串接值。\r\n2、在报表的“初始化脚本”上初始化参数值。\r\n3、在分组的“分组结束脚本”上串接当前统计值。\r\n4、在报表尾上用静态框或综合文本框显示此参数。"
|
||||
},
|
||||
{
|
||||
"Name":"UnionName"
|
||||
}
|
||||
],
|
||||
"ReportHeader":[
|
||||
{
|
||||
"Height":1.00542,
|
||||
"Control":[
|
||||
{
|
||||
"Type":"StaticBox",
|
||||
"Name":"TitleBox",
|
||||
"Center":"Horizontal",
|
||||
"Left":6.05896,
|
||||
"Top":0.396875,
|
||||
"Width":14.8696,
|
||||
"Height":0.582083,
|
||||
"Font":{
|
||||
"Name":"宋体",
|
||||
"Size":150000,
|
||||
"Bold":true,
|
||||
"Charset":134
|
||||
},
|
||||
"TextAlign":"MiddleCenter",
|
||||
"Text":"分组统计"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user