档案目录
This commit is contained in:
parent
6d76a910ca
commit
9e2516e3f2
|
|
@ -161,6 +161,19 @@ export const dynamicRoutes = [
|
|||
meta: { title: '修改生成配置', activeMenu: '/tool/gen' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/archivesManagement/fileManager',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
children: [
|
||||
{
|
||||
path: 'file-data',
|
||||
component: () => import('@/views/archivesManagement/fileManager/file-data'),
|
||||
name: 'FileData',
|
||||
meta: { title: '档案数据管理', activeMenu: '/archivesManagement/fileManager' }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ export default {
|
|||
this.$refs.ruleForm.clearValidate(['contentName', 'sort']);
|
||||
}
|
||||
});
|
||||
this.form.level = selectedNode.level;
|
||||
this.form.level = Number(selectedNode.level) + 1;
|
||||
this.getMaxSort(selectedNode.id);
|
||||
},
|
||||
/** 查找父节点层级 */
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@ export default {
|
|||
this.isflag = true;
|
||||
this.row = data;
|
||||
this.row.level = Number(data.level) + 1
|
||||
alert(this.row.level)
|
||||
},
|
||||
/* 修改树节点 */
|
||||
editTree(row, data) {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,51 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<div class="page-header">
|
||||
<h2>档案数据管理</h2>
|
||||
<p>项目ID: {{ projectId }}</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<p>这里将显示档案数据管理的内容...</p>
|
||||
<p>当前项目ID: {{ projectId }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'FileData',
|
||||
data() {
|
||||
return {
|
||||
projectId: null
|
||||
}
|
||||
},
|
||||
created() {
|
||||
// 获取传递的项目ID
|
||||
this.projectId = this.$route.query.id
|
||||
console.log('接收到的项目ID:', this.projectId)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.page-header {
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid #e6e6e6;
|
||||
}
|
||||
|
||||
.page-header h2 {
|
||||
margin: 0 0 10px 0;
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
.page-header p {
|
||||
margin: 0;
|
||||
color: #606266;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 20px 0;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -78,14 +78,14 @@ export default {
|
|||
this.$refs.proTableRef.getTableList()
|
||||
},
|
||||
/* 打开档案管理 */
|
||||
/* openFileManager(row) {
|
||||
openFileManager(row) {
|
||||
this.$router.push({
|
||||
path: '/archivesManagement/fileManager/components/index',
|
||||
path: '/archivesManagement/fileManager/file-data',
|
||||
query: {
|
||||
id: row.id
|
||||
}
|
||||
})
|
||||
} */
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue