|
|
@ -46,6 +46,7 @@ import { bankingProductsList, batchDeletion } from '@/api/bank'; |
|
|
|
import { useRouter, useRoute } from 'vue-router'; |
|
|
|
import { useRouter, useRoute } from 'vue-router'; |
|
|
|
import { getStatus } from '@/store/useProduct'; |
|
|
|
import { getStatus } from '@/store/useProduct'; |
|
|
|
import { getIds } from '@/utils/common'; |
|
|
|
import { getIds } from '@/utils/common'; |
|
|
|
|
|
|
|
import Cookies from 'js-cookie'; |
|
|
|
import Config from './Config.vue'; |
|
|
|
import Config from './Config.vue'; |
|
|
|
import Detail from './Detail.vue'; |
|
|
|
import Detail from './Detail.vue'; |
|
|
|
import Add from './Add.vue'; |
|
|
|
import Add from './Add.vue'; |
|
|
@ -63,6 +64,7 @@ const id = computed(() => +route.query.id); |
|
|
|
const actionKey = ref<number>(1); |
|
|
|
const actionKey = ref<number>(1); |
|
|
|
// 列表 |
|
|
|
// 列表 |
|
|
|
const getList = async (refresh?: number) => { |
|
|
|
const getList = async (refresh?: number) => { |
|
|
|
|
|
|
|
if (!Cookies.get('sand-submit')) { |
|
|
|
loading.value = true; |
|
|
|
loading.value = true; |
|
|
|
try { |
|
|
|
try { |
|
|
|
const { data } = await bankingProductsList({ |
|
|
|
const { data } = await bankingProductsList({ |
|
|
@ -81,6 +83,7 @@ const getList = async (refresh?: number) => { |
|
|
|
} finally { |
|
|
|
} finally { |
|
|
|
loading.value = false; |
|
|
|
loading.value = false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
onMounted(getList); |
|
|
|
onMounted(getList); |
|
|
|
|
|
|
|
|
|
|
|