| | |
| | | </template> |
| | | |
| | | <script setup> |
| | | import st7 from '@/assets/images/workbench/st7.svg' |
| | | |
| | | import db1 from '@/assets/images/workbench/db1.svg' |
| | | import db2 from '@/assets/images/workbench/db2.svg' |
| | | import db3 from '@/assets/images/workbench/db3.svg' |
| | |
| | | import { onMounted } from 'vue' |
| | | import { useRouter } from 'vue-router' |
| | | import { useStore } from 'vuex' |
| | | const zfTotal = ref(0) |
| | | const sjTotal = ref(0) |
| | | |
| | | const router = useRouter() |
| | | const store = useStore() |
| | | const permission = computed(() => store.getters.permission) |
| | |
| | | if (todosCache[checked.value].length > 0) { |
| | | todos.value = todosCache[checked.value] |
| | | } |
| | | |
| | | const todosParams = { |
| | | type:type, |
| | | area_code: userInfo.value.detail.areaCode, |
| | | } |
| | | try { |
| | | const res = await getOrderOrEventApi(type, userInfo.value.detail.areaCode) |
| | | const res = await getOrderOrEventApi(todosParams) |
| | | const data = res.data.data || [] |
| | | todos.value = data |
| | | todosCache[checked.value] = data |