Browse Source

新分支

28169 1 year ago
parent
commit
eb54346aaa

+ 5 - 0
package-lock.json View File

14394
       "resolved": "https://registry.npmjs.org/vue/-/vue-2.5.16.tgz",
14394
       "resolved": "https://registry.npmjs.org/vue/-/vue-2.5.16.tgz",
14395
       "integrity": "sha512-/ffmsiVuPC8PsWcFkZngdpas19ABm5mh2wA7iDqcltyCTwlgZjHGeJYOXkBMo422iPwIcviOtrTCUpSfXmToLQ=="
14395
       "integrity": "sha512-/ffmsiVuPC8PsWcFkZngdpas19ABm5mh2wA7iDqcltyCTwlgZjHGeJYOXkBMo422iPwIcviOtrTCUpSfXmToLQ=="
14396
     },
14396
     },
14397
+    "vue-calendar-component": {
14398
+      "version": "2.8.2",
14399
+      "resolved": "https://registry.npmjs.org/vue-calendar-component/-/vue-calendar-component-2.8.2.tgz",
14400
+      "integrity": "sha512-BJh7xOBzM7QVcapcN4EbPQ1eZ8Pii1/oy+dzqjZTilRSIDD7SRPdFpnUJwZvs8lCrhtBAyJbYFsdm2SogXWHVQ=="
14401
+    },
14397
     "vue-clipboard": {
14402
     "vue-clipboard": {
14398
       "version": "0.0.1",
14403
       "version": "0.0.1",
14399
       "resolved": "https://registry.npmjs.org/vue-clipboard/-/vue-clipboard-0.0.1.tgz",
14404
       "resolved": "https://registry.npmjs.org/vue-clipboard/-/vue-clipboard-0.0.1.tgz",

+ 1 - 0
package.json View File

73
     "sortablejs": "1.7.0",
73
     "sortablejs": "1.7.0",
74
     "v-fit-columns": "^0.2.0",
74
     "v-fit-columns": "^0.2.0",
75
     "vue": "2.5.16",
75
     "vue": "2.5.16",
76
+    "vue-calendar-component": "^2.8.2",
76
     "vue-clipboard": "0.0.1",
77
     "vue-clipboard": "0.0.1",
77
     "vue-clipboard2": "^0.3.1",
78
     "vue-clipboard2": "^0.3.1",
78
     "vue-count-to": "1.0.13",
79
     "vue-count-to": "1.0.13",

+ 3 - 1
src/xt_pages/dialysis/details/consumable/dialysisGood.vue View File

98
           :label="item.filed_name_cn"
98
           :label="item.filed_name_cn"
99
         >
99
         >
100
           <template slot-scope="scope">
100
           <template slot-scope="scope">
101
-             {{getName(scope.row.rowList[index].filed_name_cn,scope.row.dialysis_solution)}}
101
+            <!-- <span v-if="scope.row.dialysis_prescription==null"> {{getName(scope.row.rowList[index].filed_name_cn,scope.row.dialysis_solution)}}</span>
102
+            <span v-if="scope.row.dialysis_prescription!=null"> {{getName(scope.row.rowList[index].filed_name_cn,scope.row.dialysis_prescription)}}</span> -->
103
+            {{getName(scope.row.rowList[index].filed_name_cn,scope.row.dialysis_solution)}}
102
           </template>
104
           </template>
103
 
105
 
104
         </el-table-column>
106
         </el-table-column>

+ 2 - 0
src/xt_pages/dialysis/details/consumable/dialysisGoodPrint.vue View File

42
                 <td>{{item.patient.dialysis_no}}</td>
42
                 <td>{{item.patient.dialysis_no}}</td>
43
                 <td v-for="(it,index) in rowList" :key="index">
43
                 <td v-for="(it,index) in rowList" :key="index">
44
                   {{getName(item.rowList[index].filed_name_cn,item.dialysis_solution)}}
44
                   {{getName(item.rowList[index].filed_name_cn,item.dialysis_solution)}}
45
+                  <!-- <span v-if="item.dialysis_prescription==null"> {{getName(item.rowList[index].filed_name_cn,item.dialysis_solution)}}</span>
46
+                  <span v-if="item.dialysis_prescription!=null"> {{getName(item.rowList[index].filed_name_cn,item.dialysis_prescription)}}</span> -->
45
                 </td>
47
                 </td>
46
                </tr>
48
                </tr>
47
               </tbody>
49
               </tbody>

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

372
           </el-form-item>
372
           </el-form-item>
373
         </el-col>
373
         </el-col>
374
 
374
 
375
-        <el-col :span="8" v-if="isShow('透析中入量') && (org_id==10485 || org_id ==10460)">
375
+        <el-col :span="8" v-if="isShow('透析中入量') && (org_id==10485 || org_id ==10460 || org_id ==10551)">
376
           <el-form-item label="透析中入量: " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
376
           <el-form-item label="透析中入量: " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
377
             <el-input v-model="form.dialysis_intakes"></el-input>
377
             <el-input v-model="form.dialysis_intakes"></el-input>
378
           </el-form-item>
378
           </el-form-item>

+ 10 - 2
src/xt_pages/dialysis/details/index.vue View File

1266
 import { uParseTime } from '@/utils/tools'
1266
 import { uParseTime } from '@/utils/tools'
1267
 import Calendar from 'vue-calendar-component'
1267
 import Calendar from 'vue-calendar-component'
1268
 import data from '../../../store/modules/data'
1268
 import data from '../../../store/modules/data'
1269
+import patient from '../../../router/modules/patient'
1269
 export default {
1270
 export default {
1270
   name: 'index',
1271
   name: 'index',
1271
   components: {
1272
   components: {
1416
       
1417
       
1417
       start_time:moment().startOf('months').format('YYYY-MM-DD'),
1418
       start_time:moment().startOf('months').format('YYYY-MM-DD'),
1418
       end_time:moment().endOf('months').format('YYYY-MM-DD'),
1419
       end_time:moment().endOf('months').format('YYYY-MM-DD'),
1420
+      start_time_one:"",
1419
       orderList:[]
1421
       orderList:[]
1420
     }
1422
     }
1421
   },
1423
   },
2984
     },
2986
     },
2985
     viewDayWork(val){
2987
     viewDayWork(val){
2986
       console.log("val33333333333333",val)
2988
       console.log("val33333333333333",val)
2989
+      console.log("开始时间",)
2987
       var patient_id = this.$route.query.patient_id
2990
       var patient_id = this.$route.query.patient_id
2988
-      var start_time = this.timestamp(this.start_time)
2991
+      var start_time = this.timestamp(moment(this.time_value).format('YYYY-MM-DD'))
2992
+      console.log("patienet_id",patient_id)
2993
+      console.log("start_Time",start_time)
2989
       this.$router.push({
2994
       this.$router.push({
2990
         path: "/dialysis/details",
2995
         path: "/dialysis/details",
2991
         query: { patient_id:patient_id , date: start_time}
2996
         query: { patient_id:patient_id , date: start_time}
3006
         this.time_value = newValue
3011
         this.time_value = newValue
3007
         this.getmonth(this.time_value)
3012
         this.getmonth(this.time_value)
3008
         console.log('yyyyyyyyyyy',moment(this.time_value).format('YYYY-MM-DD'),moment(oldValue).format('YYYY-MM-DD'))
3013
         console.log('yyyyyyyyyyy',moment(this.time_value).format('YYYY-MM-DD'),moment(oldValue).format('YYYY-MM-DD'))
3009
-
3014
+        this.start_time = ""
3010
         this.start_time = moment(this.time_value).format('YYYY-MM-DD')
3015
         this.start_time = moment(this.time_value).format('YYYY-MM-DD')
3016
+        this.start_time_one = moment(this.time_value).format('YYYY-MM-DD')
3017
+
3018
+        this.end_time= ""
3011
         this.end_time =   moment(oldValue).format('YYYY-MM-DD')
3019
         this.end_time =   moment(oldValue).format('YYYY-MM-DD')
3012
 
3020
 
3013
       }
3021
       }

+ 2 - 2
src/xt_pages/dialysis/longSignPrint.vue View File

32
                             规格:{{it.advice_desc}} {{ it.drug_spec_unit }}
32
                             规格:{{it.advice_desc}} {{ it.drug_spec_unit }}
33
                             
33
                             
34
                             </div>  
34
                             </div>  
35
-                            <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10223 || org_id ==10617) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
35
+                            <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10223 || org_id ==10617 || org_id ==10598) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
36
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}}</div>  
36
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}}</div>  
37
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
37
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
38
                             <div v-if="org_id == 0 || org_id==10223">
38
                             <div v-if="org_id == 0 || org_id==10223">
54
                             规格:{{getSpecialName(its.drug_id)}} 
54
                             规格:{{getSpecialName(its.drug_id)}} 
55
                             
55
                             
56
                             </div>  
56
                             </div>  
57
-                            <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10223  || org_id ==10617">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
57
+                            <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10223  || org_id ==10617|| org_id ==10598">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
58
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{its.execution_frequency}}</div>  
58
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{its.execution_frequency}}</div>  
59
                             <div>给药途径:{{its.delivery_way}}</div>  
59
                             <div>给药途径:{{its.delivery_way}}</div>  
60
                             <div v-if="org_id == 0 || org_id==10223">
60
                             <div v-if="org_id == 0 || org_id==10223">

+ 2 - 1
src/xt_pages/dialysis/newDoctorAdvice.vue View File

1492
               ' 单次用量 ' + '  ' + row.single_dose + '' + row.single_dose_unit
1492
               ' 单次用量 ' + '  ' + row.single_dose + '' + row.single_dose_unit
1493
           } else {
1493
           } else {
1494
             tempSingleDoseDesc = row.single_dose ? row.single_dose : '' + '' + row.single_dose_unit ? row.single_dose_unit : ''
1494
             tempSingleDoseDesc = row.single_dose ? row.single_dose : '' + '' + row.single_dose_unit ? row.single_dose_unit : ''
1495
+            
1495
           }
1496
           }
1496
         }
1497
         }
1497
 
1498
 
1498
         if (row.advice_desc) {
1499
         if (row.advice_desc) {
1499
-          tempDrugSpecDesc = '(' + row.advice_desc + row.drug_spec_unit + ')'
1500
+          tempDrugSpecDesc = '(' + row.advice_desc + row.drug_spec_unit + ')' 
1500
         }
1501
         }
1501
 
1502
 
1502
         if (isChild == 1) {
1503
         if (isChild == 1) {

+ 2 - 2
src/xt_pages/dialysis/signPrint.vue View File

31
                             <div v-if="org_id ==0 || org_id ==10223">
31
                             <div v-if="org_id ==0 || org_id ==10223">
32
                                 规格:{{it.advice_desc }} {{ it.drug_spec_unit }}
32
                                 规格:{{it.advice_desc }} {{ it.drug_spec_unit }}
33
                             </div> 
33
                             </div> 
34
-                            <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
34
+                            <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617 || org_id ==10598) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
35
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}}</div>  
35
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}}</div>  
36
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
36
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
37
                             <div v-if="org_id == 0 || org_id==10223">
37
                             <div v-if="org_id == 0 || org_id==10223">
53
                             规格:{{getSpecialName(its.drug_id)}} 
53
                             规格:{{getSpecialName(its.drug_id)}} 
54
                             
54
                             
55
                             </div>  
55
                             </div>  
56
-                            <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
56
+                            <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617 || org_id ==10598">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
57
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{its.execution_frequency}}</div>  
57
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{its.execution_frequency}}</div>  
58
                             <div>给药途径:{{its.delivery_way}}</div>  
58
                             <div>给药途径:{{its.delivery_way}}</div>  
59
                             <div v-if="org_id == 0 || org_id==10223">
59
                             <div v-if="org_id == 0 || org_id==10223">

+ 7 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

2824
                       style="flex: 1"
2824
                       style="flex: 1"
2825
                       v-if="org_id != 10223 && org_id!=10375 && org_id!=10598"
2825
                       v-if="org_id != 10223 && org_id!=10375 && org_id!=10598"
2826
                     >
2826
                     >
2827
-
2827
+                      <span v-if="org_id!=10460">
2828
+                          透析中入量(L):
2829
+                       </span>
2830
+                      <span v-if="org_id==10460">
2831
+                        透析中入量(ml):
2832
+                      </span>
2828
                       <div
2833
                       <div
2829
                         class="under_line"
2834
                         class="under_line"
2830
                         style="width: 70px; text-align: center"
2835
                         style="width: 70px; text-align: center"
2835
                             : "/"
2840
                             : "/"
2836
                         }}
2841
                         }}
2837
                       </div>
2842
                       </div>
2838
-                      <span v-if="org_id!=10460">
2839
-                          透析中入量(L):
2840
-                        </span>
2841
-                        <span v-if="org_id==10460">
2842
-                          透析中入量(ml):
2843
-                        </span>
2843
+                      
2844
                       {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
2844
                       {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
2845
                     </div>
2845
                     </div>
2846
 
2846
 

+ 2 - 2
src/xt_pages/role/admin.vue View File

25
         >医药师登记</el-button>
25
         >医药师登记</el-button>
26
 
26
 
27
 
27
 
28
-        <el-button
28
+        <!-- <el-button
29
           type="primary"
29
           type="primary"
30
           size="small"
30
           size="small"
31
           icon="el-icon-circle-plus-outline"
31
           icon="el-icon-circle-plus-outline"
32
           style="float:left"
32
           style="float:left"
33
-          @click="toJiaBan">首拼</el-button> 
33
+          @click="toJiaBan">首拼</el-button>  -->
34
 
34
 
35
           
35
           
36
 
36