对接握手流程
This commit is contained in:
+19
-3
@@ -11,7 +11,13 @@
|
||||
:loading="loading"
|
||||
:columns="columns"
|
||||
>
|
||||
<span slot="operation" slot-scope="record">
|
||||
<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">
|
||||
<a @click="classAdd(record)" style="margin-right:8px">{{$t('See')}}</a>
|
||||
</span>
|
||||
</a-table>
|
||||
@@ -42,12 +48,16 @@
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
selectedRowKeys: [],
|
||||
prcTypeName: {
|
||||
1: '任务确认流程'
|
||||
},
|
||||
columns: [
|
||||
{
|
||||
title: this.$t('ProcessType'),
|
||||
dataIndex: 'prcType',
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
ellipsis: true,
|
||||
scopedSlots: { customRender: 'prcType' }
|
||||
},
|
||||
{
|
||||
title: this.$t('Sponsor'),
|
||||
@@ -83,7 +93,8 @@
|
||||
title: this.$t('ProcessStatus'),
|
||||
dataIndex: 'isEnd',
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
ellipsis: true,
|
||||
scopedSlots: { customRender: 'isEnd' }
|
||||
},
|
||||
{
|
||||
title: this.$t('cutoffTime'),
|
||||
@@ -191,4 +202,9 @@
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
.page {
|
||||
text-align: right;
|
||||
margin-top: 20px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage'
|
||||
import { mapGetters } from 'vuex'
|
||||
import moment from 'moment'
|
||||
|
||||
export default {
|
||||
name: 'ProcessCenter',
|
||||
data() {
|
||||
@@ -41,7 +42,7 @@
|
||||
total: 0,
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
selectedRowKeys:[],
|
||||
selectedRowKeys: [],
|
||||
columns: [
|
||||
{
|
||||
title: this.$t('RelatedItems'),
|
||||
@@ -100,13 +101,13 @@
|
||||
}
|
||||
],
|
||||
loading: false,
|
||||
dataSource:[],
|
||||
dataSource: []
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
methods: {
|
||||
...mapGetters(['userInfo']),
|
||||
onSelectChange(){
|
||||
onSelectChange() {
|
||||
|
||||
},
|
||||
queryProcess() {
|
||||
@@ -115,7 +116,7 @@
|
||||
parmes.current = this.pageNo
|
||||
parmes.size = this.pageSize
|
||||
parmes.userId = this.userInfo().userId
|
||||
postAction('task/todoTaskList',parmes).then((res)=>{
|
||||
postAction('task/todoTaskList', parmes).then((res) => {
|
||||
this.dataSource = res.list || []
|
||||
this.total = res.count
|
||||
this.loading = false
|
||||
@@ -124,40 +125,9 @@
|
||||
dealWith(row) {
|
||||
let index = row.taskIds.lastIndexOf(',')
|
||||
row.taskIds = row.taskIds.slice(0, index)
|
||||
if (row.prcType == '2') {
|
||||
if (row.prcType == '1') {
|
||||
this.$router.push({
|
||||
path: '/regulationUpdate',
|
||||
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',
|
||||
path: '/handshakeProcess',
|
||||
query: row
|
||||
})
|
||||
}
|
||||
@@ -170,7 +140,7 @@
|
||||
this.pageNo = 1
|
||||
this.pageSize = pageSize
|
||||
this.queryProcess()
|
||||
},
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.queryProcess()
|
||||
|
||||
Reference in New Issue
Block a user