Ver Fonte

Merge branch '17025' of http://119.23.210.103:3000/wy/lh_firm_former into 17025

wy há 1 ano atrás
pai
commit
4b9154d3f5

+ 4 - 0
src/business/platform/cat/type/tree.vue

@@ -131,6 +131,10 @@ export default {
                     const noData = data.filter(item => item.isShow === '1')
                     const noIdList = noData.map((obj, index) => { return obj.id }).join(',').split(',')
                     const tree = data.filter(item => item.isShow !== '1' && !noIdList.includes(item.parentId))
+                    for (const item of tree) {
+                        item.authorityName = item.authorityName || '{"chaYue":"","buMen":"","shenCha":"","shenHeZouXiang":"","fenLei":""}'
+                        item.authorityObject = item.authorityObject || { chaYue: '', buMen: '', shenCha: '', shenHeZouXiang: '', fenLei: '' }
+                    }
                     this.treeData = tree
                 }
 

+ 1 - 1
src/views/infosManage/fileIE.vue

@@ -294,7 +294,7 @@ export default {
     },
     created () {
         this.pageKey = this.$route.name
-        this.categoryKey = this.pageKey === 'nbwj' ? 'FILE_TYPE' : 'FLOW_TYPE'
+        this.categoryKey = this.pageKey === 'skwjcy' ? 'FILE_TYPE' : 'FLOW_TYPE'
         this.userId = this.$store.getters.userInfo.employee.id
         const roleList = this.$store.getters.userInfo.role
         // 系统管理角色添加删除按钮