WXL
10 天以前 33c62946aa29d74a62c5dcbbc1cb06d16c8c91dc
src/views/patient/patient/index.vue
@@ -1,7 +1,7 @@
<template>
  <div class="Questionnairemanagement">
    <!-- 左侧栏 -->
    <div class="sidecolumn">
    <!-- <div class="sidecolumn">
      <div class="sidecolumn-top">
        <div class="top-wj">医院患者</div>
      </div>
@@ -12,13 +12,12 @@
          v-model="queryParams.allhosp"
          @tab-click="handleClick"
        >
          <!-- <el-tab-pane label="患者列表" name="0"></el-tab-pane> -->
          <el-tab-pane label="出入院患者" name="1"></el-tab-pane>
          <el-tab-pane label="门诊患者" name="2"></el-tab-pane>
          <el-tab-pane label="体检患者" name="3"></el-tab-pane>
        </el-tabs>
      </div>
    </div>
    </div> -->
    <!-- 右侧数据 -->
    <div class="leftvlue">
@@ -184,13 +183,6 @@
              @selection-change="handleSelectionChange"
            >
              <el-table-column type="selection" width="50" align="center" />
              <!-- <el-table-column
                fixed
                label="序号"
                align="center"
                key="id"
                prop="id"
              /> -->
              <el-table-column
                fixed
                label="姓名"
@@ -198,6 +190,14 @@
                key="name"
                prop="name"
              />
              <el-table-column
                label="患者编号"
                align="center"
                key="patientno"
                prop="patientno"
                width="180"
              />
              <el-table-column label="性别" align="center" key="sex" prop="sex">
                <template slot-scope="scope">
                  <span>{{ scope.row.sex == 1 ? "男" : "女" }}</span>
@@ -208,8 +208,12 @@
                align="center"
                key="age"
                prop="age"
                width="60"
              />
                width="160"
              >   <template slot-scope="scope">
              <span v-if="scope.row.age">{{ scope.row.age }}{{scope.row.ageUnit }}</span><span v-if="scope.row.age2">{{ scope.row.age2 }}{{scope.row.ageUnit2 }}</span>
            </template>
          </el-table-column>
              <el-table-column
                label="出生年月"
                align="center"
@@ -964,7 +968,8 @@
        allhosp: "1",
        pageSize: 10,
        searchscope: 2,
        tagname:'',
        notrequiredFlag:0,
        tagname: "",
        idcardno: undefined,
        name: undefined,
        status: undefined,
@@ -1086,7 +1091,7 @@
    },
    RiskMarker(row) {
      this.RiskVisible = true;
      this.RiskObj=row;
      this.RiskObj = row;
    },
    // 取消按钮
@@ -1116,13 +1121,13 @@
    /** 重置按钮操作 */
    resetQuery() {
      this.dateRange = [];
      this.queryParams= {
      (this.queryParams = {
        pageNum: 1,
        allhosp: "1",
        pageSize: 10,
        searchscope: 2,
      },
      this.handleQuery();
      }),
        this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
@@ -1141,7 +1146,6 @@
    handleUpdate(row) {
      const userIds = row.id || this.ids;
      particularpatient(userIds).then((response) => {
        console.log(response);
        this.form = response.data;
      });
      this.amendtag = true;
@@ -1202,14 +1206,13 @@
      });
    },
    RiskService() {
      this.RiskObj.visitFlag = this.Risklist.join(", ");
      this.RiskObj.visitType = this.Riskradio;
      alterpatient(this.RiskObj).then((res) => {
        if (res.code==200) {
        if (res.code == 200) {
          this.getList();
          this.Risklist=[];
          this.Riskradio=1;
          this.Risklist = [];
          this.Riskradio = 1;
          this.$modal.msgSuccess("异常记录成功");
        }
      });
@@ -1299,9 +1302,9 @@
</script>
<style lang="scss" scoped>
.Questionnairemanagement {
  display: flex;
}
// .Questionnairemanagement {
//   display: flex;
// }
.sidecolumn {
  width: 180px;
  min-height: 100vh;
@@ -1381,8 +1384,8 @@
  cursor: pointer; /* 鼠标悬浮时变为手形 */
}
.leftvlue {
  width: 80%;
  margin-top: 10px;
  width: 100%;
  // margin-top: 10px;
}
.leftvlue-bg {
  //   display: flex;