This commit is contained in:
sedmedgh
2022-02-26 18:44:50 +03:30
parent 9849f1f089
commit 1c8fac78d0
19 changed files with 256 additions and 71 deletions
+4 -4
View File
@@ -240,12 +240,12 @@ export default {
this.fetch();
},
removeFilter(index) {
console.log("index ==> ", index);
// console.log("index ==> ", index);
this.$delete(this.query.filters, index)
this.$forceUpdate();
},
filterChange(value) {
console.log("value ==> " , value);
// console.log("value ==> " , value);
this.query.filters[value.index] = value;
},
@@ -339,7 +339,7 @@ export default {
}
this.data = data.rows;
this.query = data.query
console.log("this.query ==> ", this.query);
// console.log("this.query ==> ", this.query);
this.$emit('fetch', data)
} catch (e) {
this.$message.error('خطا در دریافت اطلاعات');
@@ -398,7 +398,7 @@ export default {
return this.cols.filter(item => item.filtered)
},
visibleCols() {
console.log(" ==> " , this.cols.filter(item => item.show));
// console.log(" ==> " , this.cols.filter(item => item.show));
return this.cols.filter(item => item.show)
}
},
+1 -1
View File
@@ -204,7 +204,7 @@
noThings() {
},
onSearch(value) {
console.log(value);
// console.log(value);
this.query.search = value;
if (value) {
this.fetch();