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