WXL
2024-08-06 17b041e2e7ebd5afe75403fefc57cc6a88b51dad
src/views/patient/patient/index.vue
@@ -92,25 +92,8 @@
                  </el-option>
                </el-select>
              </el-form-item>
              <el-form-item label="入院日期" prop="userName">
                <el-date-picker
                  v-model="queryParams.valuetime1"
                  align="right"
                  type="date"
                  placeholder="选择日期"
                >
                </el-date-picker>
              </el-form-item>
              <el-form-item label="出院日期" prop="departuretime">
                <el-date-picker
                  v-model="queryParams.departuretime"
                  align="right"
                  type="date"
                  placeholder="选择日期"
                >
                </el-date-picker>
              </el-form-item>
              <el-form-item label="就诊编号" prop="number">
              <el-form-item label="档案编号" prop="number">
                <el-input
                  v-model="queryParams.number"
                  placeholder="请输入编号"
@@ -216,8 +199,8 @@
                fixed
                label="序号"
                align="center"
                key="patid"
                prop="patid"
                key="id"
                prop="id"
              />
              <el-table-column
                fixed
@@ -320,7 +303,7 @@
                    @click="
                      $router.push({
                        path: '/patient/patient/profile/',
                        query: { id: scope.row.patid },
                        query: { id: scope.row.id },
                      })
                    "
                    v-hasPermi="['system:user:edit']"
@@ -665,6 +648,12 @@
  Exporterrorpatient,
  toleadpatient,
} from "@/api/patient/homepage";
import {
  getTaskservelist,
  getTaskInfo,
  Editsingletask,
} from "@/api/AiCentre/index";
import { listtag } from "@/api/system/label";
import { getToken } from "@/utils/auth";
import Treeselect from "@riophae/vue-treeselect";
@@ -715,7 +704,7 @@
      Patienttype: [
        {
          value: "1",
          label: "住院患者",
          label: "在院患者",
        },
        {
          value: "2",
@@ -724,6 +713,10 @@
        {
          value: "3",
          label: "体检患者",
        },
        {
          value: "4",
          label: "出院患者",
        },
      ],
@@ -933,7 +926,7 @@
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map((item) => item.patid);
      this.ids = selection.map((item) => item.id);
      this.single = selection.length != 1;
      this.multiple = !selection.length;
    },
@@ -947,7 +940,7 @@
    /** 修改按钮操作 */
    handleUpdate(row) {
      console.log(row);
      const userIds = row.patid || this.ids;
      const userIds = row.id || this.ids;
      particularpatient(userIds).then((response) => {
        console.log(response);
        this.form = response.data;