|
@@ -90,7 +90,14 @@
|
|
<template slot="content">
|
|
<template slot="content">
|
|
<span v-if="client.expiryTime < 0">{{ i18n "pages.client.delayedStart" }}
|
|
<span v-if="client.expiryTime < 0">{{ i18n "pages.client.delayedStart" }}
|
|
</span>
|
|
</span>
|
|
- <span v-else>[[ DateUtil.formatMillis(client._expiryTime) ]]</span>
|
|
|
|
|
|
+ <span v-else>
|
|
|
|
+ <template v-if="app.datepicker === 'gregorian'">
|
|
|
|
+ [[ DateUtil.formatMillis(client._expiryTime) ]]
|
|
|
|
+ </template>
|
|
|
|
+ <template v-else>
|
|
|
|
+ [[ DateUtil.convertToJalalian(moment(client._expiryTime)) ]]
|
|
|
|
+ </template>
|
|
|
|
+ </span>
|
|
</template>
|
|
</template>
|
|
<table>
|
|
<table>
|
|
<tr class="tr-table-box">
|
|
<tr class="tr-table-box">
|
|
@@ -108,7 +115,14 @@
|
|
<template slot="content">
|
|
<template slot="content">
|
|
<span v-if="client.expiryTime < 0">{{ i18n "pages.client.delayedStart" }}
|
|
<span v-if="client.expiryTime < 0">{{ i18n "pages.client.delayedStart" }}
|
|
</span>
|
|
</span>
|
|
- <span v-else>[[ DateUtil.formatMillis(client._expiryTime) ]]</span>
|
|
|
|
|
|
+ <span v-else>
|
|
|
|
+ <template v-if="app.datepicker === 'gregorian'">
|
|
|
|
+ [[ DateUtil.formatMillis(client._expiryTime) ]]
|
|
|
|
+ </template>
|
|
|
|
+ <template v-else>
|
|
|
|
+ [[ DateUtil.convertToJalalian(moment(client._expiryTime)) ]]
|
|
|
|
+ </template>
|
|
|
|
+ </span>
|
|
</template>
|
|
</template>
|
|
<a-tag style="min-width: 50px; border: none;" :color="userExpiryColor(app.expireDiff, client, themeSwitcher.isDarkTheme)"> [[ remainedDays(client.expiryTime) ]] </a-tag>
|
|
<a-tag style="min-width: 50px; border: none;" :color="userExpiryColor(app.expireDiff, client, themeSwitcher.isDarkTheme)"> [[ remainedDays(client.expiryTime) ]] </a-tag>
|
|
</a-popover>
|
|
</a-popover>
|
|
@@ -201,7 +215,14 @@
|
|
<template slot="content">
|
|
<template slot="content">
|
|
<span v-if="client.expiryTime < 0">{{ i18n "pages.client.delayedStart" }}
|
|
<span v-if="client.expiryTime < 0">{{ i18n "pages.client.delayedStart" }}
|
|
</span>
|
|
</span>
|
|
- <span v-else>[[ DateUtil.formatMillis(client._expiryTime) ]]</span>
|
|
|
|
|
|
+ <span v-else>
|
|
|
|
+ <template v-if="app.datepicker === 'gregorian'">
|
|
|
|
+ [[ DateUtil.formatMillis(client._expiryTime) ]]
|
|
|
|
+ </template>
|
|
|
|
+ <template v-else>
|
|
|
|
+ [[ DateUtil.convertToJalalian(moment(client._expiryTime)) ]]
|
|
|
|
+ </template>
|
|
|
|
+ </span>
|
|
</template>
|
|
</template>
|
|
<a-progress :show-info="false" :status="isClientEnabled(record, client.email)? 'exception' : ''" :percent="expireProgress(client.expiryTime, client.reset)" />
|
|
<a-progress :show-info="false" :status="isClientEnabled(record, client.email)? 'exception' : ''" :percent="expireProgress(client.expiryTime, client.reset)" />
|
|
</a-popover>
|
|
</a-popover>
|
|
@@ -214,7 +235,14 @@
|
|
<template slot="content">
|
|
<template slot="content">
|
|
<span v-if="client.expiryTime < 0">{{ i18n "pages.client.delayedStart" }}
|
|
<span v-if="client.expiryTime < 0">{{ i18n "pages.client.delayedStart" }}
|
|
</span>
|
|
</span>
|
|
- <span v-else>[[ DateUtil.formatMillis(client._expiryTime) ]]</span>
|
|
|
|
|
|
+ <span v-else>
|
|
|
|
+ <template v-if="app.datepicker === 'gregorian'">
|
|
|
|
+ [[ DateUtil.formatMillis(client._expiryTime) ]]
|
|
|
|
+ </template>
|
|
|
|
+ <template v-else>
|
|
|
|
+ [[ DateUtil.convertToJalalian(moment(client._expiryTime)) ]]
|
|
|
|
+ </template>
|
|
|
|
+ </span>
|
|
</template>
|
|
</template>
|
|
<a-tag style="min-width: 50px; border: none;" :color="userExpiryColor(app.expireDiff, client, themeSwitcher.isDarkTheme)"> [[ remainedDays(client.expiryTime) ]] </a-tag>
|
|
<a-tag style="min-width: 50px; border: none;" :color="userExpiryColor(app.expireDiff, client, themeSwitcher.isDarkTheme)"> [[ remainedDays(client.expiryTime) ]] </a-tag>
|
|
</a-popover>
|
|
</a-popover>
|