Browse Source

怎加边框属性

TonyKang 5 years ago
parent
commit
06b86420e8
1 changed files with 296 additions and 166 deletions
  1. 296 166
      app/const/report_defined_properties.js

+ 296 - 166
app/const/report_defined_properties.js

@@ -347,207 +347,337 @@ module.exports = {
             CfgDispName: '空白',
             border_style: [
                 {
-                    'Color': 'BLACK',
-                    'Position': 'Left',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Right',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Top',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Bottom',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }
-            ]
+                    Color: 'BLACK',
+                    Position: 'Left',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Right',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Top',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Bottom',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                },
+            ],
         }, {
             ID: 'Default',
             CfgDispName: '默认',
             border_style: [
                 {
-                    'Color': 'BLACK',
-                    'Position': 'Left',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '1'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Right',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '1'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Top',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Bottom',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }
-            ]
+                    Color: 'BLACK',
+                    Position: 'Left',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Right',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Top',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Bottom',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                },
+            ],
         }, {
             ID: 'Default_Normal',
             CfgDispName: '正常',
             border_style: [
                 {
-                    'Color': 'BLACK',
-                    'Position': 'Left',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '1'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Right',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '1'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Top',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '1'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Bottom',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '1'
-                }
-            ]
+                    Color: 'BLACK',
+                    Position: 'Left',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Right',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Top',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Bottom',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                },
+            ],
         }, {
             ID: 'Label_Underline',
             CfgDispName: '字符底线',
             border_style: [
                 {
-                    'Color': 'BLACK',
-                    'Position': 'Left',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Right',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Top',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Bottom',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '1'
-                }
-            ]
+                    Color: 'BLACK',
+                    Position: 'Left',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Right',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Top',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Bottom',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                },
+            ],
         }, {
             ID: 'Label_Left',
             CfgDispName: '左边线',
             border_style: [
                 {
-                    'Color': 'BLACK',
-                    'Position': 'Left',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '1'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Right',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Top',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Bottom',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }
-            ]
+                    Color: 'BLACK',
+                    Position: 'Left',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Right',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Top',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Bottom',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                },
+            ],
         }, {
             ID: 'Label_Right',
             CfgDispName: '右边线',
             border_style: [
                 {
-                    'Color': 'BLACK',
-                    'Position': 'Left',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Right',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '1'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Top',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Bottom',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }
-            ]
+                    Color: 'BLACK',
+                    Position: 'Left',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Right',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Top',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Bottom',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                },
+            ],
         }, {
             ID: 'Label_Top',
             CfgDispName: '上边线',
             border_style: [
                 {
-                    'Color': 'BLACK',
-                    'Position': 'Left',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Right',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Top',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '1'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Bottom',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '0'
-                }
-            ]
+                    Color: 'BLACK',
+                    Position: 'Left',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Right',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Top',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Bottom',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                },
+            ],
+        }, {
+            ID: 'Label_LeftTop',
+            CfgDispName: '左上边线',
+            border_style: [
+                {
+                    Color: 'BLACK',
+                    Position: 'Left',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Right',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Top',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Bottom',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                },
+            ],
+        }, {
+            ID: 'Label_LeftBottom',
+            CfgDispName: '左下边线',
+            border_style: [
+                {
+                    Color: 'BLACK',
+                    Position: 'Left',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Right',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Top',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Bottom',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                },
+            ],
+        }, {
+            ID: 'Label_RightTop',
+            CfgDispName: '右上边线',
+            border_style: [
+                {
+                    Color: 'BLACK',
+                    Position: 'Left',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Right',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Top',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Bottom',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                },
+            ],
+        }, {
+            ID: 'Label_RightBottom',
+            CfgDispName: '右下边线',
+            border_style: [
+                {
+                    Color: 'BLACK',
+                    Position: 'Left',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Right',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Top',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Bottom',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                },
+            ],
+        }, {
+            ID: 'Label_TopBottom',
+            CfgDispName: '上下边线',
+            border_style: [
+                {
+                    Color: 'BLACK',
+                    Position: 'Left',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Right',
+                    DashStyle: 'SOLID',
+                    LineWeight: '0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Top',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Bottom',
+                    DashStyle: 'SOLID',
+                    LineWeight: '1',
+                },
+            ],
         }, {
             ID: 'BORDER_ALL_AROUND',
             CfgDispName: '报表边框',
             border_style: [
                 {
-                    'Color': 'BLACK',
-                    'Position': 'Left',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '2.0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Right',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '2.0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Top',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '2.0'
-                }, {
-                    'Color': 'BLACK',
-                    'Position': 'Bottom',
-                    'DashStyle': 'SOLID',
-                    'LineWeight': '2.0'
+                    Color: 'BLACK',
+                    Position: 'Left',
+                    DashStyle: 'SOLID',
+                    LineWeight: '2.0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Right',
+                    DashStyle: 'SOLID',
+                    LineWeight: '2.0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Top',
+                    DashStyle: 'SOLID',
+                    LineWeight: '2.0',
+                }, {
+                    Color: 'BLACK',
+                    Position: 'Bottom',
+                    DashStyle: 'SOLID',
+                    LineWeight: '2.0',
                 },
             ],
         },