diff --git a/server/apps/quality/migrations/0017_auto_20230511_1003.py b/server/apps/quality/migrations/0017_auto_20230511_1003.py new file mode 100644 index 0000000..703ccfa --- /dev/null +++ b/server/apps/quality/migrations/0017_auto_20230511_1003.py @@ -0,0 +1,18 @@ +# Generated by Django 3.0.5 on 2023-05-11 02:03 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('quality', '0016_auto_20210625_1118'), + ] + + operations = [ + migrations.AlterField( + model_name='inspectitem', + name='type', + field=models.CharField(choices=[('重大风险', '重大风险'), ('严重风险', '严重风险'), ('主要风险', '主要风险'), ('合规', '合规'), ('体系', '体系')], default='合规', max_length=50, verbose_name='类型'), + ), + ] diff --git a/server/apps/quality/models.py b/server/apps/quality/models.py index b62d6e7..47cd245 100644 --- a/server/apps/quality/models.py +++ b/server/apps/quality/models.py @@ -13,6 +13,9 @@ class InspectItem(CommonAModel): 检查条款 """ type_choices = ( + ('重大风险', '重大风险'), + ('严重风险', '严重风险'), + ('主要风险', '主要风险'), ('合规', '合规'), ('体系', '体系'), )