Commit Graph

30 Commits

Author SHA1 Message Date
wolfcode
7f3a3a85f3 CURD生成器:增强字段类型设置和模板调整
本次更新增强了CURD生成器的字段类型自定义功能,允许开发者通过Web界面设置特定字段的类型,例如忽略字段、下拉字段、单选字段、多选字段、图片字段、多选图片字段、日期字段、日期时间字段和编辑器字段。这些设置会直接影响生成的控制器、模型和视图文件,从而提供更高的灵活性和定制化能力。此外,还对代码模板进行了调整,引入了`$notes`变量来存储字段定义,简化了视图中的脚本处理,并优化了控制器和模型中的代码结构。这些改动旨在改善代码的可读性和可维护性,同时使CURD生成器的使用更加直观和便捷。

通过这次更新,我们希望进一步提升CURD生成器的实用性和用户体验,减少开发者在日常 CRUD操作中重复编写代码的工作量。相关的代码改动包括对`BuildCurd.php`文件的多处调整,以实现新的字段类型设置功能;对`CommonTool.php`的修改,以支持新的数组字符串处理逻辑;对`controller.code`、`curd_generate.js`、`curd_generate.php`、`index.code`和`index.html`等文件的修改,以确保生成的代码与新的设置逻辑兼容,并改善前端交互体验。
2024-07-31 14:47:24 +08:00
wolfcode
c5a091c732 移除Vue实例并优化配置项加载逻辑
删除了`config.js`中的Vue实例创建过程,简化了上传类型的数据绑定。通过直接操作`app.upload_type`来响应上传类型的变化。
2024-07-26 10:20:18 +08:00
wolfcode
4f184abb08 移除Vue实例并优化配置项加载逻辑
删除了`config.js`中的Vue实例创建过程,简化了上传类型的数据绑定。通过直接操作`app.upload_type`来响应上传类型的变化。
2024-07-26 10:08:09 +08:00
wolfcode
e49b747f43 style: adjust width of search input in easy-admin
Set a fixed width for the search input field in the easy-admin plugin to
enhance the consistency and readability of the search section. The update
modifies the easy-admin.js and public.css files to enforce the new styling.
2024-07-16 16:02:19 +08:00
wolfcode
a2942e5589 feat(easy-admin): add laySearch support for search boxes in lists
Introduce the `laySearch` option to enable the search functionality on list
page search boxes. This improvement allows users to have a more intuitive
and interactive way of searching through the list data by providing a search
box with clear and concise feedback.

When `laySearch` is set to true, the corresponding search box will now
be equipped with the `lay-search` class which enhances the user interface
and experience.
2024-07-10 14:30:16 +08:00
wolfcode
5855a97255 Improve category selection in goods management - Simplify HTML structure and recommend a concise coding method for
category selection in both add and edit pages of the mall goods module.
- Modify the corresponding JS file to support the new category display format.
- Refactor controller code to assign categories using a more efficient method.
- Ensure consistent category data processing across all related views.

Note: This change updates the way categories are presented to the admin user,
enhancing usability and maintainability of the goods management system.
2024-06-20 10:23:27 +08:00
wolfcode
a6fd81b0ed 🚀 202405重置版 2024-05-13 11:16:20 +08:00
wolfcode
a9a4f0437d Update login.js 2024-05-08 10:59:53 +08:00
wolfcode
1d0b94009f 新增HTML编辑器,优化编辑器调用 2024-04-15 18:25:13 +08:00
wolfcode
0477e4aa4f Update log.js 2024-01-11 12:00:34 +08:00
wolfcode
72d90aea4d Update curd_generate.js 2023-12-02 13:32:56 +08:00
wolfcode
959fa6687c 优化CURD可视化操作 2023-12-01 00:03:31 +08:00
wolfcode
942ce7c941 演示环境优化 2023-11-30 18:27:43 +08:00
wolfcode
daa543f951 CURD可视化操作 2023-11-30 12:54:45 +08:00
wolfcode
da3877cf2e Update public.css 2023-11-22 17:07:27 +08:00
wolfcode
7d89af4291 日志获取注解标题 2023-11-07 17:23:22 +08:00
wolfcode
89876bfd9e 自定义登录页背景图 2023-10-27 22:39:10 +08:00
wolfcode
4c31f0fbca 修复快捷链接样式显示问题 2023-09-22 23:03:28 +08:00
wolfcode
5b085c4cb4 新增log日志导出 2023-09-15 23:31:14 +08:00
wolfcode
14a31cc19e fixed.菜单列表超过默认条数不显示的问题 2023-09-13 22:43:34 +08:00
wolfcode
6a4f91cb57 Update uploadfile.js 2023-09-07 01:58:52 +08:00
wolfcode
e20e816816 新增OSS,COS上传 2023-09-06 18:19:28 +08:00
wolfcode
37020a4718 fixed . 2023-08-07 09:27:06 +08:00
wolfcode
71104d28a2 update. 2023-07-31 14:40:16 +08:00
wolfcode
dd5388df25 Update index.js 2023-07-28 16:34:05 +08:00
wolfcode
0805c31921 Update index.js 2023-07-27 17:54:12 +08:00
wolfcode
33772a9c9c update. 2023-07-17 22:26:15 +08:00
wolfcode
8a8493a1c4 update 2023-07-15 23:45:44 +08:00
wolfcode
60a54b6a75 update 2023-06-21 00:43:31 +08:00
wolfcode
e1c3216904 init 2023-06-15 16:18:27 +08:00