XMLWAN 4 年之前
父節點
當前提交
404fd820da

+ 34 - 17
src/xt_pages/device/airDisinfect.vue 查看文件

@@ -10,23 +10,24 @@
10 10
         </div>
11 11
         <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" >
12 12
             <el-table-column type="selection" width="55" align="center"></el-table-column>
13
-            <el-table-column label="时间" width="120">
13
+            <!-- <el-table-column label="时间" width="120">
14 14
                <template slot-scope="scope">
15 15
                    {{getTime(scope.row.start_time)}}
16 16
                </template>
17
-            </el-table-column>
18
-            <el-table-column label="班次" width="120">
17
+            </el-table-column> -->
18
+            <el-table-column label="创建日期" width="120">
19 19
                 <template slot-scope="scope">
20
-                   <span v-if="scope.row.class == 1">上午</span>
21
-                   <span v-if="scope.row.class == 2">中午</span>
22
-                   <span v-if="scope.row.class == 3">下午</span>
20
+                  {{getTime(scope.row.created_time)}}
23 21
                 </template>
24 22
             </el-table-column>
25
-            <el-table-column label="创建日期" width="120">
23
+            <el-table-column label="班次" width="120">
26 24
                 <template slot-scope="scope">
27
-                  {{getTime(scope.row.created_ime)}}
25
+                   <span v-if="scope.row.class == 1">上午</span>
26
+                   <span v-if="scope.row.class == 2">下午</span>
27
+                   <span v-if="scope.row.class == 3">晚上</span>
28 28
                 </template>
29 29
             </el-table-column>
30
+         
30 31
             <el-table-column label="消毒方式" width="120">
31 32
                 <template slot-scope="scope">
32 33
                   {{scope.row.disinfection_methods}}
@@ -99,13 +100,21 @@
99 100
         title="新增空气消毒表"
100 101
         :visible.sync="dialogFormVisible">
101 102
             <el-form :model="form" ref="form" class="airForm" :rules="airRules">
102
-                <el-form-item label="时间" label-width="110px" required prop="start_time">
103
+                <!-- <el-form-item label="时间" label-width="110px" required prop="start_time">
103 104
                     <el-date-picker
104 105
                      value-format="yyyy-MM-dd"
105 106
                     v-model="form.start_time"
106 107
                     type="date"
107 108
                     placeholder="选择日期时间">
108 109
                     </el-date-picker>
110
+                </el-form-item> -->
111
+                <el-form-item label="创建日期" label-width="110px" required prop="created_time">
112
+                  <el-date-picker
113
+                    value-format="yyyy-MM-dd"
114
+                    v-model="form.created_time"
115
+                    type="date"
116
+                    placeholder="选择日期时间">
117
+                    </el-date-picker>
109 118
                 </el-form-item>
110 119
                 <el-form-item label="班次" label-width="110px" required prop="class">
111 120
                     <el-select v-model="form.class" placeholder="请选择消毒班次">
@@ -114,14 +123,14 @@
114 123
                         <el-option label="晚上" value="3"></el-option>
115 124
                     </el-select>
116 125
                 </el-form-item>
117
-                <el-form-item label="创建日期" label-width="110px" required prop="created_time">
126
+                <!-- <el-form-item label="创建日期" label-width="110px" required prop="created_time">
118 127
                   <el-date-picker
119 128
                     value-format="yyyy-MM-dd"
120 129
                     v-model="form.created_time"
121 130
                     type="date"
122 131
                     placeholder="选择日期时间">
123 132
                     </el-date-picker>
124
-                </el-form-item>
133
+                </el-form-item> -->
125 134
                 <el-form-item label="消毒方式" label-width="110px">
126 135
                     <el-input v-model="form.disinfection_methods"></el-input>
127 136
                 </el-form-item>
@@ -190,13 +199,21 @@
190 199
         title="编辑空气消毒表"
191 200
         :visible.sync="editDialogFormVisible">
192 201
             <el-form :model="form" ref="form" class="airForm" :rules="airRules">
193
-                <el-form-item label="时间" label-width="110px" required prop="start_time">
202
+                <!-- <el-form-item label="时间" label-width="110px" required prop="start_time">
194 203
                     <el-date-picker
195 204
                      value-format="yyyy-MM-dd"
196 205
                     v-model="form.start_time"
197 206
                     type="date"
198 207
                     placeholder="选择日期时间">
199 208
                     </el-date-picker>
209
+                </el-form-item> -->
210
+                <el-form-item label="创建日期" label-width="110px" required prop="created_time">
211
+                  <el-date-picker
212
+                    value-format="yyyy-MM-dd"
213
+                    v-model="form.created_time"
214
+                    type="date"
215
+                    placeholder="选择日期时间">
216
+                    </el-date-picker>
200 217
                 </el-form-item>
201 218
                 <el-form-item label="班次" label-width="110px" required prop="class">
202 219
                     <el-select v-model="form.class" placeholder="请选择消毒班次">
@@ -205,14 +222,14 @@
205 222
                         <el-option label="晚上" value="3"></el-option>
206 223
                     </el-select>
207 224
                 </el-form-item>
208
-                <el-form-item label="创建日期" label-width="110px" required prop="created_time">
225
+                <!-- <el-form-item label="创建日期" label-width="110px" required prop="created_time">
209 226
                   <el-date-picker
210 227
                     value-format="yyyy-MM-dd"
211 228
                     v-model="form.created_time"
212 229
                     type="date"
213 230
                     placeholder="选择日期时间">
214 231
                     </el-date-picker>
215
-                </el-form-item>
232
+                </el-form-item> -->
216 233
                 <el-form-item label="消毒方式" label-width="110px">
217 234
                     <el-input v-model="form.disinfection_methods"></el-input>
218 235
                 </el-form-item>
@@ -437,11 +454,11 @@
437 454
         getAirDisinfectDetail(id).then(response=>{
438 455
             if(response.data.state ==1){
439 456
                var detail =  response.data.data.detail
440
-               console.log("detail",detail)
457
+               console.log("detail",detail.created_time)
441 458
                this.form.id = detail.id
442
-               this.form.start_time = this.getTime(detail.start_time)
459
+              //  this.form.start_time = this.getTime(detail.start_time)
443 460
                this.form.class = detail.class.toString()
444
-               this.form.created_ime = this.getTime(detail.created_time)
461
+               this.form.created_time = this.getTime(detail.created_time)
445 462
                this.form.disinfection_methods = detail.disinfection_methods
446 463
                this.form.disinfection_fluid = detail.disinfection_fluid
447 464
                this.form.sort = detail.sort

+ 34 - 29
src/xt_pages/device/objectTableDisinfect.vue 查看文件

@@ -10,23 +10,25 @@
10 10
         </div>
11 11
         <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" >
12 12
             <el-table-column type="selection" width="55" align="center"></el-table-column>
13
-            <el-table-column label="时间" width="120">
13
+            <!-- <el-table-column label="时间" width="120">
14 14
                <template slot-scope="scope">
15 15
                    {{getTime(scope.row.start_time)}}
16 16
                </template>
17
-            </el-table-column>
18
-            <el-table-column label="班次" width="120">
17
+            </el-table-column> -->
18
+            <el-table-column label="创建日期" width="120">
19 19
                 <template slot-scope="scope">
20
-                   <span v-if="scope.row.class == 1">上午</span>
21
-                   <span v-if="scope.row.class == 2">中午</span>
22
-                   <span v-if="scope.row.class == 3">下午</span>
20
+                  <!-- {{getTime(scope.row.created_ime)}} -->
21
+                 {{getTime(scope.row.created_time)}}
23 22
                 </template>
24 23
             </el-table-column>
25
-            <el-table-column label="创建日期" width="120">
24
+            <el-table-column label="班次" width="120">
26 25
                 <template slot-scope="scope">
27
-                  {{getTime(scope.row.created_ime)}}
26
+                   <span v-if="scope.row.class == 1">上午</span>
27
+                   <span v-if="scope.row.class == 2">下午</span>
28
+                   <span v-if="scope.row.class == 3">晚上</span>
28 29
                 </template>
29 30
             </el-table-column>
31
+         
30 32
             <el-table-column label="消毒方式" width="120">
31 33
                 <template slot-scope="scope">
32 34
                   {{scope.row.disinfection_methods}}
@@ -99,13 +101,21 @@
99 101
         title="新增物表消毒表"
100 102
         :visible.sync="dialogFormVisible">
101 103
             <el-form :model="form" ref="form" class="airForm" :rules="airRules">
102
-                <el-form-item label="时间" label-width="110px" required prop="start_time">
104
+                <!-- <el-form-item label="时间" label-width="110px" required prop="start_time">
103 105
                     <el-date-picker
104 106
                      value-format="yyyy-MM-dd"
105 107
                     v-model="form.start_time"
106 108
                     type="date"
107 109
                     placeholder="选择日期时间">
108 110
                     </el-date-picker>
111
+                </el-form-item> -->
112
+               <el-form-item label="创建日期" label-width="110px" required prop="created_time">
113
+                  <el-date-picker
114
+                    value-format="yyyy-MM-dd"
115
+                    v-model="form.created_time"
116
+                    type="date"
117
+                    placeholder="选择日期时间">
118
+                    </el-date-picker>
109 119
                 </el-form-item>
110 120
                 <el-form-item label="班次" label-width="110px" required prop="class">
111 121
                     <el-select v-model="form.class" placeholder="请选择消毒班次">
@@ -114,14 +124,7 @@
114 124
                         <el-option label="晚上" value="3"></el-option>
115 125
                     </el-select>
116 126
                 </el-form-item>
117
-                <el-form-item label="创建日期" label-width="110px" required prop="created_time">
118
-                  <el-date-picker
119
-                    value-format="yyyy-MM-dd"
120
-                    v-model="form.created_time"
121
-                    type="date"
122
-                    placeholder="选择日期时间">
123
-                    </el-date-picker>
124
-                </el-form-item>
127
+               
125 128
                 <el-form-item label="消毒方式" label-width="110px">
126 129
                     <el-input v-model="form.disinfection_methods"></el-input>
127 130
                 </el-form-item>
@@ -190,13 +193,21 @@
190 193
         title="编辑物表消毒表"
191 194
         :visible.sync="editDialogFormVisible">
192 195
             <el-form :model="form" ref="form" class="airForm" :rules="airRules">
193
-                <el-form-item label="时间" label-width="110px" required prop="start_time">
196
+                <!-- <el-form-item label="时间" label-width="110px" required prop="start_time">
194 197
                     <el-date-picker
195 198
                      value-format="yyyy-MM-dd"
196 199
                     v-model="form.start_time"
197 200
                     type="date"
198 201
                     placeholder="选择日期时间">
199 202
                     </el-date-picker>
203
+                </el-form-item> -->
204
+               <el-form-item label="创建日期" label-width="110px" required prop="created_time">
205
+                  <el-date-picker
206
+                    value-format="yyyy-MM-dd"
207
+                    v-model="form.created_time"
208
+                    type="date"
209
+                    placeholder="选择日期时间">
210
+                    </el-date-picker>
200 211
                 </el-form-item>
201 212
                 <el-form-item label="班次" label-width="110px" required prop="class">
202 213
                     <el-select v-model="form.class" placeholder="请选择消毒班次">
@@ -205,14 +216,7 @@
205 216
                         <el-option label="晚上" value="3"></el-option>
206 217
                     </el-select>
207 218
                 </el-form-item>
208
-                <el-form-item label="创建日期" label-width="110px" required prop="created_time">
209
-                  <el-date-picker
210
-                    value-format="yyyy-MM-dd"
211
-                    v-model="form.created_time"
212
-                    type="date"
213
-                    placeholder="选择日期时间">
214
-                    </el-date-picker>
215
-                </el-form-item>
219
+              
216 220
                 <el-form-item label="消毒方式" label-width="110px">
217 221
                     <el-input v-model="form.disinfection_methods"></el-input>
218 222
                 </el-form-item>
@@ -402,12 +406,13 @@
402 406
                var total = response.data.data.total
403 407
                this.tableData = list
404 408
                this.total = total
405
-               console.log("list222",list)
409
+               console.log("物表消毒",list)
406 410
                console.log("total",total)
407 411
              }
408 412
           })
409 413
         },
410 414
       getTime(val) {
415
+        console.log('val2222',val)
411 416
          if(val == ""){
412 417
           return ""
413 418
          }else {
@@ -437,11 +442,11 @@
437 442
         getBodyDisinfectDetail(id).then(response=>{
438 443
             if(response.data.state ==1){
439 444
                var detail =  response.data.data.detail
440
-               console.log("detail",detail)
445
+               console.log("detail2222",detail)
441 446
                this.form.id = detail.id
442 447
                this.form.start_time = this.getTime(detail.start_time)
443 448
                this.form.class = detail.class.toString()
444
-               this.form.created_ime = this.getTime(detail.created_time)
449
+               this.form.created_time = this.getTime(detail.created_time)
445 450
                this.form.disinfection_methods = detail.disinfection_methods
446 451
                this.form.disinfection_fluid = detail.disinfection_fluid
447 452
                this.form.sort = detail.sort

+ 2 - 5
src/xt_pages/management/components/QualityForm.vue 查看文件

@@ -3562,11 +3562,8 @@ export default {
3562 3562
       });
3563 3563
     },
3564 3564
     queryTable() {
3565
-      queryTable(
3566
-        this.forms.bed,
3567
-        this.forms.start_time,
3568
-        this.forms.end_time
3569
-      ).then(response => {
3565
+     
3566
+      queryTable(this.forms.bed,this.forms.start_time,this.forms.end_time).then(response => {
3570 3567
         if (response.data.state === 1) {
3571 3568
           var cultures = response.data.data.cultures;
3572 3569
           

+ 178 - 165
src/xt_pages/management/home.vue 查看文件

@@ -1363,6 +1363,7 @@
1363 1363
                       <div v-show="zhiShow">
1364 1364
                        <el-tabs type="border-card" v-model="activeNameSix" @tab-click="handleClick">
1365 1365
                          <el-tab-pane label="新增质量控制" name="first">
1366
+  
1366 1367
                            <span style="margin-bottom: 20px;display: block;">细菌培养</span>
1367 1368
                            <el-form :model="qualityForm" ref="qualityForm" :rules="qualitRules">
1368 1369
                              <el-row>
@@ -1471,9 +1472,9 @@
1471 1472
                                </el-col>
1472 1473
                              </el-row>
1473 1474
                              <el-row>
1474
-                               <el-col :span="24">
1475
+                               <!-- <el-col :span="24">
1475 1476
                                  <span style="color:#FF9900">注:细菌检测应每个月一次,要求细菌数<100cfu/ml</span>
1476
-                               </el-col>
1477
+                               </el-col> -->
1477 1478
                              </el-row>
1478 1479
                              <el-row>
1479 1480
                                 <div class="clearn">
@@ -1596,9 +1597,9 @@
1596 1597
                                 </el-col>
1597 1598
                               </el-row>
1598 1599
                               <el-row>
1599
-                                  <el-col :span="24">
1600
+                                  <!-- <el-col :span="24">
1600 1601
                                     <span style="color:#FF9900">注:内毒素检测应至少每3个月1次,要求内毒素<0.25EU/ml,每台透析机每年至少检测一次</span>
1601
-                                   </el-col>
1602
+                                   </el-col> -->
1602 1603
                               </el-row>
1603 1604
                               <el-row>
1604 1605
                                 <div class="clearn">
@@ -1614,6 +1615,161 @@
1614 1615
                             <el-divider></el-divider>
1615 1616
                            
1616 1617
 
1618
+                          
1619
+                          <div v-if="device_type == 1">
1620
+                           <span style="margin-bottom: 20px;display: block;">透析液离子浓度检测</span>
1621
+                            <el-form ref="qualityFormThree" :model="qualityFormThree" :rules="ruleThree">
1622
+                              <el-row>
1623
+                                <el-col :span="8">
1624
+                                    <el-form-item label="取样日期:">
1625
+                                        <el-date-picker
1626
+                                          v-model="qualityFormThree.dateb"
1627
+                                          prefix-icon="none"
1628
+                                          type="date"
1629
+                                          placeholder="请选择"
1630
+                                          format="yyyy-MM-dd"
1631
+                                          value-format="yyyy-MM-dd"
1632
+                                          style="width:150px">
1633
+                                        </el-date-picker>
1634
+                                    </el-form-item>
1635
+                                </el-col>
1636
+                                <el-col :span="8">
1637
+                                    <el-form-item label="取样者:" required prop="samplerc">
1638
+                                      <el-select style="width:150px"  v-model="qualityFormThree.samplerc">
1639
+                                        <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
1640
+                                      </el-select>
1641
+                                   </el-form-item>
1642
+                                </el-col>
1643
+                                  <el-col :span="8">
1644
+                                   <el-form-item label="检测单位:" required prop="detection_unit">
1645
+                                      <el-input style="width:150px" v-model ="qualityFormThree.detection_unit"></el-input>
1646
+                                   </el-form-item>
1647
+                                </el-col>
1648
+                              </el-row>
1649
+                              <el-row>
1650
+                                 <el-col :span="8">
1651
+                                     <el-form-item label="A浓缩液批号:">
1652
+                                       <el-input style="width:150px" v-model="qualityFormThree.concentrate_nof"></el-input>
1653
+                                     </el-form-item>
1654
+                                  </el-col>
1655
+                                   <el-col :span="8">
1656
+                                     <el-form-item label="B浓缩液批号:">
1657
+                                       <el-input style="width:150px" v-model="qualityFormThree.concentrate_nog"></el-input>
1658
+                                     </el-form-item>
1659
+                                  </el-col>
1660
+                                   <el-col :span="8">
1661
+                                    <el-form-item label="出报告日期:" required prop="date_reportc">
1662
+                                        <el-date-picker
1663
+                                          v-model="qualityFormThree.date_reportc"
1664
+                                          prefix-icon="none"
1665
+                                          type="date"
1666
+                                          placeholder="请选择"
1667
+                                          format="yyyy-MM-dd"
1668
+                                          value-format="yyyy-MM-dd"
1669
+                                          style="width:150px">
1670
+                                        </el-date-picker>
1671
+                                    </el-form-item>
1672
+                                </el-col>
1673
+                                
1674
+                              </el-row>
1675
+                            
1676
+                              <el-row>
1677
+                                <el-col :span="8">
1678
+                                  <!-- <span>Na<sup>+</sup></span> -->
1679
+                                   <el-form-item class="newItem" label="实际Na⁺(mmol/L):" label-width="100">
1680
+                                        <el-input style="width:123px" v-model="qualityFormThree.actual_na"></el-input>
1681
+                                    </el-form-item>
1682
+                                </el-col>
1683
+                                 <el-col :span="8">
1684
+                                    <el-form-item class="newItem" label="配方Na⁺(mmol/L):" label-width="100">
1685
+                                        <el-input style="width:123px" v-model="qualityFormThree.actual_pna"></el-input>
1686
+                                    </el-form-item>
1687
+                                </el-col>
1688
+                                 <el-col :span="8">
1689
+                                    <el-form-item label="K⁺(mmol/L):">
1690
+                                        <el-input style="width:150px" v-model="qualityFormThree.actual_k"></el-input>
1691
+                                    </el-form-item>
1692
+                                </el-col>
1693
+
1694
+                              </el-row>
1695
+                               <el-row>
1696
+                                <el-col :span="8">
1697
+                                    <el-form-item label="Ca2⁺(mmol/L):">
1698
+                                        <el-input style="width:150px" v-model="qualityFormThree.actual_ca"></el-input>
1699
+                                    </el-form-item>
1700
+                                </el-col>
1701
+                                 <el-col :span="8">
1702
+                                    <el-form-item label="CI¯(mmol/L):">
1703
+                                        <el-input style="width:150px" v-model="qualityFormThree.actual_ci"></el-input>
1704
+                                    </el-form-item>
1705
+                                </el-col>
1706
+                                 <el-col :span="8">
1707
+                                    <el-form-item label="HCO3¯(mmol/L):">
1708
+                                        <el-input style="width:150px" v-model="qualityFormThree.actual_hco"></el-input>
1709
+                                    </el-form-item>
1710
+                                </el-col>
1711
+                              </el-row>
1712
+                              <el-row>
1713
+                                 <el-col :span="8">
1714
+                                    <el-form-item label="Mg2⁺(mmol/L):">
1715
+                                        <el-input style="width:150px" v-model="qualityFormThree.actual_mg"></el-input>
1716
+                                    </el-form-item>
1717
+                                </el-col>
1718
+                                <el-col :span="8">
1719
+                                  <el-form-item label="PH:">
1720
+                                     <el-input style="width:150px" v-model="qualityFormThree.actual_ph"></el-input>
1721
+                                  </el-form-item>
1722
+                                </el-col>
1723
+                                <el-col :span="8">
1724
+                                  <el-form-item label="顺序号:" required prop="sort">
1725
+                                    <el-input v-model="qualityFormThree.sort" style="width:150px"></el-input>
1726
+                                  </el-form-item>
1727
+                                </el-col>
1728
+                              </el-row>
1729
+                              <el-row>
1730
+                                <div></div>
1731
+                              </el-row>
1732
+                               <el-row>
1733
+                                  <el-col :span="8">
1734
+                                      <el-form-item label="检测合格:" required prop="pass_examination">
1735
+                                        <el-radio v-model="qualityFormThree.pass_examination" label="1">是</el-radio>
1736
+                                        <el-radio v-model="qualityFormThree.pass_examination" label="2">否</el-radio>
1737
+                                      </el-form-item>
1738
+                                  </el-col>
1739
+                                  <el-col :span="8">
1740
+                                      <el-form-item label="修改标志:" required prop="modifications">
1741
+                                        <el-select style="width:150px"  v-model="qualityFormThree.modifications">
1742
+                                          <el-option v-for="item in modifications" :key="item.id" :label="item.name" :value="item.id"></el-option>
1743
+                                        </el-select>
1744
+                                      </el-form-item>
1745
+                                  </el-col>
1746
+                             </el-row>
1747
+                              <el-row>
1748
+                                <el-col :span="24">
1749
+                                  <el-form-item label="备注:">
1750
+                                     <el-input
1751
+                                        type="textarea"
1752
+                                        :rows="2"
1753
+                                         placeholder="请输入内容"
1754
+                                         style="width:500px"
1755
+                                         v-model="qualityFormThree.remakes"
1756
+                                         >
1757
+                                      </el-input>
1758
+                                  </el-form-item>
1759
+                                </el-col>
1760
+                              </el-row>
1761
+                              <el-row>
1762
+                                <div class="clearn">
1763
+                                  <el-col :span="4">
1764
+                                    <el-button @click="cleanQuality">取消</el-button>
1765
+                                  </el-col>
1766
+                                   <el-col :span="4">
1767
+                                    <el-button type="primary" @click="SaveQualityControl('qualityFormThree')">保存</el-button>
1768
+                                  </el-col>
1769
+                                </div>
1770
+                              </el-row>
1771
+                            </el-form>
1772
+
1617 1773
 
1618 1774
 
1619 1775
                             <span style="margin-bottom: 20px;display: block;">有毒化合物检测</span>
@@ -1723,9 +1879,9 @@
1723 1879
                                 </el-col>
1724 1880
                               </el-row>
1725 1881
                               <el-row>
1726
-                                  <el-col :span="24">
1882
+                                  <!-- <el-col :span="24">
1727 1883
                                     <span style="color:#FF9900">注:有毒化合物检测应至少每3个月1次,每台透析机每年至少检测一次</span>
1728
-                                   </el-col>
1884
+                                   </el-col> -->
1729 1885
                               </el-row>
1730 1886
                               <el-row>
1731 1887
                                 <div class="clearn">
@@ -1739,9 +1895,14 @@
1739 1895
                               </el-row>
1740 1896
                             </el-form>
1741 1897
                             <el-divider></el-divider>
1898
+                         </div>     
1899
+                             
1900
+
1742 1901
                              
1743 1902
 
1744 1903
 
1904
+
1905
+
1745 1906
                             <span style="margin-bottom: 20px;display: block;">水硬度检测</span>
1746 1907
                             <el-form ref="qualityFormFive" :model="qualityFormFive" :rules="diaRules">
1747 1908
                               <el-row>
@@ -1848,11 +2009,11 @@
1848 2009
                                   </el-form-item>
1849 2010
                                 </el-col>
1850 2011
                               </el-row>
1851
-                              <el-row>
2012
+                              <!-- <el-row>
1852 2013
                                   <el-col :span="24">
1853 2014
                                     <span style="color:#FF9900">注:水硬度检测应至少每3个月1次,每台透析机每年至少检测一次</span>
1854 2015
                                    </el-col>
1855
-                              </el-row>
2016
+                              </el-row> -->
1856 2017
                               <el-row>
1857 2018
                                 <div class="clearn">
1858 2019
                                   <el-col :span="4">
@@ -1975,11 +2136,11 @@
1975 2136
                                   </el-form-item>
1976 2137
                                 </el-col>
1977 2138
                               </el-row>
1978
-                              <el-row>
2139
+                              <!-- <el-row>
1979 2140
                                   <el-col :span="24">
1980 2141
                                     <span style="color:#FF9900">注:水游离氯检测应至少每3个月1次,每台透析机每年至少检测一次</span>
1981 2142
                                    </el-col>
1982
-                              </el-row>
2143
+                              </el-row> -->
1983 2144
                               <el-row>
1984 2145
                                 <div class="clearn">
1985 2146
                                   <el-col :span="4">
@@ -2101,11 +2262,11 @@
2101 2262
                                   </el-form-item>
2102 2263
                                 </el-col>
2103 2264
                               </el-row>
2104
-                              <el-row>
2265
+                              <!-- <el-row>
2105 2266
                                   <el-col :span="24">
2106 2267
                                     <span style="color:#FF9900">注:PH值检测检测应至少每3个月1次,每台透析机每年至少检测一次</span>
2107 2268
                                    </el-col>
2108
-                              </el-row>
2269
+                              </el-row> -->
2109 2270
                               <el-row>
2110 2271
                                 <div class="clearn">
2111 2272
                                   <el-col :span="4">
@@ -2121,158 +2282,7 @@
2121 2282
 
2122 2283
 
2123 2284
 
2124
-                            <span style="margin-bottom: 20px;display: block;">透析液离子浓度检测</span>
2125
-                            <el-form ref="qualityFormThree" :model="qualityFormThree" :rules="ruleThree">
2126
-                              <el-row>
2127
-                                <el-col :span="8">
2128
-                                    <el-form-item label="取样日期:">
2129
-                                        <el-date-picker
2130
-                                          v-model="qualityFormThree.dateb"
2131
-                                          prefix-icon="none"
2132
-                                          type="date"
2133
-                                          placeholder="请选择"
2134
-                                          format="yyyy-MM-dd"
2135
-                                          value-format="yyyy-MM-dd"
2136
-                                          style="width:150px">
2137
-                                        </el-date-picker>
2138
-                                    </el-form-item>
2139
-                                </el-col>
2140
-                                <el-col :span="8">
2141
-                                    <el-form-item label="取样者:" required prop="samplerc">
2142
-                                      <el-select style="width:150px"  v-model="qualityFormThree.samplerc">
2143
-                                        <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
2144
-                                      </el-select>
2145
-                                   </el-form-item>
2146
-                                </el-col>
2147
-                                  <el-col :span="8">
2148
-                                   <el-form-item label="检测单位:" required prop="detection_unit">
2149
-                                      <el-input style="width:150px" v-model ="qualityFormThree.detection_unit"></el-input>
2150
-                                   </el-form-item>
2151
-                                </el-col>
2152
-                              </el-row>
2153
-                              <el-row>
2154
-                                 <el-col :span="8">
2155
-                                     <el-form-item label="A浓缩液批号:">
2156
-                                       <el-input style="width:150px" v-model="qualityFormThree.concentrate_nof"></el-input>
2157
-                                     </el-form-item>
2158
-                                  </el-col>
2159
-                                   <el-col :span="8">
2160
-                                     <el-form-item label="B浓缩液批号:">
2161
-                                       <el-input style="width:150px" v-model="qualityFormThree.concentrate_nog"></el-input>
2162
-                                     </el-form-item>
2163
-                                  </el-col>
2164
-                                   <el-col :span="8">
2165
-                                    <el-form-item label="出报告日期:" required prop="date_reportc">
2166
-                                        <el-date-picker
2167
-                                          v-model="qualityFormThree.date_reportc"
2168
-                                          prefix-icon="none"
2169
-                                          type="date"
2170
-                                          placeholder="请选择"
2171
-                                          format="yyyy-MM-dd"
2172
-                                          value-format="yyyy-MM-dd"
2173
-                                          style="width:150px">
2174
-                                        </el-date-picker>
2175
-                                    </el-form-item>
2176
-                                </el-col>
2177
-                                
2178
-                              </el-row>
2179
-                            
2180
-                              <el-row>
2181
-                                <el-col :span="8">
2182
-                                  <!-- <span>Na<sup>+</sup></span> -->
2183
-                                   <el-form-item class="newItem" label="实际Na⁺(mmol/L):" label-width="100">
2184
-                                        <el-input style="width:123px" v-model="qualityFormThree.actual_na"></el-input>
2185
-                                    </el-form-item>
2186
-                                </el-col>
2187
-                                 <el-col :span="8">
2188
-                                    <el-form-item class="newItem" label="配方Na⁺(mmol/L):" label-width="100">
2189
-                                        <el-input style="width:123px" v-model="qualityFormThree.actual_pna"></el-input>
2190
-                                    </el-form-item>
2191
-                                </el-col>
2192
-                                 <el-col :span="8">
2193
-                                    <el-form-item label="K⁺(mmol/L):">
2194
-                                        <el-input style="width:150px" v-model="qualityFormThree.actual_k"></el-input>
2195
-                                    </el-form-item>
2196
-                                </el-col>
2197
-
2198
-                              </el-row>
2199
-                               <el-row>
2200
-                                <el-col :span="8">
2201
-                                    <el-form-item label="Ca2⁺(mmol/L):">
2202
-                                        <el-input style="width:150px" v-model="qualityFormThree.actual_ca"></el-input>
2203
-                                    </el-form-item>
2204
-                                </el-col>
2205
-                                 <el-col :span="8">
2206
-                                    <el-form-item label="CI¯(mmol/L):">
2207
-                                        <el-input style="width:150px" v-model="qualityFormThree.actual_ci"></el-input>
2208
-                                    </el-form-item>
2209
-                                </el-col>
2210
-                                 <el-col :span="8">
2211
-                                    <el-form-item label="HCO3¯(mmol/L):">
2212
-                                        <el-input style="width:150px" v-model="qualityFormThree.actual_hco"></el-input>
2213
-                                    </el-form-item>
2214
-                                </el-col>
2215
-                              </el-row>
2216
-                              <el-row>
2217
-                                 <el-col :span="8">
2218
-                                    <el-form-item label="Mg2⁺(mmol/L):">
2219
-                                        <el-input style="width:150px" v-model="qualityFormThree.actual_mg"></el-input>
2220
-                                    </el-form-item>
2221
-                                </el-col>
2222
-                                <el-col :span="8">
2223
-                                  <el-form-item label="PH:">
2224
-                                     <el-input style="width:150px" v-model="qualityFormThree.actual_ph"></el-input>
2225
-                                  </el-form-item>
2226
-                                </el-col>
2227
-                                <el-col :span="8">
2228
-                                  <el-form-item label="顺序号:" required prop="sort">
2229
-                                    <el-input v-model="qualityFormThree.sort" style="width:150px"></el-input>
2230
-                                  </el-form-item>
2231
-                                </el-col>
2232
-                              </el-row>
2233
-                              <el-row>
2234
-                                <div></div>
2235
-                              </el-row>
2236
-                               <el-row>
2237
-                                  <el-col :span="8">
2238
-                                      <el-form-item label="检测合格:" required prop="pass_examination">
2239
-                                        <el-radio v-model="qualityFormThree.pass_examination" label="1">是</el-radio>
2240
-                                        <el-radio v-model="qualityFormThree.pass_examination" label="2">否</el-radio>
2241
-                                      </el-form-item>
2242
-                                  </el-col>
2243
-                                  <el-col :span="8">
2244
-                                      <el-form-item label="修改标志:" required prop="modifications">
2245
-                                        <el-select style="width:150px"  v-model="qualityFormThree.modifications">
2246
-                                          <el-option v-for="item in modifications" :key="item.id" :label="item.name" :value="item.id"></el-option>
2247
-                                        </el-select>
2248
-                                      </el-form-item>
2249
-                                  </el-col>
2250
-                             </el-row>
2251
-                              <el-row>
2252
-                                <el-col :span="24">
2253
-                                  <el-form-item label="备注:">
2254
-                                     <el-input
2255
-                                        type="textarea"
2256
-                                        :rows="2"
2257
-                                         placeholder="请输入内容"
2258
-                                         style="width:500px"
2259
-                                         v-model="qualityFormThree.remakes"
2260
-                                         >
2261
-                                      </el-input>
2262
-                                  </el-form-item>
2263
-                                </el-col>
2264
-                              </el-row>
2265
-                              <el-row>
2266
-                                <div class="clearn">
2267
-                                  <el-col :span="4">
2268
-                                    <el-button @click="cleanQuality">取消</el-button>
2269
-                                  </el-col>
2270
-                                   <el-col :span="4">
2271
-                                    <el-button type="primary" @click="SaveQualityControl('qualityFormThree')">保存</el-button>
2272
-                                  </el-col>
2273
-                                </div>
2274
-                              </el-row>
2275
-                               </el-form>
2285
+                          
2276 2286
 
2277 2287
                          </el-tab-pane>
2278 2288
 
@@ -3204,7 +3214,8 @@ export default {
3204 3214
         modifications:[
3205 3215
           {id:1,name:"正常"},
3206 3216
           {id:2,name:"撤销"}
3207
-        ]
3217
+        ],
3218
+        device_type:""
3208 3219
       }
3209 3220
     },
3210 3221
     methods: {
@@ -3332,6 +3343,8 @@ export default {
3332 3343
         this.tabIndex = index
3333 3344
       },
3334 3345
       handleCurrentChange(val) {
3346
+        console.log("Val222222222",val)
3347
+        this.device_type = val.device_type
3335 3348
         this.unitType = val.unit_type
3336 3349
         this.currentRow = val
3337 3350
         this.$forceUpdate()

+ 2 - 1
src/xt_pages/user/patients.vue 查看文件

@@ -1470,7 +1470,8 @@
1470 1470
       },
1471 1471
 
1472 1472
       jump(id) {
1473
-        this.$router.replace({ path: "/patients/inspection?id=" + id });
1473
+          // this.$router.replace({ path: "/patients/inspection?id=" + id });
1474
+          this.$router.replace({path:"/patients/patients/"+id +"/inspectionInfectious"})
1474 1475
       },
1475 1476
       dateCompare(date) {
1476 1477
         var date1 = Date.parse(new Date()) / 1000;