Bladeren bron

Merge branch '20200710_pc_vue_new_branch' into 20200916_pc_vue_new_branch

csx 4 jaren geleden
bovenliggende
commit
78989c1b27

+ 58 - 0
src/api/his/his.js Bestand weergeven

@@ -0,0 +1,58 @@
1
+import request from "@/utils/request";
2
+
3
+
4
+
5
+export function getSchedulePatientList(params) {
6
+  return request({
7
+    url: "/api/hispatient/list",
8
+    method: "get",
9
+    params:params
10
+  });
11
+}
12
+
13
+
14
+export function getPatientInfo(params) {
15
+  return request({
16
+    url: "/api/hispatient/get",
17
+    method: "get",
18
+    params:params
19
+  });
20
+}
21
+
22
+
23
+export function createCaseHistory(params) {
24
+  return request({
25
+    url: "/api/doctorworkstation/casehistory/create",
26
+    method: "post",
27
+    params:params
28
+  });
29
+}
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+// export function createCaseHistory(params) {
38
+//   return request({
39
+//     url: "/api/doctorworkstation/casehistory/create",
40
+//     method: "post",
41
+//     params:params
42
+//   });
43
+// }
44
+
45
+
46
+// export function createCaseHistory(params) {
47
+//   return request({
48
+//     url: "/api/doctorworkstation/casehistory/create",
49
+//     method: "post",
50
+//     params:params
51
+//   });
52
+// }
53
+
54
+
55
+
56
+
57
+
58
+

+ 1 - 1
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Bestand weergeven

@@ -56,7 +56,7 @@
56 56
                             :name="item.name"
57 57
                         >
58 58
                             <div class="RP">Rp</div>
59
-                            <prescription-table :preDrugs="preDrugs" :activeType="activeName"></prescription-table>
59
+                            <prescription-table :prescription="item" :preDrugs="preDrugs" :activeType="activeName"></prescription-table>
60 60
                         </el-tab-pane>
61 61
                         <el-tab-pane name="more" closable><span slot="label"><i class="el-icon-plus" @click="addTab"></i></span></el-tab-pane>
62 62
                     </el-tabs>

+ 4 - 3
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Bestand weergeven

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div class="prescriptionTable">
3
-    <el-table v-if="activeType  == '1'" :data="preDrugs" border style="width: 98%;" :row-style="{ color: '#303133' }"
3
+    <el-table v-if="activeType  == '1'" :data="prescription.advice" border style="width: 98%;" :row-style="{ color: '#303133' }"
4 4
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
5 5
       <el-table-column align="center" type="selection" width="40"></el-table-column>
6 6
       <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
@@ -78,7 +78,7 @@
78 78
         </template>
79 79
       </el-table-column>
80 80
     </el-table>
81
-    <el-table v-if="activeType  == '2'" :data="preDrugs" border style="width: 98%;" :row-style="{ color: '#303133' }"
81
+    <el-table v-if="activeType  == '2'" :data="prescription.project" border style="width: 98%;" :row-style="{ color: '#303133' }"
82 82
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
83 83
       <el-table-column align="center" type="selection" width="40"></el-table-column>
84 84
       <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
@@ -188,7 +188,8 @@
188 188
   export default {
189 189
     props: {
190 190
       preDrugs: Array,
191
-      activeType: String
191
+      activeType: String,
192
+      prescription:Object,
192 193
     },
193 194
     data() {
194 195
       return {