finlay 1 жил өмнө
parent
commit
2a03435483

+ 1 - 1
public/config.js

@@ -5,7 +5,7 @@
 exports.AppConfig = {
 	//标题
 	APP_NAME: "家医智慧平台",
-	API_URL: "http://127.0.0.1:8400",
+	API_URL: "http://192.168.6.80:8400",
 	APP_Port: "8408",
 	RSAPublicKey:"-----BEGIN PUBLIC KEY-----\n" +
 	"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAln7CnpiqYguFVRUL5oCdFAQL6ypYQdnd84XN++mRvjkdjtpbCdGEj6S2U2Vn+Bt+vHL5bvUk6gtTx5FpV0Z8kDvDgBRweIvtJTZLx6ZjbI7habxclW9aB3b0SW3zuFuHMteDivTI0lkZ6y0QRiG7nMZYsi18IjReBssXsx38fpgIBAHIbkb98wtEffBbrbwfdxQnfc8r9Hy7iIbfVP0h7nR0FDMu1vYqi5PsnYDw681iO6GNxV6VHA6wcWkMokLZn51OP+OQmomJPElWfPgLDp1AxBeRhuHFlXslcE550bzWUs3iBylTgXwdTGqppCjCXhSLBiOnTc0ggHpDQHh17wIDAQAB\n" +

+ 41 - 0
public/diabetesFollowUpTable.html

@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+    <meta charset="utf-8">
+    <title>2 型糖尿病患者随访服务记录表</title>
+    <link href="css/personalData.css" type="text/css" rel="stylesheet">
+    <link href="css/btn.css" type="text/css" rel="stylesheet">
+    <link href="http://family.health.gagctv.com/html/tables/js/layer_mobile/need/layer.css?2.0" type="text/css"
+        rel="styleSheet" id="layermcss">
+    <style>
+        table {
+            border-collapse: collapse;
+        }
+
+        td,
+        th {
+            border: 1px solid black;
+            padding: 8px;
+        }
+    </style>
+</head>
+
+<body>
+    <div style="font-size:14px; margin: 40px 50px;">
+        <h2>2 型糖尿病患者随访服务记录表</h2>
+        <p>
+            <span>姓名:<span id="patientName"></span></span>
+        </p>
+        <table>
+            <tbody>
+                <tr>
+                    <td colspan="2" class="boldTd require">随访日期</td>
+                    <td colspan="5"></td>
+                </tr>
+            </tbody>
+        </table>
+    </div>
+</body>
+
+</html>

+ 150 - 0
public/personalInfoBasicTable.html

@@ -0,0 +1,150 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+    <meta charset="UTF-8">
+    <title>个人基本信息表</title>
+    <link href="css/personalData.css" type="text/css" rel="stylesheet">
+    <link href="css/btn.css" type="text/css" rel="stylesheet">
+    <link href="http://family.health.gagctv.com/html/tables/js/layer_mobile/need/layer.css?2.0" type="text/css"
+        rel="styleSheet" id="layermcss">
+    <style>
+        table {
+            border-collapse: collapse;
+        }
+
+        td,
+        th {
+            border: 1px solid black;
+            padding: 8px;
+        }
+    </style>
+</head>
+
+<body>
+    <div style="font-size: 14px; margin: 40px 50px">
+        <h2>个人基本信息表</h2>
+        <p>
+            <span>姓名:<span id="patientName"></span></span>
+        </p>
+        <table>
+            <tbody>
+                <tr>
+                    <td colspan="2" class="boldTd require">性别</td>
+                    <td colspan="3">男</td>
+                    <td class="boldTd require">出生日期</td>
+                    <td>1994-06-09</td>
+                </tr>
+                <tr>
+                    <td colspan="2" class="boldTd require">身份证号</td>
+                    <td colspan="2">320402199406090019</td>
+                    <td class="boldTd">工作单位</td>
+                    <td colspan="2"></td>
+                </tr>
+                <tr>
+                    <td colspan="2" class="boldTd require">本人电话</td>
+                    <td>15161972410</td>
+                    <td class="boldTd require">联系人姓名</td>
+                    <td></td>
+                    <td class="boldTd require">联系人电话</td>
+                    <td></td>
+                </tr>
+                <tr>
+                    <td colspan="2" class="boldTd require">常住类型</td>
+                    <td colspan="2"></td>
+                    <td class="boldTd require">民族</td>
+                    <td colspan="2">回族</td>
+                </tr>
+                <tr>
+                    <td colspan="2" class="boldTd require">血型</td>
+                    <td colspan="5"></td>
+                </tr>
+                <tr>
+                    <td colspan="2" class="boldTd require">文化程度</td>
+                    <td colspan="5"></td>
+                </tr>
+                <tr>
+                    <td colspan="2" class="boldTd require">职业</td>
+                    <td colspan="5"></td>
+                </tr>
+                <tr>
+                    <td colspan="2" class="boldTd require">婚姻状况</td>
+                    <td colspan="5"></td>
+                </tr>
+                <tr>
+                    <td colspan="2" class="boldTd require">医疗费用支付方式</td>
+                    <td colspan="5"></td>
+                </tr>
+                <tr>
+                    <td colspan="2" class="boldTd require">药物过敏史</td>
+                    <td colspan="5">无</td>
+                </tr>
+                <tr>
+                    <td colspan="2" class="boldTd require">暴露史</td>
+                    <td colspan="5">无</td>
+                </tr>
+                <tr>
+                    <td rowspan="4" class="boldTd1">既往史</td>
+                    <td class="boldTd1">疾病</td>
+                    <td colspan="5">无</td>
+                </tr>
+                <tr>
+                    <td class="boldTd1">手术</td>
+                    <td colspan="5">无</td>
+                </tr>
+                <tr>
+                    <td class="boldTd1">外伤</td>
+                    <td colspan="5">无</td>
+                </tr>
+                <tr>
+                    <td class="boldTd1">输血</td>
+                    <td colspan="5">无</td>
+                </tr>
+                <tr>
+                    <td colspan="2" rowspan="2" class="boldTd">家族史</td>
+                    <td class="boldTd">父亲</td>
+                    <td colspan="2">无</td>
+                    <td class="boldTd">母亲</td>
+                    <td>无</td>
+                </tr>
+                <tr>
+                    <td class="boldTd">兄弟姐妹</td>
+                    <td colspan="2">无</td>
+                    <td class="boldTd">子女</td>
+                    <td>无</td>
+                </tr>
+                <tr>
+                    <td colspan="2" class="boldTd">遗传病史</td>
+                    <td colspan="5">无</td>
+                </tr>
+                <tr>
+                    <td colspan="2" class="boldTd">残疾情况</td>
+                    <td colspan="5">无残疾</td>
+                </tr>
+                <tr>
+                    <td rowspan="5" colspan="2" class="boldTd">生活环境*</td>
+                    <td class="boldTd">厨房排风设施</td>
+                    <td colspan="4"></td>
+                </tr>
+                <tr>
+                    <td class="boldTd">燃料类型</td>
+                    <td colspan="4"></td>
+                </tr>
+                <tr>
+                    <td class="boldTd">饮水</td>
+                    <td colspan="4"></td>
+                </tr>
+                <tr>
+                    <td class="boldTd">厕所</td>
+                    <td colspan="4"></td>
+                </tr>
+                <tr>
+                    <td class="boldTd">禽畜栏</td>
+                    <td colspan="4"></td>
+                </tr>
+            </tbody>
+        </table>
+    </div>
+</body>
+
+</html>

+ 31 - 0
src/views/followUp/components/followUpTable.vue

@@ -0,0 +1,31 @@
+<template>
+  <div>
+    <iframe
+      id="exam"
+      src="/diabetesFollowUpTable.html"
+      style="height: 90vh; width: 100%"
+      v-loading="loading"
+    ></iframe>
+  </div>
+</template>
+<script>
+export default {
+  mounted() {},
+  data() {
+    return {
+      loading: true,
+      doc: null,
+      iframeContent: null,
+    };
+  },
+  created() {},
+  props: {
+    patientInfo: Object,
+  },
+  methods: {
+    async initData() {
+      this.loading = false;
+    },
+  },
+};
+</script>

+ 14 - 1
src/views/followUp/components/personalFollowUpRecord.vue

@@ -54,13 +54,21 @@
           <el-table-column label="操作" width="150" align="center">
             <template #default="props">
               <div>
+                <el-button
+                  link
+                  type="primary"
+                  size="small"
+                  @click="previewfollowUpRecord(props.row)"
+                >
+                  预览
+                </el-button>
                 <el-button
                   link
                   type="primary"
                   size="small"
                   @click="showfollowUpRecord(props.row)"
                 >
-                  查看
+                  编辑
                 </el-button>
                 <el-button
                   link
@@ -115,6 +123,9 @@
             :callback="handleCallback"
           ></elderlyServiceRecordForm>
         </el-dialog>
+        <el-dialog v-model="saveDialogVisible" class="from-dialog" width="850" fullscreen>
+
+        </el-dialog>
       </el-main>
     </el-container>
   </div>
@@ -218,6 +229,8 @@ export default {
           return "待随访";
       }
     },
+    ///预览
+    previewfollowUpRecord(row) {},
     async showfollowUpRecord(row) {
       if (this.configTemplateCode == "")
         await this.getLastOneTemplateByKey(this.patientInfo.key);