diff --git a/server/apps/supervision/migrations/0069_alter_pt_result.py b/server/apps/supervision/migrations/0069_alter_pt_result.py new file mode 100644 index 0000000..6907007 --- /dev/null +++ b/server/apps/supervision/migrations/0069_alter_pt_result.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.12 on 2024-05-08 06:55 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('supervision', '0068_alter_pt_certificate_date'), + ] + + operations = [ + migrations.AlterField( + model_name='pt', + name='result', + field=models.PositiveSmallIntegerField(choices=[(0, '未出'), (10, '满意'), (20, '有问题'), (30, '不满意')], default=0, help_text="((0, '未出'), (10, '满意'), (20, '有问题'), (30, '不满意'))", verbose_name='结果'), + ), + ] diff --git a/server/apps/supervision/models.py b/server/apps/supervision/models.py index eef3aa1..19e10c8 100644 --- a/server/apps/supervision/models.py +++ b/server/apps/supervision/models.py @@ -235,7 +235,7 @@ class Pt(CommonBDModel): """能力验证 """ pt_result_choices = ( - (0, '/'), + (0, '未出'), (10, '满意'), (20, '有问题'), (30, '不满意')