qinxianzhangyao
2023-12-14 a7c90f4a5ed7619a6682f22665338acfed22564e
src/views/hosp/project/index.vue
@@ -553,6 +553,7 @@
      this.open = true;
      this.title = "体检项目信息维护";
      this.form.deptId = this.queryParams.deptId
      this.form.proCheckMethod = "N"
      if (this.key = "Y") {
        gettreeList().then((response) => {
          this.deptOptionstree = response.data;
@@ -563,21 +564,29 @@
    // 打开input弹框
    getDetailed() {
      if (this.form.proParentId == 0) {
      if (this.selectList) {
        if (this.selectList.proName === "主类目") {
        this.dialogTableVisible = false;
      } else if (this.form.proParentId != 0) {
        }else{
        this.dialogTableVisible = true;
        this.getlistSfxm()
        }
      } else if (this.form.proParentId) {
        if (this.form.proParentId != 0) {
          this.dialogTableVisible = true;
          this.getlistSfxm()
        } else if (this.form.proParentId == 0) {
          this.dialogTableVisible = false;
        }
      } else {
        this.$message.error("请选择主项名称");
      }
    },
    obtain(vals) {
      if (this.projectOptions) {
        this.selectList = vals;
        console.log(this.selectList)
      }
      if (this.selectList.proName === "主类目") {
        this.showPrise = true;