|
|
@@ -362,7 +362,7 @@ defineExpose({
|
|
|
<el-option
|
|
|
v-for="item in searchOptions"
|
|
|
:key="item.field"
|
|
|
- :label="item.label"
|
|
|
+ :label="t(item.cleaned_field_name)"
|
|
|
:value="item.field"
|
|
|
/>
|
|
|
</el-select>
|
|
|
@@ -379,7 +379,7 @@ defineExpose({
|
|
|
<el-tab-pane
|
|
|
v-for="groupItem in groupColumns"
|
|
|
:key="groupItem.name"
|
|
|
- :label="groupItem.name"
|
|
|
+ :label="t(groupItem.cleaned_field_name)"
|
|
|
:name="groupItem.name"
|
|
|
>
|
|
|
<VueDraggable
|
|
|
@@ -400,7 +400,7 @@ defineExpose({
|
|
|
@mouseleave="hoverAllIcon = ''"
|
|
|
>
|
|
|
<span class="font_family icon-icon_dragsort__b draggable-icon"></span>
|
|
|
- <span class="title">{{ item.label }}</span>
|
|
|
+ <span class="title">{{ t(item.cleaned_field_name) }}</span>
|
|
|
<span
|
|
|
ref="step1"
|
|
|
v-if="hoverAllIcon === item.field || (index === 0 && isShowStep1)"
|
|
|
@@ -416,7 +416,13 @@ defineExpose({
|
|
|
</div>
|
|
|
<div class="right-select-columns">
|
|
|
<div class="title">
|
|
|
- {{ t('customizeColumns.selectedColumnsOnList', { type: route.path.includes('booking') ? t('customizeColumns.booking') : t('customizeColumns.shipment') }) }}
|
|
|
+ {{
|
|
|
+ t('customizeColumns.selectedColumnsOnList', {
|
|
|
+ type: route.path.includes('booking')
|
|
|
+ ? t('customizeColumns.booking')
|
|
|
+ : t('customizeColumns.shipment')
|
|
|
+ })
|
|
|
+ }}
|
|
|
</div>
|
|
|
<VueDraggable
|
|
|
v-vloading="loading"
|
|
|
@@ -439,7 +445,7 @@ defineExpose({
|
|
|
class="font_family icon-icon_dragsort__b draggable-icon"
|
|
|
style="font-size: 16px"
|
|
|
></span>
|
|
|
- <span class="title">{{ item.label }}</span>
|
|
|
+ <span class="title">{{ t(item.cleaned_field_name) }}</span>
|
|
|
<span
|
|
|
v-if="hoverSelectIcon === item.field || (index === 0 && isShowStep2)"
|
|
|
class="font_family icon-icon_moveup_b move-icon"
|
|
|
@@ -468,9 +474,9 @@ defineExpose({
|
|
|
@click="dialogVisible = false"
|
|
|
>{{ t('common.cancel') }}</el-button
|
|
|
>
|
|
|
- <el-button type="default" style="height: 40px; padding: 8px 20px" @click="handleReset"
|
|
|
- >{{ t('customizeColumns.resetToDefault') }}</el-button
|
|
|
- >
|
|
|
+ <el-button type="default" style="height: 40px; padding: 8px 20px" @click="handleReset">{{
|
|
|
+ t('customizeColumns.resetToDefault')
|
|
|
+ }}</el-button>
|
|
|
<el-button
|
|
|
class="el-button--dark"
|
|
|
style="height: 40px; padding: 8px 40px"
|
|
|
@@ -490,9 +496,17 @@ defineExpose({
|
|
|
<el-tour-step :show-close="false" :target="step1?.[0]">
|
|
|
<template #default>
|
|
|
<div class="description">
|
|
|
- {{ t('customizeColumns.tourStep1', { type: route.path.includes('booking') ? t('customizeColumns.booking') : t('customizeColumns.shipment') }) }}
|
|
|
+ {{
|
|
|
+ t('customizeColumns.tourStep1', {
|
|
|
+ type: route.path.includes('booking')
|
|
|
+ ? t('customizeColumns.booking')
|
|
|
+ : t('customizeColumns.shipment')
|
|
|
+ })
|
|
|
+ }}
|
|
|
+ </div>
|
|
|
+ <div class="got-it-text" @click="handleCloseTour('step1')">
|
|
|
+ {{ t('customizeColumns.gotIt') }}
|
|
|
</div>
|
|
|
- <div class="got-it-text" @click="handleCloseTour('step1')">{{ t('customizeColumns.gotIt') }}</div>
|
|
|
</template>
|
|
|
</el-tour-step>
|
|
|
</el-tour>
|
|
|
@@ -507,12 +521,26 @@ defineExpose({
|
|
|
<el-tour-step :show-close="false" :target="step2?.[0]">
|
|
|
<template #default>
|
|
|
<div class="description">
|
|
|
- {{ t('customizeColumns.tourStep2Line1', { type: route.path.includes('booking') ? t('customizeColumns.booking') : t('customizeColumns.shipment') }) }}
|
|
|
+ {{
|
|
|
+ t('customizeColumns.tourStep2Line1', {
|
|
|
+ type: route.path.includes('booking')
|
|
|
+ ? t('customizeColumns.booking')
|
|
|
+ : t('customizeColumns.shipment')
|
|
|
+ })
|
|
|
+ }}
|
|
|
</div>
|
|
|
<div class="description">
|
|
|
- {{ t('customizeColumns.tourStep2Line2', { type: route.path.includes('booking') ? t('customizeColumns.booking') : t('customizeColumns.shipment') }) }}
|
|
|
+ {{
|
|
|
+ t('customizeColumns.tourStep2Line2', {
|
|
|
+ type: route.path.includes('booking')
|
|
|
+ ? t('customizeColumns.booking')
|
|
|
+ : t('customizeColumns.shipment')
|
|
|
+ })
|
|
|
+ }}
|
|
|
+ </div>
|
|
|
+ <div class="got-it-text" @click="handleCloseTour('step2')">
|
|
|
+ {{ t('customizeColumns.gotIt') }}
|
|
|
</div>
|
|
|
- <div class="got-it-text" @click="handleCloseTour('step2')">{{ t('customizeColumns.gotIt') }}</div>
|
|
|
</template>
|
|
|
</el-tour-step>
|
|
|
</el-tour>
|