|
@ -60,7 +60,6 @@ |
|
|
newData: null, |
|
|
newData: null, |
|
|
// checked: false, |
|
|
// checked: false, |
|
|
dataList: [], |
|
|
dataList: [], |
|
|
dataListReset: [] |
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
props: { |
|
|
props: { |
|
@ -89,8 +88,12 @@ |
|
|
cancelButtonClass:'rowDropNotHideItem' |
|
|
cancelButtonClass:'rowDropNotHideItem' |
|
|
}).then(() => { |
|
|
}).then(() => { |
|
|
localStorage.removeItem(this.$store.getters.name.userName + '_' + this.$route.name) |
|
|
localStorage.removeItem(this.$store.getters.name.userName + '_' + this.$route.name) |
|
|
this.formatData(this.$isTableColumns[this.$route.name]) |
|
|
let _resetCol = this.$isTableColumns[this.$route.name] |
|
|
this.$emit('radio',this.$isTableColumns[this.$route.name]) |
|
|
_resetCol.forEach(item => { |
|
|
|
|
|
item.isture = true |
|
|
|
|
|
}) |
|
|
|
|
|
this.dataList = _resetCol |
|
|
|
|
|
this.$emit('radio',_resetCol) |
|
|
this.close() |
|
|
this.close() |
|
|
}).catch(() => { |
|
|
}).catch(() => { |
|
|
|
|
|
|
|
@ -113,7 +116,6 @@ |
|
|
item.isture = true |
|
|
item.isture = true |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
this.dataListReset = JSON.parse(JSON.stringify(this.dataList)) |
|
|
|
|
|
}, |
|
|
}, |
|
|
// 拖拽事件 |
|
|
// 拖拽事件 |
|
|
handleEdit(index, row) { |
|
|
handleEdit(index, row) { |
|
|