QiuYiBin
4ef7879ae3
feta(admin):数字输入框添加动态点缀,样式更加好看
...
feta(admin):CURL 生成排序使用数字输入框
2025-01-06 18:01:25 +08:00
wolfcode
3d19c8d337
refactor(admin):重构注解获取 upgrade annotations
...
- Replace Doctrine annotations with PHP 8.1 attributes
- Update annotation classes to use Attribute interface
- Modify attribute usage across multiple controller files
- Update composer.json to use doctrine/annotations ^2.0.0
2025-01-02 17:04:10 +08:00
淘青松
ebce7f3b0e
隐藏搜索框提示
...
将注释属性添加到table标签上即可
2024-12-31 10:56:13 +08:00
wolfcode
55a9b13e69
refactor(curd): optimize relation binding and code generation
...
- Move relation binding logic from model constructor to controller
- Generate controller code for binding select fields-Remove unnecessary code and templates
- Improve code readability and maintainability
2024-12-20 17:09:04 +08:00
wolfcode
5d58248cf4
feat(curd): add relation data binding and optimize model construction
...
- Add relation data binding in model construction
- Update model template to include new relation construction logic
- Remove unused index method template
2024-12-20 16:26:56 +08:00
Rodots
34354837d5
fix: 修正命名空间,移除无用类的引用
2024-11-06 14:51:15 +08:00
wolfcode
0708435d91
feat(switch): add 'is_show' to switch field optionsInclude 'is_show' as an option in the switchFields array to enable the use of a switch
...
component for toggling the visibility of fields in the admin panel's build form.
2024-08-21 14:15:07 +08:00
wolfcode
55c4743417
🚀 更新CRUD/CRUD可视化操作,新增支持可视化命令行
...
Extend the CURD generation functionality to support command line operations, supplementing
the existing visual generation method. This update includes modifications to the admin interface, enabling the system to process both types of CURD generation commands effectively.
2024-08-20 09:40:34 +08:00
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
417a834593
feat(curd): 初始化下拉、单选、复选字段的后缀和字段类型定义
...
在BuildCurd.php中,新增了下拉字段的后缀定义及相关的字段类型数组初始化,同时对单选框和复选框的后缀及字段类型进行了初始化配置。这些改动将有助于更精确地识别和处理不同类型的表单字段。
2024-06-14 15:15:34 +08:00
wolfcode
6dcd0c8d1f
fix: 修复自动生成页面时获取表字段注释匹配失效
2024-06-07 11:35:46 +08:00
wolfcode
a6fd81b0ed
🚀 202405重置版
2024-05-13 11:16:20 +08:00
wolfcode
79182aa90a
Update BuildCurd.php
2024-03-24 18:57:18 +08:00
wolfcode
daa543f951
CURD可视化操作
2023-11-30 12:54:45 +08:00
wolfcode
0bd1ec9d04
编辑器兼容curd自动生成
2023-11-20 12:43:05 +08:00
wolfcode
3a4134a275
Update BuildCurd.php
2023-09-07 13:45:17 +08:00
wolfcode
986af603e3
Update BuildCurd.php
2023-09-07 13:28:27 +08:00
wolfcode
cf086a7b6c
修改 NodeAnnotation 命名标准
2023-09-04 20:45:38 +08:00
wolfcode
87cd894cb3
Update TableException.php
2023-07-18 12:05:42 +08:00
wolfcode
e48eaefc2a
Update BuildCurd.php
2023-07-18 12:05:40 +08:00
wolfcode
e1c3216904
init
2023-06-15 16:18:27 +08:00