对接握手流程

This commit is contained in:
qq787203167
2022-04-26 14:14:20 +08:00
parent bcd041ef15
commit dae12f618f
5 changed files with 24 additions and 17 deletions
@@ -21,6 +21,7 @@
<script> <script>
import { getAction, postAction } from '@/api/manage' import { getAction, postAction } from '@/api/manage'
import moment from 'moment'
export default { export default {
name: 'circulationHistory', name: 'circulationHistory',
@@ -57,7 +58,10 @@
{ {
title: this.$t('operationTime'), title: this.$t('operationTime'),
dataIndex: 'createTime', dataIndex: 'createTime',
align: 'center' align: 'center',
customRender: function(t, r, index) {
return moment(t).format('YYYY-MM-DD HH:mm:ss')
}
} }
] ]
} }
@@ -98,7 +98,7 @@
}, },
{ {
title: this.$t('cutoffTime'), title: this.$t('cutoffTime'),
dataIndex: 'endTime', dataIndex: 'taskAffirmDueDate',
align: 'center', align: 'center',
ellipsis: true ellipsis: true
}, },
@@ -89,7 +89,7 @@
}, },
{ {
title: this.$t('CompletionTime'), title: this.$t('CompletionTime'),
dataIndex: 'CompletionTime', dataIndex: 'endTime',
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
customRender: function(t, r, index) { customRender: function(t, r, index) {
@@ -105,12 +105,9 @@
}, },
{ {
title: this.$t('cutoffTime'), title: this.$t('cutoffTime'),
dataIndex: 'endTime', dataIndex: 'taskAffirmDueDate',
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
customRender: function(t, r, index) {
return moment(t).format('YYYY-MM-DD HH:mm:ss')
}
}, },
{ {
title: this.$t('operation'), title: this.$t('operation'),
@@ -213,4 +210,8 @@
position: relative; position: relative;
top: 1px; top: 1px;
} }
.page {
text-align: right;
margin-top: 20px;
}
</style> </style>
@@ -14,6 +14,9 @@
<span slot="prcType" slot-scope="text,record"> <span slot="prcType" slot-scope="text,record">
{{prcTypeName[text]}} {{prcTypeName[text]}}
</span> </span>
<span slot="isEnd" slot-scope="text,record">
{{text && text == 0 ? '未完成':'已完成'}}
</span>
<span slot="operation" slot-scope="record"> <span slot="operation" slot-scope="record">
<a @click="classAdd(record)" style="margin-right:8px">{{$t('See')}}</a> <a @click="classAdd(record)" style="margin-right:8px">{{$t('See')}}</a>
</span> </span>
@@ -86,7 +89,7 @@
}, },
{ {
title: this.$t('CompletionTime'), title: this.$t('CompletionTime'),
dataIndex: 'CompletionTime', dataIndex: 'endTime',
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
customRender: function(t, r, index) { customRender: function(t, r, index) {
@@ -97,16 +100,14 @@
title: this.$t('ProcessStatus'), title: this.$t('ProcessStatus'),
dataIndex: 'isEnd', dataIndex: 'isEnd',
align: 'center', align: 'center',
ellipsis: true ellipsis: true,
scopedSlots: { customRender: 'isEnd' }
}, },
{ {
title: this.$t('cutoffTime'), title: this.$t('cutoffTime'),
dataIndex: 'endTime', dataIndex: 'taskAffirmDueDate',
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
customRender: function(t, r, index) {
return moment(t).format('YYYY-MM-DD HH:mm:ss')
}
}, },
{ {
title: this.$t('operation'), title: this.$t('operation'),
@@ -208,4 +209,8 @@
position: relative; position: relative;
top: 1px; top: 1px;
} }
.page {
text-align: right;
margin-top: 20px;
}
</style> </style>
@@ -92,12 +92,9 @@
}, },
{ {
title: this.$t('cutoffTime'), title: this.$t('cutoffTime'),
dataIndex: 'endTime', dataIndex: 'taskAffirmDueDate',
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
customRender: function(t, r, index) {
return moment(t).format('YYYY-MM-DD HH:mm:ss')
}
}, },
{ {
title: this.$t('operation'), title: this.$t('operation'),