diff --git a/src/router/index.js b/src/router/index.js index 9f70212..5caa8f9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -162,6 +162,7 @@ export const dynamicRoutes = [ } ] }, + /* 档案管理详情数据 */ { path: '/archivesManagement/fileManager/file-data', component: Layout, @@ -175,6 +176,21 @@ export const dynamicRoutes = [ meta: { title: '档案管理数据', activeMenu: '/archivesManagement/fileManager', noCache: true } } ] + }, + /* 档案移交申请详情 */ + { + path: '/filesTransfer/apply/detail-data', + component: Layout, + hidden: true, + permissions: ['transfer:apply:query'], + children: [ + { + path: 'index', + component: () => import('@/views/filesTransfer/apply/detail-data'), + name: 'DetailData', + meta: { title: '档案移交申请详情', activeMenu: '/filesTransfer/apply', noCache: true } + } + ] } ] diff --git a/src/views/common/fileTree.vue b/src/views/common/fileTree.vue index f3d42ef..ddcc260 100644 --- a/src/views/common/fileTree.vue +++ b/src/views/common/fileTree.vue @@ -25,7 +25,7 @@ 取消 - 确认 + 确认 @@ -166,11 +166,11 @@ export default { this.dialogVisible = true; }); }, - handleReuslt(res) { - this.$modal.msgSuccess(res.msg); - this.$emit('handleQuery'); + // 保存数据 + handleSave(){ + this.$emit('getTreeData', this.selectedNodeId); this.handleClose(); - }, + } } }; diff --git a/src/views/filesTransfer/apply/detail-data.vue b/src/views/filesTransfer/apply/detail-data.vue new file mode 100644 index 0000000..3972f0e --- /dev/null +++ b/src/views/filesTransfer/apply/detail-data.vue @@ -0,0 +1,16 @@ + + \ No newline at end of file diff --git a/src/views/filesTransfer/apply/index.vue b/src/views/filesTransfer/apply/index.vue index fb3e6ef..c569f8a 100644 --- a/src/views/filesTransfer/apply/index.vue +++ b/src/views/filesTransfer/apply/index.vue @@ -8,6 +8,10 @@ @click="handleAdd"> 新增 + + 详情 + @@ -40,6 +48,7 @@ import { getTransferApplyListApi, } from '@/api/filesTransfer/apply.js' import ApplyForm from './prop/applyForm' +import { encryptWithSM4 } from '@/utils/sm' export default { @@ -93,6 +102,15 @@ export default { this.row = row; this.isflag = true; }, + // 详情 + handleDetail(row) { + this.$router.push({ + name: 'DetailData', + query: { + id: encryptWithSM4('1'), + } + }) + }, /* 搜索操作 */ handleQuery() { this.$refs.applyTableRef.getTableList() diff --git a/src/views/filesTransfer/apply/prop/applyForm.vue b/src/views/filesTransfer/apply/prop/applyForm.vue index f436bc5..414a4a8 100644 --- a/src/views/filesTransfer/apply/prop/applyForm.vue +++ b/src/views/filesTransfer/apply/prop/applyForm.vue @@ -10,8 +10,46 @@ :value="item.id"> - - 选择 + +
+ 选择 + +
+ + + + + + + + + + + + + + + + + +
+
确认 + @closeDialog="closeDialog" @getTreeData="getTreeData" :dataForm="fileTreeRow" :width="600" />