style(flowable): 优化流程相关代码的import顺序和代码结构

This commit is contained in:
2025-12-30 15:11:32 +08:00
parent 54cde91aac
commit d1670b79a0
2528 changed files with 7710 additions and 10794 deletions

View File

@@ -85,12 +85,13 @@
</template>
</el-dialog>
</template>
<script setup >
import { ref, onMounted } from 'vue'
<script setup>
import {onMounted, ref} from 'vue'
import useUserStore from '@/store/modules/user';
import { add, update,getLocationTree } from '../api';
import { ElMessage } from 'element-plus';
import { components } from '@/template';
import {add, getLocationTree, update} from '../api';
import {ElMessage} from 'element-plus';
import {components} from '@/template';
const emits = defineEmits(['submitOk'])
const props = defineProps({
title: {

View File

@@ -78,9 +78,9 @@
</template>
<script setup>
// 从Vue导入所需的API
import { ref, reactive, onMounted, defineAsyncComponent, nextTick, watch } from 'vue';
import { ElMessageBox, ElMessage, ElLoading, ElTree } from 'element-plus';
import { getTreeList, init, getDefinitionById, deleteDefinition,getLocationTree } from './api';
import {nextTick, onMounted, reactive, ref} from 'vue';
import {ElLoading, ElMessage, ElMessageBox, ElTree} from 'element-plus';
import {deleteDefinition, getDefinitionById, getLocationTree, getTreeList, init} from './api';
import EditTemplate from './components/editTemplate.vue';
// 添加当前模板路径和组件的响应式变量
const currentComponent = ref('');