增加个人评价
This commit is contained in:
parent
c0963f0056
commit
0be9991b4d
|
@ -0,0 +1,23 @@
|
||||||
|
# Generated by Django 2.2.8 on 2021-01-04 21:47
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('safesite', '0373_trainplan_completion'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='trainuser',
|
||||||
|
name='score',
|
||||||
|
field=models.IntegerField(blank=True, null=True, verbose_name='评价总体打分'),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='trainuser',
|
||||||
|
name='opinion',
|
||||||
|
field=models.TextField(blank=True, null=True, verbose_name='建议想法'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -859,8 +859,8 @@ class Trainuser(models.Model): # 培训人员记录
|
||||||
qdsj = models.DateTimeField(null=True, blank=True)
|
qdsj = models.DateTimeField(null=True, blank=True)
|
||||||
jsqd = models.DateTimeField(verbose_name='结束签到时间',null=True,blank=True)
|
jsqd = models.DateTimeField(verbose_name='结束签到时间',null=True,blank=True)
|
||||||
isnew = models.IntegerField(default=0)
|
isnew = models.IntegerField(default=0)
|
||||||
opinion = models.TextField(null=True, blank=True)
|
opinion = models.TextField('建议想法', null=True, blank=True)
|
||||||
|
score = models.IntegerField('评价总体打分', null=True, blank=True)
|
||||||
|
|
||||||
class Relation(models.Model): # 各模块关系表,没用到
|
class Relation(models.Model): # 各模块关系表,没用到
|
||||||
trouble = models.ForeignKey(
|
trouble = models.ForeignKey(
|
||||||
|
|
Loading…
Reference in New Issue