+
+
+ {% for column in columns %}
+ {% if column.query %}
+ {% set dictType = column.dict_type %}
+ {% set AttrName = column.python_field[0] | upper + column.python_field[1:] %}
+ {% set parentheseIndex = column.column_comment.find("(") %}
+ {% set comment = column.column_comment[:parentheseIndex] if parentheseIndex != -1 else column.column_comment %}
+ {% if column.html_type == "input" %}
+
+
+
+ {% elif (column.html_type == "select" or column.html_type == "radio") and dictType %}
+
+
+
+
+
+ {% elif (column.html_type == "select" or column.html_type == "radio") and not dictType %}
+
+
+
+
+
+ {% elif column.html_type == "datetime" and column.query_type != "BETWEEN" %}
+
+
+
+
+ {% elif column.html_type == "datetime" and column.query_type == "BETWEEN" %}
+
+
+
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 展开/折叠
+
+
+
+
+
+ {% for column in columns %}
+ {% set pythonField = column.python_field %}
+ {% set parentheseIndex = column.column_comment.find("(") %}
+ {% set comment = column.column_comment[:parentheseIndex] if parentheseIndex != -1 else column.column_comment %}
+ {% if column.pk %}
+ {% elif column.list and column.html_type == "datetime" %}
+
+
+ {% raw %}{{{% endraw %} parseTime(scope.row.{{ pythonField }}, '{y}-{m}-{d}') {% raw %}}}{% endraw %}
+
+
+ {% elif column.list and column.html_type == "imageUpload" %}
+
+
+
+
+
+ {% elif column.list and column.dict_type %}
+
+
+ {% if column.html_type == "checkbox" %}
+
+ {% else %}
+
+ {% endif %}
+
+
+ {% elif column.list and pythonField %}
+ {% if loop.index == 1 %}
+
+ {% else %}
+
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+
+
+ 修改
+ 新增
+ 删除
+
+
+
+
+
+
+
+ {% for column in columns %}
+ {% set field = column.python_field %}
+ {% if column.insert and not column.pk %}
+ {% if column.usable_column or not column.super_column %}
+ {% set parentheseIndex = column.column_comment.find("(") %}
+ {% set comment = column.column_comment[:parentheseIndex] if parentheseIndex != -1 else column.column_comment %}
+ {% set dictType = column.dict_type %}
+ {% if treeParentCode and column.python_field == treeParentCode %}
+
+
+
+ {% elif column.html_type == "input" %}
+
+
+
+ {% elif column.html_type == "imageUpload" %}
+
+
+
+ {% elif column.html_type == "fileUpload" %}
+
+
+
+ {% elif column.html_type == "editor" %}
+
+
+
+ {% elif column.html_type == "select" and dictType %}
+
+
+
+
+
+ {% elif column.html_type == "select" and not dictType %}
+
+
+
+
+
+ {% elif column.html_type == "checkbox" and dictType %}
+
+
+
+ {% raw %}{{{% endraw %} dict.label {% raw %}}}{% endraw %}
+
+
+
+ {% elif column.html_type == "checkbox" and not dictType %}
+
+
+ 请选择字典生成
+
+
+ {% elif column.html_type == "radio" and dictType %}
+
+
+
+ {% raw %}{{{% endraw %} dict.label {% raw %}}}{% endraw %}
+
+
+
+ {% elif column.html_type == "radio" and not dictType %}
+
+
+
+
+
+ {% elif column.html_type == "datetime" %}
+
+
+
+
+ {% elif column.html_type == "textarea" %}
+
+
+
+ {% endif %}
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-fastapi-backend/module_generator/templates/vue/index.vue.jinja2 b/ruoyi-fastapi-backend/module_generator/templates/vue/index.vue.jinja2
new file mode 100644
index 0000000..673b5b0
--- /dev/null
+++ b/ruoyi-fastapi-backend/module_generator/templates/vue/index.vue.jinja2
@@ -0,0 +1,586 @@
+