|
@@ -475,11 +475,11 @@ export default {
|
|
|
) {
|
|
|
if (params.data.action_start !== null && params.data.action_accept !== null) {
|
|
|
responseTime = params.data.action_accept - params.data.action_start
|
|
|
- return responseTime
|
|
|
+ return this.formateSeconds(responseTime)
|
|
|
}
|
|
|
} else {
|
|
|
responseTime = params.data.action_end - params.data.action_start
|
|
|
- return responseTime
|
|
|
+ return this.formateSeconds(responseTime)
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -567,9 +567,10 @@ export default {
|
|
|
API_interaction.getList(params).then(res => {
|
|
|
_this.loading = false
|
|
|
import('@/vendor/Export2Excel').then(excel => {
|
|
|
- const tHeader = [this.$t('interaction.fromMemberName'), this.$t('interaction.toMemberName'), this.$t('interaction.actionType'), this.$t('interaction.actionEnd'), this.$t('interaction.data'),
|
|
|
+ const tHeader = [this.$t('interaction.fromMemberName'), this.$t('interaction.toMemberName'), this.$t('interaction.actionType'),
|
|
|
+ this.$t('interaction.actionEnd'), this.$t('interaction.data'), this.$t('interaction.responseTime'),
|
|
|
this.$t('interaction.createDate')] // 表头
|
|
|
- const filterVal = ['fromMemberName', 'toMemberName', 'action_type', 'action_end', 'data', 'create_date']
|
|
|
+ const filterVal = ['fromMemberName', 'toMemberName', 'action_type', 'action_end', 'data', 'responseTime', 'create_date']
|
|
|
const tit = params.start_date + this.$t('action.to') + params.end_date + this.$t('interaction.interactionRecord')
|
|
|
const data = _this.formatJson(filterVal, res.data)
|
|
|
excel.export_json_to_excel({
|