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

@@ -9,7 +9,7 @@
</template>
<script setup>
import { ref } from 'vue';
import {ref} from 'vue';
import EditableTable from './EditableTable.vue';
defineOptions({

View File

@@ -228,9 +228,9 @@
</template>
<script setup lang="ts">
import { ref, watch, nextTick, computed } from 'vue';
import { Search } from '@element-plus/icons-vue';
import type { EditableTableProps } from '../types/EditableTable.d';
import {computed, nextTick, ref, watch} from 'vue';
import {Search} from '@element-plus/icons-vue';
import type {EditableTableProps} from '../types/EditableTable.d';
defineOptions({
name: 'EditableTable',

View File

@@ -36,9 +36,9 @@
</template>
<script setup lang="ts">
import { ref, computed } from 'vue';
import {computed, ref} from 'vue';
import FormItem from './FormItem.vue';
import type { FilterProps } from '../types/Filter.d';
import type {FilterProps} from '../types/Filter.d';
defineOptions({
name: 'Filter'

View File

@@ -24,9 +24,9 @@
</template>
<script setup lang="ts">
import { ref, computed } from 'vue';
import {computed, ref} from 'vue';
import FormItem from './FormItem.vue';
import type { FormProps } from '../types/Form.d';
import type {FormProps} from '../types/Form.d';
defineOptions({
name: 'Form'

View File

@@ -93,8 +93,8 @@
</template>
<script setup lang="ts">
import { computed } from 'vue';
import type { FormItemProps } from '../types/FormItem.d';
import {computed} from 'vue';
import type {FormItemProps} from '../types/FormItem.d';
import QuickDateRange from './QuickDateRange.vue';
defineOptions({

View File

@@ -43,9 +43,9 @@
</template>
<script setup lang="ts">
import { ref, computed } from 'vue';
import {computed, ref} from 'vue';
import FormItem from './FormItem.vue';
import type { FormLayoutProps } from '../types/FormLayout.d';
import type {FormLayoutProps} from '../types/FormLayout.d';
defineOptions({
name: 'FormLayout',

View File

@@ -9,7 +9,7 @@
</template>
<script setup>
import { ref } from 'vue';
import {ref} from 'vue';
import FormLayout from './FormLayout.vue';
defineOptions({

View File

@@ -13,7 +13,7 @@
</template>
<script setup>
import { ref, computed, watch } from 'vue';
import {computed} from 'vue';
const props = defineProps({
modelValue: [Number, String],

View File

@@ -24,8 +24,8 @@
</template>
<script setup lang="ts">
import { ref, watch, computed } from 'vue';
import type { QuickDateRangeProps } from '../types/QuickDateRange.d';
import {computed, ref, watch} from 'vue';
import type {QuickDateRangeProps} from '../types/QuickDateRange.d';
defineOptions({
name: 'QuickDateRange'

View File

@@ -99,9 +99,9 @@
</template>
<script setup lang="ts">
import { ref, computed, watch, onMounted, onUnmounted, nextTick } from 'vue';
import {computed, nextTick, onMounted, onUnmounted, ref, watch} from 'vue';
import Pagination from '@/components/Pagination/index.vue';
import type { TableProps } from '../types/Table.d';
import type {TableProps} from '../types/Table.d';
defineOptions({
name: 'Table',

View File

@@ -109,10 +109,11 @@
</template>
<script setup lang="ts">
import { ref, computed } from 'vue';
import {computed, ref} from 'vue';
import Filter from './Filter.vue';
import Table from './Table.vue';
import type { TableLayoutProps, TreeNodeData } from '../types/TableLayout.d';
import type {TableLayoutProps, TreeNodeData} from '../types/TableLayout.d';
import type {FilterExpose} from '../types/Filter.d';
defineOptions({
name: 'TableLayout',
@@ -154,7 +155,6 @@ const emit = defineEmits<{
}>();
const queryFormRef = ref<InstanceType<typeof import('element-plus').ElForm> | null>(null);
import type { FilterExpose } from '../types/Filter.d';
const queryFormComponentRef = ref<FilterExpose | null>(null);
const sideSearchKeyword = ref<string>('');
const treeRef = ref<InstanceType<typeof import('element-plus').ElTree> | null>(null);