contract
This commit is contained in:
@@ -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)
|
||||
}
|
||||
},
|
||||
|
||||
@@ -204,7 +204,7 @@
|
||||
noThings() {
|
||||
},
|
||||
onSearch(value) {
|
||||
console.log(value);
|
||||
// console.log(value);
|
||||
this.query.search = value;
|
||||
if (value) {
|
||||
this.fetch();
|
||||
|
||||
Reference in New Issue
Block a user