diff --git a/src/views/infoCenter/layout.vue b/src/views/infoCenter/layout.vue index bd504721..f067a63f 100644 --- a/src/views/infoCenter/layout.vue +++ b/src/views/infoCenter/layout.vue @@ -62,6 +62,15 @@ + 返回
@@ -111,6 +120,9 @@ export default { }, methods: { + backTo(){ + this.$router.back(); + }, hasSubMenu(list) { //用于判断有没有下级菜单 let onoff = false; @@ -227,6 +239,9 @@ export default { // } .menuBox{ position: relative; + display: flex; + align-items: center; + justify-content: space-between; } .title { width: 100%; diff --git a/src/views/projectFront/laborManage/safetyTrainManage.vue b/src/views/projectFront/laborManage/safetyTrainManage.vue index ada60007..35253a1e 100644 --- a/src/views/projectFront/laborManage/safetyTrainManage.vue +++ b/src/views/projectFront/laborManage/safetyTrainManage.vue @@ -773,7 +773,7 @@ export default { // 下载材料 uploadPoint(item){ console.log('item',item) - if(item.uploadAttachments != null){ + if(!item.uploadAttachments){ this.uploadaurl = this.$store.state.FILEURL + item.uploadAttachments }else{ this.$message({