fix : 字段更改

This commit is contained in:
zty 2024-05-08 14:56:27 +08:00
parent 704ca815d3
commit 0824deeadc
2 changed files with 19 additions and 1 deletions

View File

@ -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='结果'),
),
]

View File

@ -235,7 +235,7 @@ class Pt(CommonBDModel):
"""能力验证
"""
pt_result_choices = (
(0, '/'),
(0, '未出'),
(10, '满意'),
(20, '有问题'),
(30, '不满意')