|
@@ -118,13 +118,16 @@ export default {
|
|
|
return item.fieldName == "del_flag";
|
|
|
});
|
|
|
console.log(is_has_del_flag);
|
|
|
- if (!this.tableData.length && is_has_del_flag) {
|
|
|
+ if (is_has_del_flag) {
|
|
|
let { fieldName, tableName } = is_has_del_flag;
|
|
|
+ this.tableData = [];
|
|
|
this.tableData.push({
|
|
|
fieldName: tableName + "." + fieldName,
|
|
|
condition: "=",
|
|
|
refValue: 0,
|
|
|
});
|
|
|
+ } else {
|
|
|
+ this.tableData = [];
|
|
|
}
|
|
|
},
|
|
|
deep: true,
|
|
@@ -142,6 +145,7 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
myTableFieldList() {
|
|
|
+ console.log(this.tableFieldList);
|
|
|
return this.tableFieldList;
|
|
|
},
|
|
|
myFilterDataEcho() {
|