档案目录 角色权限修改

master
wanglei 1 year ago
parent 637cb3fa21
commit c9e2db32ad

@ -49,7 +49,7 @@
<el-link type="primary" @click="handleDAXX(scope.row)">{{ scope.row.muName }}</el-link>
<span v-if="scope.row.children&&scope.row.children.length>0" style="margin-left: 30px; color: #1890ff;">{{ scope.row.sbCount }}</span>
<el-link v-else style="margin-left: 30px" type="primary" @click="getListPicture(scope.row)">{{ scope.row.sbCount }}</el-link>
<el-link v-else style="margin-left: 30px" type="primary" @click="getListPicture(scope.row)">{{ scope.row.sbCount }}</el-link>
</template>
</el-table-column>
<el-table-column label="业务类型" align="center" prop="ywType" min-width="100" show-overflow-tooltip>
@ -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){

Loading…
Cancel
Save