diff --git a/src/router/index.js b/src/router/index.js index b943be6..02b3bd0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -218,7 +218,21 @@ export const dynamicRoutes = [ path: 'index', component: () => import('@/views/filesTransfer/record/components/data-detail'), name: 'RecordDetail', - meta: { title: '详情', activeMenu: '/archivesManagement/filesTransfer/record', noCache: true } + meta: { title: '移交详情', activeMenu: '/archivesManagement/filesTransfer/record', noCache: true } + } + ] + }, + { + path: '/archivesManagement/filesTransfer/accept/accept-detail-data', + component: Layout, + hidden: true, + permissions: ['transfer:apply:query'], + children: [ + { + path: 'index', + component: () => import('@/views/filesTransfer/record/components/data-detail'), + name: 'RecordDetail2', + meta: { title: '接收详情', activeMenu: '/archivesManagement/filesTransfer/accept', noCache: true } } ] } diff --git a/src/views/filesTransfer/accept/index.vue b/src/views/filesTransfer/accept/index.vue index dbe8ee8..a3ec945 100644 --- a/src/views/filesTransfer/accept/index.vue +++ b/src/views/filesTransfer/accept/index.vue @@ -81,10 +81,10 @@ export default { // 详情 handleDetail(row) { this.$router.push({ - name: 'RecordDetail', + name: 'RecordDetail2', query: { id: encryptWithSM4(row.id ?? '0'), - viewStatus: encryptWithSM4('detail'), + viewStatus: encryptWithSM4('accept'), auditStatus: encryptWithSM4(this.getStatusText2(row.auditStatus)), } }) diff --git a/src/views/filesTransfer/apply/index.vue b/src/views/filesTransfer/apply/index.vue index 0999e5a..6842d04 100644 --- a/src/views/filesTransfer/apply/index.vue +++ b/src/views/filesTransfer/apply/index.vue @@ -104,6 +104,8 @@ export default { name: 'DetailData', query: { id: encryptWithSM4(row.id ?? '0'), + viewStatus: encryptWithSM4('detail'), + auditStatus: encryptWithSM4(this.getStatusText2(row.auditStatus)), } }) }, diff --git a/src/views/filesTransfer/record/components/data-detail.vue b/src/views/filesTransfer/record/components/data-detail.vue index 489068d..0c08dcc 100644 --- a/src/views/filesTransfer/record/components/data-detail.vue +++ b/src/views/filesTransfer/record/components/data-detail.vue @@ -51,10 +51,34 @@