zs
2025-05-20 b5b206551db9d0b3089b3e76732d25ea6219a5f3
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);