qinxianzhangyao
2023-12-13 854002335cbce613e0b62fbc9a034ba82976a155
src/views/hosp/rules/index.vue
@@ -249,6 +249,7 @@
      loading: true,
      // 选中数组
      ids: [],
      formIn:{},
      // 非单个禁用
      single: true,
      // 非多个禁用
@@ -350,6 +351,8 @@
    },
    // 节点单击事件
    handleNodeClick(data) {
      this.formIn = data
      console.log(this.formIn)
      this.queryParams.proId = data.id;
      this.getListByXmId()
    },
@@ -416,6 +419,8 @@
      this.reset();
      this.open = true;
      this.title = "添加规则+病种";
      this.form.proId = this.formIn.id;
      this.form.proName = this.formIn.label
      getSonsList().then((response) => {
        this.proList = response.data;
      });