fix: 插件视图过滤枚举值

This commit is contained in:
dataeaseShu 2023-12-22 11:17:42 +08:00
parent 16f5249caf
commit b6f97d4b6b
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) {