diff --git a/core/frontend/src/components/elTreeSelect/index.vue b/core/frontend/src/components/elTreeSelect/index.vue
index e0472371bd..74be9e9a5e 100644
--- a/core/frontend/src/components/elTreeSelect/index.vue
+++ b/core/frontend/src/components/elTreeSelect/index.vue
@@ -41,11 +41,6 @@
size="mini"
class="input-with-select mb10"
>
-
import { on, off } from './dom'
import { each, guid } from './utils'
+import _ from 'lodash'
export default {
name: 'ElTreeSelect',
components: {},
@@ -217,6 +213,9 @@ export default {
}
},
watch: {
+ keywords() {
+ this.searchWithKey()
+ },
ids: function(val) {
if (val !== undefined) {
this.$nextTick(() => {
@@ -312,6 +311,9 @@ export default {
}
this.$set(this.selectParams, 'multiple', multiple)
},
+ searchWithKey: _.debounce(function() {
+ this._searchFun()
+ }, 300),
_searchFun() {
this.$emit('searchFun', this.keywords)
},
diff --git a/core/frontend/src/components/widget/deWidget/DeRadio.vue b/core/frontend/src/components/widget/deWidget/DeRadio.vue
index 228d0a1af6..4639ae6096 100644
--- a/core/frontend/src/components/widget/deWidget/DeRadio.vue
+++ b/core/frontend/src/components/widget/deWidget/DeRadio.vue
@@ -1,26 +1,27 @@
{{ item.text }}
+ {{ item.text }}
+
{{ item.text }}
+ >{{ item.text }}
+
diff --git a/core/frontend/src/views/panel/filter/FilterDialog.vue b/core/frontend/src/views/panel/filter/FilterDialog.vue
index 3b2f398fcb..757a4b9dae 100644
--- a/core/frontend/src/views/panel/filter/FilterDialog.vue
+++ b/core/frontend/src/views/panel/filter/FilterDialog.vue
@@ -269,7 +269,6 @@
-
+
- {{ $t('commons.required') }}
+
+ >{{ $t('panel.multiple_choice') }}
-
-
-
-
-
+
+ {{ $t('time.dropdown_display_must') }}
+
+
+ {{ $t('commons.cancel') }}
+ {{ $t('commons.confirm') }}
+
+
+
+
-
-
{
+ this.element.options.attrs.required = true
+ })
+ return
+ }
+ this.$emit('required-change', val)
+ },
handlerVisibleEnableParameters() {
if (this.attrs.showEmpty) {
this.visibleEnableParameters = !this.visibleEnableParameters
@@ -532,6 +562,10 @@ export default {
justify-content: flex-start;
flex-wrap: nowrap;
height: 50px;
+
+ .el-checkbox {
+ margin-right: 20px !important;
+ }
}
.filter-options-right {
@@ -541,7 +575,6 @@ export default {
justify-content: flex-end;
flex-wrap: nowrap;
height: 50px;
-
.more-select-btn {
display: inline-flex;
diff --git a/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue b/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue
index 7459d91fc8..9160f2fd5a 100644
--- a/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue
+++ b/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue
@@ -45,39 +45,6 @@
-
-
- {{ $t('commons.required') }}
-
-
-
- {{ $t('time.dropdown_display_must') }}
-
-
- {{ $t('commons.cancel') }}
- {{ $t('commons.confirm') }}
-
-
-
@@ -98,26 +65,7 @@ export default {
}
}
},
- data() {
- return {
- dialogVisible: false
- }
- },
methods: {
- sureRequired() {
- this.element.options.attrs.required = false
- this.dialogVisible = false
- },
- requiredChange(val) {
- if (val === false && (this.element.style.showMode && this.element.style.showMode === 'radio' && !this.element.options.attrs.multiple)) {
- this.dialogVisible = true
- this.$nextTick(() => {
- this.element.options.attrs.required = true
- })
- return
- }
- this.$emit('required-change', val)
- },
getTableName(tableId) {
let tableName = null
this.$emit('dataset-name', tableId, t => { tableName = t })
@@ -145,7 +93,6 @@ export default {