This commit is contained in:
caoqianming 2020-09-27 22:31:51 +08:00
parent f9717cdbbb
commit 9a1460ffad
2 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@
<!-- <el-tag v-if="scope.row.workscope_name">{{ scope.row.workscope_name }}</el-tag> -->
</template>
</el-table-column>
<el-table-column label="创建信息" sortable="custom" prop="create_time" v-if="showCreate">
<el-table-column label="创建信息" sortable="custom" prop="create_time" v-if="showCreate" >
<template slot-scope="scope">
<span v-if="scope.row.create_admin_">{{ scope.row.create_admin_.username }}/</span>
<span>{{ scope.row.create_time.substring(0,10) }}</span>

View File

@ -9,7 +9,7 @@ class Consult(CommonModel):
phone = models.CharField('手机号', max_length=100)
address = models.CharField('邮寄地址', max_length=1000, null=True, blank=True)
tests = ArrayField(models.CharField('检测内容', max_length=2000))
feedback = models.TextField('反馈记录', null=True, blank=True)
class Meta:
verbose_name = '咨询'
verbose_name_plural = verbose_name