|
|
|
@ -50,9 +50,10 @@
|
|
|
|
<div v-if="column.field=='teamunit'">
|
|
|
|
<div v-if="column.field=='teamunit'">
|
|
|
|
{{scope.row["visit_order"].unit?scope.row["visit_order"].unit:"无"}}
|
|
|
|
{{scope.row["visit_order"].unit?scope.row["visit_order"].unit:"无"}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div v-else-if="column.field=='status'">
|
|
|
|
|
|
|
|
<el-tag :type="(scope.row[column.field]=='2'?'success':(scope.row[column.field]=='1'?'warning':'info'))">{{parameters.status_list[scope.row[column.field]]}}</el-tag>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div v-else>
|
|
|
|
<div v-else>
|
|
|
|
{{scope.row[column.field]}}
|
|
|
|
{{scope.row[column.field]}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@ -146,7 +147,13 @@
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
id: 2,
|
|
|
|
id: 2,
|
|
|
|
value: "新能源车"
|
|
|
|
value: "新能源车"
|
|
|
|
}]
|
|
|
|
}],
|
|
|
|
|
|
|
|
status_list: {
|
|
|
|
|
|
|
|
1: "待完成",
|
|
|
|
|
|
|
|
2: "已完成",
|
|
|
|
|
|
|
|
0: "已取消",
|
|
|
|
|
|
|
|
3: "已过期"
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
tableHeight: 0,
|
|
|
|
tableHeight: 0,
|
|
|
|
clientHeight: 0,
|
|
|
|
clientHeight: 0,
|
|
|
|
@ -200,11 +207,26 @@
|
|
|
|
title: "类型",
|
|
|
|
title: "类型",
|
|
|
|
type: "format",
|
|
|
|
type: "format",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
field: "in_date",
|
|
|
|
|
|
|
|
title: "入场时间",
|
|
|
|
|
|
|
|
type: "string",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
field: "out_date",
|
|
|
|
|
|
|
|
title: "出场时间",
|
|
|
|
|
|
|
|
type: "string",
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: "teamunit",
|
|
|
|
field: "teamunit",
|
|
|
|
title: "团队名称",
|
|
|
|
title: "团队名称",
|
|
|
|
type: "format",
|
|
|
|
type: "format",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
field: "status",
|
|
|
|
|
|
|
|
title: "状态",
|
|
|
|
|
|
|
|
type: "format",
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: "操作",
|
|
|
|
field: "操作",
|
|
|
|
title: "操作",
|
|
|
|
title: "操作",
|
|
|
|
|