|
|
@@ -34,7 +34,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script lang="ts">
|
|
|
- import { defineComponent } from 'vue';
|
|
|
+ import { defineComponent, computed } from 'vue';
|
|
|
import { BasicTable, useTable, BasicColumn, FormProps, TableAction } from '/@/components/Table';
|
|
|
import { useMessage } from '/@/hooks/web/useMessage';
|
|
|
import { uploadApi } from '/@/api/sys/upload';
|
|
|
@@ -47,30 +47,10 @@
|
|
|
// import { useCopyToClipboard } from '/@/hooks/web/useCopyToClipboard';
|
|
|
import { useGo } from '/@/hooks/web/usePage';
|
|
|
// import { Time } from '/@/components/Time';
|
|
|
+ import { useLocaleStore } from '/@/store/modules/locale';
|
|
|
+ const localeStore = useLocaleStore();
|
|
|
|
|
|
- // appid: null
|
|
|
- // companyId: 1107
|
|
|
- // companyName: "南山居"
|
|
|
- // createTime: 1644801035000
|
|
|
- // createUser: "11111111111"
|
|
|
- // fdkkPassword: null
|
|
|
- // fdkkUser: null
|
|
|
- // head: null
|
|
|
- // id: 20356
|
|
|
- // memoName: "顶顶顶顶"
|
|
|
- // message: null
|
|
|
- // nickName: "用户13822221234"
|
|
|
- // phone: "13822221234"
|
|
|
- // roleIdList: null
|
|
|
- // roleList: null
|
|
|
- // roleName: "公司员工"
|
|
|
- // state: null
|
|
|
- // token: null
|
|
|
- // type: 1
|
|
|
- // updateTime: 1644801035000
|
|
|
- // updateUser: "11111111111"
|
|
|
- // userName: "13822221234"
|
|
|
- // userPassword: "2a22bac40f44af4d3b5fdc20ea706fc5"
|
|
|
+ const isJA = computed(() => localeStore.getLocale === 'ja');
|
|
|
|
|
|
export default defineComponent({
|
|
|
components: { BasicTable, TableAction, SetpaswordModal },
|
|
|
@@ -127,7 +107,7 @@
|
|
|
dataIndex: '',
|
|
|
slots: { customRender: 'action' },
|
|
|
fixed: 'right',
|
|
|
- width: 80,
|
|
|
+ width: isJA.value ? 170 : 120,
|
|
|
},
|
|
|
];
|
|
|
|