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,26 +1,21 @@
import { createApp } from 'vue';
import {createApp} from 'vue';
import Cookies from 'js-cookie';
// 导入 hiprint 并挂载到全局 window 对象
import { hiprint } from 'vue-plugin-hiprint';
window.hiprint = hiprint;
import ElementPlus from 'element-plus';
import {hiprint} from 'vue-plugin-hiprint';
import ElementPlus, {ElDialog, ElMessage} from 'element-plus';
import zhCn from 'element-plus/es/locale/lang/zh-cn';
import 'element-plus/dist/index.css';
import locale from 'element-plus/es/locale/lang/zh-cn';
import '@/assets/styles/index.scss'; // global css
import App from './App';
import store from './store';
import router from './router';
import directive from './directive'; // directive
// 注册指令
import plugins from './plugins'; // plugins
import { download, downloadGet } from '@/utils/request';
import {download, downloadGet} from '@/utils/request';
// svg图标
import 'virtual:svg-icons-register';
@@ -28,18 +23,10 @@ import SvgIcon from '@/components/SvgIcon';
import elementIcons from '@/components/SvgIcon/svgicon';
import './permission'; // permission control
import {useDict} from '@/utils/dict';
import {addDateRange, handleTree, parseTime, resetForm, selectDictLabel, selectDictLabels,} from '@/utils/openhis';
import { useDict } from '@/utils/dict';
import {
parseTime,
resetForm,
addDateRange,
handleTree,
selectDictLabel,
selectDictLabels,
} from '@/utils/openhis';
import { formatDateStr } from '@/utils/index';
import {formatDateStr} from '@/utils/index';
// 分页组件
import Pagination from '@/components/Pagination';
@@ -59,11 +46,11 @@ import TreeSelect from '@/components/TreeSelect';
import DictTag from '@/components/DictTag';
// 导入请求工具
import request from './utils/request'
import { ElDialog, ElMessage } from 'element-plus';
import {registerComponents} from './template';
window.hiprint = hiprint;
import { registerComponents } from './template';
const app = createApp(App);
if (chrome.webview !== undefined) {