diff --git a/acupuncture-ui/src/views/patientFile/index.vue b/acupuncture-ui/src/views/patientFile/index.vue
index 320e6595..a9e6d412 100644
--- a/acupuncture-ui/src/views/patientFile/index.vue
+++ b/acupuncture-ui/src/views/patientFile/index.vue
@@ -10,7 +10,7 @@
>
—
-
+
-
+
@@ -143,10 +143,11 @@
align="center"
prop="gender"
show-overflow-tooltip
- min-width="100"
+ width="100"
>
-
+ 男
+ 女
@@ -155,38 +156,48 @@
align="center"
prop="birthDate"
show-overflow-tooltip
+ width="150"
/>
+ width="200"
+ >
+
+ {{ idCardTypeValue[scope.row.idCardType] }}
+
+
-
+
{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}
@@ -196,20 +207,28 @@
align="center"
prop="createBy"
show-overflow-tooltip
+ width="100"
/>
-
+ width="100"
+ >
+
+ 筛查
+ 录入
+ HIS
+
+
-
-
-
-
+
+
@@ -327,7 +349,7 @@
class="avatar-uploader wj-uploader"
:headers="headers"
:action="uploadFileUrl1"
- accept=".zip"
+ accept=".xlsx, .xls"
:before-upload="handleBeforePdfUpload1"
:on-success="handleUploadPdfAdd1"
:file-list="fileList"
@@ -366,6 +388,7 @@ export default {
},
uploadFileUrl1: process.env.VUE_APP_BASE_API + "/pms/importTjbgZip", // 上传的图片服务器地址
fileList: [],
+ // 现病史
medicalHistory: [
"高血压",
"脑血管病",
@@ -386,6 +409,30 @@ export default {
"肾炎、肾病",
"高脂血症",
],
+ idCardType: [
+ {
+ label: "身份证",
+ value: 0,
+ },
+ {
+ label: "护照或外国人永居证",
+ value: 1,
+ },
+ {
+ label: "港澳居民来往内地通行",
+ value: 2,
+ },
+ {
+ label: "台湾居民来往大陆通行证",
+ value: 3,
+ },
+ ],
+ idCardTypeValue: {
+ 0: "身份证",
+ 1: "护照或外国人永居证",
+ 2: "港澳居民来往内地通行",
+ 3: "台湾居民来往大陆通行证",
+ },
loading: false, // 遮罩层
ids: [], // 选中数组
single: true, // 非单个禁用
@@ -411,17 +458,7 @@ export default {
},
importform: {},
// 表单参数
- form: {
- name: "",
- gender: 0,
- birthDate: "",
- ethnicity: "",
- educationYears: "",
- phone: "",
- idCardType: "",
- idCard: "",
- currentIllnessHistory: [],
- },
+ form: {},
// 表单校验
rules: {
noticeTitle: [
@@ -483,15 +520,15 @@ export default {
// 表单重置
reset() {
this.form = {
- name: "",
- gender: 0,
- birthDate: "",
- ethnicity: "",
- educationYears: "",
- phone: "",
- idCardType: "",
- idCard: "",
- currentIllnessHistory: [],
+ name: "", // 姓名
+ gender: 0, // 性别
+ birthDate: "", // 出生日期
+ ethnicity: "", // 民族
+ educationYears: "", // 教育程度
+ phone: "", // 联系电话
+ idCardType: "", // 证件类型
+ idCard: "", // 证件号码
+ currentIllnessHistory: [], // 现病史
};
this.resetForm("form");
},