WXL
2 天以前 fe70ca5799b3b36a6d567464b545782728b2afed
src/views/repositoryai/templateku/configurat/taskub.vue
@@ -272,7 +272,7 @@
              </el-option>
            </el-select>
          </el-form-item>
          <el-row>
          <!-- <el-row>
            <el-col :span="20"
              ><el-form-item label="适用科室" prop="region">
                <el-select
@@ -317,7 +317,7 @@
                  </el-option>
                </el-select> </el-form-item
            ></el-col>
          </el-row>
          </el-row> -->
          <el-row>
            <el-col :span="12"
              ><el-form-item label="开场白" prop="revisitBefore">
@@ -1750,27 +1750,27 @@
      this.tempDetpRelevanceslist = [];
      this.tempbelongWards = [];
      if (this.id) {
        depthospgetsonlist(this.queryParamsdept).then((res) => {
          if (res.code == 200) {
            let arr = res.rows;
            console.log(arr, "arr");
      // if (this.id) {
      //   depthospgetsonlist(this.queryParamsdept).then((res) => {
      //     if (res.code == 200) {
      //       let arr = res.rows;
      //       console.log(arr, "arr");
            arr.forEach((item) => {
              if (item.deptType == 1) {
                console.log(this.deptlist, "11");
                this.deptlist.push(item);
                console.log("22");
                this.tempDetpRelevanceslist.push(item.deptCode);
              } else if (item.deptType == 2) {
                this.hosplist.push(item);
                this.tempbelongWards.push(item.deptCode);
                console.log("33");
              }
            });
          }
        });
      }
      //       arr.forEach((item) => {
      //         if (item.deptType == 1) {
      //           console.log(this.deptlist, "11");
      //           this.deptlist.push(item);
      //           console.log("22");
      //           this.tempDetpRelevanceslist.push(item.deptCode);
      //         } else if (item.deptType == 2) {
      //           this.hosplist.push(item);
      //           this.tempbelongWards.push(item.deptCode);
      //           console.log("33");
      //         }
      //       });
      //     }
      //   });
      // }
      // 疾病
      getillnesslist({