diff --git a/dangan-ui/src/views/dangan/catalog/index.vue b/dangan-ui/src/views/dangan/catalog/index.vue index c3b33b2..f1fbe22 100644 --- a/dangan-ui/src/views/dangan/catalog/index.vue +++ b/dangan-ui/src/views/dangan/catalog/index.vue @@ -49,7 +49,7 @@ {{ scope.row.muName }} {{ scope.row.sbCount }} - {{ scope.row.sbCount }} + {{ scope.row.sbCount }} @@ -540,18 +540,18 @@ export default { /** 查询档案图片信息记录列表 */ getListPicture(row) { - console.log(row); + if(this.$store.state.user.permissions.indexOf('dangan:pictureRecard:list')>0){ + this.lssc.open = true; + listPictureRecard({muId: row.id,pageSize: 1000000000}).then(response => { + this.lssc.list = response.rows; + this.lssc.total = response.total; + this.lssc.previewList = []; - this.lssc.open = true; - listPictureRecard({muId: row.id,pageSize: 1000000000}).then(response => { - this.lssc.list = response.rows; - this.lssc.total = response.total; - this.lssc.previewList = []; - - this.lssc.list.forEach(item=>{ - this.lssc.previewList.push(item.picUrl) - }) - }); + this.lssc.list.forEach(item=>{ + this.lssc.previewList.push(item.picUrl) + }) + }); + } }, // 点击档案图片 onTu(index){