同步数据库
This commit is contained in:
parent
4c2c0db577
commit
f6609cd387
|
|
@ -0,0 +1,19 @@
|
||||||
|
# Generated by Django 3.0.5 on 2022-06-29 05:26
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('system', '0021_auto_20220530_1520'),
|
||||||
|
('ability', '0036_auto_20220607_1445'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='qtask',
|
||||||
|
name='orgs',
|
||||||
|
field=models.ManyToManyField(through='ability.QOrg', to='system.Organization'),
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
@ -176,6 +176,7 @@ class QTask(CommonBModel):
|
||||||
name = models.CharField('名称', max_length=100)
|
name = models.CharField('名称', max_length=100)
|
||||||
end_date = models.DateField('截止时间', null=True, blank=True)
|
end_date = models.DateField('截止时间', null=True, blank=True)
|
||||||
state = models.CharField('任务状态', max_length=50, choices=state_choices, default='待发布')
|
state = models.CharField('任务状态', max_length=50, choices=state_choices, default='待发布')
|
||||||
|
orgs = models.ManyToManyField(Organization, through='ability.qorg')
|
||||||
class Meta:
|
class Meta:
|
||||||
verbose_name = '资质报送任务'
|
verbose_name = '资质报送任务'
|
||||||
verbose_name_plural = verbose_name
|
verbose_name_plural = verbose_name
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue