su
su1124
2024-01-08 02dd7d431d0a414bafef4602350d24c72a41de3f
src/views/doctor/examination/index.vue
@@ -9,10 +9,11 @@
    >
      <el-form-item label="体检号" prop="tjNumber">
        <el-input
        ref="inputName"
          v-model="queryParams.tjNumber"
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          @keyup.enter.native="handleQuery" @blur="handleQuery"
          style="width: 170px"
        />
      </el-form-item>
@@ -94,11 +95,17 @@
            prop="cusSex"
            width="60px"
          >
            <template slot-scope="scope">
          <template slot-scope="scope">
            <span v-if="scope.row.cusSex == '0'">男</span>
            <span v-if="scope.row.cusSex == '1'">女</span>
            <span v-if="scope.row.cusSex == '2'">未知</span>
            <span v-if="scope.row.cusSex == '9'">未说明性别</span>
          </template>
            <!-- <template slot-scope="scope"> -->
              <!-- {{scope.row.customer.cusSex}} -->
              {{ scope.row.cusSex === 0 ? "男" : "女" }}
              <!-- {{ scope.row.cusSex === 0 ? "男" : "女" }} -->
              <!-- <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.cusSex " /> -->
            </template>
            <!-- </template> -->
          </el-table-column>
          <el-table-column
            label="手机号"
@@ -340,6 +347,11 @@
    this.getList();
    // this.getNowTime();
  },
  mounted() {
    this.$nextTick(() => {
      this.$refs.inputName.focus();
    });
  },
  methods: {
    // / 处理默认选中当前日期
    getNowTime() {