对接握手流程

This commit is contained in:
qq787203167
2022-04-25 16:06:41 +08:00
parent 308dfd4f00
commit 5b4c1e1e75
2 changed files with 27 additions and 41 deletions
@@ -11,6 +11,12 @@
:loading="loading" :loading="loading"
:columns="columns" :columns="columns"
> >
<span slot="prcType" slot-scope="text,record">
{{prcTypeName[text]}}
</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>
@@ -42,12 +48,16 @@
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 10,
selectedRowKeys: [], selectedRowKeys: [],
prcTypeName: {
1: '任务确认流程'
},
columns: [ columns: [
{ {
title: this.$t('ProcessType'), title: this.$t('ProcessType'),
dataIndex: 'prcType', dataIndex: 'prcType',
align: 'center', align: 'center',
ellipsis: true ellipsis: true,
scopedSlots: { customRender: 'prcType' }
}, },
{ {
title: this.$t('Sponsor'), title: this.$t('Sponsor'),
@@ -83,7 +93,8 @@
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'),
@@ -191,4 +202,9 @@
position: relative; position: relative;
top: 1px; top: 1px;
} }
.page {
text-align: right;
margin-top: 20px;
}
</style> </style>
@@ -33,6 +33,7 @@
import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage' import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import moment from 'moment' import moment from 'moment'
export default { export default {
name: 'ProcessCenter', name: 'ProcessCenter',
data() { data() {
@@ -100,7 +101,7 @@
} }
], ],
loading: false, loading: false,
dataSource:[], dataSource: []
} }
}, },
computed: {}, computed: {},
@@ -124,40 +125,9 @@
dealWith(row) { dealWith(row) {
let index = row.taskIds.lastIndexOf(',') let index = row.taskIds.lastIndexOf(',')
row.taskIds = row.taskIds.slice(0, index) row.taskIds = row.taskIds.slice(0, index)
if (row.prcType == '2') { if (row.prcType == '1') {
this.$router.push({ this.$router.push({
path: '/regulationUpdate', path: '/handshakeProcess',
query: row
})
} else if (row.prcType == '3') {
this.$router.push({
path: '/businessReviseTopicProjectEstablishment',
query: row
})
} else if (row.prcType == '4') {
this.$router.push({
path: '/businessReviseTopicProjectEstablishment',
query: row
})
} else if (row.prcType == '1') {
console.log('跳转更改')
this.$router.push({
path: '/projectLcaListListing',
query: row
})
} else if (row.prcType == '7') {
this.$router.push({
path: '/fileAssessFlowDetails',
query: row
})
} else if (row.prcType == '5') {
this.$router.push({
path: '/businessRevisedStandardListingDetails',
query: row
})
} else if (row.prcType == '6') {
this.$router.push({
path: '/subBusinessRevisedStandardListingDetails',
query: row query: row
}) })
} }
@@ -170,7 +140,7 @@
this.pageNo = 1 this.pageNo = 1
this.pageSize = pageSize this.pageSize = pageSize
this.queryProcess() this.queryProcess()
}, }
}, },
mounted() { mounted() {
this.queryProcess() this.queryProcess()