diff --git a/src/router/index.js b/src/router/index.js index 2ba8b5f..b943be6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -206,7 +206,24 @@ export const dynamicRoutes = [ meta: { title: '审核详情', activeMenu: '/archivesManagement/filesTransfer/audit', noCache: true } } ] + }, + + { + path: '/archivesManagement/filesTransfer/record/record-detail-data', + component: Layout, + hidden: true, + permissions: ['transfer:apply:query'], + children: [ + { + path: 'index', + component: () => import('@/views/filesTransfer/record/components/data-detail'), + name: 'RecordDetail', + meta: { title: '详情', activeMenu: '/archivesManagement/filesTransfer/record', noCache: true } + } + ] } + + ] // 防止连续点击多次路由报错 diff --git a/src/views/filesTransfer/apply/detail-data.vue b/src/views/filesTransfer/apply/detail-data.vue deleted file mode 100644 index 2f703eb..0000000 --- a/src/views/filesTransfer/apply/detail-data.vue +++ /dev/null @@ -1,453 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/filesTransfer/apply/index.vue b/src/views/filesTransfer/apply/index.vue index 93c8c88..0999e5a 100644 --- a/src/views/filesTransfer/apply/index.vue +++ b/src/views/filesTransfer/apply/index.vue @@ -104,8 +104,6 @@ export default { name: 'DetailData', query: { id: encryptWithSM4(row.id ?? '0'), - viewStatus: encryptWithSM4('detail'), - auditStatus: encryptWithSM4(this.getStatusText2(row.auditStatus)), } }) }, @@ -115,7 +113,7 @@ export default { }, /** 删除操作 */ handleDelete(row) { - this.$modal.confirm(`是否确认删除数据类型名称为"${row.dataTypeName}"的数据项?`).then(() => { + this.$modal.confirm(`是否确认删除此数据项?`).then(() => { // 显示加载遮罩 this.$modal.loading("正在删除,请稍候..."); delTransferApplyApi({ id: row.id }).then(res => { diff --git a/src/views/filesTransfer/apply/prop/applyForm.vue b/src/views/filesTransfer/apply/prop/applyForm.vue index 011654c..44995ef 100644 --- a/src/views/filesTransfer/apply/prop/applyForm.vue +++ b/src/views/filesTransfer/apply/prop/applyForm.vue @@ -316,14 +316,7 @@ export default { this.checkTreeData.push(newFile); }) } - /* // 模拟添加文件数据到表格 - const newFile = { - id: nodeId, - category: '分类' + (this.checkTreeData.length + 1), - archiveVolume: '案卷' + (this.checkTreeData.length + 1), - fileName: '文件' + (this.checkTreeData.length + 1) + '.pdf' - }; - this.checkTreeData.push(newFile); */ + // 触发表单验证 this.$nextTick(() => { this.$refs.ruleForm.validateField('checkTreeData'); diff --git a/src/views/filesTransfer/detail-data.vue b/src/views/filesTransfer/detail-data.vue index 7b87f6a..ee4988a 100644 --- a/src/views/filesTransfer/detail-data.vue +++ b/src/views/filesTransfer/detail-data.vue @@ -28,7 +28,7 @@
- + diff --git a/src/views/filesTransfer/record/components/data-detail.vue b/src/views/filesTransfer/record/components/data-detail.vue new file mode 100644 index 0000000..489068d --- /dev/null +++ b/src/views/filesTransfer/record/components/data-detail.vue @@ -0,0 +1,229 @@ + + + + + \ No newline at end of file diff --git a/src/views/filesTransfer/record/components/maintenance.vue b/src/views/filesTransfer/record/components/maintenance.vue new file mode 100644 index 0000000..4faaf63 --- /dev/null +++ b/src/views/filesTransfer/record/components/maintenance.vue @@ -0,0 +1,152 @@ + + + \ No newline at end of file diff --git a/src/views/filesTransfer/record/components/recordList.vue b/src/views/filesTransfer/record/components/recordList.vue index a2719e3..04c6387 100644 --- a/src/views/filesTransfer/record/components/recordList.vue +++ b/src/views/filesTransfer/record/components/recordList.vue @@ -3,13 +3,28 @@
- + + + + + + + + + +
- - 取消 - 确认 - + +