schangxiang@126.com
2025-05-20 886d8bbb19e5bfb7c30df8d45f54e0a68c0bd0cb
Weben_CMSרÓôúÂëÉú³ÉÆ÷/Code/Generate/Web/Controllers/EntityModeDrawer_Generate.cs
@@ -23,20 +23,22 @@
            //替换新增form列表属性
            string attrString = "";
            List<ColumnModel> newColumnNameList = ListHelper.RemoveAttrForUpdateMode(param.ColumnNameList);
            attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributes(param.ColumnNameList, param);
            str = str.Replace("$PageAddFormAttributes$", attrString);
            attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributes_formItems(newColumnNameList, param);
            str = str.Replace("$PageAddFormAttributes_formItems$", attrString);
            attrString = "";
            attrString += StructStrHelper.GetVueFormOptionsStrForSave_PageAddFormAttributes(param.ColumnNameList,param);
            str = str.Replace("$Save_PageAddFormAttributes$", attrString);
            //优化了代码,这地方不用了
            //attrString = "";
            //attrString += StructStrHelper.GetVueFormOptionsStrForSave_PageAddFormAttributes(newColumnNameList, param);
            //str = str.Replace("$Save_PageAddFormAttributes$", attrString);
            attrString = "";
            attrString += StructStrHelper.GetVueFormOptionsStrForCommonQueryEnumForFrom(param.ColumnNameList, param);
            str = str.Replace("$CommonQueryEnumForFrom$", attrString);
            attrString = "";
            attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributesByOpen(param.ColumnNameList, param);
            str = str.Replace("$PageAddFormAttributesByOpen$", attrString);
            //优化了代码,这地方不用了
            //attrString = "";
            //attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributesByOpen(newColumnNameList, param);
            //str = str.Replace("$PageAddFormAttributesByOpen$", attrString);