Browse Source

首页性别字段调整

newMaster
1747191978@qq.com 4 months ago
parent
commit
cc30dde938
  1. 4
      acupuncture-前台/src/views/indexCom/patient.vue
  2. 32
      acupuncture-前台/src/views/medicalFile/index.vue
  3. 24
      acupuncture-前台/src/views/patientFile/index.vue

4
acupuncture-前台/src/views/indexCom/patient.vue

@ -148,11 +148,11 @@
}, ]; }, ];
// //
this.gendeValue = [{ this.gendeValue = [{
value: res.data.totalPatients, value: res.data.gender.male,
name: "男" name: "男"
}, },
{ {
value: res.data.totalPatients, value: res.data.gender.female,
name: "女" name: "女"
} }
]; ];

32
acupuncture-前台/src/views/medicalFile/index.vue

@ -80,48 +80,48 @@
<el-table v-loading="loading" :data="listDat" @selection-change="handleSelectionChange" max-height="600"> <el-table v-loading="loading" :data="listDat" @selection-change="handleSelectionChange" max-height="600">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column fixed label="姓名" align="center" prop="name" width="100" /> <el-table-column fixed label="姓名" align="center" prop="name" min-width="100" />
<el-table-column fixed label="性别" align="center" prop="gender" show-overflow-tooltip width="100"> <el-table-column fixed label="性别" align="center" prop="gender" show-overflow-tooltip min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.gender == 0"></span> <span v-if="scope.row.gender == 0"></span>
<span v-if="scope.row.gender == 1"></span> <span v-if="scope.row.gender == 1"></span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed label="年龄" align="center" prop="age" show-overflow-tooltip width="80" /> <el-table-column fixed label="年龄" align="center" prop="age" show-overflow-tooltip min-width="80" />
<el-table-column label="民族" align="center" prop="ethnicity" show-overflow-tooltip width="100" /> <el-table-column label="民族" align="center" prop="ethnicity" show-overflow-tooltip min-width="100" />
<el-table-column label="受教育年限" align="center" prop="educationYears" show-overflow-tooltip width="100" /> <el-table-column label="受教育年限" align="center" prop="educationYears" show-overflow-tooltip min-width="100" />
<el-table-column label="手机号码" align="center" prop="phone" show-overflow-tooltip width="150" /> <el-table-column label="手机号码" align="center" prop="phone" show-overflow-tooltip min-width="150" />
<el-table-column label="证件类型" align="center" prop="idCardType" show-overflow-tooltip width="200"> <el-table-column label="证件类型" align="center" prop="idCardType" show-overflow-tooltip min-width="200">
<template slot-scope="scope"> <template slot-scope="scope">
{{ idCardTypeValue[scope.row.idCardType] }} {{ idCardTypeValue[scope.row.idCardType] }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="证件号码" align="center" prop="idCard" show-overflow-tooltip width="180" /> <el-table-column label="证件号码" align="center" prop="idCard" show-overflow-tooltip min-width="180" />
<el-table-column label="门诊/住院" align="center" show-overflow-tooltip width="100"> <el-table-column label="门诊/住院" align="center" show-overflow-tooltip min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.visitType == 0">门诊</span> <span v-if="scope.row.visitType == 0">门诊</span>
<span v-if="scope.row.visitType == 1">住院</span> <span v-if="scope.row.visitType == 1">住院</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="门诊号/住院号" align="center" prop="visitNumber" show-overflow-tooltip width="180" /> <el-table-column label="门诊号/住院号" align="center" prop="visitNumber" show-overflow-tooltip min-width="180" />
<el-table-column label="门诊时间/住院时间" align="center" show-overflow-tooltip width="140"> <el-table-column label="门诊时间/住院时间" align="center" show-overflow-tooltip min-width="140">
<template slot-scope="scope"> <template slot-scope="scope">
<span> <span>
{{ parseTime(scope.row.visitTime, "{y}-{m}-{d} {h}:{i}") }} {{ parseTime(scope.row.visitTime, "{y}-{m}-{d} {h}:{i}") }}
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="出院时间" align="center" prop="dischargeTime" show-overflow-tooltip width="140"> <el-table-column label="出院时间" align="center" prop="dischargeTime" show-overflow-tooltip min-width="140">
<template slot-scope="scope"> <template slot-scope="scope">
<span> <span>
{{ parseTime(scope.row.dischargeTime, "{y}-{m}-{d} {h}:{i}") }} {{ parseTime(scope.row.dischargeTime, "{y}-{m}-{d} {h}:{i}") }}
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="责任医生" align="center" prop="doctor" show-overflow-tooltip width="100" /> <el-table-column label="责任医生" align="center" prop="doctor" show-overflow-tooltip min-width="100" />
<el-table-column label="主要诊断" align="center" prop="diagnosisName" show-overflow-tooltip width="100" /> <el-table-column label="主要诊断" align="center" prop="diagnosisName" show-overflow-tooltip min-width="100" />
<el-table-column label="建档人" align="center" prop="createBy" show-overflow-tooltip width="100" /> <el-table-column label="建档人" align="center" prop="createBy" show-overflow-tooltip min-width="100" />
<el-table-column label="建档时间" align="center" width="140"> <el-table-column label="建档时间" align="center" min-width="140">
<template slot-scope="scope"> <template slot-scope="scope">
<span> <span>
{{ parseTime(scope.row.createTime, "{y}-{m}-{d} {h}:{i}") }} {{ parseTime(scope.row.createTime, "{y}-{m}-{d} {h}:{i}") }}

24
acupuncture-前台/src/views/patientFile/index.vue

@ -62,35 +62,35 @@
<el-table v-loading="loading" :data="listDat" @selection-change="handleSelectionChange" max-height="600"> <el-table v-loading="loading" :data="listDat" @selection-change="handleSelectionChange" max-height="600">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="姓名" align="center" prop="name" width="100" fixed /> <el-table-column label="姓名" align="center" prop="name" min-width="100" fixed />
<el-table-column label="性别" align="center" prop="gender" show-overflow-tooltip width="100" fixed> <el-table-column label="性别" align="center" prop="gender" show-overflow-tooltip min-width="100" fixed>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.gender == 0"></span> <span v-if="scope.row.gender == 0"></span>
<span v-if="scope.row.gender == 1"></span> <span v-if="scope.row.gender == 1"></span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="出生日期" align="center" prop="birthDate" show-overflow-tooltip width="150" fixed /> <el-table-column label="出生日期" align="center" prop="birthDate" show-overflow-tooltip min-width="150" fixed />
<el-table-column label="民族" align="center" prop="ethnicity" show-overflow-tooltip width="100" /> <el-table-column label="民族" align="center" prop="ethnicity" show-overflow-tooltip min-width="100" />
<el-table-column label="受教育年限" align="center" prop="educationYears" show-overflow-tooltip width="100" /> <el-table-column label="受教育年限" align="center" prop="educationYears" show-overflow-tooltip min-width="100" />
<el-table-column label="手机号码" align="center" prop="phone" show-overflow-tooltip width="150" /> <el-table-column label="手机号码" align="center" prop="phone" show-overflow-tooltip min-width="150" />
<el-table-column label="证件类型" align="center" prop="idCardType" show-overflow-tooltip width="200"> <el-table-column label="证件类型" align="center" prop="idCardType" show-overflow-tooltip min-width="200">
<template slot-scope="scope"> <template slot-scope="scope">
{{ idCardTypeValue[scope.row.idCardType] }} {{ idCardTypeValue[scope.row.idCardType] }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="证件号码" align="center" prop="idCard" show-overflow-tooltip width="180" /> <el-table-column label="证件号码" align="center" prop="idCard" show-overflow-tooltip min-width="180" />
<el-table-column label="建档人" align="center" prop="createBy" show-overflow-tooltip width="100" /> <el-table-column label="建档人" align="center" prop="createBy" show-overflow-tooltip min-width="100" />
<el-table-column label="建档组织(医院名称)" align="center" prop="tenantName" show-overflow-tooltip width="150" /> <el-table-column label="建档组织(医院名称)" align="center" prop="tenantName" show-overflow-tooltip min-width="150" />
<el-table-column label="建档日期" align="center" width="140"> <el-table-column label="建档日期" align="center" min-width="140">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ <span>{{
parseTime(scope.row.createTime, "{y}-{m}-{d} {h}:{i}") parseTime(scope.row.createTime, "{y}-{m}-{d} {h}:{i}")
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="来源" align="center" prop="source" show-overflow-tooltip width="100"> <el-table-column fixed="right" label="来源" align="center" prop="source" show-overflow-tooltip min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.source == 0">筛查</span> <span v-if="scope.row.source == 0">筛查</span>
<span v-if="scope.row.source == 1">录入</span> <span v-if="scope.row.source == 1">录入</span>

Loading…
Cancel
Save