From 5b4c1e1e75a728cd214d24d91cca721511c9725c Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Mon, 25 Apr 2022 16:06:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=8F=A1=E6=89=8B=E6=B5=81?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tabComponents/alreadyProcess/index.vue | 22 +++++++-- .../tabComponents/processCenter/index.vue | 46 ++++--------------- 2 files changed, 27 insertions(+), 41 deletions(-) diff --git a/jero-web/src/views/processCenter/processList/tabComponents/alreadyProcess/index.vue b/jero-web/src/views/processCenter/processList/tabComponents/alreadyProcess/index.vue index d126543fb..9bb38b919 100644 --- a/jero-web/src/views/processCenter/processList/tabComponents/alreadyProcess/index.vue +++ b/jero-web/src/views/processCenter/processList/tabComponents/alreadyProcess/index.vue @@ -11,7 +11,13 @@ :loading="loading" :columns="columns" > - + + {{prcTypeName[text]}} + + + {{text && text == 0 ? '未完成':'已完成'}} + + {{$t('See')}} @@ -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; + } diff --git a/jero-web/src/views/processCenter/processList/tabComponents/processCenter/index.vue b/jero-web/src/views/processCenter/processList/tabComponents/processCenter/index.vue index e1b9aefb7..87cd21000 100644 --- a/jero-web/src/views/processCenter/processList/tabComponents/processCenter/index.vue +++ b/jero-web/src/views/processCenter/processList/tabComponents/processCenter/index.vue @@ -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()