任务执行部门加编号
This commit is contained in:
parent
5bee04a33a
commit
878f6b19d7
|
@ -101,10 +101,12 @@
|
|||
>
|
||||
<el-table-column label="序号" type="index" align="center" width="55" />
|
||||
<el-table-column label="公司名称">
|
||||
<template slot-scope="scope" v-if="scope.row.dept_">{{
|
||||
<template slot-scope="scope" v-if="scope.row.dept_">
|
||||
<span style="color:darkblue">{{scope.row.dept_.sort}}</span>-
|
||||
{{
|
||||
scope.row.dept_.name
|
||||
}}
|
||||
<span style="color:darkblue">{{scope.row.dept_.type_name}}</span>
|
||||
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="上报率">
|
||||
|
|
|
@ -147,7 +147,7 @@ class OrganizationSimpleSerializer(serializers.ModelSerializer):
|
|||
type_name = serializers.StringRelatedField(source='type', read_only=True)
|
||||
class Meta:
|
||||
model = Organization
|
||||
fields = ['id', 'name', 'type_name']
|
||||
fields = ['id', 'name', 'type_name', 'sort']
|
||||
|
||||
class FileSimpleSerializer(serializers.ModelSerializer):
|
||||
class Meta:
|
||||
|
|
Loading…
Reference in New Issue