princeLee 4 years ago
parent
commit
65a1b44a90
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/workbench/components/createDialog.vue

+ 4 - 1
src/views/workbench/components/createDialog.vue

@@ -106,7 +106,10 @@ export default {
         this.$message({ type: 'warning', message: '请选择业务线!' })
         this.$message({ type: 'warning', message: '请选择业务线!' })
         return false
         return false
       }
       }
-      this.$emit('change', this.bizList.find(item => item.code === this.bizId))
+      const list = this.bizList.reduce((pre, cur) => {
+        return [...pre.options, ...cur.options]
+      })
+      this.$emit('change', list.find(item => item.code === this.bizId))
     },
     },
     cancel() { // 关闭弹框
     cancel() { // 关闭弹框
       this.show = false
       this.show = false