diff --git a/package.json b/package.json index ef1a591..0413f8c 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,7 @@ "@sa/hooks": "workspace:*", "@sa/materials": "workspace:*", "@sa/utils": "workspace:*", + "@vicons/fluent": "^0.13.0", "@vueuse/core": "12.5.0", "clipboard": "2.0.11", "dayjs": "1.11.13", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1e21f11..8d49e3d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,6 +41,9 @@ importers: '@sa/utils': specifier: workspace:* version: link:packages/utils + '@vicons/fluent': + specifier: ^0.13.0 + version: 0.13.0 '@vueuse/core': specifier: 12.5.0 version: 12.5.0(typescript@5.7.3) @@ -1639,6 +1642,9 @@ packages: peerDependencies: vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 + '@vicons/fluent@0.13.0': + resolution: {integrity: sha512-bYGZsOE3qzvm3Cm43e7tybgGlr5ZUpYqtRZq0g0Tfupe8jIzLolpvQLNUt1zS8Mgt6goTbUk5YH7Fkv16jkykg==} + '@vitejs/plugin-vue-jsx@4.1.1': resolution: {integrity: sha512-uMJqv/7u1zz/9NbWAD3XdjaY20tKTf17XVfQ9zq4wY1BjsB/PjpJPMe2xiG39QpP4ZdhYNhm4Hvo66uJrykNLA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -6350,6 +6356,8 @@ snapshots: - supports-color - vue + '@vicons/fluent@0.13.0': {} + '@vitejs/plugin-vue-jsx@4.1.1(vite@6.1.0(@types/node@22.13.1)(jiti@2.4.2)(sass@1.84.0)(tsx@4.19.2)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': dependencies: '@babel/core': 7.26.0 diff --git a/src/service/api/workflow.ts b/src/service/api/workflow.ts index 15e91e6..7c80bc2 100644 --- a/src/service/api/workflow.ts +++ b/src/service/api/workflow.ts @@ -158,3 +158,10 @@ export function fetchWorkflowHistoryDetail(id: string, version: string) { method: 'get' }); } + +export function fetchDeleteWorkflowHistory(id: string ,version: string) { + return request({ + url: `/workflow/history/del/${id}?version=${version}`, + method: 'get' + }); +} diff --git a/src/views/workflow/task/index.vue b/src/views/workflow/task/index.vue index 48088bc..6d69c96 100644 --- a/src/views/workflow/task/index.vue +++ b/src/views/workflow/task/index.vue @@ -1,9 +1,16 @@