diff --git a/frontend/src/components/dataease/dragbar/DeBottom2TopDragBar.vue b/frontend/src/components/dataease/dragbar/DeBottom2TopDragBar.vue
index a387717093..229efd2a32 100644
--- a/frontend/src/components/dataease/dragbar/DeBottom2TopDragBar.vue
+++ b/frontend/src/components/dataease/dragbar/DeBottom2TopDragBar.vue
@@ -1,5 +1,8 @@
-
+
\ No newline at end of file
+
diff --git a/frontend/src/components/deCustomCm/deDatePick.vue b/frontend/src/components/deCustomCm/deDatePick.vue
index ce1f42316f..4a5af11be7 100644
--- a/frontend/src/components/deCustomCm/deDatePick.vue
+++ b/frontend/src/components/deCustomCm/deDatePick.vue
@@ -5,29 +5,31 @@
size="small"
:disabled="disabled"
type="daterange"
- @input="handleChange"
range-separator="-"
:start-placeholder="$t('commons.date.start_date')"
:end-placeholder="$t('commons.date.end_date')"
- >
-
-
+ @input="handleChange"
+ />
+
\ No newline at end of file
+
diff --git a/frontend/src/components/deCustomCm/dePwd.vue b/frontend/src/components/deCustomCm/dePwd.vue
index 61bf3e88ee..6d2ca693b9 100644
--- a/frontend/src/components/deCustomCm/dePwd.vue
+++ b/frontend/src/components/deCustomCm/dePwd.vue
@@ -9,61 +9,61 @@
@change="handleChange"
>
\ No newline at end of file
+
diff --git a/frontend/src/components/deCustomCm/deTextarea.vue b/frontend/src/components/deCustomCm/deTextarea.vue
index 1ca36bdfe8..438312dcb8 100644
--- a/frontend/src/components/deCustomCm/deTextarea.vue
+++ b/frontend/src/components/deCustomCm/deTextarea.vue
@@ -5,53 +5,53 @@
show-word-limit
:disabled="disabled"
:value="value"
- @input="handleChange"
type="textarea"
maxlength="200"
+ @input="handleChange"
/>
\ No newline at end of file
+ this.$emit('input', val)
+ }
+ }
+}
+
diff --git a/frontend/src/components/gridTable/index.vue b/frontend/src/components/gridTable/index.vue
index 178f927aa7..8a8a09ef16 100644
--- a/frontend/src/components/gridTable/index.vue
+++ b/frontend/src/components/gridTable/index.vue
@@ -3,56 +3,55 @@
-
+
-
+
\ No newline at end of file
+
diff --git a/frontend/src/components/gridTable/tableBody.vue b/frontend/src/components/gridTable/tableBody.vue
index 7a987865d6..25da98acc6 100644
--- a/frontend/src/components/gridTable/tableBody.vue
+++ b/frontend/src/components/gridTable/tableBody.vue
@@ -1,25 +1,25 @@
\ No newline at end of file
+ })
+ return nodes
+ }
+}
+
diff --git a/frontend/src/components/msgCfm/index.js b/frontend/src/components/msgCfm/index.js
index 59331628b1..f3d99bfa99 100644
--- a/frontend/src/components/msgCfm/index.js
+++ b/frontend/src/components/msgCfm/index.js
@@ -2,44 +2,44 @@
export default {
methods: {
openMessageSuccess(text, type) {
- const h = this.$createElement;
- const iconClass = `el-icon-${ type || 'success'}`;
- const customClass = `de-message-${ type || 'success'} de-message`;
+ const h = this.$createElement
+ const iconClass = `el-icon-${type || 'success'}`
+ const customClass = `de-message-${type || 'success'} de-message`
this.$message({
- message: h("p", null, [h("span", null, this.$t(text))]),
+ message: h('p', null, [h('span', null, this.$t(text))]),
iconClass,
- customClass,
- });
+ customClass
+ })
},
- handlerConfirm(options,confirmButtonTextInfo) {
- let { title, content, type = 'danger', cb, confirmButtonText = confirmButtonTextInfo?confirmButtonTextInfo:this.$t('commons.delete'), showCancelButton = true, cancelButtonText = this.$t("commons.cancel"), cancelCb = () => {}, finallyCb = () => {} } = options;
- let text = content ? `
${ this.$t(title) }${ this.$t(content) }` : this.$t(title);
- const dangerouslyUseHTMLString = Boolean(content);
- let customClass = `de-confirm de-confirm-fail ${ dangerouslyUseHTMLString && 'de-use-html'}`
- let confirmButtonClass = `de-confirm-${type}-btn de-confirm-btn`
+ handlerConfirm(options, confirmButtonTextInfo) {
+ const { title, content, type = 'danger', cb, confirmButtonText = confirmButtonTextInfo || this.$t('commons.delete'), showCancelButton = true, cancelButtonText = this.$t('commons.cancel'), cancelCb = () => {}, finallyCb = () => {} } = options
+ const text = content ? `
${this.$t(title)}${this.$t(content)}` : this.$t(title)
+ const dangerouslyUseHTMLString = Boolean(content)
+ const customClass = `de-confirm de-confirm-fail ${dangerouslyUseHTMLString && 'de-use-html'}`
+ const confirmButtonClass = `de-confirm-${type}-btn de-confirm-btn`
this.$confirm(
text,
- "",
+ '',
{
confirmButtonText,
cancelButtonText,
showCancelButton,
- cancelButtonClass: "de-confirm-btn de-confirm-plain-cancel",
+ cancelButtonClass: 'de-confirm-btn de-confirm-plain-cancel',
dangerouslyUseHTMLString,
confirmButtonClass,
customClass,
- iconClass: "el-icon-warning",
+ iconClass: 'el-icon-warning'
}
)
.then(() => {
- cb();
+ cb()
})
.catch((action) => {
cancelCb(action)
})
.finally(() => {
finallyCb()
- });
- },
- },
-};
+ })
+ }
+ }
+}
diff --git a/frontend/src/components/msgCfm/keyEnter.js b/frontend/src/components/msgCfm/keyEnter.js
index ca0d8f36a0..f91a4aeacc 100644
--- a/frontend/src/components/msgCfm/keyEnter.js
+++ b/frontend/src/components/msgCfm/keyEnter.js
@@ -1,16 +1,16 @@
export default {
- mounted() {
- document.addEventListener('keypress', this.entryKey)
- },
- destroyed() {
- document.removeEventListener('keypress', this.entryKey)
- },
- methods: {
- entryKey(event) {
- const keyCode = event.keyCode
- if (keyCode === 13) {
- this.$refs.search.blur()
- }
- },
+ mounted() {
+ document.addEventListener('keypress', this.entryKey)
+ },
+ destroyed() {
+ document.removeEventListener('keypress', this.entryKey)
+ },
+ methods: {
+ entryKey(event) {
+ const keyCode = event.keyCode
+ if (keyCode === 13) {
+ this.$refs.search.blur()
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/frontend/src/components/widget/DeWidget/DeDate.vue b/frontend/src/components/widget/DeWidget/DeDate.vue
index 8bda125c45..f054608404 100644
--- a/frontend/src/components/widget/DeWidget/DeDate.vue
+++ b/frontend/src/components/widget/DeWidget/DeDate.vue
@@ -309,7 +309,7 @@ export default {
.el-date-picker__time-header {
border-bottom: 1px solid var(--BrDateColor, #dfe4ed) !important;
}
-
+
.el-picker-panel__footer {
border-top: 1px solid var(--BrDateColor, #dfe4ed) !important;
background: var(--BgDateColor, #FFFFFF) !important;
@@ -329,7 +329,6 @@ export default {
background: var(--BgDateColor, #FFFFFF) !important;
border:1px solid var(--BrDateColor, #dfe4ed) !important;
}
-
.popper__arrow,
.popper__arrow::after {
diff --git a/frontend/src/components/widget/DeWidget/DeInputSearch.vue b/frontend/src/components/widget/DeWidget/DeInputSearch.vue
index 1011a5fa33..c09179631f 100644
--- a/frontend/src/components/widget/DeWidget/DeInputSearch.vue
+++ b/frontend/src/components/widget/DeWidget/DeInputSearch.vue
@@ -13,7 +13,11 @@
@dblclick="setEdit"
>
-
+
diff --git a/frontend/src/components/widget/DeWidget/DeNumberRange.vue b/frontend/src/components/widget/DeWidget/DeNumberRange.vue
index 5f146afbe1..66590a87c0 100644
--- a/frontend/src/components/widget/DeWidget/DeNumberRange.vue
+++ b/frontend/src/components/widget/DeWidget/DeNumberRange.vue
@@ -1,13 +1,32 @@
-
+
-
+
{{ $t('denumberrange.split_placeholder') }}
-
+
diff --git a/frontend/src/components/widget/DeWidget/DeSelect.vue b/frontend/src/components/widget/DeWidget/DeSelect.vue
index 5afd67e53a..2d4079f2b0 100644
--- a/frontend/src/components/widget/DeWidget/DeSelect.vue
+++ b/frontend/src/components/widget/DeWidget/DeSelect.vue
@@ -30,7 +30,10 @@
:label="item[element.options.attrs.label]"
:value="item[element.options.attrs.value]"
>
- {{ item[element.options.attrs.label] }}
+ {{ item[element.options.attrs.label] }}
diff --git a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue
index 7c8d782d95..a43db7df16 100644
--- a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue
+++ b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue
@@ -1,6 +1,9 @@
-
+
-
-
+
+
{{ $t('commons.all') }}
-
- {{ item.id }}
+
+ {{ item.id }}
-
-
-
+
+
+
{{ item.id }}
diff --git a/frontend/src/components/widget/DeWidget/DeSelectTree.vue b/frontend/src/components/widget/DeWidget/DeSelectTree.vue
index 72e4286b82..12dea5b69b 100644
--- a/frontend/src/components/widget/DeWidget/DeSelectTree.vue
+++ b/frontend/src/components/widget/DeWidget/DeSelectTree.vue
@@ -60,6 +60,7 @@ export default {
show: true,
selectOptionWidth: 0,
datas: [],
+ // eslint-disable-next-line
value: this.isSingle ? '' : [],
selectParams: {
clearable: true,
diff --git a/frontend/src/components/widget/DeWidget/DeShowDate.vue b/frontend/src/components/widget/DeWidget/DeShowDate.vue
index d888839518..dfa8080144 100644
--- a/frontend/src/components/widget/DeWidget/DeShowDate.vue
+++ b/frontend/src/components/widget/DeWidget/DeShowDate.vue
@@ -1,12 +1,28 @@
-
+
-
+
-
+
-
+
diff --git a/frontend/src/components/widget/DeWidget/DeTabs.vue b/frontend/src/components/widget/DeWidget/DeTabs.vue
index 387f2a264a..81f480e970 100644
--- a/frontend/src/components/widget/DeWidget/DeTabs.vue
+++ b/frontend/src/components/widget/DeWidget/DeTabs.vue
@@ -25,10 +25,19 @@
{{ item.title }}
-
+
-
+
@@ -102,9 +111,16 @@
show-word-limit
:placeholder="$t('dataset.input_content')"
/>
-