Browse Source

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

yq1 1 day ago
parent
commit
a8d365a27b

+ 19 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

1783
                           >
1783
                           >
1784
                           碳酸氢钠<br />(ml)
1784
                           碳酸氢钠<br />(ml)
1785
                           </td>
1785
                           </td>
1786
-
1786
+                          <td
1787
+                            width="50"
1788
+                            v-if="
1789
+                              org_id == 0 || org_id == 9829
1790
+                            "
1791
+                          >
1792
+                            SpO₂<br />(%)
1793
+                          </td>
1787
                           <td width="200">病情变化及处理</td>
1794
                           <td width="200">病情变化及处理</td>
1788
                         </tr>
1795
                         </tr>
1789
 
1796
 
2041
                           >
2048
                           >
2042
                            {{ monitor_record.dicarbonate  }}<br />
2049
                            {{ monitor_record.dicarbonate  }}<br />
2043
                           </td>
2050
                           </td>
2051
+                          <td
2052
+                            v-if="
2053
+                              org_id == 0 || org_id == 9829
2054
+                            "
2055
+                          >
2056
+                            {{
2057
+                              monitor_record.blood_oxygen_saturation
2058
+                                ? monitor_record.blood_oxygen_saturation
2059
+                                : ""
2060
+                            }}
2061
+                          </td>
2044
 
2062
 
2045
                           <td style="line-height: 16px; padding: 0px">
2063
                           <td style="line-height: 16px; padding: 0px">
2046
                             <div
2064
                             <div

+ 6 - 0
src/xt_pages/dialysis/details/index.vue View File

568
                   </div>
568
                   </div>
569
                   <div></div>
569
                   <div></div>
570
                 </div>
570
                 </div>
571
+                <div class="printCell" style="display:flex;" v-if="org_id ==10598 || org_id == 0">
572
+                  <div style="">透析器:
573
+                   <span>{{main_collection.prescription.dialysis_dialyszers }}&nbsp;&nbsp; {{main_collection.prescription.dialysis_irrigation}}&nbsp;&nbsp; {{main_collection.prescription.dialysis_strainer}}</span>
574
+                  </div>
575
+                 
576
+                </div>
571
               </div>
577
               </div>
572
             </div>
578
             </div>
573
 
579
 

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

1836
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
1836
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
1837
                         <td width="50" v-if="org_id == 10490 ">碳酸氢钠<br />(ml)</td>
1837
                         <td width="50" v-if="org_id == 10490 ">碳酸氢钠<br />(ml)</td>
1838
                         <td width="50" v-if="org_id == 10598">护士签名</td>
1838
                         <td width="50" v-if="org_id == 10598">护士签名</td>
1839
+                        <td width="50" v-if="org_id == 9829 || org_id == 0">SpO₂<br />(%)</td>
1839
                         <td width="200">病情变化及处理</td>
1840
                         <td width="200">病情变化及处理</td>
1840
                       </tr>
1841
                       </tr>
1841
 
1842
 
2021
                           />
2022
                           />
2022
                           </span>
2023
                           </span>
2023
                         </td>
2024
                         </td>
2025
+                        <td v-if="org_id == 0||org_id == 9829">
2026
+                          {{monitor.blood_oxygen_saturation? monitor.blood_oxygen_saturation: ""}}
2027
+                        </td>
2028
+                       
2024
                         <td style="line-height: 16px; padding: 0px">
2029
                         <td style="line-height: 16px; padding: 0px">
2025
                           <div
2030
                           <div
2026
                             style="
2031
                             style="

+ 7 - 0
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

653
                   </div>
653
                   </div>
654
                 </div>
654
                 </div>
655
 
655
 
656
+                <div class="printCell" style="display:flex;" v-if="org_id ==10598 || org_id == 0">
657
+                  <div style="">透析器:
658
+                   <span>{{main_collection.prescription.dialysis_dialyszers }}&nbsp;&nbsp; {{main_collection.prescription.dialysis_irrigation}}&nbsp;&nbsp; {{main_collection.prescription.dialysis_strainer}}</span>
659
+                  </div>
660
+                 
661
+                </div>
662
+
656
 
663
 
657
               </div>
664
               </div>
658
             </div>
665
             </div>

+ 7 - 3
src/xt_pages/stock/drugs/drugInventoryModePrint.vue View File

256
             start_time:this.$route.query.start_time,
256
             start_time:this.$route.query.start_time,
257
             end_time:this.$route.query.end_time,
257
             end_time:this.$route.query.end_time,
258
           }
258
           }
259
+          const loading = this.$loading({
260
+            lock: true,
261
+            text: 'Loading',
262
+            spinner: 'el-icon-loading',
263
+            background: 'rgba(0, 0, 0, 0.7)'
264
+          })
259
           console.log("params-------",params)
265
           console.log("params-------",params)
260
           getDrugInventroyModePrintList(params).then(response=>{
266
           getDrugInventroyModePrintList(params).then(response=>{
261
               if(response.data.state == 1){
267
               if(response.data.state == 1){
268
+                 loading.close()
262
                  var list  =  response.data.data.list
269
                  var list  =  response.data.data.list
263
-
264
-                 console.log("list===============998",list)
265
-
266
                 if(list!=null && list.length > 0){
270
                 if(list!=null && list.length > 0){
267
                   let dataInfo = {}
271
                   let dataInfo = {}
268
                   list.forEach((item, index) => {
272
                   list.forEach((item, index) => {

+ 7 - 0
src/xt_pages/stock/drugs/inventoryRecordPrint.vue View File

130
               start_time:this.$route.query.start_time,
130
               start_time:this.$route.query.start_time,
131
               end_time:this.$route.query.end_time,
131
               end_time:this.$route.query.end_time,
132
             }
132
             }
133
+            const loading = this.$loading({
134
+              lock: true,
135
+              text: 'Loading',
136
+              spinner: 'el-icon-loading',
137
+              background: 'rgba(0, 0, 0, 0.7)'
138
+           })
133
           getInventoryRecordPrintList(params).then(response=>{
139
           getInventoryRecordPrintList(params).then(response=>{
134
              if(response.data.state == 1){
140
              if(response.data.state == 1){
141
+              loading.close()
135
               this.total =  response.data.data.total
142
               this.total =  response.data.data.total
136
               this.tableData = response.data.data.list
143
               this.tableData = response.data.data.list
137
               this.houseList = response.data.data.houseList
144
               this.houseList = response.data.data.houseList

+ 8 - 4
src/xt_pages/stock/drugs/newDrugInventory.vue View File

770
             arr.push(this.tableData[i])
770
             arr.push(this.tableData[i])
771
          }
771
          }
772
        }
772
        }
773
-     if(arr.length == 0){
774
-       this.$message.error("请修改数据后保存!")
775
-       loading.close()
776
-       return false
773
+
774
+      if(this.$store.getters.xt_user.template_info.org_id!=0 && this.$store.getters.xt_user.template_info.org_id!=10697){
775
+        if(arr.length == 0){
776
+          this.$message.error("请修改数据后保存!")
777
+          loading.close()
778
+          return false
779
+        }
777
       }
780
       }
781
+   
778
        var params = {
782
        var params = {
779
          tableData:arr,
783
          tableData:arr,
780
          newTableData:this.tableData
784
          newTableData:this.tableData

+ 8 - 4
src/xt_pages/stock/newInventory.vue View File

406
           arr.push(this.tableData[i])
406
           arr.push(this.tableData[i])
407
         }
407
         }
408
       }
408
       }
409
-      if(arr.length == 0){
410
-       this.$message.error("请修改数据后保存!")
411
-       loading.close()
412
-       return false
409
+
410
+      if(this.$store.getters.xt_user.template_info.org_id!=0 && this.$store.getters.xt_user.template_info.org_id!=10697){
411
+        if(arr.length == 0){
412
+        this.$message.error("请修改数据后保存!")
413
+        loading.close()
414
+        return false
415
+       }
413
       }
416
       }
417
+     
414
       var params = {
418
       var params = {
415
          tableData:arr,
419
          tableData:arr,
416
          storehouse_id:this.storehouse_id,
420
          storehouse_id:this.storehouse_id,

+ 7 - 1
src/xt_pages/stock/stockInventoryModePrint.vue View File

260
             end_time:this.$route.query.end_time,
260
             end_time:this.$route.query.end_time,
261
           }
261
           }
262
           console.log("params-------",params)
262
           console.log("params-------",params)
263
+          const loading = this.$loading({
264
+            lock: true,
265
+            text: 'Loading',
266
+            spinner: 'el-icon-loading',
267
+            background: 'rgba(0, 0, 0, 0.7)'
268
+          })
263
           getStockInventroyModePrintList(params).then(response=>{
269
           getStockInventroyModePrintList(params).then(response=>{
264
               if(response.data.state == 1){
270
               if(response.data.state == 1){
265
                  var list  =  response.data.data.list
271
                  var list  =  response.data.data.list
266
-
272
+                  loading.close()
267
                  console.log("list===============",list)
273
                  console.log("list===============",list)
268
 
274
 
269
                 if(list!=null && list.length > 0){
275
                 if(list!=null && list.length > 0){

+ 8 - 0
src/xt_pages/stock/stockInventoryPrint.vue View File

113
             page:this.$route.query.page,
113
             page:this.$route.query.page,
114
             ids:this.$route.query.ids,
114
             ids:this.$route.query.ids,
115
           }
115
           }
116
+          const loading = this.$loading({
117
+            lock: true,
118
+            text: 'Loading',
119
+            spinner: 'el-icon-loading',
120
+            background: 'rgba(0, 0, 0, 0.7)'
121
+          })
116
          getStockInventoryPrintList(params).then(response=>{
122
          getStockInventoryPrintList(params).then(response=>{
117
            if(response.data.state == 1){
123
            if(response.data.state == 1){
124
+             loading.close()
118
              var list = response.data.data.list
125
              var list = response.data.data.list
119
              console.log("list232332232323",response.data.data.list)
126
              console.log("list232332232323",response.data.data.list)
120
              this.tableList = list
127
              this.tableList = list
122
              this.houseList = response.data.data.storeHouseList
129
              this.houseList = response.data.data.storeHouseList
123
 
130
 
124
              this.docList = response.data.data.doclist
131
              this.docList = response.data.data.doclist
132
+            
125
            }
133
            }
126
          })
134
          })
127
         },
135
         },

+ 2 - 2
src/xt_pages/user/components/PatientDetail.vue View File

121
                 label="身份证号 : "
121
                 label="身份证号 : "
122
                 class="is-required"
122
                 class="is-required"
123
               >
123
               >
124
-                <el-input v-model="form.idCardNo" disabled></el-input>
124
+                <el-input v-model="form.idCardNo" disabled   @blur="checkIdCardNo"></el-input>
125
               </el-form-item>
125
               </el-form-item>
126
             </el-col>
126
             </el-col>
127
             <el-col :span="8" style="height: 59px">
127
             <el-col :span="8" style="height: 59px">
2098
             } else {
2098
             } else {
2099
               this.patientPrint.hospital_first_dialysis_date = "";
2099
               this.patientPrint.hospital_first_dialysis_date = "";
2100
             }
2100
             }
2101
-            this.checkIdCardNo();
2101
+            // this.checkIdCardNo();
2102
           } else {
2102
           } else {
2103
             console.log("patient get err state");
2103
             console.log("patient get err state");
2104
             this.$notify.error({
2104
             this.$notify.error({

+ 2 - 1
src/xt_pages/user/components/PatientForm.vue View File

131
                   label="身份证号 : "
131
                   label="身份证号 : "
132
                 >
132
                 >
133
                   <el-input
133
                   <el-input
134
+                    @blur="checkIdCardNo"
134
                     v-model="form.idCardNo"
135
                     v-model="form.idCardNo"
135
                   ></el-input><!---->
136
                   ></el-input><!---->
136
                 </el-form-item>
137
                 </el-form-item>
2122
             this.form.infectious_remark = patietInfo.infectious_remark
2123
             this.form.infectious_remark = patietInfo.infectious_remark
2123
 
2124
 
2124
 
2125
 
2125
-            this.checkIdCardNo();
2126
+            // this.checkIdCardNo();
2126
           } else {
2127
           } else {
2127
             this.$notify.error({
2128
             this.$notify.error({
2128
               title: "错误",
2129
               title: "错误",

+ 1 - 1
src/xt_pages/user/inspection.vue View File

1330
               
1330
               
1331
               if (item.item_id > 0) {
1331
               if (item.item_id > 0) {
1332
                 if (typeof(inspectionsMap[parseInt(items[index].item_id)])  == "undefined") {
1332
                 if (typeof(inspectionsMap[parseInt(items[index].item_id)])  == "undefined") {
1333
-                  if(this.org_id == 10121 || this.org_id ==10138 || this.org_id == 0 || this.org_id ==10278 || this.org_id == 10702){
1333
+                  if(this.org_id == 10121 || this.org_id ==10138 || this.org_id == 0 || this.org_id ==10278 || this.org_id == 10702 || this.org_id == 10191){
1334
                     item.value = inspectionsMap[items[index].id].inspect_value
1334
                     item.value = inspectionsMap[items[index].id].inspect_value
1335
                     item.item_name = inspectionsMap[items[index].id].item_name
1335
                     item.item_name = inspectionsMap[items[index].id].item_name
1336
                   }else{
1336
                   }else{

+ 1 - 1
src/xt_pages/user/lapsoSummary.vue View File

124
                       </el-radio-group>
124
                       </el-radio-group>
125
                     </el-form-item>
125
                     </el-form-item>
126
                 </el-col>
126
                 </el-col>
127
-                <el-col :span="24" v-if="lapseto == 2">
127
+                <el-col :span="24" v-if="lapseto == 2 || lapseto == 3 || lapseto == 4">
128
                     <el-form-item label="转归类型:"> 
128
                     <el-form-item label="转归类型:"> 
129
                         <el-radio-group style="padding: 10px;" v-model="lapse_type">
129
                         <el-radio-group style="padding: 10px;" v-model="lapse_type">
130
                             <el-radio  label="1">转入</el-radio>
130
                             <el-radio  label="1">转入</el-radio>