Explorar o código

fix:优化文件类型父节点添加子节点的赋值

liujiayin %!s(int64=2) %!d(string=hai) anos
pai
achega
cab8580c7f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/views/platform/cat/type/edit.vue

+ 1 - 0
src/views/platform/cat/type/edit.vue

@@ -329,6 +329,7 @@ export default {
       }).catch(() => { })
     },
     radioChangeHandle(h) {
+      this.type.authorityObject.buMen = JSON.parse(this.parentData.authorityName).buMen
       if (h == '部门查阅' && this.cascaderOptions.length == 0) {
         this.type.authorityObject.buMen = ''
         let sql = `select * FROM  ibps_party_entity WHERE party_type_='position' AND PATH_ IN (${this.$store.getters.level.first})`