WXL
6 天以前 b7092c2bf77696eb13fd680cb006211c17b48f5c
src/views/patient/follow/index.vue
@@ -11,7 +11,8 @@
          v-show="showSearch"
          label-width="98px"
        >
          <el-form-item label="姓名" prop="name">
          <el-form-item label="姓名"
          width="100" prop="name">
            <el-input
              v-model="queryParams.name"
              placeholder="请输入姓名"
@@ -21,21 +22,20 @@
            />
          </el-form-item>
          <el-form-item label="患者范围" prop="tagId">
          <!-- <el-form-item label="患者范围" prop="tagId">
            <el-select
              v-model="queryParams.Patientid"
              multiple
              v-model="queryParams.searchscope"
              placeholder="请选择"
            >
              <el-option
                v-for="item in Patientrange"
                :key="item.id"
                :label="item.name"
                :value="item.id"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </el-select>
          </el-form-item>
          </el-form-item> -->
          <el-row>
@@ -74,11 +74,12 @@
          <el-table-column
            fixed
            label="姓名"
          width="100"
            align="center"
            key="name"
            prop="name"
          />
          <el-table-column label="性别" align="center" key="sex" prop="sex">
          <el-table-column label="性别"width="100" align="center" key="sex" prop="sex">
            <template slot-scope="scope">
              <span>{{ scope.row.sex == 1 ? "男" : "女" }}</span>
            </template>
@@ -181,10 +182,10 @@
                @click="
                  $router.push({
                    path: '/patient/patient/profile/',
                    query: { id: scope.row.patid },
                    query: { id: scope.row.id },
                  })
                "
                v-hasPermi="['system:user:edit']"
                ><span class="button-textsc"
                  ><i class="el-icon-zoom-in"></i>查看</span
                ></el-button
@@ -193,7 +194,7 @@
                size="medium"
                type="text"
                @click="handleDelete(scope.row)"
                v-hasPermi="['system:user:edit']"
                ><span class="button-textxga"
                  ><i class="el-icon-edit"></i>取消过滤</span
                ></el-button
@@ -220,7 +221,7 @@
import { delUser } from "@/api/system/user";
import {
  messagelistpatient,
  patarchivelist,
  alterpatient,
  addfiltration,
  particularpatient,
@@ -294,17 +295,17 @@
      propss: { multiple: true },
      optionstag: [], //标签列表
      Patientrange: [
        // {
        //   name: "门诊",
        //   id: 1,
        // },
        {
          name: "住院",
          id: 2,
      {
          value: 0,
          label: "所属患者",
        },
        {
          name: "体检",
          id: 3,
          value: 1,
          label: "科室患者",
        },
        {
          value: 2,
          label: "病区患者",
        },
      ],
      whether: [
@@ -368,7 +369,7 @@
    /** 查询患者列表 */
    getList() {
      this.loading = true;
      messagelistpatient(this.queryParams).then((response) => {
      patarchivelist(this.queryParams).then((response) => {
        console.log(response);
        this.userList = response.rows;
        this.total = response.total;
@@ -436,9 +437,12 @@
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.dateRange = [];
      this.resetForm("queryForm");
      this.$refs.tree.setCurrentKey(null);
      this.queryParams={
        pageNum: 1,
        pageSize: 10,
        allhosp: "1",
        notrequiredFlag: 1,
      },
      this.handleQuery();
    },
    // 多选框选中数据
@@ -518,7 +522,7 @@
    /** 下载模板操作 */
    importTemplate() {
      this.download(
        "system/user/importTemplate",
        "smartor/import/getImportPatTemplate",
        {},
        `user_template_${new Date().getTime()}.xlsx`
      );