feat: localize shared business labels across 33 views
This commit is contained in:
1 parent
17f7ac3e00
commit
ed1f861708
35 files changed
+567
-499
No files matched your search
@@ -1,4 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { useI18n } from 'vue-i18n'
|
||||
const { t } = useI18n()
|
||||
import { computed, defineAsyncComponent, onMounted, reactive, ref } from 'vue'
|
||||
import {
|
||||
Bell,
|
||||
@@ -498,7 +500,7 @@ onMounted(() => load())
|
||||
<el-select
|
||||
v-model="category"
|
||||
clearable
|
||||
placeholder="全部类型"
|
||||
:placeholder="t('businessLabels.allTypes')"
|
||||
@change="load(true)"
|
||||
>
|
||||
<el-option
|
||||
@@ -628,7 +630,7 @@ onMounted(() => load())
|
||||
v-model="recipientFilters.collegeId"
|
||||
clearable
|
||||
filterable
|
||||
placeholder="全部学院"
|
||||
:placeholder="t('businessLabels.allColleges')"
|
||||
@change="onCollegeChange"
|
||||
>
|
||||
<el-option
|
||||
@@ -655,7 +657,7 @@ onMounted(() => load())
|
||||
v-model="recipientFilters.administrativeClassId"
|
||||
clearable
|
||||
filterable
|
||||
placeholder="全部行政班"
|
||||
:placeholder="t('businessLabels.allClasses')"
|
||||
@change="loadRecipients(true)"
|
||||
>
|
||||
<el-option
|
||||
@@ -740,9 +742,9 @@ onMounted(() => load())
|
||||
/>
|
||||
</div>
|
||||
<div v-if="recipientCursors.length || recipientHasMore" class="cursor-pager">
|
||||
<el-button size="small" :disabled="!recipientCursors.length || recipientLoading" @click="previousRecipientPage">上一批</el-button>
|
||||
<el-button size="small" :disabled="!recipientCursors.length || recipientLoading" @click="previousRecipientPage">{{ t('businessLabels.previous') }}</el-button>
|
||||
<span>第 {{ recipientPage }} 批</span>
|
||||
<el-button size="small" type="primary" :disabled="!recipientHasMore || recipientLoading" @click="nextRecipientPage">下一批</el-button>
|
||||
<el-button size="small" type="primary" :disabled="!recipientHasMore || recipientLoading" @click="nextRecipientPage">{{ t('businessLabels.next') }}</el-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user