| | |
| | | this.tb_PageMenuInstanceName.Text = "wmsMaterial"; |
| | | this.tb_CreatePerson.Text = "shaocx";//å建人 |
| | | this.tb_EntityName.Text = "WmsMaterial";//å®ä½ç±»å |
| | | |
| | | this.tb_LikeQueryAttrs.Text = "'MaterialCode', 'MaterialName', 'Remark'"; |
| | | this.tb_LikeQueryAttrsName.Text = "请è¾å
¥ç©æç¼ç /ç©æåç§°/夿³¨"; |
| | | |
| | | //this.tb_EntityProName.Text = "wmsMaterial";//å®ä½ç±»å¯¹è±¡å |
| | | this.tb_EnumList.Text = "PurchaseType|PurchaseTypeEnum|PurchaseTypeDesc,MaterialType|MaterialTypeEnum|MaterialTypeDesc,IsMainBranch|YesNoEnum|IsMainBranchDesc"; |
| | | |
| | |
| | | }); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (!string.IsNullOrEmpty(str_enumList)) |
| | | { |
| | | var arr_single = str_enumList.Split('|'); |
| | | enumList.Add(new EnumModel() |
| | | { |
| | | EnumAttrName = arr_single[0], |
| | | EnumType = arr_single[1], |
| | | EnumTypeDesc = arr_single[2] |
| | | }); |
| | | } |
| | | } |
| | | param.EnumList = enumList; |
| | | |
| | | //çæModel |
| | |
| | | |
| | | //20ãçæ Views\NameSpacePath æä»¶ |
| | | str_generate = NameSpacePath_Generate.CreateText(param); |
| | | tf = TextHelper.Export2File_V2(webRootPath + @"\Views", $"{param.NameSpacePath}.tsx", tableName, str_generate, FileType.InputModel, filePrefixName, entityName, modulelogo); |
| | | tf = TextHelper.Export2File_V2(webRootPath + @"\Views", $"{param.EntityName}.tsx", tableName, str_generate, FileType.InputModel, filePrefixName, entityName, modulelogo); |
| | | |
| | | //21ãçæ Views\NameSpacePath_module æä»¶ |
| | | str_generate = NameSpacePath_module_Generate.CreateText(param); |
| | | tf = TextHelper.Export2File_V2(webRootPath + @"\Views", $"{param.NameSpacePath}.module.scss", tableName, str_generate, FileType.InputModel, filePrefixName, entityName, modulelogo); |
| | | tf = TextHelper.Export2File_V2(webRootPath + @"\Views", $"{param.EntityName}.module.scss", tableName, str_generate, FileType.InputModel, filePrefixName, entityName, modulelogo); |
| | | |
| | | //22ãçæ Views\NameSpacePath_Config æä»¶ |
| | | str_generate = NameSpacePath_Config_Generate.CreateText(param); |
| | | tf = TextHelper.Export2File_V2(webRootPath + @"\Views\config", $"{param.NameSpacePath}.module.scss", tableName, str_generate, FileType.InputModel, filePrefixName, entityName, modulelogo); |
| | | tf = TextHelper.Export2File_V2(webRootPath + @"\Views\config", $"{param.EntityName}.module.scss", tableName, str_generate, FileType.InputModel, filePrefixName, entityName, modulelogo); |
| | | |
| | | |
| | | //23ãçæ Views\NameSpacePath_Config æä»¶ |
| | |
| | | { |
| | | var moule_str = tableName.Substring(index + 1, tableName.Length - index - 1); |
| | | this.tb_Modulelogo.Text = moule_str; |
| | | this.tb_EntityProName.Text = CommonHelper.TitleToLower(moule_str); |
| | | tb_PageMenuInstanceName.Text = this.tb_EntityProName.Text = CommonHelper.TitleToLower(moule_str); |
| | | } |
| | | else |
| | | { |
| | | this.tb_Modulelogo.Text = tableName; |
| | | this.tb_EntityProName.Text = CommonHelper.TitleToLower(tableName); |
| | | tb_PageMenuInstanceName.Text = this.tb_EntityProName.Text = CommonHelper.TitleToLower(tableName); |
| | | } |
| | | } |
| | | } |