add message
This commit is contained in:
parent
8116692491
commit
b41b192b41
|
@ -128,7 +128,7 @@ class TaskAddition(models.Model):
|
|||
task = models.ForeignKey(Task, on_delete=models.CASCADE)
|
||||
category = models.IntegerField(
|
||||
'category', choices=TASK_ADDITION_TYPE_CHOICES, default=1)
|
||||
url = models.CharField('url', max_length=256, null=True, blank=True)
|
||||
url = models.CharField('url', max_length=512, null=True, blank=True)
|
||||
file = models.FileField(
|
||||
upload_to='task/file/%Y/%m/%d/', null=True, blank=True)
|
||||
picture = models.ImageField(
|
||||
|
@ -172,12 +172,12 @@ class Message(models.Model):
|
|||
content = models.TextField('内容', null=True, blank=True)
|
||||
# url
|
||||
page_title = models.CharField(
|
||||
'page_title', max_length=256, null=True, blank=True)
|
||||
'page_title', max_length=512, null=True, blank=True)
|
||||
page_description = models.CharField(
|
||||
'page_description', max_length=512, null=True, blank=True)
|
||||
'page_description', max_length=1024, null=True, blank=True)
|
||||
page_image = models.CharField(
|
||||
'page_image', max_length=256, null=True, blank=True)
|
||||
url = models.CharField('url', max_length=256, null=True, blank=True)
|
||||
'page_image', max_length=512, null=True, blank=True)
|
||||
url = models.CharField('url', max_length=512, null=True, blank=True)
|
||||
|
||||
# file
|
||||
file_title = models.CharField(
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
var myChart3 = echarts.init(document.getElementById('chart3'));
|
||||
var option3 = {
|
||||
title: {
|
||||
text: '政务新媒体省址、市州和县区分布',
|
||||
text: '政务新媒体省直部门、市州和县区分布',
|
||||
subtextStyle: {
|
||||
fontSize: 16,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue