|
@@ -79,12 +79,22 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
-import { computed, onMounted, UnwrapRef, watch, unref, reactive } from 'vue'
|
|
|
+import {
|
|
|
+ computed,
|
|
|
+ onMounted,
|
|
|
+ UnwrapRef,
|
|
|
+ watch,
|
|
|
+ ref,
|
|
|
+ unref,
|
|
|
+ reactive
|
|
|
+} from 'vue'
|
|
|
import { TableColumnProps, TablePaginationConfig } from 'ant-design-vue'
|
|
|
import { useStatisticStore } from '@/store/modules/statistic'
|
|
|
import dayjs from 'dayjs'
|
|
|
import { useI18n } from '@/hook/useI18n'
|
|
|
|
|
|
+const isInternational = ref(import.meta.env.VITE_IS_INTERNATIONAL)
|
|
|
+
|
|
|
const { t } = useI18n()
|
|
|
const statisticStore = useStatisticStore()
|
|
|
|
|
@@ -113,7 +123,8 @@ const columns: TableColumnProps[] = [
|
|
|
title: t('room.form.phoneNumber'),
|
|
|
// className: 'column-money',
|
|
|
dataIndex: 'phoneNumber',
|
|
|
- width: 120
|
|
|
+ width: isInternational ? 0 : 120
|
|
|
+ // className: isInternational ? "column-hidden" : ''
|
|
|
},
|
|
|
{
|
|
|
title: t('room.roomTitle'),
|
|
@@ -236,4 +247,7 @@ const handleTableChange = (pagination: any, filters: any, sorter: any) => {
|
|
|
margin-bottom: 25px;
|
|
|
min-width: 875px;
|
|
|
}
|
|
|
+.ant-table-cell.column-hidden {
|
|
|
+ display: none;
|
|
|
+}
|
|
|
</style>
|