heimawl
2023-06-13 d9cbb5e4cf6f0423b84b739c52d55f98f3af148a
src/views/patient/patient/index.vue
@@ -172,14 +172,12 @@
            align="center"
            key="userId"
            prop="userId"
            v-if="columns[0].visible"
          />
          <el-table-column
            label="姓名"
            align="center"
            key="userName"
            prop="userName"
            v-if="columns[1].visible"
            :show-overflow-tooltip="true"
          />
          <el-table-column
@@ -187,7 +185,6 @@
            align="center"
            key="nickName"
            prop="nickName"
            v-if="columns[2].visible"
            :show-overflow-tooltip="true"
          />
          <el-table-column
@@ -195,7 +192,6 @@
            align="center"
            key="deptName"
            prop="dept.deptName"
            v-if="columns[3].visible"
            :show-overflow-tooltip="true"
          />
          <el-table-column
@@ -203,14 +199,12 @@
            align="center"
            key="phonenumber"
            prop="phonenumber"
            v-if="columns[4].visible"
            width="120"
          /><el-table-column
            label="证件号码"
            align="center"
            key="phonenumber"
            prop="phonenumber"
            v-if="columns[4].visible"
            width="120"
          />
          <el-table-column
@@ -221,21 +215,6 @@
            v-if="columns[4].visible"
            width="120"
          />
          <!-- <el-table-column
            label="状态"
            align="center"
            key="status"
            v-if="columns[5].visible"
          >
            <template slot-scope="scope">
              <el-switch
                v-model="scope.row.status"
                active-value="0"
                inactive-value="1"
                @change="handleStatusChange(scope.row)"
              ></el-switch>
            </template>
          </el-table-column> -->
          <el-table-column
            label="联系方式"
@@ -545,6 +524,7 @@
  changeUserStatus,
  deptTreeSelect,
} from "@/api/system/user";
import { listpatient } from "@/api/patient/homepage";
import { getToken } from "@/utils/auth";
import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@@ -721,16 +701,15 @@
    });
  },
  methods: {
    /** 查询用户列表 */
    /** 查询患者列表 */
    getList() {
      this.loading = true;
      listUser(this.addDateRange(this.queryParams, this.dateRange)).then(
        (response) => {
      listUser(this.queryParams).then((response) => {
        console.log(response);
          this.userList = response.rows;
          this.total = response.total;
          this.loading = false;
        }
      );
      });
    },
    // 查询导入展示列表
    geterryList() {