|
|
@ -47,6 +47,7 @@ |
|
|
|
<script> |
|
|
|
import draggable from "vuedraggable"; |
|
|
|
import Sortable from "sortablejs"; |
|
|
|
import { getLoginName } from "@/utils/auth" |
|
|
|
export default { |
|
|
|
components: { |
|
|
|
draggable, |
|
|
@ -61,7 +62,7 @@ export default { |
|
|
|
dataList: [], |
|
|
|
// 全选 allSelect hasSelect NoSelect |
|
|
|
allSeletType:'NoSelect', |
|
|
|
userName:this.$store.getters.currentUserInfo.userName |
|
|
|
userName: getLoginName() |
|
|
|
} |
|
|
|
}, |
|
|
|
props: { |
|
|
@ -100,7 +101,7 @@ export default { |
|
|
|
type: 'warning', |
|
|
|
cancelButtonClass:'rowDropNotHideItem' |
|
|
|
}).then(() => { |
|
|
|
// 先set是为了字段设置按钮可以监听到缓存变化,之后在移除缓存 this.$store.getters.currentUserInfo.userName |
|
|
|
// 先set是为了字段设置按钮可以监听到缓存变化,之后在移除缓存 |
|
|
|
localStorage.setItem('file_Columns_' + this.source + '_' + this.userName + '_' + this.$route.name, JSON.stringify([])) |
|
|
|
localStorage.removeItem('file_Columns_' + this.source + '_' +this.userName + '_' + this.$route.name) |
|
|
|
// let _resetCol = this.$isTableColumns[this.$route.name] |
|
|
|