feat: rotate flow
This commit is contained in:
parent
44ae39907e
commit
5fa910bcb9
1 changed files with 5 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ import InfoForm from 'src/components/02_personnel-management/InfoForm.vue';
|
|||
import { BranchWithChildren, BranchCreate } from 'stores/branch/types';
|
||||
import { watch } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import useFlowStore from 'src/stores/flow';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
|
|
@ -75,6 +76,7 @@ const inputFile = (() => {
|
|||
})();
|
||||
|
||||
const branchStore = useBranchStore();
|
||||
const flowStore = useFlowStore();
|
||||
const { locale } = useI18n();
|
||||
|
||||
const { data: branchData } = storeToRefs(branchStore);
|
||||
|
|
@ -92,6 +94,8 @@ const treeData = computed(() => {
|
|||
|
||||
onMounted(async () => {
|
||||
await branchStore.fetchList({ pageSize: 99999 });
|
||||
flowStore.rotate();
|
||||
|
||||
const _stats = await branchStore.stats();
|
||||
|
||||
if (_stats) {
|
||||
|
|
@ -354,6 +358,7 @@ async function onSubmit() {
|
|||
},
|
||||
];
|
||||
}
|
||||
flowStore.rotate();
|
||||
}
|
||||
|
||||
function changeTitle(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue