Parcourir la source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN il y a 4 ans
Parent
révision
ba9c2f3738

+ 6 - 4
src/api/advice.js Voir le fichier

@@ -43,13 +43,14 @@ export function EditDoctorAdvice(patient, id, advice, mode) {
43 43
   });
44 44
 }
45 45
 
46
-export function ExecDoctorAdvice(patient, id, time, mode) {
46
+export function ExecDoctorAdvice(patient, id, time, mode,origin) {
47 47
 
48 48
   var params = {
49 49
     id: id,
50 50
     patient: patient,
51 51
     execution_time: time,
52
-    mode: mode
52
+    mode: mode,
53
+    origin:origin,
53 54
   };
54 55
   console.log("paras------",params)
55 56
   return request({
@@ -61,11 +62,12 @@ export function ExecDoctorAdvice(patient, id, time, mode) {
61 62
     }
62 63
   });
63 64
 }
64
-export function CheckDoctorAdvice(patient, id, mode) {
65
+export function  CheckDoctorAdvice(patient, id, mode,origin) {
65 66
   var params = {
66 67
     id: id,
67 68
     patient: patient,
68
-    mode: mode
69
+    mode: mode,
70
+    origin:origin,
69 71
     // execution_time: time,
70 72
   };
71 73
   return request({

+ 9 - 0
src/api/his/his.js Voir le fichier

@@ -258,6 +258,15 @@ export function getAllHisAdviceTemplate () {
258 258
 
259 259
 
260 260
 
261
+export function getNextOrLastHisPrescription (params) {
262
+  return request({
263
+    url: '/api/hisprescription/get',
264
+    method: 'get',
265
+    params:params,
266
+  })
267
+}
268
+
269
+
261 270
 
262 271
 
263 272
 

+ 8 - 2
src/xt_pages/dialysis/details/NavIgation.vue Voir le fichier

@@ -129,6 +129,7 @@
129 129
       :patient="patient"
130 130
       :admin_users="admin_users"
131 131
       :dialysis_order="dialysis_order"
132
+      :his_is_open="his_is_open"
132 133
     ></doctor-advice-dialog>
133 134
 
134 135
     <computer-dialog
@@ -225,6 +226,11 @@ export default {
225 226
       default: () => {
226 227
         return 0;
227 228
       }
229
+    },his_is_open:{
230
+      type: Number,
231
+      default: () => {
232
+        return 0;
233
+      }
228 234
     },
229 235
     patient: {
230 236
       // 患者信息
@@ -575,7 +581,7 @@ export default {
575 581
       this.$refs.assessment_after_dislysis.show(this.assessment_after_dislysis,this.last_assessment_after_dislysis);
576 582
     },
577 583
     showDoctorAdviceDialog: function() {
578
-      this.$refs.doctor_advice.show();
584
+      this.$refs.doctor_advice.show(this.his_is_open);
579 585
     },
580 586
     showComputerDialog: function() {
581 587
       this.$refs.computer_dialog.show(this.dialysis_order);
@@ -584,7 +590,7 @@ export default {
584 590
       this.$refs.finish_dialog.show(this.dialysis_order);
585 591
     },
586 592
     showPrescription: function() {
587
-      this.$refs.prescription.show(this.prescription,this.schedual,this.last_dialysis_prescribe);
593
+      this.$refs.prescription.show(this.prescription,this.schedual,this.last_dialysis_prescribe,this.his_is_open);
588 594
     },
589 595
     showAccepts: function() {
590 596
       this.$refs.accepts.show(this.receiver_treatment_access);

+ 140 - 35
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Voir le fichier

@@ -11,6 +11,7 @@
11 11
       <div class="txsj">
12 12
         <el-button
13 13
           round
14
+
14 15
           @click="openLast(3)"
15 16
         >上一方
16 17
         </el-button>
@@ -161,12 +162,14 @@
161 162
       <div class="txsj">
162 163
         <el-button
163 164
           round
165
+          v-if="his_is_open != 1"
164 166
           @click="openLast(1)"
165 167
         >上一方
166 168
         </el-button>
167 169
 
168 170
         <el-button
169 171
           round
172
+          v-if="his_is_open != 1"
170 173
           @click="openNext(2)"
171 174
         >下一方
172 175
         </el-button>
@@ -177,6 +180,7 @@
177 180
           round
178 181
           @click="openGroupFrom"
179 182
           :loading="deleLoading"
183
+          v-if="his_is_open != 1"
180 184
           :disabled="!is_has_create"
181 185
         >新增医嘱
182 186
         </el-button>
@@ -187,6 +191,7 @@
187 191
           :disabled="!is_has_exce"
188 192
           @click="execAdvice"
189 193
           :loading="deleLoading"
194
+
190 195
         >执行医嘱
191 196
         </el-button>
192 197
         <el-button v-else disabled round @click="execAdvice" :loading="deleLoading">执行医嘱</el-button>
@@ -202,7 +207,8 @@
202 207
         <el-button v-else disabled round @click="checkAdvice" :loading="deleLoading">医嘱核对</el-button>
203 208
 
204 209
         <el-button
205
-          v-if="groupSelectRow != null"
210
+
211
+          v-if="groupSelectRow != null || his_is_open != 1"
206 212
           :disabled="!is_has_modify && !is_has_modify_other"
207 213
           round
208 214
           @click="openEditGroupAdvice"
@@ -212,7 +218,7 @@
212 218
         <el-button v-else disabled round @click="openEditGroupAdvice" :loading="deleLoading">修改医嘱</el-button>
213 219
 
214 220
         <el-button
215
-          v-if="groupSelectRow != null"
221
+          v-if="groupSelectRow != null ||  his_is_open != 1"
216 222
           :disabled="!is_has_del && !is_has_del_other"
217 223
           round
218 224
           @click="openDeleteGroupAdvice"
@@ -227,6 +233,7 @@
227 233
       <!--   @row-click="cellMouseEnter" -->
228 234
       <!--&lt;!&ndash;:header-cell-style="{ backgroundColor: 'rgb(64, 158, 255)', color: 'white'}"&ndash;&gt;@current-change="selectRow"-->
229 235
       <el-table
236
+        v-if="his_is_open == 0"
230 237
         :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
231 238
         :data="doctor_advices"
232 239
         border
@@ -260,9 +267,9 @@
260 267
                 <i class="el-icon-arrow-down el-icon--right"></i>
261 268
               </span>
262 269
               <el-dropdown-menu slot="dropdown">
263
-                <el-dropdown-item @click.native="openEdit(scope.$index, scope.row)">修改医嘱</el-dropdown-item>
264
-                <el-dropdown-item @click.native="openDelete(scope.$index, scope.row)">删除医嘱</el-dropdown-item>
265
-                <el-dropdown-item @click.native="openNewChildTwo(scope.$index, scope.row)">新增子药</el-dropdown-item>
270
+                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openEdit(scope.$index, scope.row)">修改医嘱</el-dropdown-item>
271
+                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openDelete(scope.$index, scope.row)">删除医嘱</el-dropdown-item>
272
+                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openNewChildTwo(scope.$index, scope.row)">新增子药</el-dropdown-item>
266 273
               </el-dropdown-menu>
267 274
             </el-dropdown>
268 275
 
@@ -272,8 +279,8 @@
272 279
                 <i class="el-icon-arrow-down el-icon--right"></i>
273 280
               </span>
274 281
               <el-dropdown-menu slot="dropdown">
275
-                <el-dropdown-item @click.native="openEdit(scope.$index, scope.row)">修改子药</el-dropdown-item>
276
-                <el-dropdown-item @click.native="openDelete(scope.$index, scope.row)">删除子药</el-dropdown-item>
282
+                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openEdit(scope.$index, scope.row)">修改子药</el-dropdown-item>
283
+                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openDelete(scope.$index, scope.row)">删除子药</el-dropdown-item>
277 284
               </el-dropdown-menu>
278 285
             </el-dropdown>
279 286
           </template>
@@ -316,6 +323,97 @@
316 323
           </template>
317 324
         </el-table-column>
318 325
       </el-table>
326
+      <el-table
327
+        v-else
328
+        :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
329
+        :data="doctor_advices"
330
+        border
331
+        style="width: 100%"
332
+        v-show="showAdvicePanel"
333
+        ref="advices_list"
334
+        @row-click="cellMouseEnter"
335
+        :row-class-name="tableRowClassName"
336
+        :cell-class-name="adviceNameShow"
337
+        :modal-append-to-body="false"
338
+        highlight-current-row
339
+      >
340
+        <el-table-column prop="date" label="开嘱医生" align="center" min-width="26px">
341
+          <template slot-scope="scope">
342
+            <span>{{ getXuserName(scope.row.advice_doctor) }}</span>
343
+          </template>
344
+        </el-table-column>
345
+        <el-table-column prop="start_time" label="开始时间" align="center" min-width="35px">
346
+          <template slot-scope="scope">
347
+            <span>
348
+              {{scope.row.start_time | parseTime('{y}-{m}-{d} {h}:{i}')}}
349
+            </span>
350
+          </template>
351
+        </el-table-column>
352
+        <el-table-column prop="advice_name" min-width="50px" label="医嘱内容" align="center">
353
+          <template slot-scope="scope">
354
+            <el-dropdown trigger="click" v-if="scope.row.parent_id == 0">
355
+              <span class="el-dropdown-link">
356
+                {{ getAdviceContent(scope.row, 1)}}
357
+                <i class="el-icon-arrow-down el-icon--right"></i>
358
+              </span>
359
+              <el-dropdown-menu slot="dropdown">
360
+                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openEdit(scope.$index, scope.row)">修改医嘱</el-dropdown-item>
361
+                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openDelete(scope.$index, scope.row)">删除医嘱</el-dropdown-item>
362
+                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openNewChildTwo(scope.$index, scope.row)">新增子药</el-dropdown-item>
363
+              </el-dropdown-menu>
364
+            </el-dropdown>
365
+
366
+            <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
367
+              <span class="el-dropdown-link">
368
+                &emsp;{{ getAdviceContent(scope.row, 2)}}
369
+                <i class="el-icon-arrow-down el-icon--right"></i>
370
+              </span>
371
+              <el-dropdown-menu slot="dropdown">
372
+                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openEdit(scope.$index, scope.row)">修改子药</el-dropdown-item>
373
+                <el-dropdown-item v-if=" his_is_open != 1" @click.native="openDelete(scope.$index, scope.row)">删除子药</el-dropdown-item>
374
+              </el-dropdown-menu>
375
+            </el-dropdown>
376
+          </template>
377
+        </el-table-column>
378
+
379
+        <el-table-column
380
+          prop="execution_time"
381
+          align="center"
382
+          min-width="30px"
383
+          label="执行时间"
384
+          sortable
385
+        >
386
+          <template slot-scope="scope">
387
+            <span v-if="scope.row.execution_time != 0">
388
+              {{scope.row.start_time | parseTime('{m}-{d} {h}:{i}')}}
389
+            </span>
390
+            <span v-else></span>
391
+          </template>
392
+        </el-table-column>
393
+        <el-table-column prop="execution_staff" align="center" min-width="30px" label="执行护士">
394
+          <template slot-scope="scope">
395
+            <span v-if="scope.row.parent_id == 0">
396
+              {{getXuserName(scope.row.execution_staff)}}
397
+            </span>
398
+            <span v-else></span>
399
+          </template>
400
+        </el-table-column>
401
+        <el-table-column
402
+          v-if="template_id != 6"
403
+          prop="checker"
404
+          min-width="30px"
405
+          align="center"
406
+          label="核对人员"
407
+        >
408
+          <template slot-scope="scope">
409
+            <span v-if="scope.row.parent_id == 0">
410
+              {{getXuserName(scope.row.checker)}}
411
+            </span>
412
+            <span v-else></span>
413
+          </template>
414
+        </el-table-column>
415
+      </el-table>
416
+
319 417
       <!-- 医嘱列表 end -->
320 418
 
321 419
       <!-- 新医嘱列表 -->
@@ -432,7 +530,7 @@
432 530
           </el-col>
433 531
 
434 532
           <el-col :span="8">
435
-            <el-form-item label="药品规格:">        
533
+            <el-form-item label="药品规格:">
436 534
                 <el-autocomplete
437 535
                   style="width:100px;"
438 536
                   class="inline-input"
@@ -441,7 +539,7 @@
441 539
                   placeholder="请输入内容"
442 540
                   @input="changeDrugDesc"
443 541
                 ></el-autocomplete>
444
-                 
542
+
445 543
                 <el-select
446 544
                   v-model="form.drug_spec_unit"
447 545
                   style="width: 100px;"
@@ -681,7 +779,7 @@
681 779
         current_group_index: -1,
682 780
         title: '临时医嘱',
683 781
         add_title: '新增医嘱',
684
-
782
+        his_is_open:0,
685 783
         showAdviceForm: false,
686 784
         showAdvicePanel: true,
687 785
         showNameForm: false,
@@ -772,9 +870,9 @@
772 870
         this.form['dialysis_order_id'] = this.dialysis_order.id
773 871
       },
774 872
       doctor_advices: function() {
775
-        this.handleSpanTempArr()
776
-        this.hoverOrderArr = []
777
-        this.handleStyle()
873
+        // this.handleSpanTempArr()
874
+        // this.hoverOrderArr = []
875
+        // this.handleStyle()
778 876
       }
779 877
     },
780 878
     methods: {
@@ -849,7 +947,7 @@
849 947
               remark: ''
850 948
             }
851 949
             console.log("2223333",submitForm)
852
-           
950
+
853 951
             let mode = '1'
854 952
             CreateGroupAdvice(this.patientid, 0, submitForm, mode).then(
855 953
               response => {
@@ -1178,7 +1276,7 @@
1178 1276
       }
1179 1277
       ,
1180 1278
       submitExce() {
1181
-        
1279
+        console.log(this.currentRow.origin)
1182 1280
         if (this.currentRow == null) {
1183 1281
           this.$message.error('请先选择要执行的医嘱!')
1184 1282
           return false
@@ -1195,10 +1293,9 @@
1195 1293
         }
1196 1294
         this.exceLoading = true
1197 1295
         let mode = '6'
1198
-        
1199
-         console.log("222222",this.currentRow.id)
1200
-        
1201
-        ExecDoctorAdvice(this.patient.id, this.currentRow.id, this.execTime, mode).then(response => {
1296
+
1297
+
1298
+        ExecDoctorAdvice(this.patient.id, this.currentRow.id, this.execTime, mode,this.currentRow.origin).then(response => {
1202 1299
             if (response.data.state == 0) {
1203 1300
               this.$message.error(response.data.msg)
1204 1301
               this.exceLoading = false
@@ -1262,7 +1359,7 @@
1262 1359
           return false
1263 1360
         }
1264 1361
         let mode = '1'
1265
-        
1362
+
1266 1363
        if(this.src_type == ""){
1267 1364
           this.form.way = 0
1268 1365
           this.form.drug_id = 0
@@ -1275,7 +1372,7 @@
1275 1372
        }
1276 1373
 
1277 1374
         console.log("新增医嘱子药",this.form)
1278
-       
1375
+
1279 1376
         CreateDoctorAdvice(this.patient.id, this.form, mode)
1280 1377
           .then(response => {
1281 1378
             this.loading = false
@@ -1501,6 +1598,7 @@
1501 1598
       }
1502 1599
       ,
1503 1600
       checkAdvice() {
1601
+        console.log(this.currentRow)
1504 1602
         // console.log(this.$store.getters.xt_user)
1505 1603
         if (this.currentRow == null) {
1506 1604
           this.$message.error('请先选择要核对的医嘱!')
@@ -1530,7 +1628,7 @@
1530 1628
             this.deleLoading = true
1531 1629
             let mode = '7'
1532 1630
 
1533
-            CheckDoctorAdvice(this.patient.id, this.currentRow.id, mode).then(
1631
+            CheckDoctorAdvice(this.patient.id, this.currentRow.id, mode,this.currentRow.origin).then(
1534 1632
               response => {
1535 1633
                 if (response.data.state == 0) {
1536 1634
                   this.$message.error(response.data.msg)
@@ -1583,7 +1681,7 @@
1583 1681
       }
1584 1682
       ,
1585 1683
       execAdvice() {
1586
-        
1684
+
1587 1685
         if (this.is_has_exce == false) {
1588 1686
           this.$message.error('你没有执行医嘱的权限')
1589 1687
           return false
@@ -1724,7 +1822,7 @@
1724 1822
           })
1725 1823
           .catch(() => {
1726 1824
           })
1727
-        this.handleSpanTempArr()
1825
+        // this.handleSpanTempArr()
1728 1826
       }
1729 1827
       ,
1730 1828
       openDelete(index, row) {
@@ -1902,8 +2000,8 @@
1902 2000
           }
1903 2001
         })
1904 2002
 
1905
-        this.handleSpanTempArr()
1906
-        this.handleStyle()
2003
+        // this.handleSpanTempArr()
2004
+        // this.handleStyle()
1907 2005
       }
1908 2006
       ,
1909 2007
       getXuserName(id) {
@@ -1934,7 +2032,9 @@
1934 2032
         this.$refs.addGroupForm.open()
1935 2033
       }
1936 2034
       ,
1937
-      show() {
2035
+      show(his_is_open) {
2036
+        this.his_is_open = his_is_open
2037
+        console.log(this.his_is_open)
1938 2038
         this.isVisibility = true
1939 2039
         this.getPermission()
1940 2040
       }
@@ -2025,8 +2125,8 @@
2025 2125
           } else {
2026 2126
             // 判断当前元素与上一个元素是否相同
2027 2127
             if (
2028
-              this.doctor_advices[i].groupno ===
2029
-              this.doctor_advices[i - 1].groupno
2128
+              this.doctor_advices[i].created_time ===
2129
+              this.doctor_advices[i - 1].created_time
2030 2130
             ) {
2031 2131
               this.tempArr[this.pos] += 1
2032 2132
               this.tempArr.push(0)
@@ -2036,8 +2136,7 @@
2036 2136
             }
2037 2137
           }
2038 2138
         }
2039
-      }
2040
-      ,
2139
+      },
2041 2140
       cellMouseEnter: function(row, column, event) {
2042 2141
         console.log("数据是",row)
2043 2142
         this.currentRow = row
@@ -2062,7 +2161,7 @@
2062 2161
           if (index === 0) {
2063 2162
             sameRowArr.push([index])
2064 2163
           } else {
2065
-            if (item.groupno === this.doctor_advices[index - 1].groupno) {
2164
+            if (item.created_time === this.doctor_advices[index - 1].created_time) {
2066 2165
               sameRowArr[sIdx].push(index)
2067 2166
             } else {
2068 2167
               sIdx = sIdx + 1
@@ -2175,7 +2274,7 @@
2175 2274
         // });
2176 2275
       },
2177 2276
       objectSpanMethod({ row, column, rowIndex, columnIndex }) {
2178
-     
2277
+
2179 2278
         if (columnIndex === 0) {
2180 2279
           if (rowIndex % 2 === 0) {
2181 2280
             return {
@@ -2211,7 +2310,7 @@
2211 2310
 
2212 2311
             var doctor_advices = response.data.data.advices
2213 2312
             console.log("doctor_advices",doctor_advices)
2214
-           
2313
+
2215 2314
             this.other_doctor_advices = doctor_advices
2216 2315
             this.request_record_date = uParseTime(this.other_doctor_advices[0].record_date, '{y}-{m}-{d}')
2217 2316
             this.sch = response.data.data.schedule
@@ -2405,7 +2504,7 @@
2405 2504
             }else{
2406 2505
               this.form.drug_name_id = 0
2407 2506
             }
2408
-           
2507
+
2409 2508
           }
2410 2509
         }
2411 2510
       },
@@ -2460,6 +2559,12 @@
2460 2559
       this.getDialysisScheduleDetail()
2461 2560
        //获取自备药
2462 2561
       this.getSelfMedicalList()
2562
+    },mounted(){
2563
+      console.log("~~~~~")
2564
+      console.log(this.his_is_open)
2565
+      console.log("~~~~~")
2566
+
2567
+
2463 2568
     },
2464 2569
     components: {
2465 2570
       AddGroupAdvice,

+ 13 - 10
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Voir le fichier

@@ -517,7 +517,7 @@
517 517
 
518 518
               <el-input v-model="dialysisPrescription.blood" @focus="showInnerDialog('6')"></el-input>
519 519
 
520
-              
520
+
521 521
             </el-form-item>
522 522
           </el-col>
523 523
 
@@ -791,7 +791,7 @@
791 791
             <!--</el-form-item>-->
792 792
           <!--</el-col>-->
793 793
 
794
-           
794
+
795 795
 
796 796
 
797 797
 
@@ -1358,9 +1358,9 @@
1358 1358
             //     this.InnerDialogProps.selected = arrtwo
1359 1359
             //     this.InnerDialogProps.isShowTextArea = false
1360 1360
             //     break
1361
-            // }  
1361
+            // }
1362 1362
         }
1363
-      }, 
1363
+      },
1364 1364
       innerDialogComfirm: function(val) {
1365 1365
         this.InnerDialogProps.visibility = false
1366 1366
         switch (val.type) {
@@ -1819,7 +1819,10 @@
1819 1819
       getTime(val) {
1820 1820
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
1821 1821
       },
1822
-      show(pre,schedual,last) {
1822
+      show(pre,schedual,last,his_is_open) {
1823
+        if(his_is_open == 1){
1824
+          this.is_open = 0
1825
+        }
1823 1826
         var date = new Date()
1824 1827
         var year = date.getFullYear()
1825 1828
         var month = date.getMonth() + 1
@@ -1892,7 +1895,7 @@
1892 1895
 
1893 1896
         if (this.predialysis == null || this.predialysis.id == 0) {
1894 1897
           if(last != null) {
1895
-          
1898
+
1896 1899
             this.dialysisPrescription.niprocart = last.niprocart
1897 1900
             this.dialysisPrescription.jms = last.jms
1898 1901
             this.dialysisPrescription.fistula_needle_set = last.fistula_needle_set
@@ -2000,7 +2003,7 @@
2000 2003
             ParamsQuery['patient'] = this.patient.id
2001 2004
             ParamsQuery['record_date'] = this.record_date
2002 2005
             ParamsQuery['mode'] = '1'
2003
-    
2006
+
2004 2007
             console.log("第一")
2005 2008
             postPrescription(ParamsQuery).then(response => {
2006 2009
               if (response.data.state == 0) {
@@ -2092,7 +2095,7 @@
2092 2095
               ParamsQuery['record_date'] = this.record_date
2093 2096
               ParamsQuery['mode'] = '1'
2094 2097
               console.log("第三")
2095
-              
2098
+
2096 2099
               postPrescription(ParamsQuery).then(response => {
2097 2100
                 if (response.data.state == 0) {
2098 2101
                   this.$message.error(response.data.msg)
@@ -2175,7 +2178,7 @@
2175 2178
                     type: 'success',
2176 2179
                     duration: 2000
2177 2180
                   })
2178
- 
2181
+
2179 2182
                   const prescription_resp = response.data.data.prescription
2180 2183
                   // console.log("aaaaaaa", prescription_resp);
2181 2184
                   var prescription = this.prescription
@@ -2817,7 +2820,7 @@
2817 2820
                       duration: 2000
2818 2821
                     })
2819 2822
                     const params = {
2820
-                   
2823
+
2821 2824
                       advices: this.waitUploadAdvices,
2822 2825
                       advice_date: uParseTime(
2823 2826
                         this.$route.query.date,

+ 24 - 0
src/xt_pages/dialysis/details/index.vue Voir le fichier

@@ -264,6 +264,7 @@
264 264
         :special_premission="headNurses"
265 265
         @assessmentAfterDislysis="assessmentAfterDislysisFunc"
266 266
         :system_prescribe="system_prescribe"
267
+        :his_is_open="his_is_open"
267 268
       >
268 269
       </nav-igation>
269 270
 
@@ -623,6 +624,8 @@ export default {
623 624
       aliquid_info: [],
624 625
       config: {},
625 626
 
627
+      his_is_open:0,
628
+
626 629
       lastPredialysisEvaluation: { id: 0 },
627 630
       lastMonitorRecord: { id: 0 },
628 631
       lastAssessmentAfterDislysis: { id: 0 },
@@ -930,6 +933,9 @@ export default {
930 933
               }
931 934
 
932 935
               this.is_open = resp.data.is_open_remind
936
+              if(this.his_is_open == 1){
937
+                this.is_open = 0
938
+              }
933 939
               this.longAdvices = totalAdvice
934 940
               this.waitUploadAdvices = waitUploadAdvices
935 941
               break
@@ -1111,6 +1117,24 @@ export default {
1111 1117
           this.devices = resp.data.devices
1112 1118
           this.device_numbers = resp.data.device_numbers
1113 1119
 
1120
+          var his_doctor_advices = resp.data.his_advices
1121
+          this.his_is_open = resp.data.is_open_config.is_open
1122
+          console.log(this.his_is_open)
1123
+
1124
+
1125
+          for (let i = 0; i <  this.doctor_advices.length; i++){
1126
+            this.doctor_advices[i]['origin'] = 1
1127
+          }
1128
+
1129
+          if (his_doctor_advices != null) {
1130
+            for (let i = 0; i < his_doctor_advices.length; i++) {
1131
+              his_doctor_advices[i]['origin'] = 2
1132
+              his_doctor_advices[i]['way'] = 1
1133
+              this.doctor_advices.push(his_doctor_advices[i])
1134
+            }
1135
+          }
1136
+
1137
+
1114 1138
           var device_map = {}
1115 1139
           for (let index = 0; index < this.devices.length; index++) {
1116 1140
             const device = this.devices[index]

+ 136 - 1
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Voir le fichier

@@ -85,6 +85,21 @@
85 85
             <el-tab-pane name="more" closable><span slot="label"><i class="el-icon-plus" @click="addTab"></i></span>
86 86
             </el-tab-pane>
87 87
             <div class="RP">Rp</div>
88
+
89
+            <div style="float: right">
90
+            <el-button
91
+              round
92
+              @click="openLast(3)"
93
+            >上一方
94
+            </el-button>
95
+
96
+            <el-button
97
+              round
98
+              @click="openNext(4)"
99
+            >下一方
100
+            </el-button>
101
+            </div>
102
+
88 103
             <prescription-table ref="prescription_tables" :prescription="curPrescriptions" :preDrugs="preDrugs"
89 104
                                 :activeType="customTabIndex"></prescription-table>
90 105
           </el-tabs>
@@ -286,6 +301,8 @@
286 301
                        :patientInfo="patientInfo" :additions="additions" ></additionalCharges>
287 302
     <select-template ref='selectTemplate'></select-template>
288 303
     <save-template ref='saveTemplate'></save-template>
304
+    <next-or-last-prescription></next-or-last-prescription>
305
+
289 306
   </div>
290 307
 </template>
291 308
 
@@ -296,7 +313,8 @@
296 313
     delHisPrescription,
297 314
     getInitData,
298 315
     getPatientInfo,
299
-    getSchedulePatientList
316
+    getSchedulePatientList,
317
+    getNextOrLastHisPrescription
300 318
   } from '@/api/his/his'
301 319
   import { getDictionaryDataConfig } from '@/utils/data'
302 320
   import prescriptionTable from './prescriptionTable'
@@ -304,6 +322,8 @@
304 322
   import saveTemplate from './saveTemplate'
305 323
   import additionalCharges from './additionalCharges'
306 324
   import { addProjectTeam, getAllProjectTeam, getHisProject, getPojectListById } from '@/api/project/project'
325
+  import { uParseTime } from '@/utils/tools'
326
+  import NextOrLastPrescription from "./nextOrLastPrescription";
307 327
 
308 328
   export default {
309 329
     props: {
@@ -323,6 +343,7 @@
323 343
       },
324 344
     },
325 345
     components: {
346
+      NextOrLastPrescription,
326 347
       selectTemplate,
327 348
       saveTemplate,
328 349
       prescriptionTable,
@@ -340,6 +361,7 @@
340 361
           {value: 7,label: "其他"},
341 362
 
342 363
         ],
364
+        isLastOrNextVisible:false,
343 365
         multipleTableHeight:'',
344 366
         register_type: '',
345 367
         value: '0',
@@ -369,6 +391,7 @@
369 391
         departmentValue: '',
370 392
         total: 0,
371 393
         state1: '',
394
+        request_record_date:'',
372 395
         state2: '',
373 396
         customTabIndex: 1,
374 397
         options: [],
@@ -399,6 +422,68 @@
399 422
       }
400 423
     },
401 424
     methods: {
425
+      GetNextOrLastHisPrescription(params){
426
+        getNextOrLastHisPrescription(params).then(response => {
427
+          if (response.data.state == 1) {
428
+
429
+            // this.request_record_date = uParseTime(this.other_doctor_advices[0].record_date, '{y}-{m}-{d}')
430
+          } else {
431
+            this.$message.error(response.data.msg)
432
+
433
+          }
434
+        })
435
+
436
+
437
+      },
438
+      openLast(val) {
439
+        if (val == 1) {
440
+          this.isLastOrNextVisible = true
441
+          this.isVisibility = false
442
+          this.request_record_date = this.record_date
443
+
444
+          let params = {
445
+            patient_id: this.patientid,
446
+            record_time: this.request_record_date,
447
+            type: 1
448
+          }
449
+
450
+          this.GetNextOrLastHisPrescription(params)
451
+        } else if (val == 3) {
452
+
453
+          let params = {
454
+            patient_id: this.patientid,
455
+            record_time: this.request_record_date,
456
+            type: 1
457
+          }
458
+
459
+          this.GetNextOrLastHisPrescription(params)
460
+
461
+        }
462
+      },
463
+      openNext(val) {
464
+        if (val == 2) {
465
+          this.isLastOrNextVisible = true
466
+          this.isVisibility = false
467
+          this.request_record_date = this.record_date
468
+
469
+          let params = {
470
+            patient_id: this.patientid,
471
+            record_time: this.request_record_date,
472
+            type: 2
473
+          }
474
+
475
+          this.GetNextOrLastHisPrescription(params)
476
+        } else if (val == 4) {
477
+          let params = {
478
+            patient_id: this.patientid,
479
+            record_time: this.request_record_date,
480
+            type: 2
481
+          }
482
+          this.GetNextOrLastHisPrescription(params)
483
+
484
+        }
485
+      },
486
+
402 487
       selectTemplate(selection, row){
403 488
         this.tempDrugs = selection
404 489
 
@@ -1095,11 +1180,60 @@
1095 1180
             }
1096 1181
           }
1097 1182
         }
1183
+        let templateDrugs=[]
1184
+
1185
+        for (let i = 0; i< this.tempDrugs.length;i++){
1186
+          for (let a = 0; a < this.tempDrugs[i].advices.length; a++ ){
1187
+            templateDrugs.push(this.tempDrugs[i].advices[a])
1188
+          }
1189
+        }
1190
+
1191
+        // for (let i = 0; i < templateDrugs.length; i++) {
1192
+        //   for (let a = 0; a < this.curPrescriptions.advices.length; a++) {
1193
+        //     if (this.templateDrugs[i].drug_id == this.curPrescriptions.advices[i].id) {
1194
+        //       this.$message.error('改处方存在相同的药品,无法添加相同的药品')
1195
+        //       return
1196
+        //
1197
+        //     }
1198
+        //   }
1199
+        // }
1200
+
1098 1201
 
1099 1202
         for (let i = 0; i < this.prescriptions.length; i++) {
1100 1203
           if (this.prescriptions[i].name == this.editableTabsValue) {
1101 1204
             var temp = this.deepClone(this.curDrugs)
1102 1205
             var temp2 = this.deepClone(this.teamList)
1206
+
1207
+            var temp3 = this.deepClone(templateDrugs)
1208
+
1209
+            if (temp3.length > 0) {
1210
+              for (let b = 0; b < temp3.length; b++) {
1211
+                let obj = {
1212
+                  advice_id: 0,
1213
+                  id: temp3[b].id,
1214
+                  drug_name: temp3[b].advice_name,
1215
+                  single_dose: temp3[b].single_dose,
1216
+                  delivery_way: temp3[b].delivery_way,
1217
+                  execution_frequency: temp3[b].execution_frequency,
1218
+                  retail_price: temp3[b].drug.retail_price.toString(),
1219
+                  remark: '',
1220
+                  day:1,
1221
+                  prescribing_number: temp3[b].prescribing_number,
1222
+                  single_dose_unit: temp3[b].drug.min_unit,
1223
+                  prescribing_number_unit: temp3[b].drug.max_unit,
1224
+                  medical_insurance_number: temp3[b].drug.medical_insurance_number
1225
+                }
1226
+
1227
+                if(obj.prescribing_number == 0 || obj.prescribing_number.length  == 0){
1228
+                  obj.prescribing_number = 1
1229
+                }
1230
+                this.prescriptions[i].advices.push(obj)
1231
+              }
1232
+              this.curStatus = 1
1233
+            }
1234
+
1235
+
1236
+
1103 1237
             if (temp.length > 0) {
1104 1238
               for (let b = 0; b < temp.length; b++) {
1105 1239
                 let obj = {
@@ -1247,6 +1381,7 @@
1247 1381
         }
1248 1382
       }
1249 1383
     },mounted(){
1384
+      this.request_record_date = this.record_date
1250 1385
       this.getInitData()
1251 1386
       //获取所有项目
1252 1387
       this.getlist()

+ 353 - 0
src/xt_pages/outpatientDoctorStation/components/nextOrLastPrescription.vue Voir le fichier

@@ -0,0 +1,353 @@
1
+<template>
2
+  <el-dialog
3
+    title="1111"
4
+    :visible.sync="isLastOrNextVisible"
5
+    width="1010px"
6
+    @close="resetDialog"
7
+    :modal-append-to-body="false"
8
+  >
9
+    <div class="txsj">
10
+      <el-button
11
+        round
12
+
13
+        @click="openLast(1)"
14
+      >上一方
15
+      </el-button>
16
+
17
+      <el-button
18
+        round
19
+        @click="openNext(2)"
20
+      >下一方
21
+      </el-button>
22
+    </div>
23
+
24
+    <div  v-for="(item,index) in allPrescription" :key="index">
25
+      <div>{{item.title}}</div>
26
+      <el-checkbox-group v-model="item.check_group">
27
+        <div v-for="(subItem,index2) in item.prescriptions" :key="index2" >
28
+          <el-checkbox :label="subItem.id" :name='index2'>123{{ index2 }}</el-checkbox>
29
+          <el-table v-if="subItem.type  == 1" :data="subItem.advices" border style="width: 99%;" :row-style="{ color: '#303133' }"
30
+                      :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
31
+              <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
32
+              <el-table-column align="center" prop="drug_name" label="名称">
33
+                <template slot-scope="scope"><span :title="scope.row.drug_name">{{ scope.row.drug_name }}</span></template>
34
+              </el-table-column>
35
+
36
+              <el-table-column align="center" prop="single_dose" width="90" label="单次用量">
37
+                <template slot-scope="scope">
38
+                  <div style="display:flex;align-items:center;">
39
+                    <el-input v-model="scope.row.single_dose" style="width:65%;"></el-input>
40
+                    <div>{{scope.row.single_dose_unit}}</div>
41
+                  </div>
42
+                </template>
43
+              </el-table-column>
44
+              <el-table-column align="center" prop="delivery_way" width="100" label="用法">
45
+                <template slot-scope="scope">
46
+                  {{scope.row.delivery_way}}
47
+                </template>
48
+              </el-table-column>
49
+              <el-table-column align="center" prop="execution_frequency" width="100" label="频率">
50
+                <template slot-scope="scope">
51
+                  {{scope.row.execution_frequency}}
52
+                </template>
53
+              </el-table-column>
54
+
55
+
56
+              <el-table-column align="center" prop="day" width="50" label="天数">
57
+                <template slot-scope="scope">
58
+                  <el-input v-model="scope.row.day" placeholder=""></el-input>
59
+                </template>
60
+              </el-table-column>
61
+
62
+              <el-table-column align="center" prop="prescribing_number" width="80" label="总量">
63
+                <template slot-scope="scope">
64
+                  <div style="display:flex;align-items:center;">
65
+                    <el-input v-model="scope.row.prescribing_number" style="width:60%" placeholder=""></el-input>
66
+                    <div> {{scope.row.prescribing_number_unit}}</div>
67
+                  </div>
68
+                </template>
69
+              </el-table-column>
70
+              <el-table-column align="center" prop="retail_price" width="60" label="单价">
71
+                <template slot-scope="scope">
72
+                  <el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>
73
+                </template>
74
+              </el-table-column>
75
+              <el-table-column align="center" prop="remark" width="50" label="备注">
76
+                <template slot-scope="scope">
77
+                  <el-input v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
78
+                </template>
79
+              </el-table-column>
80
+            </el-table>
81
+
82
+            <el-table v-if="subItem.type == 2" :data="subItem.project" border style="width: 99%;" :row-style="{ color: '#303133' }"
83
+                      :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
84
+              <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
85
+              <el-table-column align="center" prop="project_name" label="名称">
86
+                <template slot-scope="scope"><span :title="scope.row.project_name">{{ scope.row.project_name }}</span></template>
87
+              </el-table-column>
88
+              <el-table-column align="center" prop="statistical_classification" width="100" label="组">
89
+                <template slot-scope="scope">{{getGroup(scope.row.statistical_classification)}}</template>
90
+              </el-table-column>
91
+              <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
92
+                <template slot-scope="scope">
93
+                  <el-input v-model="scope.row.single_dose" placeholder=""></el-input>
94
+                </template>
95
+              </el-table-column>
96
+              <el-table-column align="center" prop="delivery_way" width="80" label="用法">
97
+                <template slot-scope="scope">
98
+                  <el-input v-model="scope.row.delivery_way" placeholder=""></el-input>
99
+                </template>
100
+              </el-table-column>
101
+              <el-table-column align="center" prop="execution_frequency" width="80" label="频率">
102
+                <template slot-scope="scope">
103
+                  <el-input v-model="scope.row.execution_frequency" placeholder=""></el-input>
104
+                </template>
105
+              </el-table-column>
106
+              <el-table-column align="center" prop="number_days" width="50" label="天数">
107
+                <template slot-scope="scope">
108
+                  <el-input v-model="scope.row.number_days" placeholder=""></el-input>
109
+                </template>
110
+              </el-table-column>
111
+              <el-table-column align="center" prop="total" width="70" label="总量">
112
+                <template slot-scope="scope">
113
+                  <div style="display:flex;align-items:center;">
114
+                    <el-input v-model="scope.row.total" style="width:60%" placeholder=""></el-input>
115
+                    <div>{{scope.row.unit}}</div>
116
+                  </div>
117
+                </template>
118
+              </el-table-column>
119
+              <el-table-column align="center" prop="name" width="50" label="单价">
120
+                <template slot-scope="scope">
121
+                  <el-input v-model="scope.row.price" placeholder="" readonly></el-input>
122
+                </template>
123
+              </el-table-column>
124
+              <el-table-column align="center" prop="name" width="50" label="备注">
125
+                <template slot-scope="scope">
126
+                  <el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>
127
+                </template>
128
+              </el-table-column>
129
+            </el-table>
130
+          </div>
131
+      </el-checkbox-group>
132
+
133
+    </div>
134
+
135
+
136
+    <!--<el-table v-if="activeType  == 1" :data="prescription.advices" border style="width: 99%;" :row-style="{ color: '#303133' }"-->
137
+    <!--:header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>-->
138
+    <!--<el-table-column align="center" type="index" width="40" label="序号"></el-table-column>-->
139
+    <!--<el-table-column align="center" prop="drug_name" label="名称">-->
140
+    <!--<template slot-scope="scope"><span :title="scope.row.drug_name">{{ scope.row.drug_name }}</span></template>-->
141
+    <!--</el-table-column>-->
142
+
143
+    <!--<el-table-column align="center" prop="single_dose" width="90" label="单次用量">-->
144
+    <!--<template slot-scope="scope">-->
145
+    <!--<div style="display:flex;align-items:center;">-->
146
+    <!--<el-input v-model="scope.row.single_dose" style="width:65%;"></el-input>-->
147
+    <!--<div>{{scope.row.single_dose_unit}}</div>-->
148
+    <!--</div>-->
149
+    <!--</template>-->
150
+    <!--</el-table-column>-->
151
+    <!--<el-table-column align="center" prop="delivery_way" width="100" label="用法">-->
152
+    <!--<template slot-scope="scope">-->
153
+    <!--<el-select v-model="scope.row.delivery_way" placeholder="请选择">-->
154
+    <!--<el-option-->
155
+    <!--v-for="(item,index) in drugways"-->
156
+    <!--:key="index"-->
157
+    <!--:label="item.name"-->
158
+    <!--:value="item.name">-->
159
+    <!--</el-option>-->
160
+    <!--</el-select>-->
161
+    <!--</template>-->
162
+    <!--</el-table-column>-->
163
+    <!--<el-table-column align="center" prop="execution_frequency" width="100" label="频率">-->
164
+    <!--<template slot-scope="scope">-->
165
+    <!--<el-select v-model="scope.row.execution_frequency" placehold er="请选择">-->
166
+    <!--<el-option-->
167
+    <!--v-for="item,index in efs"-->
168
+    <!--:key="index"-->
169
+    <!--:label="item.name"-->
170
+    <!--:value="item.name">-->
171
+    <!--</el-option>-->
172
+    <!--</el-select>-->
173
+    <!--</template>-->
174
+    <!--</el-table-column>-->
175
+
176
+
177
+    <!--<el-table-column align="center" prop="day" width="50" label="天数">-->
178
+    <!--<template slot-scope="scope">-->
179
+    <!--<el-input v-model="scope.row.day" placeholder=""></el-input>-->
180
+    <!--</template>-->
181
+    <!--</el-table-column>-->
182
+
183
+    <!--<el-table-column align="center" prop="prescribing_number" width="80" label="总量">-->
184
+    <!--<template slot-scope="scope">-->
185
+    <!--<div style="display:flex;align-items:center;">-->
186
+    <!--<el-input v-model="scope.row.prescribing_number" style="width:60%" placeholder=""></el-input>-->
187
+    <!--<div> {{scope.row.prescribing_number_unit}}</div>-->
188
+    <!--</div>-->
189
+    <!--</template>-->
190
+    <!--</el-table-column>-->
191
+    <!--<el-table-column align="center" prop="retail_price" width="60" label="单价">-->
192
+    <!--<template slot-scope="scope">-->
193
+    <!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
194
+    <!--</template>-->
195
+    <!--</el-table-column>-->
196
+    <!--<el-table-column align="center" prop="remark" width="50" label="备注">-->
197
+    <!--<template slot-scope="scope">-->
198
+    <!--<el-input v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>-->
199
+    <!--</template>-->
200
+    <!--</el-table-column>-->
201
+    <!--<el-table-column align="center" width="40" prop="name" label="操作">-->
202
+    <!--<template slot-scope="scope">-->
203
+    <!--<i class="el-icon-delete" @click="deleteDrug(scope.$index, scope.row)"></i>-->
204
+    <!--</template>-->
205
+    <!--</el-table-column>-->
206
+    <!--</el-table>-->
207
+
208
+    <!--<el-table v-if="activeType == 2" :data="prescription.project" border style="width: 99%;" :row-style="{ color: '#303133' }"-->
209
+    <!--:header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>-->
210
+    <!--<el-table-column align="center" type="index" width="40" label="序号"></el-table-column>-->
211
+    <!--<el-table-column align="center" prop="project_name" label="名称">-->
212
+    <!--<template slot-scope="scope"><span :title="scope.row.project_name">{{ scope.row.project_name }}</span></template>-->
213
+    <!--</el-table-column>-->
214
+    <!--<el-table-column align="center" prop="statistical_classification" width="100" label="组">-->
215
+    <!--<template slot-scope="scope">{{getGroup(scope.row.statistical_classification)}}</template>-->
216
+    <!--</el-table-column>-->
217
+    <!--<el-table-column align="center" prop="single_dose" width="80" label="单次用量">-->
218
+    <!--<template slot-scope="scope">-->
219
+    <!--<el-input v-model="scope.row.single_dose" placeholder=""></el-input>-->
220
+    <!--</template>-->
221
+    <!--</el-table-column>-->
222
+    <!--<el-table-column align="center" prop="delivery_way" width="80" label="用法">-->
223
+    <!--<template slot-scope="scope">-->
224
+    <!--<el-input v-model="scope.row.delivery_way" placeholder=""></el-input>-->
225
+    <!--</template>-->
226
+    <!--</el-table-column>-->
227
+    <!--<el-table-column align="center" prop="execution_frequency" width="80" label="频率">-->
228
+    <!--<template slot-scope="scope">-->
229
+    <!--<el-input v-model="scope.row.execution_frequency" placeholder=""></el-input>-->
230
+    <!--</template>-->
231
+    <!--</el-table-column>-->
232
+    <!--<el-table-column align="center" prop="number_days" width="50" label="天数">-->
233
+    <!--<template slot-scope="scope">-->
234
+    <!--<el-input v-model="scope.row.number_days" placeholder=""></el-input>-->
235
+    <!--</template>-->
236
+    <!--</el-table-column>-->
237
+    <!--<el-table-column align="center" prop="total" width="70" label="总量">-->
238
+    <!--<template slot-scope="scope">-->
239
+    <!--<div style="display:flex;align-items:center;">-->
240
+    <!--<el-input v-model="scope.row.total" style="width:60%" placeholder=""></el-input>-->
241
+    <!--<div>{{scope.row.unit}}</div>-->
242
+
243
+    <!--</div>-->
244
+    <!--</template>-->
245
+    <!--</el-table-column>-->
246
+    <!--<el-table-column align="center" prop="name" width="50" label="单价">-->
247
+    <!--<template slot-scope="scope">-->
248
+    <!--<el-input v-model="scope.row.price" placeholder="" readonly></el-input>-->
249
+    <!--</template>-->
250
+    <!--</el-table-column>-->
251
+    <!--<el-table-column align="center" prop="name" width="50" label="备注">-->
252
+    <!--<template slot-scope="scope">-->
253
+    <!--<el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>-->
254
+    <!--</template>-->
255
+    <!--</el-table-column>-->
256
+    <!--<el-table-column align="center" width="40" prop="name" label="操作">-->
257
+    <!--<template slot-scope="scope">-->
258
+    <!--<i class="el-icon-delete" @click="deleteProject(scope.row,scope.$index)"></i>-->
259
+    <!--</template>-->
260
+    <!--</el-table-column>-->
261
+    <!--</el-table>-->
262
+
263
+
264
+    <div slot="footer" class="dialog-footer">
265
+      <el-button @click="isLastOrNextVisible = false">取 消</el-button>
266
+      <el-button type="primary" @click="AddNewAdvice('adForm')">保存</el-button>
267
+    </div>
268
+  </el-dialog>
269
+
270
+
271
+</template>
272
+
273
+<script>
274
+  export default {
275
+    name: "nextOrLastPrescription",
276
+    data() {
277
+      return {
278
+        allPrescription:[
279
+          {
280
+            title:"12333",
281
+            check_group:[],
282
+            prescriptions:[
283
+              {
284
+                id:5,
285
+
286
+                type:1,
287
+                doctor_advice:[],
288
+                project:[],
289
+              },
290
+              {
291
+                id:8,
292
+                type:1,
293
+                doctor_advice:[],
294
+                project:[],
295
+              },
296
+              {
297
+                id:6,
298
+
299
+                type:2,
300
+                doctor_advice:[],
301
+                project:[],
302
+              },
303
+              {
304
+                id:7,
305
+                type:2,
306
+                doctor_advice:[],
307
+                project:[],
308
+              },
309
+            ],
310
+          }, {
311
+            title:"4567",
312
+            check_group:[],
313
+            prescriptions:[
314
+              {
315
+                id:1,
316
+                type:2,
317
+                doctor_advice:[],
318
+                project:[],
319
+              },
320
+              {
321
+                id:2,
322
+                type:2,
323
+                doctor_advice:[],
324
+                project:[],
325
+              },
326
+              {
327
+                id:3,
328
+
329
+                type:1,
330
+                doctor_advice:[],
331
+                project:[],
332
+              },
333
+              {
334
+                id:4,
335
+
336
+                type:1,
337
+                doctor_advice:[],
338
+                project:[],
339
+              },
340
+            ],
341
+          }
342
+        ],
343
+
344
+        isLastOrNextVisible: true,
345
+
346
+      }
347
+    }
348
+  }
349
+</script>
350
+
351
+<style scoped>
352
+
353
+</style>