项目管理-法规符合性看板-列宽可拖拽
This commit is contained in:
@@ -66,6 +66,7 @@
|
|||||||
ref='table'
|
ref='table'
|
||||||
size='middle'
|
size='middle'
|
||||||
rowKey='id'
|
rowKey='id'
|
||||||
|
:components="drag(columns,'columns')"
|
||||||
:columns='columns'
|
:columns='columns'
|
||||||
:dataSource='areaTable'
|
:dataSource='areaTable'
|
||||||
:pagination='false'
|
:pagination='false'
|
||||||
@@ -159,10 +160,12 @@
|
|||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||||
|
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'diolagArea',
|
name: 'diolagArea',
|
||||||
components: {},
|
components: {},
|
||||||
|
mixins:[ResizeHeader, ResizeColumnProvide],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
token: Vue.ls.get(ACCESS_TOKEN),
|
token: Vue.ls.get(ACCESS_TOKEN),
|
||||||
|
|||||||
@@ -84,6 +84,7 @@
|
|||||||
<a-table
|
<a-table
|
||||||
class="table"
|
class="table"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
|
:components="drag(columns,'columns')"
|
||||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: '100%',y:'calc(100vh - 155px)'}"
|
:scroll="{x: '100%',y:'calc(100vh - 155px)'}"
|
||||||
@@ -136,6 +137,7 @@ import { ACCESS_TOKEN } from '@/store/mutation-types'
|
|||||||
// import eventBUs from '../../../common/event'
|
// import eventBUs from '../../../common/event'
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
|
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'index',
|
name: 'index',
|
||||||
@@ -143,6 +145,7 @@ export default {
|
|||||||
ExportHistory,
|
ExportHistory,
|
||||||
globalAdvancedQuery
|
globalAdvancedQuery
|
||||||
},
|
},
|
||||||
|
mixins:[ResizeHeader, ResizeColumnProvide],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
token: Vue.ls.get(ACCESS_TOKEN),
|
token: Vue.ls.get(ACCESS_TOKEN),
|
||||||
|
|||||||
Reference in New Issue
Block a user