Browse Source

chore: compose workflow api

master
wangxiang 2 years ago
parent
commit
96f2529852
No known key found for this signature in database
GPG Key ID: 1BA7946AB6B232E4
  1. 7
      src/views/workflow/process/index.vue

7
src/views/workflow/process/index.vue

@ -33,14 +33,14 @@
</PageWrapper> </PageWrapper>
</template> </template>
<script lang="ts" name="Process"> <script lang="ts">
/** /**
* 提供模板规范代码参考,请尽量保证编写代码风格跟模板规范代码一致 * 提供模板规范代码参考,请尽量保证编写代码风格跟模板规范代码一致
* 采用vben-动态表格表单封装组件编写,不采用 setup 写法 * 采用vben-动态表格表单封装组件编写,不采用 setup 写法
* Copyright © 2023-2023 <a href="https://godolphinx.org">海豚生态开源社区</a> All rights reserved. * Copyright © 2023-2023 <a href="https://godolphinx.org">海豚生态开源社区</a> All rights reserved.
* author wangxiang4 * author wangxiang4
*/ */
import { defineComponent, onMounted, reactive } from 'vue'; import { defineComponent, onMounted, reactive, onActivated } from 'vue';
import { BasicTable, useTable, TableAction } from '/@/components/Table'; import { BasicTable, useTable, TableAction } from '/@/components/Table';
import { listProcessDef } from '/@/api/platform/workflow/controller/process'; import { listProcessDef } from '/@/api/platform/workflow/controller/process';
import { columns, searchFormSchema } from './process.data'; import { columns, searchFormSchema } from './process.data';
@ -98,6 +98,9 @@
fixed: false fixed: false
} }
}); });
onActivated(() => {
debugger
})
onMounted(async () => { onMounted(async () => {
state.treeData = listToTree(await listProcessCategory()); state.treeData = listToTree(await listProcessCategory());

Loading…
Cancel
Save