|
@@ -411,7 +411,11 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="createTime"
|
|
|
- :label="act_status=='冻结'?'冻结时间':act_status=='正式'?'转正时间':act_status=='流失'?'流失时间':'创建时间'"
|
|
|
+ :label="
|
|
|
+ act_status=='冻结'?'冻结时间'
|
|
|
+ :act_status=='正式'?'转正时间'
|
|
|
+ :act_status=='流失'?'流失时间'
|
|
|
+ :act_status=='关闭'?'关闭时间':'创建时间'"
|
|
|
sortable="custom"
|
|
|
align="center" min-width="6.14%">
|
|
|
<template slot-scope="scope">
|
|
@@ -431,6 +435,9 @@
|
|
|
? `/${scope.row.LossTime.split('/')[1].substr(0,10)}`
|
|
|
:''}}
|
|
|
</template>
|
|
|
+ <template v-else-if="act_status=='关闭'">
|
|
|
+ {{$moment(scope.row.CloseTime).format('YYYY.MM.DD')}}
|
|
|
+ </template>
|
|
|
<template v-else>
|
|
|
{{$moment(scope.row.CreatedTime).format('YYYY.MM.DD')}}
|
|
|
</template>
|
|
@@ -2033,7 +2040,10 @@ ShareListDialog},
|
|
|
}else{
|
|
|
this.SortByTodo = false
|
|
|
this.sort_type = item.order === 'ascending' ? 'asc':item.order === 'descending' ? 'desc' : '';
|
|
|
- this.sort_param = item.column.label=='转正时间'?'formalTime':item.column.label=='冻结时间'?'freezeTime':item.column.label=='流失时间'?'lossTime':item.prop;
|
|
|
+ this.sort_param = item.column.label=='转正时间'?'formalTime'
|
|
|
+ :item.column.label=='冻结时间'?'freezeTime'
|
|
|
+ :item.column.label=='流失时间'?'lossTime'
|
|
|
+ :item.column.label=='关闭时间'?'closeTime':item.prop;
|
|
|
}
|
|
|
this.page_no = 1;
|
|
|
this.getTableData();
|