From f518944447f2f57c69d63e397326b933d561bd95 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期六, 30 十一月 2024 23:09:56 +0800
Subject: [PATCH] 11

---
 DevApp/Gs.DevApp/DevFrm/Rpt/RptPreview.cs |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Rpt/RptPreview.cs b/DevApp/Gs.DevApp/DevFrm/Rpt/RptPreview.cs
index 3ccf9f5..df222b5 100644
--- a/DevApp/Gs.DevApp/DevFrm/Rpt/RptPreview.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Rpt/RptPreview.cs
@@ -1,6 +1,7 @@
 锘縰sing System;
 using System.Data;
 using System.IO;
+using DevExpress.Utils.VisualEffects;
 using DevExpress.XtraEditors;
 using FastReport;
 using Gs.DevApp.ToolBox;
@@ -12,10 +13,11 @@
     public partial class RptPreview : XtraForm
     {
         private readonly string _rptParameter;
-
-        public RptPreview(string rptParameter)
+        private readonly string _rptGuid;
+        public RptPreview(string strGuid, string rptParameter)
         {
             _rptParameter = rptParameter;
+            _rptGuid = strGuid;
             InitializeComponent();
             Text = _rptParameter + "鎶ヨ〃鏌ョ湅锛�";
             getRptData();
@@ -28,7 +30,9 @@
         {
             var _obj = new
             {
-                rptParameter = _rptParameter
+                rptParameter = _rptParameter,
+                guid = _rptGuid,
+                isDesign = 0
             };
             try
             {

--
Gitblit v1.9.3