diff --git a/warehousing-system/project_web/src/components/Home.vue b/warehousing-system/project_web/src/components/Home.vue index d8879312..03f86873 100644 --- a/warehousing-system/project_web/src/components/Home.vue +++ b/warehousing-system/project_web/src/components/Home.vue @@ -126,7 +126,27 @@ export default { }, // 定义默认高亮 defaultActive: '', - user: '' + user: '', + picture:{ + children:[{ + children: null, + created: "2021-06-08T11:42:36.000+0000", + id: 10, + level: 2, + name: "仓库列表", + parentId:12, + path: "/PictureList", + updated: "2021-06-08T11:56:38.000+0000" + } + ], + created: "2021-06-08T11:48:25.000+0000", + id: 5, + level: 1, + name: "仓库列表", + parentId: 15, + path: '', + updated: "2021-06-08T11:48:27.000+0000" + } } }, methods: { @@ -139,6 +159,8 @@ export default { const { data: result } = await this.$http.get('/rights/getRightsList') if (result.status !== 200) return this.$message.error('获取权限列表失败') this.menuList = result.data + this.menuList.unshift(this.picture) + console.log(this.menuList); }, // 设定左侧折叠展开效果 collspseClick () { diff --git a/warehousing-system/project_web/src/components/initial_value/storehouse.vue b/warehousing-system/project_web/src/components/initial_value/storehouse.vue index 7c810914..8cb0857f 100644 --- a/warehousing-system/project_web/src/components/initial_value/storehouse.vue +++ b/warehousing-system/project_web/src/components/initial_value/storehouse.vue @@ -746,6 +746,7 @@ export default { this.claerArrList() this.title = "新增仓库"; this.storehouseDialogVisible = true; + this.jingweidu='' }, async getcustListList () { const { data: result } = await this.$http.get('/v1/shstorehouse/fetchEntList') diff --git a/warehousing-system/project_web/src/components/pictureList/pictureList.vue b/warehousing-system/project_web/src/components/pictureList/pictureList.vue index 9cc3fa1f..ce592310 100644 --- a/warehousing-system/project_web/src/components/pictureList/pictureList.vue +++ b/warehousing-system/project_web/src/components/pictureList/pictureList.vue @@ -28,7 +28,7 @@