diff options
Diffstat (limited to 'web/html/component/aClientTable.html')
| -rw-r--r-- | web/html/component/aClientTable.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/web/html/component/aClientTable.html b/web/html/component/aClientTable.html index 96bd502f..359e6e74 100644 --- a/web/html/component/aClientTable.html +++ b/web/html/component/aClientTable.html @@ -278,4 +278,30 @@ </a-badge> </a-popover> </template> +<template slot="createdAt" slot-scope="text, client, index"> + <template v-if="client.created_at"> + <template v-if="app.datepicker === 'gregorian'"> + [[ DateUtil.formatMillis(client.created_at) ]] + </template> + <template v-else> + [[ DateUtil.convertToJalalian(moment(client.created_at)) ]] + </template> + </template> + <template v-else> + - + </template> +</template> +<template slot="updatedAt" slot-scope="text, client, index"> + <template v-if="client.updated_at"> + <template v-if="app.datepicker === 'gregorian'"> + [[ DateUtil.formatMillis(client.updated_at) ]] + </template> + <template v-else> + [[ DateUtil.convertToJalalian(moment(client.updated_at)) ]] + </template> + </template> + <template v-else> + - + </template> +</template> {{end}} |
