待办中心-项目法规任务-任务确认办理-办理(拖拽)

This commit is contained in:
zyn
2023-02-06 15:33:18 +08:00
parent 44f329867e
commit b243427db7
2 changed files with 12 additions and 5 deletions
@@ -7,6 +7,7 @@
</div>
<div style="width: 100%">
<a-table
:components="drag(columns,'columns')"
ref="table"
:loading="loading"
:pagination="false"
@@ -26,9 +27,11 @@
import { getAction, postAction, downloadFile } from '@/api/manage'
import moment from 'moment'
import { Base64 } from 'js-base64'
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
export default {
name: 'circulationHistory',
mixins:[ResizeHeader, ResizeColumnProvide],
data() {
return {
dataSource: [],
@@ -44,32 +47,32 @@
title: this.$t('OperationNode'),
dataIndex: 'name',
align: 'left',
width:'20%',
width:200,
},
{
title: this.$t('Operator'),
dataIndex: 'assignee',
align: 'left',
width:'20%',
width:200,
},
{
title: this.$t('result'),
dataIndex: 'approvalResult',
align: 'left',
width:'20%',
width:200,
scopedSlots: { customRender: 'approvalResult' }
},
{
title: this.$t('opinion'),
dataIndex: 'approvalOpinion',
align: 'left',
width:'20%',
width:200,
},
{
title: this.$t('OperationTime'),
dataIndex: 'createTime',
align: 'left',
width:'20%',
width:200,
customRender: function(t, r, index) {
return moment(t).format('YYYY-MM-DD HH:mm:ss')
}
@@ -1,6 +1,7 @@
<template>
<div style="width: 100%;padding: 0 24px 24px 24px">
<a-table
:components="drag(columns,'columns')"
ref="table"
:loading="loading"
:pagination="false"
@@ -58,6 +59,7 @@
import { Base64 } from 'js-base64'
import { getAction, postAction, downloadFile, deleteAction } from '@/api/manage'
import { mapGetters } from 'vuex'
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
export default {
name: 'standardContentList',
@@ -67,6 +69,7 @@
default: {}
}
},
mixins:[ResizeHeader, ResizeColumnProvide],
data() {
return {
dataSource: [],
@@ -175,6 +178,7 @@
remark: this.standardContentListQuery.verifyRemark
})
}
},
methods: {
...mapGetters(['userInfo']),