|
@@ -264,7 +264,6 @@ export default {
|
|
|
};
|
|
|
addSet(data).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
- console.log(res)
|
|
|
this.showSetting = false;
|
|
|
this.queryList.columnList = this.setRowList.filter((e) => e.checked == 0);
|
|
|
}
|
|
@@ -272,7 +271,6 @@ export default {
|
|
|
},
|
|
|
//自定义列
|
|
|
delRow() {
|
|
|
- console.log(this.listStyle)
|
|
|
this.data = {
|
|
|
tableName: this.queryList.tableName,
|
|
|
userId: Cookies.get("userName"),
|
|
@@ -280,9 +278,8 @@ export default {
|
|
|
resetModule(this.data).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.showSetting = false;
|
|
|
- this.listStyle.forEach(item=>item.checked = 0)
|
|
|
+ this.setRowList.forEach(item=>item.checked = 0)
|
|
|
this.queryList.columnList = this.setRowList = this.listStyle;
|
|
|
- console.log(this.listStyle)
|
|
|
}
|
|
|
});
|
|
|
},
|