|
@@ -78,6 +78,7 @@ import { BasicTableProps, useTable } from '/@/hooks/table';
|
|
|
import { useI18n } from 'vue-i18n';
|
|
|
import { ref } from 'vue'
|
|
|
import { formatDate } from '/@/utils/formatTime';
|
|
|
+import { useUserInfo } from '/@/stores/userInfo';
|
|
|
|
|
|
const dataListModal = defineAsyncComponent(() => import('./dataListModal.vue'));
|
|
|
const dataListRef = ref();
|
|
@@ -186,9 +187,15 @@ const statusFormatter = (row: any, column: any, cellValue: any, index: any) => {
|
|
|
|
|
|
onMounted(() => {
|
|
|
query();
|
|
|
- if(route.query.clientID) {
|
|
|
+ // if(route.query.clientID) {
|
|
|
+ // setTimeout(() => {
|
|
|
+ // dataListRef.value.openDialog(route.query.clientID);
|
|
|
+ // }, 500);
|
|
|
+ // }
|
|
|
+ console.log(useUserInfo(), '客户端id');
|
|
|
+ if(useUserInfo().clientID) {
|
|
|
setTimeout(() => {
|
|
|
- dataListRef.value.openDialog(route.query.clientID);
|
|
|
+ dataListRef.value.openDialog(useUserInfo().clientID);
|
|
|
}, 500);
|
|
|
// dataListRef.value.openDialog(route.query.clientID);
|
|
|
}
|