Merge pull request #7282 from dataease/pr@dev_one_dot_x

fix: 插件视图过滤枚举值
This commit is contained in:
dataeaseShu 2023-12-22 11:18:16 +08:00 committed by GitHub
commit 861a8acb8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 60 additions and 12 deletions

View File

@ -9,7 +9,7 @@
>
<div class="tree-cont">
<div class="content">
<rowAuth ref="rowAuth" />
<rowAuth @execute-axios="executeAxios" ref="rowAuth"></rowAuth>
</div>
</div>
<div
@ -55,7 +55,15 @@ export default {
methods: {
closeFilter() {
this.dialogVisible = false
},
},executeAxios(url, type, data, callBack) {
const param = {
url: url,
type: type,
data: data,
callBack: callBack,
};
this.$emit("execute-axios", param);
},
changeFilter() {
const { logic, items, errorMessage } = this.$refs.rowAuth.submit()
if (errorMessage) {

View File

@ -9,7 +9,7 @@
>
<div class="tree-cont">
<div class="content">
<rowAuth ref="rowAuth" />
<rowAuth @execute-axios="executeAxios" ref="rowAuth"></rowAuth>
</div>
</div>
<div
@ -55,7 +55,15 @@ export default {
methods: {
closeFilter() {
this.dialogVisible = false
},
},executeAxios(url, type, data, callBack) {
const param = {
url: url,
type: type,
data: data,
callBack: callBack,
};
this.$emit("execute-axios", param);
},
changeFilter() {
const { logic, items, errorMessage } = this.$refs.rowAuth.submit()
if (errorMessage) {

View File

@ -9,7 +9,7 @@
>
<div class="tree-cont">
<div class="content">
<rowAuth ref="rowAuth" />
<rowAuth @execute-axios="executeAxios" ref="rowAuth"></rowAuth>
</div>
</div>
<div
@ -55,7 +55,15 @@ export default {
methods: {
closeFilter() {
this.dialogVisible = false
},
},executeAxios(url, type, data, callBack) {
const param = {
url: url,
type: type,
data: data,
callBack: callBack,
};
this.$emit("execute-axios", param);
},
changeFilter() {
const { logic, items, errorMessage } = this.$refs.rowAuth.submit()
if (errorMessage) {

View File

@ -9,7 +9,7 @@
>
<div class="tree-cont">
<div class="content">
<rowAuth ref="rowAuth" />
<rowAuth @execute-axios="executeAxios" ref="rowAuth"></rowAuth>
</div>
</div>
<div
@ -55,7 +55,15 @@ export default {
methods: {
closeFilter() {
this.dialogVisible = false
},
},executeAxios(url, type, data, callBack) {
const param = {
url: url,
type: type,
data: data,
callBack: callBack,
};
this.$emit("execute-axios", param);
},
changeFilter() {
const { logic, items, errorMessage } = this.$refs.rowAuth.submit()
if (errorMessage) {

View File

@ -9,7 +9,7 @@
>
<div class="tree-cont">
<div class="content">
<rowAuth ref="rowAuth" />
<rowAuth @execute-axios="executeAxios" ref="rowAuth"></rowAuth>
</div>
</div>
<div
@ -55,7 +55,15 @@ export default {
methods: {
closeFilter() {
this.dialogVisible = false
},
},executeAxios(url, type, data, callBack) {
const param = {
url: url,
type: type,
data: data,
callBack: callBack,
};
this.$emit("execute-axios", param);
},
changeFilter() {
const { logic, items, errorMessage } = this.$refs.rowAuth.submit()
if (errorMessage) {

View File

@ -9,7 +9,7 @@
>
<div class="tree-cont">
<div class="content">
<rowAuth ref="rowAuth" />
<rowAuth @execute-axios="executeAxios" ref="rowAuth"></rowAuth>
</div>
</div>
<div
@ -55,7 +55,15 @@ export default {
methods: {
closeFilter() {
this.dialogVisible = false
},
},executeAxios(url, type, data, callBack) {
const param = {
url: url,
type: type,
data: data,
callBack: callBack,
};
this.$emit("execute-axios", param);
},
changeFilter() {
const { logic, items, errorMessage } = this.$refs.rowAuth.submit()
if (errorMessage) {