Browse Source

修复切换模板时Input输入框数据不更新的Bug

loki.wu 2 years ago
parent
commit
cb765ad89d

+ 2535 - 0
assets/pet.json

@@ -0,0 +1,2535 @@
+{
+  "Id": "627596fe-b317-4275-8b5b-85e6b0549c48",
+  "UpdateTime": "2021-05-27T14:34:56.4541719+08:00",
+  "IsCustom": false,
+  "Author": "",
+  "Name": "宠物",
+  "PagePadding": {
+    "Left": 56.83,
+    "Top": 56.83,
+    "Right": 56.83,
+    "Bottom": 56.83
+  },
+  "PageSize": {
+    "Height": 841.88976377952747,
+    "Width": 595.275590551181
+  },
+  "HeaderHeight": null,
+  "FooterHeight": null,
+  "HeaderDistance": 34.0,
+  "FooterDistance": 34.0,
+  "Tags": {},
+  "CustomizeTranslation": {
+    "Chinese": {},
+    "English": {},
+    "German": {},
+    "Greek": {},
+    "Malay": {},
+    "Portuguese": {},
+    "Romanian": {},
+    "Spanish": {},
+    "Swedish": {},
+    "Norwegian": {},
+    "Danish": {},
+    "Finnish": {},
+    "French": {},
+    "Polish": {},
+    "Russian": {},
+    "Uighur": {},
+    "Italian": {},
+    "Czech": {},
+    "Khmer": {},
+    "Hungarian": {}
+  },
+  "CustomizeComments": [],
+  "CustomizeReportComments": [],
+  "CustomizeCalculations": [],
+  "Blocks": [
+    {
+      "AutoHide": false,
+      "IsAverageColumnWidth": false,
+      "AllowBreakAcrossPages": true,
+      "ColumnDefinitions": [
+        {
+          "Width": 477.0
+        }
+      ],
+      "RowDefinitions": [
+        {
+          "Height": 33.375,
+          "Type": "MinValue",
+          "MinHeight": 18.0
+        },
+        {
+          "Height": 23.11,
+          "Type": "MinValue",
+          "MinHeight": 18.0
+        }
+      ],
+      "Cells": [
+        {
+          "Row": 0,
+          "Column": 0,
+          "RowSpan": 1,
+          "ColumnSpan": 1
+        },
+        {
+          "Blocks": [
+            {
+              "LineSpace": 0.0,
+              "Elements": [
+                {
+                  "IsReadOnly": false,
+                  "FontName": "宋体",
+                  "FontSize": 24.0,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 18,
+                  "LineWidth": 189.0,
+                  "TextWrap": false,
+                  "Id": "b2870a61-4d9c-4710-947f-f9743df09581",
+                  "Index": 0,
+                  "Tag": {
+                    "Id": "7abbaa61-a91d-4399-a3f4-df29117d2d59",
+                    "Name": "HospitalName",
+                    "IsDefault": true,
+                    "ElementTagType": "General"
+                  },
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "InputText"
+                  }
+                }
+              ],
+              "Id": "859ae9c2-4257-4458-8eb0-4e47539cb991",
+              "Index": 0,
+              "Tag": null,
+              "MeasureTag": null,
+              "HorizontalAlignment": "Center",
+              "VerticalAlignment": "Stretch",
+              "Margin": {
+                "Left": 0.0,
+                "Top": 0.0,
+                "Right": 0.0,
+                "Bottom": 0.0
+              },
+              "ElementType": {
+                "Name": "Paragraph"
+              }
+            }
+          ],
+          "Background": {
+            "A": 255,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "WidthType": "FixedValue",
+          "HeightType": "MinValue",
+          "Borders": {
+            "Left": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Top": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Right": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Bottom": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            }
+          },
+          "Id": "5f026791-d221-4489-a302-a47d5a94c2a8",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Center",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "RTCell"
+          }
+        },
+        {
+          "Row": 1,
+          "Column": 0,
+          "RowSpan": 1,
+          "ColumnSpan": 1
+        },
+        {
+          "Blocks": [
+            {
+              "LineSpace": 0.0,
+              "Elements": [
+                {
+                  "Text": "超声检查报告单",
+                  "FontName": "宋体",
+                  "FontSize": 15.0,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 7,
+                  "LineWidth": 0.0,
+                  "TextWrap": false,
+                  "Id": "c7d64024-1bae-4c99-9c0f-5b20ed2e99f6",
+                  "Index": 0,
+                  "Tag": null,
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "StaticText"
+                  }
+                }
+              ],
+              "Id": "267ce956-a4d3-4ce3-bfc5-ef1bbcf6291e",
+              "Index": 0,
+              "Tag": null,
+              "MeasureTag": null,
+              "HorizontalAlignment": "Center",
+              "VerticalAlignment": "Stretch",
+              "Margin": {
+                "Left": 0.0,
+                "Top": 0.0,
+                "Right": 0.0,
+                "Bottom": 0.0
+              },
+              "ElementType": {
+                "Name": "Paragraph"
+              }
+            }
+          ],
+          "Background": {
+            "A": 255,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "WidthType": "FixedValue",
+          "HeightType": "MinValue",
+          "Borders": {
+            "Left": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Top": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Right": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Bottom": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            }
+          },
+          "Id": "36129de2-e66a-4193-bd7e-9715f4431ecb",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Center",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "RTCell"
+          }
+        }
+      ],
+      "Id": "ace01f41-44f6-4187-8bdb-fa8936c4c4ee",
+      "Index": 0,
+      "Tag": null,
+      "MeasureTag": null,
+      "HorizontalAlignment": "Center",
+      "VerticalAlignment": "Stretch",
+      "Margin": {
+        "Left": 0.0,
+        "Top": 0.0,
+        "Right": 0.0,
+        "Bottom": 0.0
+      },
+      "ElementType": {
+        "Name": "RTTable"
+      }
+    },
+    {
+      "LineSpace": 0.0,
+      "Elements": [
+        {
+          "Width": 478.61559055118107,
+          "BorderStyle": "Solid",
+          "Stroke": {
+            "A": 255,
+            "R": 0,
+            "G": 0,
+            "B": 0
+          },
+          "Thickness": 1.0,
+          "Id": "f5ad739d-ec93-4c83-99a0-c5f49eec49eb",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Stretch",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "Line"
+          }
+        }
+      ],
+      "Id": "9d196a0d-030e-4d35-bd5d-1ad4502366df",
+      "Index": 1,
+      "Tag": null,
+      "MeasureTag": null,
+      "HorizontalAlignment": "Stretch",
+      "VerticalAlignment": "Stretch",
+      "Margin": {
+        "Left": 0.0,
+        "Top": 0.0,
+        "Right": 0.0,
+        "Bottom": 0.0
+      },
+      "ElementType": {
+        "Name": "Paragraph"
+      }
+    },
+    {
+      "AutoHide": false,
+      "IsAverageColumnWidth": false,
+      "AllowBreakAcrossPages": true,
+      "ColumnDefinitions": [
+        {
+          "Width": 159.0
+        },
+        {
+          "Width": 157.99999999999997
+        },
+        {
+          "Width": 159.0
+        }
+      ],
+      "RowDefinitions": [
+        {
+          "Height": 21.0,
+          "Type": "MinValue",
+          "MinHeight": 18.0
+        },
+        {
+          "Height": 22.5,
+          "Type": "MinValue",
+          "MinHeight": 18.0
+        }
+      ],
+      "Cells": [
+        {
+          "Row": 0,
+          "Column": 0,
+          "RowSpan": 1,
+          "ColumnSpan": 1
+        },
+        {
+          "Blocks": [
+            {
+              "LineSpace": 0.0,
+              "Elements": [
+                {
+                  "Text": "主    人:",
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 7,
+                  "LineWidth": 0.0,
+                  "TextWrap": false,
+                  "Id": "8b05bc5b-7712-4812-929c-d6ae4c8e83c2",
+                  "Index": 0,
+                  "Tag": null,
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "StaticText"
+                  }
+                },
+                {
+                  "IsReadOnly": false,
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 9,
+                  "LineWidth": 88.07,
+                  "TextWrap": false,
+                  "Id": "49c4ad30-f6b0-4b00-b86d-7aa31c4ce6b9",
+                  "Index": 1,
+                  "Tag": {
+                    "Id": "DB1202FB-51DF-4EB7-903A-2F6740CAD74B",
+                    "Name": "Owner",
+                    "IsDefault": true,
+                    "ElementTagType": "General"
+                  },
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "InputText"
+                  }
+                }
+              ],
+              "Id": "1e890cd4-28bf-4749-8bab-d9e0b9e4ca7f",
+              "Index": 0,
+              "Tag": null,
+              "MeasureTag": null,
+              "HorizontalAlignment": "Stretch",
+              "VerticalAlignment": "Stretch",
+              "Margin": {
+                "Left": 0.0,
+                "Top": 0.0,
+                "Right": 0.0,
+                "Bottom": 0.0
+              },
+              "ElementType": {
+                "Name": "Paragraph"
+              }
+            }
+          ],
+          "Background": {
+            "A": 255,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "WidthType": "FixedValue",
+          "HeightType": "MinValue",
+          "Borders": {
+            "Left": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Top": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Right": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Bottom": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            }
+          },
+          "Id": "7fa88937-e069-420a-8bf2-8f475a5a3d64",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Stretch",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "RTCell"
+          }
+        },
+        {
+          "Row": 0,
+          "Column": 1,
+          "RowSpan": 1,
+          "ColumnSpan": 1
+        },
+        {
+          "Blocks": [
+            {
+              "LineSpace": 0.0,
+              "Elements": [
+                {
+                  "Text": "动物名称:",
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 5,
+                  "LineWidth": 0.0,
+                  "TextWrap": false,
+                  "Id": "8fce5b3b-2e20-4b79-bb3b-d77a9017a3b6",
+                  "Index": 0,
+                  "Tag": null,
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "StaticText"
+                  }
+                },
+                {
+                  "IsReadOnly": false,
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 9,
+                  "LineWidth": 88.07,
+                  "TextWrap": false,
+                  "Id": "880c3847-d8d2-4dcb-9c83-b3d3b6f2233b",
+                  "Index": 1,
+                  "Tag": {
+                    "Id": "91bbaa61-a91d-4399-a3f4-df29117d2d59",
+                    "Name": "PatientName",
+                    "IsDefault": true,
+                    "ElementTagType": "General"
+                  },
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "InputText"
+                  }
+                }
+              ],
+              "Id": "21ef1746-0c75-41f4-84c4-5883383c7045",
+              "Index": 0,
+              "Tag": null,
+              "MeasureTag": null,
+              "HorizontalAlignment": "Stretch",
+              "VerticalAlignment": "Stretch",
+              "Margin": {
+                "Left": 0.0,
+                "Top": 0.0,
+                "Right": 0.0,
+                "Bottom": 0.0
+              },
+              "ElementType": {
+                "Name": "Paragraph"
+              }
+            }
+          ],
+          "Background": {
+            "A": 255,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "WidthType": "FixedValue",
+          "HeightType": "MinValue",
+          "Borders": {
+            "Left": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Top": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Right": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Bottom": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            }
+          },
+          "Id": "517cf6f3-7209-4db4-a7dc-4357f986b555",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Stretch",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "RTCell"
+          }
+        },
+        {
+          "Row": 0,
+          "Column": 2,
+          "RowSpan": 1,
+          "ColumnSpan": 1
+        },
+        {
+          "Blocks": [
+            {
+              "LineSpace": 0.0,
+              "Elements": [
+                {
+                  "Text": "性    别:",
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 7,
+                  "LineWidth": 0.0,
+                  "TextWrap": false,
+                  "Id": "29322f0e-7c38-4438-a033-6d8d91a81580",
+                  "Index": 0,
+                  "Tag": null,
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "StaticText"
+                  }
+                },
+                {
+                  "IsReadOnly": false,
+                  "Items": [
+                    "雄性",
+                    "雌性",
+                    "绝育",
+                    "去势"
+                  ],
+                  "DisplayStyle": "OnlyShowSelectedItem",
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 9,
+                  "LineWidth": 88.07,
+                  "TextWrap": false,
+                  "Id": "5534673f-ffc5-4cd7-b397-0f35b8808f97",
+                  "Index": 1,
+                  "Tag": {
+                    "Id": "93bbaa61-a91d-4399-a3f4-df29117d2d59",
+                    "Name": "PatientGender",
+                    "IsDefault": true,
+                    "ElementTagType": "General"
+                  },
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "SingleSelected"
+                  }
+                }
+              ],
+              "Id": "737d70fb-8960-450b-87d6-93c195662861",
+              "Index": 0,
+              "Tag": null,
+              "MeasureTag": null,
+              "HorizontalAlignment": "Stretch",
+              "VerticalAlignment": "Stretch",
+              "Margin": {
+                "Left": 0.0,
+                "Top": 0.0,
+                "Right": 0.0,
+                "Bottom": 0.0
+              },
+              "ElementType": {
+                "Name": "Paragraph"
+              }
+            }
+          ],
+          "Background": {
+            "A": 255,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "WidthType": "FixedValue",
+          "HeightType": "MinValue",
+          "Borders": {
+            "Left": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Top": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Right": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Bottom": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            }
+          },
+          "Id": "4fe0f59e-654a-46d0-81a7-d923c53a82e4",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Stretch",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "RTCell"
+          }
+        },
+        {
+          "Row": 1,
+          "Column": 0,
+          "RowSpan": 1,
+          "ColumnSpan": 1
+        },
+        {
+          "Blocks": [
+            {
+              "LineSpace": 0.0,
+              "Elements": [
+                {
+                  "Text": "年    龄:",
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 7,
+                  "LineWidth": 0.0,
+                  "TextWrap": false,
+                  "Id": "89ae6a6a-e5ba-4811-bd85-1b090d903aeb",
+                  "Index": 0,
+                  "Tag": null,
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "StaticText"
+                  }
+                },
+                {
+                  "IsReadOnly": false,
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 9,
+                  "LineWidth": 88.07,
+                  "TextWrap": false,
+                  "Id": "644600c0-7f5e-4ddf-82e5-94d1495f530a",
+                  "Index": 1,
+                  "Tag": {
+                    "Id": "92bbaa61-a91d-4399-a3f4-df29117d2d59",
+                    "Name": "PatientAge",
+                    "IsDefault": true,
+                    "ElementTagType": "General"
+                  },
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "InputText"
+                  }
+                }
+              ],
+              "Id": "21d68762-ac10-4501-8f4d-fd0352c91b92",
+              "Index": 0,
+              "Tag": null,
+              "MeasureTag": null,
+              "HorizontalAlignment": "Stretch",
+              "VerticalAlignment": "Stretch",
+              "Margin": {
+                "Left": 0.0,
+                "Top": 0.0,
+                "Right": 0.0,
+                "Bottom": 0.0
+              },
+              "ElementType": {
+                "Name": "Paragraph"
+              }
+            }
+          ],
+          "Background": {
+            "A": 255,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "WidthType": "FixedValue",
+          "HeightType": "MinValue",
+          "Borders": {
+            "Left": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Top": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Right": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Bottom": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            }
+          },
+          "Id": "bd190f99-22d0-40c8-b727-a25481f581c7",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Stretch",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "RTCell"
+          }
+        },
+        {
+          "Row": 1,
+          "Column": 1,
+          "RowSpan": 1,
+          "ColumnSpan": 1
+        },
+        {
+          "Blocks": [
+            {
+              "LineSpace": 0.0,
+              "Elements": [
+                {
+                  "Text": "动 物 ID:",
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 7,
+                  "LineWidth": 0.0,
+                  "TextWrap": false,
+                  "Id": "a35d6c4e-54fb-4fb2-bafc-53c2ea9e5bfc",
+                  "Index": 0,
+                  "Tag": null,
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "StaticText"
+                  }
+                },
+                {
+                  "IsReadOnly": false,
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 9,
+                  "LineWidth": 88.07,
+                  "TextWrap": false,
+                  "Id": "4c06b52c-b854-41d7-9edb-31ea89169b44",
+                  "Index": 1,
+                  "Tag": {
+                    "Id": "90bbaa61-a91d-4399-a3f4-df29117d2d59",
+                    "Name": "PatientId",
+                    "IsDefault": true,
+                    "ElementTagType": "General"
+                  },
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "InputText"
+                  }
+                }
+              ],
+              "Id": "38ab9826-97ea-4d6e-aa15-759da4573d92",
+              "Index": 0,
+              "Tag": null,
+              "MeasureTag": null,
+              "HorizontalAlignment": "Stretch",
+              "VerticalAlignment": "Stretch",
+              "Margin": {
+                "Left": 0.0,
+                "Top": 0.0,
+                "Right": 0.0,
+                "Bottom": 0.0
+              },
+              "ElementType": {
+                "Name": "Paragraph"
+              }
+            }
+          ],
+          "Background": {
+            "A": 255,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "WidthType": "FixedValue",
+          "HeightType": "MinValue",
+          "Borders": {
+            "Left": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Top": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Right": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Bottom": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            }
+          },
+          "Id": "d3557cb1-28e9-4d06-9ffc-2eb719ea7c96",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Stretch",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "RTCell"
+          }
+        },
+        {
+          "Row": 1,
+          "Column": 2,
+          "RowSpan": 1,
+          "ColumnSpan": 1
+        },
+        {
+          "Blocks": [
+            {
+              "LineSpace": 0.0,
+              "Elements": [
+                {
+                  "Text": "种    类:",
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 7,
+                  "LineWidth": 0.0,
+                  "TextWrap": false,
+                  "Id": "0d2bca9a-e24a-484b-ba9c-ebaeda5c0698",
+                  "Index": 0,
+                  "Tag": null,
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "StaticText"
+                  }
+                },
+                {
+                  "IsReadOnly": false,
+                  "Items": [
+                    "牛类",
+                    "犬类",
+                    "猫类",
+                    "羊类",
+                    "猪类"
+                  ],
+                  "DisplayStyle": "OnlyShowSelectedItem",
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 9,
+                  "LineWidth": 88.07,
+                  "TextWrap": false,
+                  "Id": "0e26ede8-49c7-4fa3-896c-181264cf5557",
+                  "Index": 1,
+                  "Tag": {
+                    "Id": "FC5F7564-B63F-4185-8E1C-FC4BC5046332",
+                    "Name": "Species",
+                    "IsDefault": true,
+                    "ElementTagType": "General"
+                  },
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "SingleSelected"
+                  }
+                }
+              ],
+              "Id": "cfa39c76-7853-4cdf-a18b-53b0cc6f706d",
+              "Index": 0,
+              "Tag": null,
+              "MeasureTag": null,
+              "HorizontalAlignment": "Stretch",
+              "VerticalAlignment": "Stretch",
+              "Margin": {
+                "Left": 0.0,
+                "Top": 0.0,
+                "Right": 0.0,
+                "Bottom": 0.0
+              },
+              "ElementType": {
+                "Name": "Paragraph"
+              }
+            }
+          ],
+          "Background": {
+            "A": 255,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "WidthType": "FixedValue",
+          "HeightType": "MinValue",
+          "Borders": {
+            "Left": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Top": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Right": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Bottom": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            }
+          },
+          "Id": "8eb28d01-2226-4415-92a6-94ecc5b1bb00",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Stretch",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "RTCell"
+          }
+        }
+      ],
+      "Id": "54b715d5-1dbc-4588-97ad-d8deb080e29d",
+      "Index": 2,
+      "Tag": null,
+      "MeasureTag": null,
+      "HorizontalAlignment": "Left",
+      "VerticalAlignment": "Stretch",
+      "Margin": {
+        "Left": 0.0,
+        "Top": 0.0,
+        "Right": 0.0,
+        "Bottom": 0.0
+      },
+      "ElementType": {
+        "Name": "RTTable"
+      }
+    },
+    {
+      "LineSpace": 0.0,
+      "Elements": [
+        {
+          "Width": 478.61559055118107,
+          "BorderStyle": "Solid",
+          "Stroke": {
+            "A": 255,
+            "R": 0,
+            "G": 0,
+            "B": 0
+          },
+          "Thickness": 1.0,
+          "Id": "e6a4e114-eaf0-4a40-aae9-fd61a59be000",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Stretch",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "Line"
+          }
+        }
+      ],
+      "Id": "9a221356-ae66-4d18-9f47-993d3af21aea",
+      "Index": 3,
+      "Tag": null,
+      "MeasureTag": null,
+      "HorizontalAlignment": "Stretch",
+      "VerticalAlignment": "Stretch",
+      "Margin": {
+        "Left": 0.0,
+        "Top": 0.0,
+        "Right": 0.0,
+        "Bottom": 0.0
+      },
+      "ElementType": {
+        "Name": "Paragraph"
+      }
+    },
+    {
+      "Elements": [],
+      "ImageWidth": 238.64,
+      "ImageHeight": 151.99,
+      "HasImageBorder": false,
+      "Column": 2,
+      "IsReadOnly": false,
+      "TransparentBackground": false,
+      "HasGap": true,
+      "Id": "cc81bba9-8d32-4389-a18e-f64ac3890ec9",
+      "Index": 4,
+      "Tag": {
+        "Id": "9fbbaa61-a91d-4399-a3f4-df29117d2d59",
+        "Name": "ReportImages",
+        "IsDefault": true,
+        "ElementTagType": "General"
+      },
+      "MeasureTag": null,
+      "HorizontalAlignment": "Left",
+      "VerticalAlignment": "Stretch",
+      "Margin": {
+        "Left": 0.0,
+        "Top": 0.0,
+        "Right": 0.0,
+        "Bottom": 0.0
+      },
+      "ElementType": {
+        "Name": "ImageList"
+      }
+    },
+    {
+      "LineSpace": 0.0,
+      "Elements": [
+        {
+          "Width": 478.61559055118107,
+          "BorderStyle": "Solid",
+          "Stroke": {
+            "A": 255,
+            "R": 0,
+            "G": 0,
+            "B": 0
+          },
+          "Thickness": 1.0,
+          "Id": "ba0ee5f3-ec37-42bb-8397-17dcde14a783",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Stretch",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "Line"
+          }
+        }
+      ],
+      "Id": "8c230349-282b-45ea-9a82-fa7439359779",
+      "Index": 5,
+      "Tag": null,
+      "MeasureTag": null,
+      "HorizontalAlignment": "Stretch",
+      "VerticalAlignment": "Stretch",
+      "Margin": {
+        "Left": 0.0,
+        "Top": 0.0,
+        "Right": 0.0,
+        "Bottom": 0.0
+      },
+      "ElementType": {
+        "Name": "Paragraph"
+      }
+    },
+    {
+      "LineSpace": 0.0,
+      "Elements": [
+        {
+          "Text": "\r\n超声描述",
+          "FontName": "宋体",
+          "FontSize": 16.0,
+          "FontStyles": [],
+          "FontColor": {
+            "A": 255,
+            "R": 0,
+            "G": 0,
+            "B": 0
+          },
+          "Background": {
+            "A": 255,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "LineLength": 6,
+          "LineWidth": 0.0,
+          "TextWrap": false,
+          "Id": "8ff52703-d28f-4d2e-84af-7a1d9a1e671f",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Center",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "StaticText"
+          }
+        }
+      ],
+      "Id": "18d10ed0-f9d0-41bc-91bb-513b67495d2a",
+      "Index": 6,
+      "Tag": null,
+      "MeasureTag": null,
+      "HorizontalAlignment": "Stretch",
+      "VerticalAlignment": "Stretch",
+      "Margin": {
+        "Left": 0.0,
+        "Top": 0.0,
+        "Right": 0.0,
+        "Bottom": 0.0
+      },
+      "ElementType": {
+        "Name": "Paragraph"
+      }
+    },
+    {
+      "LineSpace": 0.0,
+      "Elements": [
+        {
+          "IsReadOnly": false,
+          "FontName": "宋体",
+          "FontSize": 10.5,
+          "FontStyles": [],
+          "FontColor": {
+            "A": 255,
+            "R": 0,
+            "G": 0,
+            "B": 0
+          },
+          "Background": {
+            "A": 255,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "LineLength": 46,
+          "LineWidth": 474.43,
+          "TextWrap": true,
+          "Id": "e9e4b446-2f64-479c-8e15-cdda067cd00b",
+          "Index": 0,
+          "Tag": {
+            "Id": "9dbbaa61-a91d-4399-a3f4-df29117d2d59",
+            "Name": "ReportDescription",
+            "IsDefault": true,
+            "ElementTagType": "DiagnosticEntry"
+          },
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Center",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "InputText"
+          }
+        }
+      ],
+      "Id": "e132f6e4-9d0c-4876-a60a-727d4ac8c871",
+      "Index": 7,
+      "Tag": null,
+      "MeasureTag": null,
+      "HorizontalAlignment": "Stretch",
+      "VerticalAlignment": "Stretch",
+      "Margin": {
+        "Left": 0.0,
+        "Top": 0.0,
+        "Right": 0.0,
+        "Bottom": 0.0
+      },
+      "ElementType": {
+        "Name": "Paragraph"
+      }
+    },
+    {
+      "LineSpace": 0.0,
+      "Elements": [
+        {
+          "Text": "\r\n\r\n超声提示",
+          "FontName": "宋体",
+          "FontSize": 16.0,
+          "FontStyles": [],
+          "FontColor": {
+            "A": 255,
+            "R": 0,
+            "G": 0,
+            "B": 0
+          },
+          "Background": {
+            "A": 255,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "LineLength": 8,
+          "LineWidth": 0.0,
+          "TextWrap": false,
+          "Id": "6dabd9ea-f751-465f-a442-6a807ec601c3",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Center",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "StaticText"
+          }
+        }
+      ],
+      "Id": "1884e6ca-d244-4612-9b8e-92113f06452e",
+      "Index": 8,
+      "Tag": null,
+      "MeasureTag": null,
+      "HorizontalAlignment": "Stretch",
+      "VerticalAlignment": "Stretch",
+      "Margin": {
+        "Left": 0.0,
+        "Top": 0.0,
+        "Right": 0.0,
+        "Bottom": 0.0
+      },
+      "ElementType": {
+        "Name": "Paragraph"
+      }
+    },
+    {
+      "LineSpace": 0.0,
+      "Elements": [
+        {
+          "IsReadOnly": false,
+          "FontName": "宋体",
+          "FontSize": 10.5,
+          "FontStyles": [],
+          "FontColor": {
+            "A": 255,
+            "R": 0,
+            "G": 0,
+            "B": 0
+          },
+          "Background": {
+            "A": 255,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "LineLength": 46,
+          "LineWidth": 474.43,
+          "TextWrap": true,
+          "Id": "8b498af9-fbe4-4bfa-b3eb-2b02ebd785a1",
+          "Index": 0,
+          "Tag": {
+            "Id": "9ebbaa61-a91d-4399-a3f4-df29117d2d59",
+            "Name": "ReportSummary",
+            "IsDefault": true,
+            "ElementTagType": "DiagnosticEntry"
+          },
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Center",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "InputText"
+          }
+        }
+      ],
+      "Id": "4b8fe5ef-e27b-411e-8f0a-64e9f01ddee1",
+      "Index": 9,
+      "Tag": null,
+      "MeasureTag": null,
+      "HorizontalAlignment": "Stretch",
+      "VerticalAlignment": "Stretch",
+      "Margin": {
+        "Left": 0.0,
+        "Top": 0.0,
+        "Right": 0.0,
+        "Bottom": 0.0
+      },
+      "ElementType": {
+        "Name": "Paragraph"
+      }
+    },
+    {
+      "LineSpace": 0.0,
+      "Elements": [],
+      "Id": "3811eed3-2f66-4307-8ecf-1bb062305233",
+      "Index": 10,
+      "Tag": null,
+      "MeasureTag": null,
+      "HorizontalAlignment": "Stretch",
+      "VerticalAlignment": "Stretch",
+      "Margin": {
+        "Left": 0.0,
+        "Top": 0.0,
+        "Right": 0.0,
+        "Bottom": 0.0
+      },
+      "ElementType": {
+        "Name": "Paragraph"
+      }
+    }
+  ],
+  "Header": [],
+  "Footer": [
+    {
+      "AutoHide": false,
+      "IsAverageColumnWidth": false,
+      "AllowBreakAcrossPages": true,
+      "ColumnDefinitions": [
+        {
+          "Width": 159.538530183727
+        },
+        {
+          "Width": 159.538530183727
+        },
+        {
+          "Width": 159.538530183727
+        }
+      ],
+      "RowDefinitions": [
+        {
+          "Height": 18.0,
+          "Type": "MinValue",
+          "MinHeight": 18.0
+        }
+      ],
+      "Cells": [
+        {
+          "Row": 0,
+          "Column": 0,
+          "RowSpan": 1,
+          "ColumnSpan": 1
+        },
+        {
+          "Blocks": [
+            {
+              "LineSpace": 0.0,
+              "Elements": [
+                {
+                  "Text": "报告时间:",
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 5,
+                  "LineWidth": 0.0,
+                  "TextWrap": false,
+                  "Id": "cec26b9d-6e6f-4d0d-90ea-a72c018f4037",
+                  "Index": 0,
+                  "Tag": null,
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "StaticText"
+                  }
+                },
+                {
+                  "IsReadOnly": true,
+                  "DateTimeFormat": "yyyy-MM-dd",
+                  "IsRealTime": true,
+                  "ShowEnabled": true,
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 5,
+                  "LineWidth": 0.0,
+                  "TextWrap": false,
+                  "Id": "679d8db3-aa5c-4101-abaa-2f1e02ce572e",
+                  "Index": 1,
+                  "Tag": {
+                    "Id": "4abbaa61-a91d-4399-a3f4-df29117d2d59",
+                    "Name": "ReportTime",
+                    "IsDefault": true,
+                    "ElementTagType": "General"
+                  },
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "DateTime"
+                  }
+                }
+              ],
+              "Id": "aa56595d-2aab-45f8-a993-97e54b16f103",
+              "Index": 0,
+              "Tag": null,
+              "MeasureTag": null,
+              "HorizontalAlignment": "Stretch",
+              "VerticalAlignment": "Stretch",
+              "Margin": {
+                "Left": 0.0,
+                "Top": 0.0,
+                "Right": 0.0,
+                "Bottom": 0.0
+              },
+              "ElementType": {
+                "Name": "Paragraph"
+              }
+            }
+          ],
+          "Background": {
+            "A": 0,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "WidthType": "FixedValue",
+          "HeightType": "MinValue",
+          "Borders": {
+            "Left": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Top": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Right": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Bottom": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            }
+          },
+          "Id": "7dc22686-cbab-44ba-8f4c-2cde456a94fd",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Stretch",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "RTCell"
+          }
+        },
+        {
+          "Row": 0,
+          "Column": 1,
+          "RowSpan": 1,
+          "ColumnSpan": 1
+        },
+        {
+          "Blocks": [
+            {
+              "LineSpace": 0.0,
+              "Elements": [
+                {
+                  "Text": "检查医师:",
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 5,
+                  "LineWidth": 0.0,
+                  "TextWrap": false,
+                  "Id": "8114d60e-1668-4f2e-ad4b-84ba24f85613",
+                  "Index": 0,
+                  "Tag": null,
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "StaticText"
+                  }
+                },
+                {
+                  "IsReadOnly": false,
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 9,
+                  "LineWidth": 90.91,
+                  "TextWrap": false,
+                  "Id": "5c8960cd-028b-4157-8ccd-0fb827b055ca",
+                  "Index": 1,
+                  "Tag": {
+                    "Id": "6abbaa61-a91d-4399-a3f4-df29117d2d59",
+                    "Name": "InspectionPhysician",
+                    "IsDefault": true,
+                    "ElementTagType": "General"
+                  },
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "InputText"
+                  }
+                }
+              ],
+              "Id": "e3791f63-0cd2-4f6d-bf6a-ab7304919991",
+              "Index": 0,
+              "Tag": null,
+              "MeasureTag": null,
+              "HorizontalAlignment": "Stretch",
+              "VerticalAlignment": "Stretch",
+              "Margin": {
+                "Left": 0.0,
+                "Top": 0.0,
+                "Right": 0.0,
+                "Bottom": 0.0
+              },
+              "ElementType": {
+                "Name": "Paragraph"
+              }
+            }
+          ],
+          "Background": {
+            "A": 0,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "WidthType": "FixedValue",
+          "HeightType": "MinValue",
+          "Borders": {
+            "Left": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Top": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Right": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Bottom": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            }
+          },
+          "Id": "3e84fc0e-8f2a-4c54-8540-2ccc157139a2",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Stretch",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "RTCell"
+          }
+        },
+        {
+          "Row": 0,
+          "Column": 2,
+          "RowSpan": 1,
+          "ColumnSpan": 1
+        },
+        {
+          "Blocks": [
+            {
+              "LineSpace": 0.0,
+              "Elements": [
+                {
+                  "Text": "报告医师:",
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 5,
+                  "LineWidth": 0.0,
+                  "TextWrap": false,
+                  "Id": "775135ff-eb1d-44f1-938b-b30419726c84",
+                  "Index": 0,
+                  "Tag": null,
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "StaticText"
+                  }
+                },
+                {
+                  "IsReadOnly": true,
+                  "FontName": "宋体",
+                  "FontSize": 10.5,
+                  "FontStyles": [],
+                  "FontColor": {
+                    "A": 255,
+                    "R": 0,
+                    "G": 0,
+                    "B": 0
+                  },
+                  "Background": {
+                    "A": 255,
+                    "R": 255,
+                    "G": 255,
+                    "B": 255
+                  },
+                  "LineLength": 9,
+                  "LineWidth": 90.91,
+                  "TextWrap": false,
+                  "Id": "f1a372bf-552f-4bd4-984b-d614e5f5e783",
+                  "Index": 1,
+                  "Tag": {
+                    "Id": "5abbaa61-a91d-4399-a3f4-df29117d2d59",
+                    "Name": "ReportPhysician",
+                    "IsDefault": true,
+                    "ElementTagType": "General"
+                  },
+                  "MeasureTag": null,
+                  "HorizontalAlignment": "Stretch",
+                  "VerticalAlignment": "Center",
+                  "Margin": {
+                    "Left": 0.0,
+                    "Top": 0.0,
+                    "Right": 0.0,
+                    "Bottom": 0.0
+                  },
+                  "ElementType": {
+                    "Name": "InputText"
+                  }
+                }
+              ],
+              "Id": "f3876899-fd2b-4887-985a-f8266492fe66",
+              "Index": 0,
+              "Tag": null,
+              "MeasureTag": null,
+              "HorizontalAlignment": "Stretch",
+              "VerticalAlignment": "Stretch",
+              "Margin": {
+                "Left": 0.0,
+                "Top": 0.0,
+                "Right": 0.0,
+                "Bottom": 0.0
+              },
+              "ElementType": {
+                "Name": "Paragraph"
+              }
+            }
+          ],
+          "Background": {
+            "A": 0,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "WidthType": "FixedValue",
+          "HeightType": "MinValue",
+          "Borders": {
+            "Left": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Top": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Right": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            },
+            "Bottom": {
+              "BorderStyle": "None",
+              "Color": {
+                "A": 255,
+                "R": 0,
+                "G": 0,
+                "B": 0
+              },
+              "Thickness": 1.0
+            }
+          },
+          "Id": "83acdaee-2324-4cdb-b391-b23ab9a3d5ea",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Stretch",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "RTCell"
+          }
+        }
+      ],
+      "Id": "84b0aaf6-af13-430f-9048-6818552b124b",
+      "Index": 0,
+      "Tag": null,
+      "MeasureTag": null,
+      "HorizontalAlignment": "Left",
+      "VerticalAlignment": "Stretch",
+      "Margin": {
+        "Left": 0.0,
+        "Top": 0.0,
+        "Right": 0.0,
+        "Bottom": 0.0
+      },
+      "ElementType": {
+        "Name": "RTTable"
+      }
+    },
+    {
+      "LineSpace": 0.0,
+      "Elements": [
+        {
+          "Width": 478.61559055118107,
+          "BorderStyle": "Solid",
+          "Stroke": {
+            "A": 255,
+            "R": 0,
+            "G": 0,
+            "B": 0
+          },
+          "Thickness": 1.0,
+          "Id": "3fd4eace-77e7-43e4-82ef-b561945e2bb3",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Stretch",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "Line"
+          }
+        }
+      ],
+      "Id": "2fbbf659-d0ba-4e93-861b-cbe874c2ea10",
+      "Index": 1,
+      "Tag": null,
+      "MeasureTag": null,
+      "HorizontalAlignment": "Stretch",
+      "VerticalAlignment": "Stretch",
+      "Margin": {
+        "Left": 0.0,
+        "Top": 0.0,
+        "Right": 0.0,
+        "Bottom": 0.0
+      },
+      "ElementType": {
+        "Name": "Paragraph"
+      }
+    },
+    {
+      "LineSpace": 0.0,
+      "Elements": [
+        {
+          "Text": "此报告仅供临床医生参考,不作证明材料",
+          "FontName": "宋体",
+          "FontSize": 10.5,
+          "FontStyles": [],
+          "FontColor": {
+            "A": 255,
+            "R": 0,
+            "G": 0,
+            "B": 0
+          },
+          "Background": {
+            "A": 255,
+            "R": 255,
+            "G": 255,
+            "B": 255
+          },
+          "LineLength": 18,
+          "LineWidth": 0.0,
+          "TextWrap": false,
+          "Id": "1749ee04-89bd-4da0-b2db-69a630be9ad4",
+          "Index": 0,
+          "Tag": null,
+          "MeasureTag": null,
+          "HorizontalAlignment": "Stretch",
+          "VerticalAlignment": "Center",
+          "Margin": {
+            "Left": 0.0,
+            "Top": 0.0,
+            "Right": 0.0,
+            "Bottom": 0.0
+          },
+          "ElementType": {
+            "Name": "StaticText"
+          }
+        }
+      ],
+      "Id": "292d783f-3e1e-4785-a6d6-06a4d60042ae",
+      "Index": 2,
+      "Tag": null,
+      "MeasureTag": null,
+      "HorizontalAlignment": "Stretch",
+      "VerticalAlignment": "Stretch",
+      "Margin": {
+        "Left": 0.0,
+        "Top": 0.0,
+        "Right": 0.0,
+        "Bottom": 0.0
+      },
+      "ElementType": {
+        "Name": "Paragraph"
+      }
+    }
+  ],
+  "BaseFontSize": 9.0,
+  "InvertColor": false,
+  "Version": "1.1_1.7.27.21460"
+}

+ 49 - 28
lib/main.dart

@@ -49,7 +49,8 @@ class _MyHomePageState extends State<MyHomePage> {
   final EdgeInsetsGeometry _padding =
       EdgeInsets.all(PtToPxConverter.ptToPx(56.83));
   late FEventHandler<String> onSelect;
-
+  String _aiJson = '';
+  String _petStr = '';
   @override
   initState() {
     onSelect = FEventHandler<String>();
@@ -59,11 +60,12 @@ class _MyHomePageState extends State<MyHomePage> {
       });
     });
     super.initState();
-    Future.delayed(
-        const Duration(milliseconds: 8000),
-        () => rootBundle.loadString('assets/single_image.json').then((jsonStr) {
-              ReportInfo.instance.reload('', DateTime.now(), jsonStr, onSelect);
-            }));
+    rootBundle.loadString('assets/single_image.json').then((jsonStr) {
+      _aiJson = jsonStr;
+    });
+    rootBundle.loadString('assets/pet.json').then((jsonStr) {
+      _petStr = jsonStr;
+    });
   }
 
   @override
@@ -87,29 +89,48 @@ class _MyHomePageState extends State<MyHomePage> {
           ),
           const SizedBox(width: 40),
           Container(
-              decoration: _buildDecoration(),
-              padding: _padding,
-              alignment: Alignment.center,
-              height: 800,
-              width: 600,
-              child: Wrap(
-                children: [
-                  ...demoImags.map((element) {
-                    return MouseRegion(
-                      cursor: SystemMouseCursors.click,
-                      child: GestureDetector(
-                        onTap: () {
-                          onSelect.emit(this, element);
-                        },
-                        child: Container(
-                          margin: const EdgeInsets.all(15),
-                          child: VidImageView.network(element),
-                        ),
+            decoration: _buildDecoration(),
+            padding: _padding,
+            alignment: Alignment.center,
+            height: 800,
+            width: 600,
+            child: Wrap(
+              children: [
+                ...demoImags.map((element) {
+                  return MouseRegion(
+                    cursor: SystemMouseCursors.click,
+                    child: GestureDetector(
+                      onTap: () {
+                        onSelect.emit(this, element);
+                      },
+                      child: Container(
+                        margin: const EdgeInsets.all(15),
+                        child: VidImageView.network(element),
                       ),
-                    );
-                  })
-                ],
-              )),
+                    ),
+                  );
+                })
+              ],
+            ),
+          ),
+          MaterialButton(
+              child: Text('testAI'),
+              onPressed: () {
+                ReportInfo.instance
+                    .reload('ai', DateTime.now(), _aiJson, onSelect);
+              }),
+          MaterialButton(
+              child: Text('testDefault'),
+              onPressed: () {
+                ReportInfo.instance
+                    .reload('default', DateTime.now(), _jsonStr, onSelect);
+              }),
+          MaterialButton(
+              child: Text('testPet'),
+              onPressed: () {
+                ReportInfo.instance
+                    .reload('pet', DateTime.now(), _petStr, onSelect);
+              }),
         ],
       ),
     );

+ 57 - 40
lib/pages/components/input_text.dart

@@ -20,7 +20,6 @@ class RInputText extends StatefulWidget {
 
 class _RInputTextState extends State<RInputText> {
   _RInputTextState();
-  late final InputText inputText;
   final _controller = TextEditingController();
   final _focusNode = FocusNode();
   double? _lineWidth = 136.0;
@@ -36,50 +35,21 @@ class _RInputTextState extends State<RInputText> {
 
   @override
   initState() {
-    inputText = widget.inputText;
-    _isReadOnly = inputText.isReadOnly!;
-    final inputTextInfo = ReportInfo.instance.getElementInfo(inputText);
-    _inputTextInfo = inputTextInfo as InputTextInfo;
-    if (inputText.isReadOnly!) {
-      if (_inputTextInfo!.tag!.name == 'ReportPhysician') {
-        _controller.text = ReportInfo.instance.reporter ?? '';
-      }
-    }
-    final fontColor = inputText.fontColor;
-    if (fontColor != null) {
-      _fontColor = Color.fromARGB(
-          fontColor.a!, fontColor.r!, fontColor.g!, fontColor.b!);
-    }
-    final backgroundColor = inputText.background;
-    if (backgroundColor != null) {
-      _backgroundColor = Color.fromARGB(backgroundColor.a!, backgroundColor.r!,
-          backgroundColor.g!, backgroundColor.b!);
-    }
-    _textStyle = TextStyle(
-      fontSize: PtToPxConverter.ptToPx(inputText.fontSize),
-      color: _fontColor,
-    );
-    //TODO(Loki):set FontName in TextField
-    final fontName = inputText.fontName;
-    //TODO(Loki):常规模板暂未设置fontStyles,后续再支持
-    final fontStyles = inputText.fontStyles;
-    _lineLength = inputText.lineLength;
-    _lineWidth = PtToPxConverter.ptToPx(inputText.lineWidth);
-
-    _textWrap = inputText.textWrap;
-    _fontSize = PtToPxConverter.ptToPx(inputText.fontSize);
-    _height = _fontSize! > 30 ? 43 : 22;
-
-    _focusNode.addListener(() {
-      if (!_focusNode.hasFocus) {
-        _onInputChanged(_textStyle!, _controller.text);
-      }
+    _initDatas();
+    ReportInfo.instance.onReloadFinsh.addListener((sender, e) {
+      _initDatas();
     });
     super.initState();
   }
 
   @override
   Widget build(BuildContext context) {
+    final inputTextInfo = ReportInfo.instance.getElementInfo(widget.inputText);
+    _inputTextInfo = inputTextInfo as InputTextInfo;
+    if (!_inputTextInfo!.isListening!) {
+      _initDatas();
+      _inputTextInfo!.isListening = true;
+    }
     return Container(
       //constraints: BoxConstraints(minWidth: _lineWidth!, maxWidth: 480),
       width: _lineWidth,
@@ -97,7 +67,7 @@ class _RInputTextState extends State<RInputText> {
           readOnly: _isReadOnly,
           decoration: null,
           textAlignVertical: AlignmentConvert.verticalAlignmentConvert(
-              inputText.verticalAlignment),
+              widget.inputText.verticalAlignment),
           minLines: 1,
           maxLines: _textWrap! ? 6 : 1,
           controller: _controller,
@@ -114,6 +84,7 @@ class _RInputTextState extends State<RInputText> {
 
   //onchange 事件
   void _onInputChanged(TextStyle _textStyle, String value) {
+    final inputText = widget.inputText;
     if (_inputTextInfo != null) {
       _inputTextInfo!.text = value;
     }
@@ -148,4 +119,50 @@ class _RInputTextState extends State<RInputText> {
     _controller.dispose();
     super.dispose();
   }
+
+  void _initDatas() {
+    _controller.text = '';
+    _focusNode.addListener(() {
+      if (!_focusNode.hasFocus) {
+        _onInputChanged(_textStyle!, _controller.text);
+      }
+    });
+    final inputText = widget.inputText;
+    _isReadOnly = inputText.isReadOnly!;
+    final inputTextInfo = ReportInfo.instance.getElementInfo(inputText);
+    _inputTextInfo = inputTextInfo as InputTextInfo;
+    if (_inputTextInfo!.isReadOnly!) {
+      if (_inputTextInfo!.tag!.name == 'ReportPhysician') {
+        _controller.text = ReportInfo.instance.reporter ?? '';
+      }
+    }
+    final fontColor = inputText.fontColor;
+    if (fontColor != null) {
+      _fontColor = Color.fromARGB(
+          fontColor.a!, fontColor.r!, fontColor.g!, fontColor.b!);
+    }
+    final backgroundColor = inputText.background;
+    if (backgroundColor != null) {
+      _backgroundColor = Color.fromARGB(backgroundColor.a!, backgroundColor.r!,
+          backgroundColor.g!, backgroundColor.b!);
+    }
+    _textStyle = TextStyle(
+      fontSize: PtToPxConverter.ptToPx(inputText.fontSize),
+      color: _fontColor,
+    );
+    //TODO(Loki):set FontName in TextField
+    final fontName = inputText.fontName;
+    //TODO(Loki):常规模板暂未设置fontStyles,后续再支持
+    final fontStyles = inputText.fontStyles;
+    _lineLength = inputText.lineLength;
+    _lineWidth = PtToPxConverter.ptToPx(inputText.lineWidth);
+
+    _textWrap = inputText.textWrap;
+    _fontSize = PtToPxConverter.ptToPx(inputText.fontSize);
+    _height = _fontSize! > 30 ? 43 : 22;
+    ReportInfo.instance.onReloadFinsh.addListener((sender, e) {
+      _initDatas();
+    });
+    setState(() {});
+  }
 }

+ 9 - 2
lib/report_edit.dart

@@ -50,6 +50,7 @@ class _ReportEditPageState extends State<ReportEditPage> {
       _footer.clear();
       widget.onSelect.dispose();
       _intitTemplate(args: e);
+      ReportInfo.instance.onReloadFinsh.emit(this, '');
     });
     super.initState();
   }
@@ -102,6 +103,14 @@ class _ReportEditPageState extends State<ReportEditPage> {
       jsonStr = args.jsonStr;
       reporter = args.reporter;
       reportDate = args.reportDate;
+      ReportInfo.instance.onReload.addListener((sender, e) {
+        _header.clear();
+        _blocks.clear();
+        _footer.clear();
+        widget.onSelect.dispose();
+        _intitTemplate(args: e);
+        ReportInfo.instance.onReloadFinsh.emit(this, '');
+      });
     }
     if (jsonStr.isEmpty) {
       return;
@@ -115,8 +124,6 @@ class _ReportEditPageState extends State<ReportEditPage> {
       _initPage();
     });
     if (args != null) {
-      ReportInfo.instance.reporter = args.reporter;
-      ReportInfo.instance.reportDate = args.reportDate;
       args.onSelect.addListener((sender, e) {
         ReportInfo.instance.selectedInputImage(e);
       });

+ 2 - 0
lib/report_info/input_text_info.dart

@@ -6,11 +6,13 @@ import 'package:fis_lib_report/report_info/text_element_info.dart';
 
 class InputTextInfo extends TextElementInfo {
   bool? isReadOnly;
+  bool? isListening;
 
   String? text;
 
   InputTextInfo.fromElement(InputText element) : super.fromElement(element) {
     isReadOnly = element.isReadOnly;
+    isListening = false;
     text = '';
   }
 }

+ 2 - 0
lib/report_info/report_info.dart

@@ -56,6 +56,8 @@ class ReportInfo {
 
   FEventHandler<ReportEventArgs> onReload = FEventHandler();
 
+  FEventHandler onReloadFinsh = FEventHandler();
+
   static ReportInfo get instance {
     _reportInfo ??= ReportInfo._internal();
     return _reportInfo!;

+ 1 - 0
pubspec.yaml

@@ -78,6 +78,7 @@ flutter:
   assets:
      - assets/default.json
      - assets/single_image.json
+     - assets/pet.json
   #   - images/a_dot_ham.jpeg
 
   # An image asset can refer to one or more resolution-specific "variants", see