From bffb1811dffc9fe21c4d1d674d8dbe37f3f6485d Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 11 May 2023 10:03:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=A3=80=E6=9F=A5=E6=9D=A1=E6=AC=BE?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migrations/0017_auto_20230511_1003.py | 18 ++++++++++++++++++ server/apps/quality/models.py | 3 +++ 2 files changed, 21 insertions(+) create mode 100644 server/apps/quality/migrations/0017_auto_20230511_1003.py 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 = ( + ('重大风险', '重大风险'), + ('严重风险', '严重风险'), + ('主要风险', '主要风险'), ('合规', '合规'), ('体系', '体系'), )