1
lkk
2 天以前 c12ce4c405d92c0bf11e876468108d1edb134ff2
src/views/hosp/project/index.vue
@@ -1193,7 +1193,7 @@
  },
  created() {
    // this.getConsumables();
    // this.getDeptList();
    this.getDeptList();
    // this.getDeptTree().then(() => {
    //   this.precomputePinyin();
    // });
@@ -1383,12 +1383,16 @@
      this.form.hisXmbm = "";
      this.form.hisXmmc = "";
      this.form.hisdj = "";
      this.loading = true;
      // this.loading = true;
      this.proParent = false;
      this.form.proPrice = 0.0;
      this.form.proName = "";
      this.form.proId = null;
      this.form.resultType = "1";
      // 先获取科室列表数据
      this.getDeptList();
      getlist().then((response) => {
        if (response.code == 200) {
          this.loading = false;
@@ -1543,7 +1547,7 @@
    getDeptList() {
      listDept(this.queryParams).then((response) => {
        this.parentNameList = response.data;
        this.deptList = this.handleTree(response.data, "proId");
        this.deptList = this.handleTree(response.data, "deptId");
      });
    },
    /* getDeptTree() {