From dfcd7292930616dfa36207cd23ebbb7a99813178 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周二, 20 5月 2025 18:14:03 +0800
Subject: [PATCH] //将抽屉强制挂载到 body 元素上,确保样式隔离和滚动行为正常,不受嵌套页面的影响
---
Weben_CMS专用代码生成器/Code/Generate/Web/Controllers/EntityModeQueryDrawer_Generate.cs | 27 ++++++++++++++++-----------
1 files changed, 16 insertions(+), 11 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/Controllers/EntityModeQueryDrawer_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/Controllers/EntityModeQueryDrawer_Generate.cs"
index bfc6ccb..25b023b 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/Generate/Web/Controllers/EntityModeQueryDrawer_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/Controllers/EntityModeQueryDrawer_Generate.cs"
@@ -22,23 +22,28 @@
//鏇挎崲鏂板form鍒楄〃灞炴��
string attrString = "";
- List<ColumnModel> newColumnNameList = ListHelper.RemoveAttrForUpdateMode(param.ColumnNameList);
- attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributes_Query(param.ColumnNameList, param);
+ List<ColumnModel> newColumnNameList = ListHelper.RemoveForPageTableListQueryAttributes(param.ColumnNameList);
+ attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributes_Query(newColumnNameList, param);
str = str.Replace("$PageAddFormAttributes_Query$", attrString);
- attrString = "";
- attrString += StructStrHelper.GetVueFormOptionsStrForSave_PageAddFormAttributes_Query(param.ColumnNameList,param);
- str = str.Replace("$Save_PageAddFormAttributes_Query$", attrString);
+ //楂樼骇鏌ヨ杩囨护浼樺寲浜嗭紝涓嶅啀鐢ㄨ繖绉嶆柟寮忎簡
+ //attrString = "";
+ //attrString += StructStrHelper.GetVueFormOptionsStrForSave_PageAddFormAttributes_Query(newColumnNameList, param);
+ //str = str.Replace("$Save_PageAddFormAttributes_Query$", attrString);
+
+ //楂樼骇鏌ヨ杩囨护浼樺寲浜嗭紝涓嶅啀鐢ㄨ繖绉嶆柟寮忎簡
+ //attrString = "";
+ //attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributes_Query_Clear(newColumnNameList, param);
+ //str = str.Replace("$Save_PageAddFormAttributes_Query_Clear$", attrString);
+
+ //楂樼骇鏌ヨ杩囨护浼樺寲浜嗭紝涓嶅啀鐢ㄨ繖绉嶆柟寮忎簡
+ //attrString = "";
+ //attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributes_Query_Clear_HighSelect(newColumnNameList, param);
+ //str = str.Replace("$Save_PageAddFormAttributes_Query_Clear_HighSelect$", attrString);
attrString = "";
attrString += StructStrHelper.GetVueFormOptionsStrForCommonQueryEnumForFrom(param.ColumnNameList, param);
str = str.Replace("$CommonQueryEnumForFrom$", attrString);
-
- attrString = "";
- attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributes_Query_Clear(param.ColumnNameList, param);
- str = str.Replace("$Save_PageAddFormAttributes_Query_Clear$", attrString);
-
-
return str;
}
--
Gitblit v1.9.3