princeLee 4 жил өмнө
parent
commit
65a1b44a90

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

@@ -106,7 +106,10 @@ export default {
         this.$message({ type: 'warning', message: '请选择业务线!' })
         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() { // 关闭弹框
       this.show = false