| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536 |
- {
- "ID_KEY": "DUMMY_BILL_SAMPLE",
- "GROUP_KEY": "RPT_封面_SAMPLE_TPL",
- "主信息": {
- "单位": "厘米",
- "版本": {
- "主版本": "3",
- "功能版本": "0"
- },
- "页边距": {
- "Top": "1.0",
- "Left": "1.0",
- "Right": "1.0",
- "Bottom": "1.0"
- },
- "报表名称": "封面",
- "打印页面_信息": {
- "方向": "PORTRAIT",
- "页规格": "A4"
- }
- },
- "布局框_集合": [
- {
- "Alignment": "Top",
- "DisplayType": "EveryPage",
- "Height": "4",
- "Name": "TitleBand",
- "control": "Default",
- "style": "Default_None",
- "MergeBorder": "F"
- },
- {
- "Alignment": "Top",
- "DisplayType": "EveryPage",
- "Height": "12.73",
- "Name": "HeaderBand",
- "control": "Default",
- "style": "Default_None",
- "MergeBorder": "F"
- },
- {
- "Alignment": "Bottom",
- "DisplayType": "EveryPage",
- "Height": "2.73",
- "Name": "FooterBand",
- "control": "Default",
- "style": "Default_None",
- "MergeBorder": "F"
- },
- {
- "Alignment": "Fulfill",
- "DisplayType": "EveryPage",
- "Name": "Report Body",
- "control": "Default",
- "style": "Default_None",
- "MergeBorder": "T",
- "band_s": [
- {
- "Alignment": "Fulfill",
- "DisplayType": "EveryPage",
- "Name": "ContentBand",
- "control": "Default",
- "style": "Default_None",
- "MergeBorder": "F"
- }
- ]
- }
- ],
- "计算式_集合": [
- {
- "Name": "获取打印时间",
- "run_type": "before_paging",
- "expression": "let rpt = $JE.P(5001,$CURRENT_RPT);\nlet dt = new Date();\nrpt.Default_Value = dt.Format($ME.format);\nrpt = null;",
- "format": "yyyy 年 M 月 dd 日"
- },
- {
- "Name": "获取当前页",
- "run_type": "before_output",
- "expression": "let ttp = $JE.P(5010,$CURRENT_RPT);\nttp.Default_Value = $ME.format.replace('(%S)',$JE.getCurrentPage($CURRENT_RPT));\nttp = null;",
- "format": "第 (%S) 页"
- },
- {
- "Name": "获取总页数",
- "run_type": "before_output",
- "expression": "let ttp = $JE.P(5011,$CURRENT_RPT);\nttp.Default_Value = $ME.format.replace('(%S)',$JE.getTotalPage($CURRENT_RPT));\nttp = null;",
- "format": "共 (%S) 页"
- },
- {
- "Name": "报表日期转换",
- "run_type": "before_paging",
- "expression": "let rpt = $JE.F(1312,$CURRENT_RPT);\nlet jzrq = $JE.getFieldValue(rpt, $CURRENT_DATA, 0, '')\nlet shiJian = jzrq.split('-');\n\nif(shiJian[0]!==''){\n\tlet newRiQiValue = shiJian[0]+\"年\"+shiJian[1]+\"月\"+shiJian[2]+\"日\";\n\t$JE.setFieldValue(rpt, $CURRENT_DATA, 0, newRiQiValue);\n}",
- "format": ""
- }
- ],
- "离散参数_集合": [
- {
- "ID": "5001",
- "Name": "打印时间",
- "DataType": "String",
- "Default_Value": ""
- },
- {
- "ID": "5010",
- "Name": "当前页",
- "DataType": "String",
- "Default_Value": "第 X 页"
- },
- {
- "ID": "5011",
- "Name": "总页数",
- "DataType": "String",
- "Default_Value": "共 X 页"
- }
- ],
- "账单式表_信息": {
- "离散信息": [
- {
- "BandName": "TitleBand",
- "discrete_field_s": [
- {
- "FieldID": 1002,
- "font": "ReportTitle_Vice_1",
- "control": "Content_Center",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": 0,
- "Right": "100.00",
- "Top": "0",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ]
- },
- {
- "BandName": "HeaderBand",
- "discrete_field_s": [
- {
- "FieldID": 1103,
- "font": "ReportTitle_Vice_2",
- "control": "Title",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": 0,
- "Right": "100.00",
- "Top": "6.03",
- "Bottom": "12.06",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 1102,
- "font": "ReportTitle_Vice_2",
- "control": "Title",
- "style": "Default_None",
- "Prefix": "合同编号:",
- "isAutoHeight": false,
- "area": {
- "Left": 0,
- "Right": "100.00",
- "Top": "18.09",
- "Bottom": "24.12",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 1300,
- "font": "ReportTitle_Vice_2",
- "control": "Title",
- "style": "Default_None",
- "Prefix": "第 ",
- "Suffix": " 期",
- "isAutoHeight": false,
- "area": {
- "Left": 0,
- "Right": "100.00",
- "Top": "50.31",
- "Bottom": "58.84",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 1146,
- "font": "ReportTitle_Vice_2",
- "control": "Header_Right",
- "style": "Default_None",
- "Prefix": "(",
- "isAutoHeight": false,
- "area": {
- "Left": 0,
- "Right": "46.94",
- "Top": "58.84",
- "Bottom": "73.18",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 1153,
- "font": "ReportTitle_Vice_2",
- "control": "Header",
- "style": "Default_None",
- "Suffix": ")",
- "isAutoHeight": false,
- "area": {
- "Left": "53.06",
- "Right": "100.00",
- "Top": "58.84",
- "Bottom": "73.18",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ],
- "text_s": [
- {
- "Label": "中 期 计 量 支 付 报 表",
- "font": "ReportTitle_Main",
- "control": "Title",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "100.00",
- "Top": "24.12",
- "Bottom": "50.31",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "~",
- "font": "Content",
- "control": "Title",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": "46.94",
- "Right": "53.06",
- "Top": "58.84",
- "Bottom": "73.18",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ]
- },
- {
- "BandName": "ContentBand",
- "discrete_field_s": [
- {
- "FieldID": 1134,
- "font": "ReportTitle_Vice_2",
- "control": "Column_Left",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": "33",
- "Right": 100,
- "Top": 0,
- "Bottom": "20",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 1104,
- "font": "ReportTitle_Vice_2",
- "control": "Column_Left",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": "33",
- "Right": 100,
- "Top": "59.7",
- "Bottom": "80",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 1312,
- "font": "ReportTitle_Vice_2",
- "control": "Column_Left",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": "33",
- "Right": 100,
- "Top": "80",
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 1140,
- "font": "ReportTitle_Vice_2",
- "control": "Column_Left",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": "33",
- "Right": 100,
- "Top": "40.3",
- "Bottom": "59.7",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ],
- "text_s": [
- {
- "Label": "中国有色金属工业第六冶金建设有限公司",
- "font": "ReportTitle_Vice_2",
- "control": "Header",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": "33",
- "Right": "100.00",
- "Top": "20.00",
- "Bottom": "40.30",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "承包单位:",
- "font": "ReportTitle_Vice_2",
- "control": "Header_Right",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": "0",
- "Right": "33",
- "Top": 0,
- "Bottom": "20.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "总包单位:",
- "font": "ReportTitle_Vice_2",
- "control": "Header_Right",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "33",
- "Top": "20.00",
- "Bottom": "40.30",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "监理单位:",
- "font": "ReportTitle_Vice_2",
- "control": "Header_Right",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "33",
- "Top": "40.30",
- "Bottom": "59.70",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "建设单位:",
- "font": "ReportTitle_Vice_2",
- "control": "Header_Right",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "33",
- "Top": "59.70",
- "Bottom": "80.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "填报日期:",
- "font": "ReportTitle_Vice_2",
- "control": "Header_Right",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "33",
- "Top": "80.00",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ]
- }
- ],
- "账单式表_数据": {
- "BandName": "ContentBand",
- "bill_field_s": []
- }
- },
- "指标_数据_映射": {
- "离散指标_集合": [
- {
- "ID": 1002,
- "Name": "项目_名称",
- "DataType": "string",
- "TableName": "project",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"project\", \"name\")",
- "descr": "",
- "Title": "ID: 1002"
- },
- {
- "ID": 1102,
- "Name": "标段_合同编号",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"deal_info.dealCode\")",
- "descr": "",
- "Title": "ID: 1102"
- },
- {
- "ID": 1300,
- "Name": "期计量信息_期数",
- "DataType": "number",
- "TableName": "stage",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"stage\", \"order\")",
- "descr": "",
- "Title": "ID: 1300"
- },
- {
- "ID": 1311,
- "Name": "期计量信息_开始日期",
- "DataType": "string",
- "TableName": "stage",
- "mapExpression": "$PROJECT.REPORT.getSplitProperty(\"stage\", \"period\", \" ~ \", 0, \"\")",
- "descr": "",
- "Title": "ID: 1311"
- },
- {
- "ID": 1312,
- "Name": "期计量信息_截至日期",
- "DataType": "string",
- "TableName": "stage",
- "mapExpression": "$PROJECT.REPORT.getSplitProperty(\"stage\", \"period\", \" ~ \", 1, \"\")",
- "descr": "",
- "Title": "ID: 1312"
- },
- {
- "ID": 1104,
- "Name": "标段_建设单位",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"construction_unit.build.company\")",
- "descr": "",
- "Title": "ID: 1104"
- },
- {
- "ID": 1134,
- "Name": "标段_标段清单_承包单位1_单位名称",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"construction_unit.contract1.company\")",
- "descr": "",
- "Title": "ID: 1134"
- },
- {
- "ID": 1141,
- "Name": "标段_标段清单_监理单位1_法人代表",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"construction_unit.supervision1.corporation\")",
- "descr": "",
- "Title": "ID: 1141"
- },
- {
- "ID": 1146,
- "Name": "标段_技术参数_开工令日期",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"tech_param.startDate\")",
- "descr": "",
- "Title": "ID: 1146"
- },
- {
- "ID": 1153,
- "Name": "标段_技术参数_计划完工日期",
- "DataType": "double",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"tech_param.planEndDate\")",
- "descr": "",
- "Title": "ID: 1153"
- },
- {
- "ID": 1140,
- "Name": "标段_标段清单_监理单位1_单位名称",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"construction_unit.supervision1.company\")",
- "descr": "",
- "Title": "ID: 1140"
- }
- ],
- "主数据指标_集合": [],
- "从数据指标_集合": [
- {
- "ID": 1103,
- "Name": "标段_合同名称",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"deal_info.dealName\")",
- "descr": "",
- "Title": "ID: 1103"
- }
- ]
- },
- "映射数据预处理": [],
- "无映射离散指标_集合": [],
- "动态日期离散参数_集合": [],
- "电子签名离散指标_集合": []
- }
|