随笔 - 435  文章 - 0  评论 - 110  阅读 - 62万 
08 2023 档案
abp-vnext-pro 实战(九,前端vue和vben学习)
摘要:vben效果 Vben Admin (vvbin.cn) 对应的代码在 vue-vben-admin/src/views/demo/page/form/basic/data.ts at main · vbenjs/vue-vben-admin (github.com) { field: 'time' 阅读全文
posted @ 2023-08-24 22:29 Gu 阅读(592) 评论(0) 推荐(0) 编辑
abp-vnext-pro 实战(八,聚合根的写法,客户M:N地址)
摘要:参考数据字典模块的写法 /// <summary> /// 地址 /// </summary> public class Address : FullAuditedAggregateRoot<Guid>,IMultiTenant { public Guid? TenantId { get; prot 阅读全文
posted @ 2023-08-19 23:20 Gu 阅读(151) 评论(0) 推荐(0) 编辑
abp-vnext-pro 实战(七,导出excel)
摘要:HttpApi项目,vben28\nswag\refresh.bat 更新前端接口 [HttpPost("export")] [SwaggerOperation(summary: "导出客户列表", Tags = new[] { "Customers" })] [ProducesResponseTy 阅读全文
posted @ 2023-08-10 10:27 Gu 阅读(255) 评论(0) 推荐(0) 编辑
abp-vnext-pro 实战(六,vue 前端状态pinia)
摘要:在login的时候把所有写入全局store, console.log(' 从数据库获取字典 '); const appStore = useAppStore(); const dataDictionaryServiceProxy = new DataDictionaryServiceProxy(); 阅读全文
posted @ 2023-08-09 23:38 Gu 阅读(118) 评论(0) 推荐(0) 编辑
abp-vnext-pro 实战(五,下拉框,增加搜索条件)
摘要:假如下拉的选项是后端指定,而不是用户可以自定义的,可以后端定义dto和接口。 假如要用户自定义,可以使用字典模块,这样用户可以在网页修改。 public async Task<List<PageCustomerTypeOutput>> AllCustomerTypeAsync() { var res 阅读全文
posted @ 2023-08-09 00:00 Gu 阅读(211) 评论(0) 推荐(0) 编辑
abp-vnext-pro 实战(四,给客户表增加多租户)
摘要:XXXHttpApiHostModule 里面默认启用多租户 public override void OnApplicationInitialization(ApplicationInitializationContext context) { var app = context.GetAppli 阅读全文
posted @ 2023-08-05 11:49 Gu 阅读(205) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示