diff --git a/apps/wf/migrations/0004_workflow_view_path2.py b/apps/wf/migrations/0004_workflow_view_path2.py new file mode 100644 index 00000000..8e9d4606 --- /dev/null +++ b/apps/wf/migrations/0004_workflow_view_path2.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.12 on 2025-10-16 08:29 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('wf', '0003_workflow_view_path'), + ] + + operations = [ + migrations.AddField( + model_name='workflow', + name='view_path2', + field=models.TextField(blank=True, null=True, verbose_name='前端自定义页面路径2'), + ), + ] diff --git a/apps/wf/models.py b/apps/wf/models.py index 39730a1d..522b61bc 100755 --- a/apps/wf/models.py +++ b/apps/wf/models.py @@ -22,6 +22,7 @@ class Workflow(CommonAModel): content_template = models.CharField( '内容模板', max_length=1000, default='标题:{title}, 创建时间:{create_time}', null=True, blank=True, help_text='工单字段的值可以作为参数写到模板中,格式如:标题:{title}, 创建时间:{create_time}') view_path = models.TextField('前端自定义页面路径', null=True, blank=True) + view_path2 = models.TextField('前端自定义页面路径2', null=True, blank=True) class Meta: verbose_name = '工作流'