feat: 检查条款类型增加

This commit is contained in:
caoqianming 2023-05-11 10:03:55 +08:00
parent 5c65961776
commit bffb1811df
2 changed files with 21 additions and 0 deletions

View File

@ -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='类型'),
),
]

View File

@ -13,6 +13,9 @@ class InspectItem(CommonAModel):
检查条款
"""
type_choices = (
('重大风险', '重大风险'),
('严重风险', '严重风险'),
('主要风险', '主要风险'),
('合规', '合规'),
('体系', '体系'),
)