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

@@ -1,4 +1,5 @@
import request from '@/utils/request'
const baseUrl='/document/statistics/definition'
// 初始化
export function init() {

View File

@@ -40,10 +40,9 @@
</el-dialog>
</template>
<script setup>
import { ref, onMounted } from 'vue';
import useUserStore from '@/store/modules/user';
import { ElMessage } from 'element-plus';
import { components } from '@/template';
import {onMounted, ref} from 'vue';
import {ElMessage} from 'element-plus';
const emits = defineEmits(['submitOk']);
const props = defineProps({
formData: {

View File

@@ -144,8 +144,9 @@
</template>
<script setup name="Post">
import { init, add, update, getPageList, deleteStatistics } from './api';
import { optionselect as getDictOptionselect, getType } from '@/api/system/dict/type';
import {add, deleteStatistics, getPageList, init, update} from './api';
import {optionselect as getDictOptionselect} from '@/api/system/dict/type';
const { proxy } = getCurrentInstance();
const { sys_normal_disable } = proxy.useDict('sys_normal_disable');

View File

@@ -36,10 +36,10 @@
</template>
<script setup>
// 从Vue导入所需的API
import { ref, reactive, onMounted, defineAsyncComponent, nextTick, watch } from 'vue';
import { ElMessageBox, ElMessage, } from 'element-plus';
import { getPageList, init, } from './api';
import {onMounted, reactive, ref} from 'vue';
import {init,} from './api';
import EditStatistics from './components/editStatistics.vue';
const queryParams = ref({
pageNo: 1,
pageSize: 10,