From 44956f4609df3f0c321ad6d31d47b72f1a050c29 Mon Sep 17 00:00:00 2001
From: limengnan <420004014@qq.com>
Date: Tue, 24 Jun 2025 15:16:08 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=89=8D=E7=AB=AFsrc/views/v?=
=?UTF-8?q?iewsnew/application/service/datasource=E7=9B=AE=E5=BD=95?=
=?UTF-8?q?=E6=96=87=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../service/datasource/BaseInfoContent.vue | 26 +-
.../service/datasource/BaseInfoItem.vue | 6 +-
.../service/datasource/ExcelInfo.vue | 2 +-
.../service/datasource/ExcelInfoBase.vue | 54 +
.../datasource/form/ApiHttpRequestDraw.vue | 68 +-
.../datasource/form/ApiHttpRequestForm.vue | 8 -
.../service/datasource/form/ApiKeyValue.vue | 84 +-
.../service/datasource/form/ApiVariable.vue | 3 -
.../service/datasource/form/CreatDsGroup.vue | 6 +-
.../service/datasource/form/EditorDetail.vue | 142 +-
.../service/datasource/form/ExcelDetail.vue | 197 ++-
.../datasource/form/ExcelRemoteDetail.vue | 1452 +++++++++++++++++
.../service/datasource/form/Pagination.vue | 10 +-
.../service/datasource/form/index.vue | 200 ++-
.../service/datasource/form/option.ts | 8 +-
.../application/service/datasource/index.vue | 210 ++-
16 files changed, 2051 insertions(+), 425 deletions(-)
create mode 100644 core/core-frontend/src/viewsnew/application/service/datasource/ExcelInfoBase.vue
create mode 100644 core/core-frontend/src/viewsnew/application/service/datasource/form/ExcelRemoteDetail.vue
diff --git a/core/core-frontend/src/viewsnew/application/service/datasource/BaseInfoContent.vue b/core/core-frontend/src/viewsnew/application/service/datasource/BaseInfoContent.vue
index ec3d448..bf84201 100644
--- a/core/core-frontend/src/viewsnew/application/service/datasource/BaseInfoContent.vue
+++ b/core/core-frontend/src/viewsnew/application/service/datasource/BaseInfoContent.vue
@@ -2,10 +2,15 @@
import icon_expandRight_filled from '@/assets/svg/icon_expand-right_filled.svg'
import { ref } from 'vue'
import { propTypes } from '@/utils/propTypes'
+import { timestampFormatDate } from '../dataset/form/util'
+import { useI18n } from '@/hooks/web/useI18n'
defineProps({
- name: propTypes.string.def('')
+ name: propTypes.string.def(''),
+ time: propTypes.number.def(0),
+ showTime: propTypes.bool.def(false)
})
const active = ref(true)
+const { t } = useI18n()
defineExpose({
active
})
@@ -13,13 +18,15 @@ defineExpose({
-
+
+ {{ t('data_source.data_time') }}{{ timestampFormatDate(time) }}
+
@@ -61,7 +68,12 @@ defineExpose({
line-height: 24px;
margin-left: 8px;
}
-
+ .time {
+ color: #8f959e;
+ font-size: 14px;
+ line-height: 22px;
+ padding: 0 0 0 8px;
+ }
&.active {
.title {
.ed-icon {
diff --git a/core/core-frontend/src/viewsnew/application/service/datasource/BaseInfoItem.vue b/core/core-frontend/src/viewsnew/application/service/datasource/BaseInfoItem.vue
index d013785..cca145e 100644
--- a/core/core-frontend/src/viewsnew/application/service/datasource/BaseInfoItem.vue
+++ b/core/core-frontend/src/viewsnew/application/service/datasource/BaseInfoItem.vue
@@ -7,10 +7,10 @@ defineProps({
diff --git a/core/core-frontend/src/viewsnew/application/service/datasource/ExcelInfo.vue b/core/core-frontend/src/viewsnew/application/service/datasource/ExcelInfo.vue
index ad2bdb6..4984a01 100644
--- a/core/core-frontend/src/viewsnew/application/service/datasource/ExcelInfo.vue
+++ b/core/core-frontend/src/viewsnew/application/service/datasource/ExcelInfo.vue
@@ -1,7 +1,7 @@
+
+
+
+
+
+
+
{{ name || '-' }}
+
{{ size || '-' }}
+
+
+
+
diff --git a/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiHttpRequestDraw.vue b/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiHttpRequestDraw.vue
index 0110386..391b99f 100644
--- a/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiHttpRequestDraw.vue
+++ b/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiHttpRequestDraw.vue
@@ -190,7 +190,17 @@ const initApiItem = (
) => {
pluginDs.value = pluginDsList
pluginIndex.value = indexPlugin
- isPlugin.value = isPluginDs
+ if (!isPluginDs) {
+ const arr = pluginDs.value.filter(ele => {
+ return ele.type === from.type
+ })
+ if (arr && arr.length > 0) {
+ isPlugin.value = true
+ }
+ } else {
+ isPlugin.value = isPluginDs
+ }
+
copyItem.value = val.copy
copyDs.value = from.copy
dsType.value = from.type
@@ -354,6 +364,12 @@ const saveItem = () => {
}
}
returnAPIItem('returnItem', cloneDeep(apiItem))
+ if (isPlugin.value) {
+ xpackApiItemBasicInfo?.value?.invokeMethod({
+ methodName: 'resetForm',
+ args: []
+ })
+ }
edit_api_item.value = false
}
const before = () => {
@@ -450,12 +466,14 @@ const validateItem = () => {
}
cancelMap['/datasource/checkApiDatasource']?.()
const params = Base64.encode(JSON.stringify(paramsList))
+ formLoading.value = true
checkApiItem({
dsType: dsType.value,
data: Base64.encode(JSON.stringify(apiItem)),
paramsList: params
})
.then(response => {
+ formLoading.value = false
apiItem.jsonFields = response.data.jsonFields
apiItem.fields = []
apiItem.name = response.data.name
@@ -464,6 +482,7 @@ const validateItem = () => {
ElMessage.success(t('datasource.validate_success'))
})
.catch(() => {
+ formLoading.value = false
ElMessage.error(t('data_source.verification_failed'))
})
}
@@ -483,6 +502,12 @@ const handleSubmit = param => {
const closeEditItem = () => {
cancelMap['/datasource/checkApiDatasource']?.()
+ if (isPlugin.value) {
+ xpackApiItemBasicInfo?.value?.invokeMethod({
+ methodName: 'resetForm',
+ args: []
+ })
+ }
edit_api_item.value = false
}
@@ -645,35 +670,25 @@ defineExpose({
activeName === 'table' ? t('datasource.data_table') : t('data_source.interface_parameters')
"
v-model="edit_api_item"
- custom-class="api-datasource-drawer"
+ modal-class="api-datasource-drawer"
size="1000px"
:before-close="closeEditItem"
direction="rtl"
>
-
-
+
+
-
-
-
- {{ active <= 0 ? '1' : '' }}
-
- {{ t('datasource.api_step_1') }}
-
+
+ {{ t('datasource.api_step_1') }}
-
-
-
- {{ active <= 1 ? '2' : '' }}
-
- {{
- activeName === 'table'
- ? t('datasource.api_step_2')
- : t('data_source.extract_parameters')
- }}
-
+
+ {{
+ activeName === 'table'
+ ? t('datasource.api_step_2')
+ : t('data_source.extract_parameters')
+ }}
@@ -979,7 +994,7 @@ defineExpose({
{{ t('common.cancel') }}
- {{ t('commons.validate') }}
.api-datasource-drawer {
.select-type {
- .ed-select__prefix--light {
- border-right: none;
- padding: 0;
+ .ed-select__prefix {
font-size: 16px;
+ &::after {
+ display: none;
+ }
}
}
.ed-drawer__body {
diff --git a/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiHttpRequestForm.vue b/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiHttpRequestForm.vue
index 31772d8..b72232d 100644
--- a/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiHttpRequestForm.vue
+++ b/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiHttpRequestForm.vue
@@ -246,12 +246,4 @@ const emits = defineEmits(['changeId'])
margin-right: 45px;
}
}
-:deep(.ed-tabs__nav-wrap::after){
- background: #5f5f5f !important;
-}
-
-
diff --git a/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiKeyValue.vue b/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiKeyValue.vue
index 2643928..464672e 100644
--- a/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiKeyValue.vue
+++ b/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiKeyValue.vue
@@ -3,7 +3,7 @@ import icon_drag_outlined from '@/assets/svg/icon_drag_outlined.svg'
import icon_deleteTrash_outlined from '@/assets/svg/icon_delete-trash_outlined.svg'
import icon_add_outlined from '@/assets/svg/icon_add_outlined.svg'
import { propTypes } from '@/utils/propTypes'
-import { computed, onBeforeMount, PropType, toRefs, inject, ref } from 'vue'
+import { computed, onBeforeMount, PropType, toRefs, inject } from 'vue'
import { useI18n } from '@/hooks/web/useI18n'
import { KeyValue } from './ApiTestModel.js'
import draggable from 'vuedraggable'
@@ -285,86 +285,4 @@ const timeFunLists = [
margin-bottom: 0 !important;
}
}
-:deep(.ed-input .ed-input__count .ed-input__count-inner){
- background: transparent;
-}
-
-:deep(.ed-select__popper.ed-popper) {
- background: rgb(61, 61, 61) !important;
- border: 1px solid var(--ed-border-color-light);
- box-shadow: var(--ed-box-shadow-light);
-}
-
-
diff --git a/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiVariable.vue b/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiVariable.vue
index bf1ecb3..60c15e2 100644
--- a/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiVariable.vue
+++ b/core/core-frontend/src/viewsnew/application/service/datasource/form/ApiVariable.vue
@@ -342,7 +342,4 @@ const timeFunLists = [
font-size: 13px;
}
}
-:deep(.ed-input .ed-input__count .ed-input__count-inner){
- background: transparent;
-}
diff --git a/core/core-frontend/src/viewsnew/application/service/datasource/form/CreatDsGroup.vue b/core/core-frontend/src/viewsnew/application/service/datasource/form/CreatDsGroup.vue
index 51cb22a..5cb66da 100644
--- a/core/core-frontend/src/viewsnew/application/service/datasource/form/CreatDsGroup.vue
+++ b/core/core-frontend/src/viewsnew/application/service/datasource/form/CreatDsGroup.vue
@@ -298,7 +298,7 @@ const saveDataset = () => {
request.appId = appId.value
checkRepeat(request).then(res => {
let method = request.id === '' ? save : update
- if (!request.type.startsWith('API')) {
+ if (!request.type.startsWith('API') && request.type !== 'ExcelRemote') {
request.syncSetting = null
}
if (res) {
@@ -371,7 +371,7 @@ const emits = defineEmits(['finish', 'handleShowFinishPage'])
-
+
{{ t('dataset.cancel') }}
diff --git a/core/core-frontend/src/viewsnew/application/service/datasource/form/EditorDetail.vue b/core/core-frontend/src/viewsnew/application/service/datasource/form/EditorDetail.vue
index 57c6e40..4164dc5 100644
--- a/core/core-frontend/src/viewsnew/application/service/datasource/form/EditorDetail.vue
+++ b/core/core-frontend/src/viewsnew/application/service/datasource/form/EditorDetail.vue
@@ -9,7 +9,7 @@ import deDelete from '@/assets/svg/de-delete.svg'
import icon_warning_filled from '@/assets/svg/icon_warning_filled.svg'
import icon_deleteTrash_outlined from '@/assets/svg/icon_delete-trash_outlined.svg'
import icon_edit_outlined from '@/assets/svg/icon_edit_outlined.svg'
-import { ref, reactive, h, computed, toRefs, nextTick, watch } from 'vue'
+import { ref, reactive, computed, toRefs, nextTick, watch } from 'vue'
import { useI18n } from '@/hooks/web/useI18n'
import type { FormInstance, FormRules } from 'element-plus-secondary'
import EmptyBackground from '@/components/empty-background/src/EmptyBackground.vue'
@@ -24,7 +24,7 @@ import { CustomPassword } from '@/components/custom-password'
import { ElForm, ElMessage, ElMessageBox } from 'element-plus-secondary'
import Cron from '@/components/cron/src/Cron.vue'
import { ComponentPublicInstance } from 'vue'
-import { PluginComponent, XpackComponent } from '@/components/plugin'
+import { XpackComponent } from '@/components/plugin'
import { iconFieldMap } from '@/components/icon-group/field-list'
import { boolean } from 'mathjs'
const { t } = useI18n()
@@ -82,6 +82,9 @@ const state = reactive({
})
const schemas = ref([])
+const targetCharset = ref(['GBK', 'UTF-8'])
+const charset = ref(['GBK', 'BIG5', 'ISO-8859-1', 'UTF-8', 'UTF-16', 'CP850', 'EUC_JP', 'EUC_KR'])
+
const loading = ref(false)
const dsForm = ref()
@@ -106,8 +109,6 @@ const defaultRule = {
const rule = ref(cloneDeep(defaultRule))
const api_table_title = ref('')
const editApiItem = ref()
-const xpack = ref()
-const visible = ref(false)
const defaultApiItem = {
name: '',
deTableName: '',
@@ -446,35 +447,6 @@ const addApiItem = item => {
})
}
-const addLarkItem = item => {
- let apiItem = null
- let editItem = false
- api_table_title.value = t('datasource.data_table')
- if (item) {
- apiItem = cloneDeep(item)
- editItem = true
- } else {
- apiItem = cloneDeep(defaultApiItem)
- apiItem.type = activeName.value
- let serialNumber1 =
- form.value.apiConfiguration.length > 0
- ? form.value.apiConfiguration[form.value.apiConfiguration.length - 1].serialNumber + 1
- : 0
- let serialNumber2 =
- form.value.paramsConfiguration && form.value.paramsConfiguration.length > 0
- ? form.value.paramsConfiguration[form.value.paramsConfiguration.length - 1].serialNumber + 1
- : 0
- apiItem.serialNumber = serialNumber1 + serialNumber2
- }
- visible.value = true
- nextTick(() => {
- xpack?.value?.invokeMethod({
- methodName: 'initApiItem',
- args: [apiItem, form.value, activeName.value, editItem, isSupportSetKey.value]
- })
- })
-}
-
const activeName = ref('table')
const showPriority = ref(false)
const showSSH = ref(false)
@@ -656,7 +628,6 @@ const apiRule = {
}
const dialogEditParams = ref(false)
const dialogRenameApi = ref(false)
-const dialogAddLarkItem = ref(false)
const activeParamsName = ref('')
const activeParamsID = ref(0)
const paramsObj = ref({
@@ -773,21 +744,6 @@ const handleApiParams = (cmd: string, data) => {
}
}
-const editParams = data => {
- dialogEditParams.value = true
-}
-
-const getPluginStatic = () => {
- const arr = pluginDs.value.filter(ele => {
- return ele.type === form.value.type
- })
- return pluginIndex.value
- ? pluginIndex.value
- : arr && arr.length > 0
- ? arr[0].staticMap?.index
- : null
-}
-
const delParams = data => {
ElMessageBox.confirm(t('data_source.sure_to_delete'), {
confirmButtonType: 'danger',
@@ -848,7 +804,7 @@ defineExpose({
v-loading="loading"
>
@@ -881,7 +837,9 @@ defineExpose({
addApiItem(null)">
-
+
+
+
{{ t('common.add') }}
@@ -914,7 +872,9 @@ defineExpose({
-
+
+
+
@@ -1012,13 +972,13 @@ defineExpose({
-
+
+ >
+
{{ fieldTypeText[scope.row.deType] }}
@@ -1029,9 +989,9 @@ defineExpose({
-
+
+
+
@@ -1193,7 +1153,9 @@ defineExpose({
{{ t('datasource.schema') }}
-
+
+
+
{{ t('datasource.get_schema') }}
@@ -1208,6 +1170,26 @@ defineExpose({
@blur="validatorSchema"
/>
+
+
+
+
+
+
+
+
+
+
- {{
- t('data_source.enable_ssh')
- }}
+ {{ t('data_source.enable_ssh') }}
+
-
+
- {{ t('dataset.cancel') }}
- {{ t('dataset.confirm') }}
+ {{ t('dataset.cancel') }}
+ {{ t('dataset.confirm') }}
- {{ t('dataset.cancel') }}
- {{ t('dataset.confirm') }}
+ {{ t('dataset.cancel') }}
+ {{ t('dataset.confirm') }}
@@ -1580,6 +1562,7 @@ defineExpose({
width: 100%;
display: flex;
justify-content: center;
+
.ed-radio {
height: 22px;
}
@@ -1598,6 +1581,7 @@ defineExpose({
.de-select {
width: 100%;
}
+
.ed-input-number {
width: 100%;
}
@@ -1625,16 +1609,20 @@ defineExpose({
.ed-input__wrapper {
width: 100%;
}
+
width: 100%;
}
+
.simple-cron {
height: 32px;
+
.ed-select,
.ed-input-number {
width: 140px;
margin: 0 8px;
}
}
+
.detail-inner {
width: 800px;
padding-top: 8px;
@@ -1655,6 +1643,7 @@ defineExpose({
border: 1px solid #5f5f5f;
width: 300px;
padding: 16px;
+
.name-copy {
display: none;
line-height: 24px;
@@ -1682,6 +1671,7 @@ defineExpose({
.table-info-mr {
margin: 28px 0 12px 0;
+
.api-tabs {
:deep(.ed-tabs__nav-wrap::after) {
display: none;
@@ -1718,6 +1708,7 @@ defineExpose({
font-size: 14px;
font-style: normal;
line-height: 22px;
+
&::before {
width: 8px;
height: 8px;
@@ -1758,6 +1749,7 @@ defineExpose({
flex-wrap: wrap;
margin-left: -16px;
}
+
.api-card {
height: 120px;
width: 392px;
@@ -1772,20 +1764,24 @@ defineExpose({
&:hover {
border-color: var(--ed-color-primary);
}
+
.name {
font-size: 16px;
font-weight: 500;
margin-right: 8px;
max-width: 70%;
}
+
.req-title,
.req-value {
display: flex;
font-size: 14px;
font-weight: 400;
+
:nth-child(1) {
width: 120px;
}
+
:nth-child(2) {
margin-left: 24px;
max-width: 230px;
@@ -1794,20 +1790,25 @@ defineExpose({
white-space: nowrap;
}
}
+
.req-title {
color: var(--deTextSecondary, #646a73);
margin: 16px 0 4px 0;
}
+
.req-value {
color: var(--deTextPrimary, #1f2329);
}
+
.de-copy-icon {
margin-right: 16px;
color: var(--deTextSecondary, #646a73);
}
+
.de-delete-icon {
cursor: pointer;
}
+
.de-tag {
display: inline-flex;
justify-content: center;
@@ -1835,6 +1836,7 @@ defineExpose({
padding: 20px 24px !important;
display: flex;
flex-wrap: wrap;
+
.small {
height: 28px;
min-width: 48px !important;
@@ -1852,11 +1854,13 @@ defineExpose({
margin-left: 8.67px;
color: var(--deTextPrimary, #1f2329);
}
+
i {
font-size: 14.666666030883789px;
color: var(--deWarning, #ff8800);
line-height: 22px;
}
+
.foot {
text-align: right;
width: 100%;
@@ -1869,9 +1873,11 @@ defineExpose({
display: flex !important;
justify-content: space-between;
padding-right: 0;
+
&::after {
display: none;
}
+
.name {
.required::after {
content: '*';
diff --git a/core/core-frontend/src/viewsnew/application/service/datasource/form/ExcelDetail.vue b/core/core-frontend/src/viewsnew/application/service/datasource/form/ExcelDetail.vue
index a4485fa..cd5d783 100644
--- a/core/core-frontend/src/viewsnew/application/service/datasource/form/ExcelDetail.vue
+++ b/core/core-frontend/src/viewsnew/application/service/datasource/form/ExcelDetail.vue
@@ -1,6 +1,5 @@
+
+
+
+
+
+
+ {{ t('data_source.source_configuration_information') }}
+
+
+
+ {{ t('data_source.data_update_settings') }}
+
+
+
+ {{ t('datasource.basic_info') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('datasource.load_data') }}
+
+
+
+
+
+ {{ t('chart.data_preview') }}
+
+
+
+
+
+
+ {{ t('chart.data_preview') }}
+
+
+ {{ t('data_set.field_selection') }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ item.label
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t(`dataset.${fieldType[scope.row.fieldType]}`) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('data_source.append_data') }}
+ {{ t('data_source.replace_data') }}
+
+
+
+
+ {{ t('data_source.update_now') }}
+ {{ t('datasource.cron_config') }}
+ {{ t('datasource.simple_cron') }}
+
+
+
+
+
+ {{ t('common.every') }}
+
+
+
+
+
+
+ {{ t('data_source.update_once') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/core/core-frontend/src/viewsnew/application/service/datasource/form/Pagination.vue b/core/core-frontend/src/viewsnew/application/service/datasource/form/Pagination.vue
index 4d43981..2733f56 100644
--- a/core/core-frontend/src/viewsnew/application/service/datasource/form/Pagination.vue
+++ b/core/core-frontend/src/viewsnew/application/service/datasource/form/Pagination.vue
@@ -171,10 +171,9 @@ const handleNumberSizeChange = () => {
-
+ >
{
:label="item.label"
:value="item.value"
/>
-
-
@@ -198,12 +196,10 @@ const handleNumberSizeChange = () => {
\ No newline at end of file
+
diff --git a/core/core-frontend/src/viewsnew/application/service/datasource/form/option.ts b/core/core-frontend/src/viewsnew/application/service/datasource/form/option.ts
index 19e9afe..2e9a9b9 100644
--- a/core/core-frontend/src/viewsnew/application/service/datasource/form/option.ts
+++ b/core/core-frontend/src/viewsnew/application/service/datasource/form/option.ts
@@ -111,7 +111,13 @@ export const dsTypes = [
},
{
type: 'Excel',
- name: 'Excel',
+ name: t('common.local_excel'),
+ catalog: 'LOCAL',
+ extraParams: ''
+ },
+ {
+ type: 'ExcelRemote',
+ name: t('common.remote_excel'),
catalog: 'LOCAL',
extraParams: ''
}
diff --git a/core/core-frontend/src/viewsnew/application/service/datasource/index.vue b/core/core-frontend/src/viewsnew/application/service/datasource/index.vue
index 6c78663..2bd454b 100644
--- a/core/core-frontend/src/viewsnew/application/service/datasource/index.vue
+++ b/core/core-frontend/src/viewsnew/application/service/datasource/index.vue
@@ -1,14 +1,10 @@
-
{
+ @click="createDatasource()">
@@ -1132,7 +1148,34 @@ const getMenuList = (val: boolean) => {
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ ele.name }}
+
+
+
+
+
+
{
-
+
+
+
+
+ {{ nodeInfo.name }}
+
+
+
+ {{ t('visualization.create_by') }}:{{ nodeInfo.creator }}
+
+
+
+
+
+
+
+
+
-
+
{
-
+
@@ -1404,8 +1469,8 @@ const getMenuList = (val: boolean) => {
v-permission="['dataset']"
>
-
@@ -1413,8 +1478,8 @@ const getMenuList = (val: boolean) => {
-
@@ -1429,7 +1494,7 @@ const getMenuList = (val: boolean) => {
- {{
+ {{
nodeInfo.name
}}
@@ -1442,10 +1507,20 @@ const getMenuList = (val: boolean) => {
-
+
-
+
+
+ {{ nodeInfo.configuration.url }}
+
+
+
+
+
+
+
+
{{
nodeInfo.description
}}
@@ -1455,6 +1530,7 @@ const getMenuList = (val: boolean) => {
v-if="
!['Excel', 'es'].includes(nodeInfo.type) &&
!nodeInfo.type.startsWith('API') &&
+ !nodeInfo.type.startsWith('Excel') &&
nodeInfo.weight >= 7
"
>
@@ -1504,7 +1580,6 @@ const getMenuList = (val: boolean) => {
-
-
{
+
+
+
+
+ {
{{ t('dataset.update_records') }}
-
-
-
-
-
@@ -1766,6 +1845,7 @@ const getMenuList = (val: boolean) => {
v-loading="dsTableDataLoading"
header-cell-class-name="header-cell"
:data="state.dsTableData"
+ stripe
style="width: 100%"
>
@@ -2323,7 +2403,7 @@ const getMenuList = (val: boolean) => {
margin: 4px 0 24px 0;
color: var(--deTextPrimary, #ffffff);
}
-
+
}
@@ -2449,7 +2529,7 @@ border-right: 1px solid rgba(54, 54, 54, 1);
background: rgba(40, 40, 40, 1);
color: #C9C9C9;
border-right: 1px solid rgba(54, 54, 54, 1);
-
+
}
.ed-table-v2__header-row{
border-bottom: 1px solid rgba(54, 54, 54, 1)
@@ -2574,4 +2654,4 @@ border-right: 1px solid rgba(54, 54, 54, 1);
.arrow-side-tree .ed-icon{
color: #fff !important;
}
-
\ No newline at end of file
+