mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 14:31:00 +08:00
Merge remote-tracking branch 'origin/dev-v2' into dev-v2
This commit is contained in:
@@ -680,7 +680,7 @@ public class SqlparserUtils {
|
||||
}
|
||||
if (variable.getSysVariableDto().getType().equalsIgnoreCase("text")) {
|
||||
for (SysVariableValueDto sysVariableValueDto : variable.getValueList()) {
|
||||
if (sysVariableValueDto.getId().equals(variable.getVariableValueId())) {
|
||||
if (variable.getVariableValueIds().contains(sysVariableValueDto.getId().toString())) {
|
||||
value = sysVariableValueDto.getValue();
|
||||
break;
|
||||
}
|
||||
@@ -707,8 +707,9 @@ public class SqlparserUtils {
|
||||
continue;
|
||||
}
|
||||
if (variable.getSysVariableDto().getType().equalsIgnoreCase("text")) {
|
||||
|
||||
for (SysVariableValueDto sysVariableValueDto : variable.getValueList()) {
|
||||
if (sysVariableValueDto.getSysVariableId().equals(variable.getVariableId())) {
|
||||
if (variable.getVariableValueIds().contains(sysVariableValueDto.getId().toString())) {
|
||||
values.add(sysVariableValueDto.getValue());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -587,6 +587,8 @@ export default {
|
||||
edit_embedded_application: 'Edit an embedded application',
|
||||
application_name: 'Application name',
|
||||
cross_domain_settings: 'Cross-domain settings',
|
||||
embedded_del_confirm: 'Are you sure you want to delete {0} applications?',
|
||||
embedded_search_placeholder: 'Search by application name, APP ID, or cross-domain settings',
|
||||
embedded_secret_len_change:
|
||||
'The key length has changed. The key will be reset soon. Are you sure?',
|
||||
embedded_management: 'Embedded management',
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
</el-icon>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div class="input-suffix-btn done" v-if="linkCustom" @click="finishEditUuid">
|
||||
<div class="input-suffix-btn done-finish" v-if="linkCustom" @click="finishEditUuid">
|
||||
<el-tooltip
|
||||
class="item"
|
||||
effect="dark"
|
||||
@@ -136,6 +136,7 @@
|
||||
</el-checkbox>
|
||||
<div class="auto-pwd-container" v-if="passwdEnable">
|
||||
<el-checkbox
|
||||
v-show="false"
|
||||
:disabled="!shareEnable"
|
||||
v-model="state.detailInfo.autoPwd"
|
||||
@change="autoEnableSwitcher"
|
||||
@@ -798,7 +799,7 @@ onMounted(() => {
|
||||
background-color: #bbbfc4;
|
||||
margin-right: 4px;
|
||||
}
|
||||
.done {
|
||||
.done-finish {
|
||||
color: #3370ff;
|
||||
&:hover {
|
||||
background-color: #3370ff1a !important;
|
||||
|
||||
@@ -423,6 +423,7 @@ onMounted(() => {
|
||||
|
||||
:deep(.ed-table__header) {
|
||||
background-color: #f5f6f7;
|
||||
border-bottom: 1px solid #d5d7d8;
|
||||
thead {
|
||||
tr {
|
||||
th {
|
||||
|
||||
@@ -75,7 +75,11 @@
|
||||
</el-icon>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div class="input-suffix-btn done" v-if="linkCustom" @click.stop="finishEditUuid">
|
||||
<div
|
||||
class="input-suffix-btn done-finish"
|
||||
v-if="linkCustom"
|
||||
@click.stop="finishEditUuid"
|
||||
>
|
||||
<el-tooltip class="item" effect="dark" :content="t('commons.save')" placement="top">
|
||||
<el-icon style="cursor: pointer">
|
||||
<Icon><icon_done_outlined class="svg-icon" /></Icon>
|
||||
@@ -133,6 +137,7 @@
|
||||
</el-checkbox>
|
||||
<div class="auto-pwd-container" v-if="passwdEnable">
|
||||
<el-checkbox
|
||||
v-show="false"
|
||||
:disabled="!shareEnable"
|
||||
v-model="state.detailInfo.autoPwd"
|
||||
@change="autoEnableSwitcher"
|
||||
@@ -815,7 +820,7 @@ defineExpose({
|
||||
background-color: #bbbfc4;
|
||||
margin-right: 4px;
|
||||
}
|
||||
.done {
|
||||
.done-finish {
|
||||
color: #3370ff;
|
||||
&:hover {
|
||||
background-color: #3370ff1a !important;
|
||||
|
||||
@@ -273,7 +273,7 @@ defineExpose({
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item prop="args" :label="t('dataset.param')">
|
||||
<el-form-item prop="args" :label="t('dataset.param')" class="last-form-item">
|
||||
<template v-slot:label>
|
||||
<div class="ticket-form-info-tips">
|
||||
<span class="custom-form-item__label">{{ t('dataset.param') }}</span>
|
||||
@@ -360,7 +360,10 @@ defineExpose({
|
||||
</style>
|
||||
<style scoped lang="less">
|
||||
.ticket-param-drawer {
|
||||
.ed-form-item {
|
||||
.last-form-item {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.ed-form-item:not(.last-form-item) {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.is-error {
|
||||
@@ -376,6 +379,7 @@ defineExpose({
|
||||
line-height: 32px;
|
||||
column-gap: 8px;
|
||||
.arg-del-btn {
|
||||
color: #646a73;
|
||||
padding: 4px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
|
||||
@@ -203,7 +203,9 @@
|
||||
<geometry-edit ref="editor" @saved="loadTreeData(false)" />
|
||||
<el-dialog
|
||||
v-model="customAreaDialog"
|
||||
:title="`${editedCustomArea.id ? t('common.edit') : t('common.add') + t('system.custom_area')}`"
|
||||
:title="`${editedCustomArea.id ? t('common.edit') : t('common.add')} ${t(
|
||||
'system.custom_area'
|
||||
)}`"
|
||||
width="500"
|
||||
destroy-on-close
|
||||
>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
:class="{ active: activeIndex === item.id }"
|
||||
@click="selectHandler(index)"
|
||||
>
|
||||
<span>{{ t(item.name) }}</span>
|
||||
<span :title="t(item.name)">{{ t(item.name) }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-aside>
|
||||
@@ -65,6 +65,13 @@ const selectHandler = (index: number) => {
|
||||
&:hover {
|
||||
background: #1f232926;
|
||||
}
|
||||
span {
|
||||
display: block;
|
||||
width: 150px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
.active {
|
||||
background: var(--ed-color-primary-1a, #3370ff1a);
|
||||
|
||||
Reference in New Issue
Block a user