45
chenyc
2024-12-22 ef98fd01a5fd839e041f49b1c6e09f77ba00c9c4
45
1个文件已修改
7 ■■■■■ 已修改文件
app.js 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
app.js
@@ -293,11 +293,12 @@
        if (rows.length > 0) {
            const user = rows[0];
            const response = {
                result:[ {
                    patientId: user.code,
                    fullName: user.patient_name,
                    name: user.patient_name,
                    gender: user.patient_gender,
                    age: getAgeFromIdCard(user.patient_identity_no),
                    birthday:'',
                    phoneNum:user.patient_mobile,
                    address: user.patient_avatar_icon,
                    idType: user.patient_identity_type,
@@ -309,7 +310,7 @@
                    examDoctor:'',
                    examDept:"",
                    diagnosisDoctor:''
                }],
            };
            res.json(response);
        } else {