浏览代码

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1 个月前
父节点
当前提交
01e8a737b0

+ 9 - 0
src/api/patient.js 查看文件

@@ -1057,4 +1057,13 @@ export function updatePatientFallassment(params){
1057 1057
     method:"get",
1058 1058
     params:params,
1059 1059
   })
1060
+}
1061
+
1062
+export function savePatientCritaicalInformed(data){
1063
+
1064
+  return request({
1065
+    url:"/api/patient/savepatientcritaicalinformed",
1066
+    method:"post",
1067
+    data:data,
1068
+  })
1060 1069
 }

+ 1 - 1
src/xt_pages/dialysis/details/consumable/dialysisDrug.vue 查看文件

@@ -812,7 +812,7 @@
812 812
         return week;
813 813
       },
814 814
       toBiaoqian(){
815
-        this.$router.push({path:"/dialysis/hisLongSignPrint?selected_date="+this.selected_date+"&schedule_type="+this.schedule_type+"&partition_id="+this.query.partition_id})
815
+        this.$router.push({path:"/dialysis/hisLongSignPrint?selected_date="+this.selected_date+"&schedule_type="+this.query.schedule_type+"&partition_id="+this.query.partition_id})
816 816
       }
817 817
     }
818 818
   }

+ 1 - 1
src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue 查看文件

@@ -315,7 +315,7 @@
315 315
         }
316 316
      },
317 317
       printAction: function() {
318
-        if(this.org_id != 10490 && this.org_id != 0){
318
+        if(this.org_id != 10490 && this.org_id != 0 && this.org_id!=10602){
319 319
           const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 0px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 14px; padding: 0px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
320 320
           printJS({
321 321
             printable: 'print_content',

+ 26 - 5
src/xt_pages/dialysis/hisLongSignPrint.vue 查看文件

@@ -151,7 +151,6 @@ export default {
151 151
       }
152 152
     },
153 153
     getSpecialName(drug_id){
154
-        console.log("drug_id woowow",drug_id)
155 154
         var name = ""
156 155
         for(let i=0;i<this.drugList.length;i++){
157 156
             if(drug_id == this.drugList[i].id){
@@ -200,6 +199,28 @@ export default {
200 199
         this.adviceList = adviceList
201 200
 
202 201
         var longHisAdviceList = response.data.data.longHisAdviceList
202
+
203
+
204
+        var tablelist = response.data.data.tablelist
205
+        console.log("tablelsit",tablelist)
206
+
207
+        var hisArr= []
208
+        if(tablelist!=null && tablelist.length > 0){
209
+         for(let i=0;i<tablelist.length;i++){
210
+            if(tablelist[i].his_prescription_template!=null){
211
+            if(tablelist[i].his_prescription_template.his_prescription_info!=null){
212
+            for(let j=0;j<tablelist[i].his_prescription_template.his_prescription_info.length>0;j++){
213
+                if(tablelist[i].his_prescription_template.his_prescription_info[j].his_advice!=null){
214
+                    for(let z=0;z<tablelist[i].his_prescription_template.his_prescription_info[j].his_advice.length>0;z++){
215
+                      hisArr.push(tablelist[i].his_prescription_template.his_prescription_info[j].his_advice[z])
216
+                    }
217
+                }
218
+             }
219
+           }
220
+          }
221
+         }
222
+        }
223
+      console.log("hisArr223323323223",hisArr)
203 224
         
204 225
         if(this.org_id!=10571 && this.org_id!=0){
205 226
             for(let i=0;i<list.length;i++){
@@ -213,15 +234,15 @@ export default {
213 234
 
214 235
         if(this.org_id ==10571 || this.org_id == 0){
215 236
             for(let i=0;i<list.length;i++){
216
-                for(let j=0;j<longHisAdviceList.length;j++){
217
-                    if(list[i].patient_id == longHisAdviceList[j].patient_id){
218
-                        list[i].his_advice_list.push(longHisAdviceList[j])
237
+                for(let j=0;j<hisArr.length;j++){
238
+                    if(list[i].patient_id == hisArr[j].patient_id){
239
+                        list[i].his_advice_list.push(hisArr[j])
219 240
                     }
220 241
                 }
221 242
              }
222 243
         }
223 244
        
224
-
245
+        console.log("list-------------",list)
225 246
         this.list = list
226 247
       
227 248
         var druglist = response.data.data.drugList

+ 13 - 2
src/xt_pages/user/Informed/components/criticalpatient_informed.vue 查看文件

@@ -81,7 +81,7 @@
81 81
         </div>
82 82
         <span slot="footer" class="dialog-footer">
83 83
           <el-button @click="dialogVisible = false">取 消</el-button>
84
-          <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
84
+          <el-button type="primary" @click="savePatientCritaicalInformed">确 定</el-button>
85 85
         </span>
86 86
       </el-dialog>
87 87
 
@@ -91,7 +91,7 @@
91 91
 <script>
92 92
 import print from "print-js";
93 93
 import Editor from '@/components/Editor'
94
-import { getPatientDetailInformedconsent  } from '@/api/patient'
94
+import { getPatientDetailInformedconsent,savePatientCritaicalInformed  } from '@/api/patient'
95 95
 import { jsGetAge, uParseTime } from "@/utils/tools";
96 96
 const content=`<p style='position: relative;padding-left: 2em;margin-top: 10px;margin-bottom: 4px '>
97 97
   <span style='position: absolute;top: 0px;left: 0;'>一、</span>该知情同意书将向您介绍危重患者接受血液净化治疗选择相关事宜,你有权知道危重患者接受血液净化治疗存在的风险、预期效果及对人体等影响,请您仔细阅读,提出与治疗有关的任何疑问。决定是否同意对患者实施血液净化治疗。
@@ -204,6 +204,17 @@ export default{
204 204
       },
205 205
       bianji(){
206 206
         this.dialogVisible=true
207
+      },
208
+      savePatientCritaicalInformed(){
209
+        var params = {
210
+          content:this.$refs.editor.content
211
+        }
212
+       savePatientCritaicalInformed(params).then(response=>{
213
+          if(response.data.state ==1){
214
+            var patientCritical = response.data.data.patientCritical
215
+            this.$message.success("保存成功!")
216
+          }
217
+       })
207 218
       }
208 219
   },
209 220
   created(){

+ 62 - 62
src/xt_pages/user/components/PatientSidebar.vue 查看文件

@@ -204,68 +204,68 @@ export default {
204 204
             },
205 205
           ]
206 206
         },
207
-        // {
208
-        //   name: '5',
209
-        //   label: '评估工具',
210
-        //   children: [
211
-        //     {
212
-        //       name: '5-1',
213
-        //       label: '跌倒评估'
214
-        //     },
215
-        //     {
216
-        //       name: '5-2',
217
-        //       label: '小儿跌倒风险评估'
218
-        //     },
219
-        //     {
220
-        //       name: '5-3',
221
-        //       label: '压疮风险评估'
222
-        //     },
223
-        //     {
224
-        //       name: '5-4',
225
-        //       label: 'OH压疮评估'
226
-        //     },
227
-        //     {
228
-        //       name: '5-5',
229
-        //       label: '日常生活能力评估'
230
-        //     },
231
-        //     {
232
-        //       name: '5-6',
233
-        //       label: '导管脱落风险评估'
234
-        //     },
235
-        //     {
236
-        //       name: '5-7',
237
-        //       label: 'RASS及疼痛评估'
238
-        //     },
239
-        //     {
240
-        //       name: '5-8',
241
-        //       label: '营养状况评估'
242
-        //     },
243
-        //     {
244
-        //       name: '5-9',
245
-        //       label: '约束告知单'
246
-        //     },
247
-        //     {
248
-        //       name: '5-10',
249
-        //       label: '心理评估'
250
-        //     },
251
-        //     {
252
-        //       name: '5-11',
253
-        //       label: '瘙痒评估'
254
-        //     },
255
-        //     {
256
-        //       name: '5-12',
257
-        //       label: '血液透析患者评估'
258
-        //     },
259
-        //     {
260
-        //       name: '5-13',
261
-        //       label: 'Glasgow昏迷评分量表'
262
-        //     },
263
-        //     {
264
-        //       name: '5-14',
265
-        //       label: '肌力评估表'
266
-        //     },
267
-        //    ]
268
-        //  },
207
+        {
208
+          name: '5',
209
+          label: '评估工具',
210
+          children: [
211
+            {
212
+              name: '5-1',
213
+              label: '跌倒评估'
214
+            },
215
+            {
216
+              name: '5-2',
217
+              label: '小儿跌倒风险评估'
218
+            },
219
+            {
220
+              name: '5-3',
221
+              label: '压疮风险评估'
222
+            },
223
+            {
224
+              name: '5-4',
225
+              label: 'OH压疮评估'
226
+            },
227
+            {
228
+              name: '5-5',
229
+              label: '日常生活能力评估'
230
+            },
231
+            {
232
+              name: '5-6',
233
+              label: '导管脱落风险评估'
234
+            },
235
+            {
236
+              name: '5-7',
237
+              label: 'RASS及疼痛评估'
238
+            },
239
+            {
240
+              name: '5-8',
241
+              label: '营养状况评估'
242
+            },
243
+            {
244
+              name: '5-9',
245
+              label: '约束告知单'
246
+            },
247
+            {
248
+              name: '5-10',
249
+              label: '心理评估'
250
+            },
251
+            {
252
+              name: '5-11',
253
+              label: '瘙痒评估'
254
+            },
255
+            {
256
+              name: '5-12',
257
+              label: '血液透析患者评估'
258
+            },
259
+            {
260
+              name: '5-13',
261
+              label: 'Glasgow昏迷评分量表'
262
+            },
263
+            {
264
+              name: '5-14',
265
+              label: '肌力评估表'
266
+            },
267
+           ]
268
+         },
269 269
         {
270 270
           name: '6',
271 271
           label: '文书管理',