WXL (wul)
21 小时以前 c3576dff24adbb52cf807c100afb63399e16f813
src/views/patient/patient/outpatient.vue
@@ -29,10 +29,10 @@
              @keyup.enter.native="handleQuery"
            />
          </el-form-item>
          <el-form-item label="科室" width="100" prop="name">
          <el-form-item label="课题组" width="100" prop="name">
            <el-input
              v-model="queryParams.deptname"
              placeholder="请输入科室名称"
              placeholder="请输入课题组名称"
              clearable
              style="width: 200px"
              @keyup.enter.native="handleQuery"
@@ -306,7 +306,7 @@
            width="120"
          /> -->
          <el-table-column
            label="就诊科室"
            label="就诊课题组"
            align="center"
            key="deptname"
            prop="deptname"
@@ -405,7 +405,7 @@
                </template>
              </el-table-column>
              <el-table-column prop="outhospno" label="病案号" />
              <el-table-column prop="deptname" label="科室" />
              <el-table-column prop="deptname" label="课题组" />
            </el-table>
          </div>
        </el-col>
@@ -459,7 +459,7 @@
              <template #empty>
                <div class="empty-message">
                  <i class="el-icon-warning"></i>
                  <span>患者科室无匹配服务</span>
                  <span>患者课题组无匹配服务</span>
                </div>
              </template>
            </el-table>
@@ -662,7 +662,7 @@
          id: 999,
        },
        {
          name: "当前科室",
          name: "当前课题组",
          id: 1,
        },
      ],
@@ -706,7 +706,7 @@
      sourcetype: [
        {
          value: 1,
          label: "科室",
          label: "课题组",
          children: [],
        },
        {
@@ -1081,7 +1081,7 @@
        );
        return;
      }
      // 获取选中患者的科室信息(用于校验同一科室)
      // 获取选中患者的课题组信息(用于校验同一课题组)
      const patientDepts = new Set();
      let deptcode = "";
      this.ids.forEach((patId) => {
@@ -1092,9 +1092,9 @@
        }
      });
      // 校验是否同一科室
      // 校验是否同一课题组
      if (patientDepts.size > 1) {
        this.$modal.msgError("选中的患者不属于同一科室,无法批量添加任务");
        this.$modal.msgError("选中的患者不属于同一课题组,无法批量添加任务");
        return;
      }
@@ -1228,7 +1228,7 @@
  }
}
.button-textsc {
  color: #28cfe6;
  color: #3664D9;
}
.batch-patient-section,
.batch-task-section {