-
+
{{ $t('views.model.download.downloading') }}
- {{ $t('views.model.download.cancelDownload') }}
@@ -128,7 +124,7 @@
import type { Provider, Model } from '@/api/type/model'
import { computed, ref, onMounted, onBeforeUnmount } from 'vue'
import EditModel from '@/views/model/component/EditModel.vue'
-// import DownloadLoading from '@/components/loading/DownloadLoading.vue'
+import DownloadLoading from '@/components/loading/DownloadLoading.vue'
import { MsgConfirm } from '@/utils/message'
import { modelType } from '@/enums/model'
import ParamSettingDialog from './ParamSettingDialog.vue'
@@ -146,14 +142,12 @@ const props = defineProps<{
apiType: 'systemShare' | 'workspace' | 'systemManage'
}>()
-
const permissionPrecise = computed(() => {
return permissionMap['model'][props.apiType]
})
const downModel = ref
()
-
const currentModel = computed(() => {
if (downModel.value) {
return downModel.value
@@ -287,12 +281,6 @@ onBeforeUnmount(() => {
margin-bottom: 16px;
}
- // .percentage-value {
- // display: flex;
- // font-size: 13px;
- // align-items: center;
- // color: var(--app-text-color-secondary);
- // }
.percentage-label {
margin-top: 50px;
margin-left: 10px;
diff --git a/ui/src/views/system/resource-authorization/component/PermissionSetting.vue b/ui/src/views/system/resource-authorization/component/PermissionSetting.vue
index 6acb1b337..d091f0066 100644
--- a/ui/src/views/system/resource-authorization/component/PermissionSetting.vue
+++ b/ui/src/views/system/resource-authorization/component/PermissionSetting.vue
@@ -55,12 +55,7 @@
alt=""
/>
-
+
diff --git a/ui/src/views/tool/component/ToolListContainer.vue b/ui/src/views/tool/component/ToolListContainer.vue
index 93320b6d8..2810a64cc 100644
--- a/ui/src/views/tool/component/ToolListContainer.vue
+++ b/ui/src/views/tool/component/ToolListContainer.vue
@@ -19,7 +19,7 @@
@@ -573,7 +573,7 @@ function getList() {
const params = {
[search_type.value]: search_form.value[search_type.value],
folder_id: folder.currentFolder?.id || user.getWorkspaceId(),
- scope: systemType === 'systemShare' ? 'SHARED' : 'WORKSPACE',
+ scope: apiType.value === 'systemShare' ? 'SHARED' : 'WORKSPACE',
}
loadSharedApi({ type: 'tool', isShared: isShared.value, systemType: apiType.value })
.getToolListPage(paginationConfig, params, loading)
@@ -587,6 +587,12 @@ function clickFolder(item: any) {
folder.setCurrentFolder(item)
}
+function searchHandel() {
+ paginationConfig.current_page = 1
+ tool.setToolList([])
+ getList()
+}
+
onMounted(() => {
if (apiType.value !== 'workspace') {
getList()
diff --git a/ui/src/workflow/icons/application-node-icon.vue b/ui/src/workflow/icons/application-node-icon.vue
index fc86eca66..380f1b223 100644
--- a/ui/src/workflow/icons/application-node-icon.vue
+++ b/ui/src/workflow/icons/application-node-icon.vue
@@ -8,7 +8,7 @@
>
-
+