From 129a0c82833a11f5305855ae6d6ce401756d49be Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周二, 06 5月 2025 08:15:24 +0800
Subject: [PATCH] 222

---
 Weben_CMS专用代码生成器/Code/MainForm.cs                    |   38 +++++++
 Weben_CMS专用代码生成器/Code/Generate/Web/Index_Generate.cs |   27 +++++
 Weben_CMS专用代码生成器/Code/Model/GenerateCodeParam.cs     |   10 ++
 Weben_CMS专用代码生成器/Code/Generate/Web/enum_Generate.cs  |   27 +++++
 Weben_CMS专用代码生成器/Code/MainForm.Designer.cs           |  116 ++++++++++++++++------
 Weben_CMS专用代码生成器/Code/Templete/Web/index模板.txt       |   14 ++
 Weben_CMS专用代码生成器/Code/常用.txt                         |    2 
 Weben_CMS专用代码生成器/Code/Templete/Web/enum模板.txt        |   15 +++
 Weben_CMS专用代码生成器/Code/GenerateCode_WeiBen_CMS.csproj |    8 +
 Weben_CMS专用代码生成器/Code/Utility/CommonHelper.cs        |    2 
 10 files changed, 225 insertions(+), 34 deletions(-)

diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Generate/Web/Index_Generate.cs" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Generate/Web/Index_Generate.cs"
new file mode 100644
index 0000000..c4d947e
--- /dev/null
+++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Generate/Web/Index_Generate.cs"
@@ -0,0 +1,27 @@
+锘�
+
+using GenerateCode_WeiBen_WMS.Model;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace GenerateCode_GEBrilliantFactory
+{
+    /// <summary>
+    /// 鐢熸垚鏌ヨ瀹炰綋绫�
+    /// </summary>
+    public class Index_Generate : BaseGenerate
+    {
+        public static string CreateText(GenerateCodeParam param)
+        {
+            var str = TextHelper.ReadText(@"Templete\Web\index妯℃澘.txt");
+            CommonReplace(ref str);
+
+            CommonHelper.CommonReplaceStr(param, ref str);
+
+
+            return str;
+        }
+    }
+}
diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Generate/Web/enum_Generate.cs" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Generate/Web/enum_Generate.cs"
new file mode 100644
index 0000000..75486f5
--- /dev/null
+++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Generate/Web/enum_Generate.cs"
@@ -0,0 +1,27 @@
+锘�
+
+using GenerateCode_WeiBen_WMS.Model;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace GenerateCode_GEBrilliantFactory
+{
+    /// <summary>
+    /// 鐢熸垚鏌ヨ瀹炰綋绫�
+    /// </summary>
+    public class enum_Generate : BaseGenerate
+    {
+        public static string CreateText(GenerateCodeParam param)
+        {
+            var str = TextHelper.ReadText(@"Templete\Web\enum妯℃澘.txt");
+            CommonReplace(ref str);
+
+            CommonHelper.CommonReplaceStr(param, ref str);
+
+
+            return str;
+        }
+    }
+}
diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/GenerateCode_WeiBen_CMS.csproj" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/GenerateCode_WeiBen_CMS.csproj"
index 5ae5d62..4286f30 100644
--- "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/GenerateCode_WeiBen_CMS.csproj"
+++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/GenerateCode_WeiBen_CMS.csproj"
@@ -128,6 +128,8 @@
     <Compile Include="Generate\BLL_Generate.cs" />
     <Compile Include="Generate\DAL_Generate.cs" />
     <Compile Include="Generate\Procedure_Generate.cs" />
+    <Compile Include="Generate\Web\enum_Generate.cs" />
+    <Compile Include="Generate\Web\Index_Generate.cs" />
     <Compile Include="Model\GenerateCodeParam.cs" />
     <Compile Include="Model\Enum\DataBaseEnum.cs" />
     <Compile Include="Model\Enum\DataTypeEnum.cs" />
@@ -278,6 +280,12 @@
     <Content Include="Templete\InitSQL妯℃澘.txt">
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     </Content>
+    <Content Include="Templete\Web\enum妯℃澘.txt">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
+    <Content Include="Templete\Web\index妯℃澘.txt">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
     <Content Include="甯哥敤.txt" />
   </ItemGroup>
   <ItemGroup />
diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.Designer.cs" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.Designer.cs"
index 6059ec2..c1124b5 100644
--- "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.Designer.cs"
+++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.Designer.cs"
@@ -64,6 +64,9 @@
             this.lbl_DataSource = new System.Windows.Forms.Label();
             this.cmb_DataSource = new System.Windows.Forms.ComboBox();
             this.groupBox2 = new System.Windows.Forms.GroupBox();
+            this.label19 = new System.Windows.Forms.Label();
+            this.label18 = new System.Windows.Forms.Label();
+            this.tb_EnumList = new System.Windows.Forms.TextBox();
             this.tb_GroupName = new System.Windows.Forms.TextBox();
             this.label16 = new System.Windows.Forms.Label();
             this.label15 = new System.Windows.Forms.Label();
@@ -74,9 +77,10 @@
             this.label12 = new System.Windows.Forms.Label();
             this.tb_templeteFileDownName = new System.Windows.Forms.TextBox();
             this.label14 = new System.Windows.Forms.Label();
-            this.tb_EnumList = new System.Windows.Forms.TextBox();
-            this.label18 = new System.Windows.Forms.Label();
-            this.label19 = new System.Windows.Forms.Label();
+            this.label20 = new System.Windows.Forms.Label();
+            this.tb_MenuName = new System.Windows.Forms.TextBox();
+            this.label21 = new System.Windows.Forms.Label();
+            this.tb_PageMenuInstanceName = new System.Windows.Forms.TextBox();
             this.groupBox1.SuspendLayout();
             this.groupBox2.SuspendLayout();
             this.groupBox3.SuspendLayout();
@@ -163,7 +167,7 @@
             // 
             // tb_WCF_NameSpacePath
             // 
-            this.tb_WCF_NameSpacePath.Location = new System.Drawing.Point(751, 309);
+            this.tb_WCF_NameSpacePath.Location = new System.Drawing.Point(983, 358);
             this.tb_WCF_NameSpacePath.Margin = new System.Windows.Forms.Padding(4);
             this.tb_WCF_NameSpacePath.Name = "tb_WCF_NameSpacePath";
             this.tb_WCF_NameSpacePath.Size = new System.Drawing.Size(261, 25);
@@ -172,7 +176,7 @@
             // label2
             // 
             this.label2.AutoSize = true;
-            this.label2.Location = new System.Drawing.Point(607, 311);
+            this.label2.Location = new System.Drawing.Point(862, 368);
             this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label2.Name = "label2";
             this.label2.Size = new System.Drawing.Size(105, 15);
@@ -273,7 +277,7 @@
             // label9
             // 
             this.label9.AutoSize = true;
-            this.label9.Location = new System.Drawing.Point(617, 262);
+            this.label9.Location = new System.Drawing.Point(682, 47);
             this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label9.Name = "label9";
             this.label9.Size = new System.Drawing.Size(45, 15);
@@ -282,7 +286,7 @@
             // 
             // tb_OrderBy
             // 
-            this.tb_OrderBy.Location = new System.Drawing.Point(671, 259);
+            this.tb_OrderBy.Location = new System.Drawing.Point(736, 44);
             this.tb_OrderBy.Margin = new System.Windows.Forms.Padding(4);
             this.tb_OrderBy.Name = "tb_OrderBy";
             this.tb_OrderBy.Size = new System.Drawing.Size(192, 25);
@@ -291,7 +295,7 @@
             // label10
             // 
             this.label10.AutoSize = true;
-            this.label10.Location = new System.Drawing.Point(891, 262);
+            this.label10.Location = new System.Drawing.Point(956, 47);
             this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label10.Name = "label10";
             this.label10.Size = new System.Drawing.Size(83, 15);
@@ -348,7 +352,7 @@
             // 
             // tb_RoutePrefix
             // 
-            this.tb_RoutePrefix.Location = new System.Drawing.Point(717, 345);
+            this.tb_RoutePrefix.Location = new System.Drawing.Point(983, 395);
             this.tb_RoutePrefix.Margin = new System.Windows.Forms.Padding(4);
             this.tb_RoutePrefix.Name = "tb_RoutePrefix";
             this.tb_RoutePrefix.Size = new System.Drawing.Size(192, 25);
@@ -358,7 +362,7 @@
             // label13
             // 
             this.label13.AutoSize = true;
-            this.label13.Location = new System.Drawing.Point(617, 352);
+            this.label13.Location = new System.Drawing.Point(862, 398);
             this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label13.Name = "label13";
             this.label13.Size = new System.Drawing.Size(99, 15);
@@ -423,6 +427,10 @@
             // 
             // groupBox2
             // 
+            this.groupBox2.Controls.Add(this.tb_PageMenuInstanceName);
+            this.groupBox2.Controls.Add(this.label21);
+            this.groupBox2.Controls.Add(this.tb_MenuName);
+            this.groupBox2.Controls.Add(this.label20);
             this.groupBox2.Controls.Add(this.label19);
             this.groupBox2.Controls.Add(this.label18);
             this.groupBox2.Controls.Add(this.tb_EnumList);
@@ -464,6 +472,36 @@
             this.groupBox2.TabIndex = 46;
             this.groupBox2.TabStop = false;
             this.groupBox2.Text = "鑷畾涔夐厤缃�";
+            // 
+            // label19
+            // 
+            this.label19.AutoSize = true;
+            this.label19.Location = new System.Drawing.Point(424, 432);
+            this.label19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label19.Name = "label19";
+            this.label19.Size = new System.Drawing.Size(751, 15);
+            this.label19.TabIndex = 53;
+            this.label19.Text = "PurchaseType|PurchaseTypeEnum|PurchaseTypeDesc,MaterialType|MaterialTypeEnum|Mate" +
+    "rialTypeDesc";
+            // 
+            // label18
+            // 
+            this.label18.AutoSize = true;
+            this.label18.Location = new System.Drawing.Point(424, 488);
+            this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label18.Name = "label18";
+            this.label18.Size = new System.Drawing.Size(135, 15);
+            this.label18.TabIndex = 52;
+            this.label18.Text = "鏋氫妇绫诲瀷瀛楁闆嗗悎:";
+            // 
+            // tb_EnumList
+            // 
+            this.tb_EnumList.Location = new System.Drawing.Point(557, 451);
+            this.tb_EnumList.Margin = new System.Windows.Forms.Padding(4);
+            this.tb_EnumList.Multiline = true;
+            this.tb_EnumList.Name = "tb_EnumList";
+            this.tb_EnumList.Size = new System.Drawing.Size(491, 129);
+            this.tb_EnumList.TabIndex = 51;
             // 
             // tb_GroupName
             // 
@@ -566,35 +604,41 @@
             this.label14.TabIndex = 47;
             this.label14.Text = "鏂囦欢涓嬭浇鍚嶅瓧:";
             // 
-            // tb_EnumList
+            // label20
             // 
-            this.tb_EnumList.Location = new System.Drawing.Point(557, 451);
-            this.tb_EnumList.Margin = new System.Windows.Forms.Padding(4);
-            this.tb_EnumList.Multiline = true;
-            this.tb_EnumList.Name = "tb_EnumList";
-            this.tb_EnumList.Size = new System.Drawing.Size(491, 129);
-            this.tb_EnumList.TabIndex = 51;
+            this.label20.AutoSize = true;
+            this.label20.Location = new System.Drawing.Point(600, 239);
+            this.label20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label20.Name = "label20";
+            this.label20.Size = new System.Drawing.Size(90, 15);
+            this.label20.TabIndex = 54;
+            this.label20.Text = "椤甸潰鑿滃崟鍚�:";
             // 
-            // label18
+            // tb_MenuName
             // 
-            this.label18.AutoSize = true;
-            this.label18.Location = new System.Drawing.Point(424, 488);
-            this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label18.Name = "label18";
-            this.label18.Size = new System.Drawing.Size(135, 15);
-            this.label18.TabIndex = 52;
-            this.label18.Text = "鏋氫妇绫诲瀷瀛楁闆嗗悎:";
+            this.tb_MenuName.Location = new System.Drawing.Point(700, 229);
+            this.tb_MenuName.Margin = new System.Windows.Forms.Padding(4);
+            this.tb_MenuName.Name = "tb_MenuName";
+            this.tb_MenuName.Size = new System.Drawing.Size(261, 25);
+            this.tb_MenuName.TabIndex = 55;
             // 
-            // label19
+            // label21
             // 
-            this.label19.AutoSize = true;
-            this.label19.Location = new System.Drawing.Point(424, 432);
-            this.label19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label19.Name = "label19";
-            this.label19.Size = new System.Drawing.Size(751, 15);
-            this.label19.TabIndex = 53;
-            this.label19.Text = "PurchaseType|PurchaseTypeEnum|PurchaseTypeDesc,MaterialType|MaterialTypeEnum|Mate" +
-    "rialTypeDesc";
+            this.label21.AutoSize = true;
+            this.label21.Location = new System.Drawing.Point(600, 275);
+            this.label21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label21.Name = "label21";
+            this.label21.Size = new System.Drawing.Size(135, 15);
+            this.label21.TabIndex = 56;
+            this.label21.Text = "椤甸潰鑿滃崟瀵硅薄缂╁啓:";
+            // 
+            // tb_PageMenuInstanceName
+            // 
+            this.tb_PageMenuInstanceName.Location = new System.Drawing.Point(736, 265);
+            this.tb_PageMenuInstanceName.Margin = new System.Windows.Forms.Padding(4);
+            this.tb_PageMenuInstanceName.Name = "tb_PageMenuInstanceName";
+            this.tb_PageMenuInstanceName.Size = new System.Drawing.Size(261, 25);
+            this.tb_PageMenuInstanceName.TabIndex = 57;
             // 
             // MainForm
             // 
@@ -675,6 +719,10 @@
         private System.Windows.Forms.Label label18;
         private System.Windows.Forms.TextBox tb_EnumList;
         private System.Windows.Forms.Label label19;
+        private System.Windows.Forms.Label label20;
+        private System.Windows.Forms.TextBox tb_MenuName;
+        private System.Windows.Forms.TextBox tb_PageMenuInstanceName;
+        private System.Windows.Forms.Label label21;
     }
 }
 
diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.cs" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.cs"
index 6ba8aff..39a34fb 100644
--- "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.cs"
+++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.cs"
@@ -31,6 +31,8 @@
             this.tb_WCF_NameSpacePath.Text = "HIAWms";//WCF椤圭洰鍛藉悕绌洪棿 
             this.tb_FileName.Text = "Xiangzi";//鏂囦欢鍓嶇紑鍚�
             this.tb_ChinaComment.Text = "鐗╂枡鍩虹淇℃伅琛�";//涓枃娉ㄩ噴
+            this.tb_MenuName.Text = "鐗╂枡淇℃伅";//涓枃娉ㄩ噴
+            this.tb_PageMenuInstanceName.Text = "wmsMaterial";
             this.tb_CreatePerson.Text = "shaocx";//鍒涘缓浜�
             this.tb_EntityName.Text = "WmsMaterial";//瀹炰綋绫诲悕
             //this.tb_EntityProName.Text = "wmsMaterial";//瀹炰綋绫诲璞″悕
@@ -98,6 +100,26 @@
                 string filePrefixName = this.tb_FileName.Text.Trim();//鏂囦欢鍓嶇紑鍚�
                 string modulelogo = this.tb_Modulelogo.Text.Trim();//妯″潡绠�鍐�
                 string chinaComment = this.tb_ChinaComment.Text.Trim();//涓枃娉ㄩ噴
+                if (chinaComment == "")
+                {
+                    MessageBox.Show("璇疯緭鍏� 琛ㄧ殑涓枃娉ㄨВ锛�");
+                    this.tb_ChinaComment.Focus();
+                    return;
+                }
+                string menuName = this.tb_MenuName.Text.Trim();//涓枃娉ㄩ噴
+                if (menuName == "")
+                {
+                    MessageBox.Show("璇疯緭鍏� 椤甸潰鑿滃崟鍚嶏紒");
+                    this.tb_MenuName.Focus();
+                    return;
+                }
+                string _tb_PageMenuInstanceName = this.tb_PageMenuInstanceName.Text.Trim();//涓枃娉ㄩ噴
+                if (_tb_PageMenuInstanceName == "")
+                {
+                    MessageBox.Show("璇疯緭鍏� 椤甸潰鑿滃崟瀵硅薄缂╁啓锛�");
+                    this.tb_PageMenuInstanceName.Focus();
+                    return;
+                }
                 string createPerson = this.tb_CreatePerson.Text.Trim();//鍒涘缓浜�
                 string entityName = this.tb_EntityName.Text.Trim();//瀹炰綋绫诲悕
                 string tableAlias = this.tb_EntityProName.Text.Trim();//瀹炰綋绫诲璞″悕/琛ㄥ埆鍚�
@@ -160,6 +182,8 @@
                 {
                     Modulelogo = modulelogo,
                     ChinaComment = chinaComment,
+                    PageMenuName = menuName,
+                    PageMenuInstanceName = _tb_PageMenuInstanceName,
                     NameSpacePath = wcf_NameSpacePath,
                     ColumnNameList = columnList,
                     EntityName = entityName,
@@ -265,6 +289,20 @@
 
                 #endregion
 
+                #region Web
+                var webRootPath = tbPath.Text + @"\web\src\widgets\" + tb_EntityName.Text.Trim();
+
+                //13銆佺敓鎴� Index 鏂囦欢
+                str_generate = Index_Generate.CreateText(param);
+                tf = TextHelper.Export2File_V2(webRootPath, $"index.ts", tableName, str_generate, FileType.InputModel, filePrefixName, entityName, modulelogo);
+
+                //14銆佺敓鎴� enum 鏂囦欢
+                str_generate = enum_Generate.CreateText(param);
+                tf = TextHelper.Export2File_V2(webRootPath, $"enum.ts", tableName, str_generate, FileType.InputModel, filePrefixName, entityName, modulelogo);
+
+
+                #endregion
+
 
 
                 ////鐢熸垚 OutputModel 鏂囦欢
diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Model/GenerateCodeParam.cs" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Model/GenerateCodeParam.cs"
index bb9b0f4..9052539 100644
--- "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Model/GenerateCodeParam.cs"
+++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Model/GenerateCodeParam.cs"
@@ -23,6 +23,16 @@
         public string ChinaComment { get; set; }
 
         /// <summary>
+        /// 椤甸潰鑿滃崟鍚�
+        /// </summary>
+        public string PageMenuName { get; set; }
+
+        /// <summary>
+        /// 椤甸潰鑿滃崟瀵硅薄缂╁啓
+        /// </summary>
+        public string PageMenuInstanceName { get; set; }
+
+        /// <summary>
         /// 鍒楀悕鍒楄〃
         /// </summary>
         public List<ColumnModel> ColumnNameList { get; set; } = new List<ColumnModel>();
diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Web/enum\346\250\241\346\235\277.txt" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Web/enum\346\250\241\346\235\277.txt"
new file mode 100644
index 0000000..5b9bbea
--- /dev/null
+++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Web/enum\346\250\241\346\235\277.txt"
@@ -0,0 +1,15 @@
+export interface TabType {
+  label: string
+  name: string
+  columns?: any[]
+  data?: any[]
+  isFooter: boolean
+  [key: string]: any
+}
+
+export const permissionCodes = {
+  '$PageMenuInstanceName$-list': '列表-列表',
+  '$PageMenuInstanceName$-add': '列表-添加',
+  '$PageMenuInstanceName$-import': '列表-导入',
+  '$PageMenuInstanceName$-output': '列表-输出',
+}
diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Web/index\346\250\241\346\235\277.txt" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Web/index\346\250\241\346\235\277.txt"
new file mode 100644
index 0000000..d8757c5
--- /dev/null
+++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Web/index\346\250\241\346\235\277.txt"
@@ -0,0 +1,14 @@
+import $NameSpacePath$ from './Views/$NameSpacePath$'
+import Setting from '@/components/Setting/Setting'
+import { provider } from '@/provider/index'
+import p from '../../assets/svg/p.svg'
+
+export default {
+  is: '$NameSpacePath$',
+  name: '$PageMenuName$',
+  category: 'run',
+  icon: p,
+  authorizationRequired: false,
+  canvasView: provider($NameSpacePath$),
+  settingsView: Setting,
+}
diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Utility/CommonHelper.cs" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Utility/CommonHelper.cs"
index 74ff8b3..a6d8380 100644
--- "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Utility/CommonHelper.cs"
+++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Utility/CommonHelper.cs"
@@ -41,6 +41,8 @@
         {
             str = str.Replace("$NameSpacePath$", param.NameSpacePath);//鍛藉悕绌洪棿
             str = str.Replace("$ChinaComment$", param.ChinaComment);//涓枃娉ㄩ噴
+            str = str.Replace("$PageMenuName$", param.PageMenuName);//涓枃娉ㄩ噴
+            str = str.Replace("$PageMenuInstanceName$", param.PageMenuInstanceName);//涓枃娉ㄩ噴
             str = str.Replace("$EntityName$", param.EntityName);//瀹炰綋绫诲悕
             str = str.Replace("$Modulelogo$", param.Modulelogo);//妯″潡绠�鍐�
             str = str.Replace("$EntityInstanceName$", param.EntityInstanceName);//瀹炰緥鍚�
diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/\345\270\270\347\224\250.txt" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/\345\270\270\347\224\250.txt"
index dd41129..6f3d785 100644
--- "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/\345\270\270\347\224\250.txt"
+++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/\345\270\270\347\224\250.txt"
@@ -1,6 +1,8 @@
 锘�
 $ChinaComment$
 
+$PageMenuName$
+
 $EntityName$
 
 $NameSpacePath$

--
Gitblit v1.9.3