Browse Source

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

csx 4 years ago
parent
commit
f7e28c2b9b

+ 44 - 20
src/xt_pages/device/airDisinfect.vue View File

10
         </div>
10
         </div>
11
         <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" >
11
         <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" >
12
             <el-table-column type="selection" width="55" align="center"></el-table-column>
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
                <template slot-scope="scope">
14
                <template slot-scope="scope">
15
                    {{getTime(scope.row.start_time)}}
15
                    {{getTime(scope.row.start_time)}}
16
                </template>
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
                 <template slot-scope="scope">
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
                 </template>
21
                 </template>
24
             </el-table-column>
22
             </el-table-column>
25
-            <el-table-column label="创建日期" width="120">
23
+            <el-table-column label="班次" width="120">
26
                 <template slot-scope="scope">
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
                 </template>
28
                 </template>
29
             </el-table-column>
29
             </el-table-column>
30
+         
30
             <el-table-column label="消毒方式" width="120">
31
             <el-table-column label="消毒方式" width="120">
31
                 <template slot-scope="scope">
32
                 <template slot-scope="scope">
32
                   {{scope.row.disinfection_methods}}
33
                   {{scope.row.disinfection_methods}}
68
                    <span v-if="scope.row.modifications == 2">撤消</span>
69
                    <span v-if="scope.row.modifications == 2">撤消</span>
69
                 </template>
70
                 </template>
70
             </el-table-column>
71
             </el-table-column>
71
-            <el-table-column label="操作" align="center" width="180">
72
+            <el-table-column label="操作" align="center" width="180" fixed="right">
72
                 <template slot-scope="scope">
73
                 <template slot-scope="scope">
73
                     <el-button
74
                     <el-button
74
                     size="mini"
75
                     size="mini"
99
         title="新增空气消毒表"
100
         title="新增空气消毒表"
100
         :visible.sync="dialogFormVisible">
101
         :visible.sync="dialogFormVisible">
101
             <el-form :model="form" ref="form" class="airForm" :rules="airRules">
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
                     <el-date-picker
104
                     <el-date-picker
104
                      value-format="yyyy-MM-dd"
105
                      value-format="yyyy-MM-dd"
105
                     v-model="form.start_time"
106
                     v-model="form.start_time"
106
                     type="date"
107
                     type="date"
107
                     placeholder="选择日期时间">
108
                     placeholder="选择日期时间">
108
                     </el-date-picker>
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
                 </el-form-item>
118
                 </el-form-item>
110
                 <el-form-item label="班次" label-width="110px" required prop="class">
119
                 <el-form-item label="班次" label-width="110px" required prop="class">
111
                     <el-select v-model="form.class" placeholder="请选择消毒班次">
120
                     <el-select v-model="form.class" placeholder="请选择消毒班次">
114
                         <el-option label="晚上" value="3"></el-option>
123
                         <el-option label="晚上" value="3"></el-option>
115
                     </el-select>
124
                     </el-select>
116
                 </el-form-item>
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
                   <el-date-picker
127
                   <el-date-picker
119
                     value-format="yyyy-MM-dd"
128
                     value-format="yyyy-MM-dd"
120
                     v-model="form.created_time"
129
                     v-model="form.created_time"
121
                     type="date"
130
                     type="date"
122
                     placeholder="选择日期时间">
131
                     placeholder="选择日期时间">
123
                     </el-date-picker>
132
                     </el-date-picker>
124
-                </el-form-item>
133
+                </el-form-item> -->
125
                 <el-form-item label="消毒方式" label-width="110px">
134
                 <el-form-item label="消毒方式" label-width="110px">
126
                     <el-input v-model="form.disinfection_methods"></el-input>
135
                     <el-input v-model="form.disinfection_methods"></el-input>
127
                 </el-form-item>
136
                 </el-form-item>
190
         title="编辑空气消毒表"
199
         title="编辑空气消毒表"
191
         :visible.sync="editDialogFormVisible">
200
         :visible.sync="editDialogFormVisible">
192
             <el-form :model="form" ref="form" class="airForm" :rules="airRules">
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
                     <el-date-picker
203
                     <el-date-picker
195
                      value-format="yyyy-MM-dd"
204
                      value-format="yyyy-MM-dd"
196
                     v-model="form.start_time"
205
                     v-model="form.start_time"
197
                     type="date"
206
                     type="date"
198
                     placeholder="选择日期时间">
207
                     placeholder="选择日期时间">
199
                     </el-date-picker>
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
                 </el-form-item>
217
                 </el-form-item>
201
                 <el-form-item label="班次" label-width="110px" required prop="class">
218
                 <el-form-item label="班次" label-width="110px" required prop="class">
202
                     <el-select v-model="form.class" placeholder="请选择消毒班次">
219
                     <el-select v-model="form.class" placeholder="请选择消毒班次">
205
                         <el-option label="晚上" value="3"></el-option>
222
                         <el-option label="晚上" value="3"></el-option>
206
                     </el-select>
223
                     </el-select>
207
                 </el-form-item>
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
                   <el-date-picker
226
                   <el-date-picker
210
                     value-format="yyyy-MM-dd"
227
                     value-format="yyyy-MM-dd"
211
                     v-model="form.created_time"
228
                     v-model="form.created_time"
212
                     type="date"
229
                     type="date"
213
                     placeholder="选择日期时间">
230
                     placeholder="选择日期时间">
214
                     </el-date-picker>
231
                     </el-date-picker>
215
-                </el-form-item>
232
+                </el-form-item> -->
216
                 <el-form-item label="消毒方式" label-width="110px">
233
                 <el-form-item label="消毒方式" label-width="110px">
217
                     <el-input v-model="form.disinfection_methods"></el-input>
234
                     <el-input v-model="form.disinfection_methods"></el-input>
218
                 </el-form-item>
235
                 </el-form-item>
283
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
300
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
284
   import { getAllDoctorList,saveAirDisinfect,getAirList,getAirDisinfectDetail,updateAirDisinfect,deleteAirDisinfect } from "@/api/device"
301
   import { getAllDoctorList,saveAirDisinfect,getAirList,getAirDisinfectDetail,updateAirDisinfect,deleteAirDisinfect } from "@/api/device"
285
   import { uParseTime } from '@/utils/tools'
302
   import { uParseTime } from '@/utils/tools'
303
+  const moment = require('moment')
286
   export default {
304
   export default {
287
     name: 'airDisinfect',
305
     name: 'airDisinfect',
288
     components: {
306
     components: {
300
         form: {
318
         form: {
301
           id:0,
319
           id:0,
302
           start_time:"", 
320
           start_time:"", 
303
-          created_time:"",
321
+          created_time:moment(new Date()).add('year',0).format("YYYY-MM-DD"),
304
           class:"",
322
           class:"",
305
           disinfection_methods:"",
323
           disinfection_methods:"",
306
           disinfection_fluid:"",
324
           disinfection_fluid:"",
367
                    check_out:parseInt(this.form.check_out),
385
                    check_out:parseInt(this.form.check_out),
368
                    modifications:parseInt(this.form.modifications),
386
                    modifications:parseInt(this.form.modifications),
369
                  }
387
                  }
370
-                 console.log("params",params)
388
+                //  console.log("params",params)
389
+                
371
                saveAirDisinfect(params).then(response=>{
390
                saveAirDisinfect(params).then(response=>{
372
                   if(response.data.state == 1){
391
                   if(response.data.state == 1){
373
                      var list = response.data.data.list
392
                      var list = response.data.data.list
437
         getAirDisinfectDetail(id).then(response=>{
456
         getAirDisinfectDetail(id).then(response=>{
438
             if(response.data.state ==1){
457
             if(response.data.state ==1){
439
                var detail =  response.data.data.detail
458
                var detail =  response.data.data.detail
440
-               console.log("detail",detail)
459
+               console.log("detail",detail.created_time)
441
                this.form.id = detail.id
460
                this.form.id = detail.id
442
-               this.form.start_time = this.getTime(detail.start_time)
461
+              //  this.form.start_time = this.getTime(detail.start_time)
443
                this.form.class = detail.class.toString()
462
                this.form.class = detail.class.toString()
444
-               this.form.created_ime = this.getTime(detail.created_time)
463
+               this.form.created_time = this.getTime(detail.created_time)
445
                this.form.disinfection_methods = detail.disinfection_methods
464
                this.form.disinfection_methods = detail.disinfection_methods
446
                this.form.disinfection_fluid = detail.disinfection_fluid
465
                this.form.disinfection_fluid = detail.disinfection_fluid
447
                this.form.sort = detail.sort
466
                this.form.sort = detail.sort
532
     }
551
     }
533
 }
552
 }
534
 </style>
553
 </style>
554
+<style lang="scss">
555
+::-webkit-scrollbar{
556
+  height: 15px;
557
+}
558
+</style>

+ 43 - 31
src/xt_pages/device/objectTableDisinfect.vue View File

10
         </div>
10
         </div>
11
         <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" >
11
         <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" >
12
             <el-table-column type="selection" width="55" align="center"></el-table-column>
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
                <template slot-scope="scope">
14
                <template slot-scope="scope">
15
                    {{getTime(scope.row.start_time)}}
15
                    {{getTime(scope.row.start_time)}}
16
                </template>
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
                 <template slot-scope="scope">
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
                 </template>
22
                 </template>
24
             </el-table-column>
23
             </el-table-column>
25
-            <el-table-column label="创建日期" width="120">
24
+            <el-table-column label="班次" width="120">
26
                 <template slot-scope="scope">
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
                 </template>
29
                 </template>
29
             </el-table-column>
30
             </el-table-column>
31
+         
30
             <el-table-column label="消毒方式" width="120">
32
             <el-table-column label="消毒方式" width="120">
31
                 <template slot-scope="scope">
33
                 <template slot-scope="scope">
32
                   {{scope.row.disinfection_methods}}
34
                   {{scope.row.disinfection_methods}}
68
                    <span v-if="scope.row.modifications == 2">撤消</span>
70
                    <span v-if="scope.row.modifications == 2">撤消</span>
69
                 </template>
71
                 </template>
70
             </el-table-column>
72
             </el-table-column>
71
-            <el-table-column label="操作" align="center" width="180">
73
+            <el-table-column label="操作" align="center" width="180" fixed="right">
72
                 <template slot-scope="scope">
74
                 <template slot-scope="scope">
73
                     <el-button
75
                     <el-button
74
                     size="mini"
76
                     size="mini"
99
         title="新增物表消毒表"
101
         title="新增物表消毒表"
100
         :visible.sync="dialogFormVisible">
102
         :visible.sync="dialogFormVisible">
101
             <el-form :model="form" ref="form" class="airForm" :rules="airRules">
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
                     <el-date-picker
105
                     <el-date-picker
104
                      value-format="yyyy-MM-dd"
106
                      value-format="yyyy-MM-dd"
105
                     v-model="form.start_time"
107
                     v-model="form.start_time"
106
                     type="date"
108
                     type="date"
107
                     placeholder="选择日期时间">
109
                     placeholder="选择日期时间">
108
                     </el-date-picker>
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
                 </el-form-item>
119
                 </el-form-item>
110
                 <el-form-item label="班次" label-width="110px" required prop="class">
120
                 <el-form-item label="班次" label-width="110px" required prop="class">
111
                     <el-select v-model="form.class" placeholder="请选择消毒班次">
121
                     <el-select v-model="form.class" placeholder="请选择消毒班次">
114
                         <el-option label="晚上" value="3"></el-option>
124
                         <el-option label="晚上" value="3"></el-option>
115
                     </el-select>
125
                     </el-select>
116
                 </el-form-item>
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
                 <el-form-item label="消毒方式" label-width="110px">
128
                 <el-form-item label="消毒方式" label-width="110px">
126
                     <el-input v-model="form.disinfection_methods"></el-input>
129
                     <el-input v-model="form.disinfection_methods"></el-input>
127
                 </el-form-item>
130
                 </el-form-item>
190
         title="编辑物表消毒表"
193
         title="编辑物表消毒表"
191
         :visible.sync="editDialogFormVisible">
194
         :visible.sync="editDialogFormVisible">
192
             <el-form :model="form" ref="form" class="airForm" :rules="airRules">
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
                     <el-date-picker
197
                     <el-date-picker
195
                      value-format="yyyy-MM-dd"
198
                      value-format="yyyy-MM-dd"
196
                     v-model="form.start_time"
199
                     v-model="form.start_time"
197
                     type="date"
200
                     type="date"
198
                     placeholder="选择日期时间">
201
                     placeholder="选择日期时间">
199
                     </el-date-picker>
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
                 </el-form-item>
211
                 </el-form-item>
201
                 <el-form-item label="班次" label-width="110px" required prop="class">
212
                 <el-form-item label="班次" label-width="110px" required prop="class">
202
                     <el-select v-model="form.class" placeholder="请选择消毒班次">
213
                     <el-select v-model="form.class" placeholder="请选择消毒班次">
205
                         <el-option label="晚上" value="3"></el-option>
216
                         <el-option label="晚上" value="3"></el-option>
206
                     </el-select>
217
                     </el-select>
207
                 </el-form-item>
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
                 <el-form-item label="消毒方式" label-width="110px">
220
                 <el-form-item label="消毒方式" label-width="110px">
217
                     <el-input v-model="form.disinfection_methods"></el-input>
221
                     <el-input v-model="form.disinfection_methods"></el-input>
218
                 </el-form-item>
222
                 </el-form-item>
283
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
287
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
284
   import { getAllDoctorList,saveBodyDisinfect,getBodyList,getBodyDisinfectDetail,updateBodyDisinfect,deleteBodyDisinfect } from "@/api/device"
288
   import { getAllDoctorList,saveBodyDisinfect,getBodyList,getBodyDisinfectDetail,updateBodyDisinfect,deleteBodyDisinfect } from "@/api/device"
285
   import { uParseTime } from '@/utils/tools'
289
   import { uParseTime } from '@/utils/tools'
290
+  const moment = require('moment')
286
   export default {
291
   export default {
287
     name: 'airDisinfect',
292
     name: 'airDisinfect',
288
     components: {
293
     components: {
300
         form: {
305
         form: {
301
           id:0,
306
           id:0,
302
           start_time:"", 
307
           start_time:"", 
303
-          created_time:"",
308
+          created_time:moment(new Date()).add('year',0).format("YYYY-MM-DD"),
304
           class:"",
309
           class:"",
305
           disinfection_methods:"",
310
           disinfection_methods:"",
306
           disinfection_fluid:"",
311
           disinfection_fluid:"",
402
                var total = response.data.data.total
407
                var total = response.data.data.total
403
                this.tableData = list
408
                this.tableData = list
404
                this.total = total
409
                this.total = total
405
-               console.log("list222",list)
410
+               console.log("物表消毒",list)
406
                console.log("total",total)
411
                console.log("total",total)
407
              }
412
              }
408
           })
413
           })
409
         },
414
         },
410
       getTime(val) {
415
       getTime(val) {
416
+        console.log('val2222',val)
411
          if(val == ""){
417
          if(val == ""){
412
           return ""
418
           return ""
413
          }else {
419
          }else {
437
         getBodyDisinfectDetail(id).then(response=>{
443
         getBodyDisinfectDetail(id).then(response=>{
438
             if(response.data.state ==1){
444
             if(response.data.state ==1){
439
                var detail =  response.data.data.detail
445
                var detail =  response.data.data.detail
440
-               console.log("detail",detail)
446
+               console.log("detail2222",detail)
441
                this.form.id = detail.id
447
                this.form.id = detail.id
442
                this.form.start_time = this.getTime(detail.start_time)
448
                this.form.start_time = this.getTime(detail.start_time)
443
                this.form.class = detail.class.toString()
449
                this.form.class = detail.class.toString()
444
-               this.form.created_ime = this.getTime(detail.created_time)
450
+               this.form.created_time = this.getTime(detail.created_time)
445
                this.form.disinfection_methods = detail.disinfection_methods
451
                this.form.disinfection_methods = detail.disinfection_methods
446
                this.form.disinfection_fluid = detail.disinfection_fluid
452
                this.form.disinfection_fluid = detail.disinfection_fluid
447
                this.form.sort = detail.sort
453
                this.form.sort = detail.sort
532
     }
538
     }
533
 }
539
 }
534
 </style>
540
 </style>
541
+
542
+<style lang="scss">
543
+::-webkit-scrollbar{
544
+  height: 15px;
545
+}
546
+</style>

+ 3 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_thirteen.vue View File

212
                     (<label-box :isChecked="isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '内瘘-左')" showValue="左"></label-box>
212
                     (<label-box :isChecked="isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '内瘘-左')" showValue="左"></label-box>
213
                         <label-box :isChecked="isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '内瘘-右')" showValue="右"></label-box>)
213
                         <label-box :isChecked="isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '内瘘-右')" showValue="右"></label-box>)
214
                     &nbsp;
214
                     &nbsp;
215
-                    <label-box :isChecked="isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '中心静脉置管-左') || isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '中心静脉置管-右')" showValue="中心静脉置管"></label-box>
216
-                    (<label-box :isChecked="isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '中心静脉置管-左')" showValue="左"></label-box>
217
-                        <label-box :isChecked="isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '中心静脉置管-右')" showValue="右"></label-box>)部位
215
+                    <label-box :isChecked="isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '中心静脉置管-左') || isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '中心静脉置管-右') || isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '临时中心静脉管-左') || isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '临时中心静脉管-右')" showValue="中心静脉置管"></label-box>
216
+                    (<label-box :isChecked="isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '中心静脉置管-左') || isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '临时中心静脉管-左')" showValue="左"></label-box>
217
+                        <label-box :isChecked="isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '中心静脉置管-右') || isBbloodAccessParOperaCheck(record.assessment_before_dislysis, '临时中心静脉管-右')" showValue="右"></label-box>)部位
218
                     &nbsp;
218
                     &nbsp;
219
                     <!-- <label-box :isChecked="record.assessment_before_dislysis.blood_access_part_id ? (record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','颈内')) : false" showValue="颈内"></label-box>
219
                     <!-- <label-box :isChecked="record.assessment_before_dislysis.blood_access_part_id ? (record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','颈内')) : false" showValue="颈内"></label-box>
220
                     &nbsp;
220
                     &nbsp;

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue View File

139
           (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-左') > -1 ? true : false" showValue="左"></label-box>
139
           (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-左') > -1 ? true : false" showValue="左"></label-box>
140
               <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-右') > -1 ? true : false" showValue="右"></label-box>)
140
               <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-右') > -1 ? true : false" showValue="右"></label-box>)
141
           &nbsp;
141
           &nbsp;
142
-          <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右') > -1 ? true : false" showValue="中心静脉置管"></label-box>
143
-          (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左') > -1 ? true : false" showValue="左"></label-box>
144
-              <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右') > -1 ? true : false" showValue="右"></label-box>)部位
142
+          <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('临时中心静脉管-左') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('临时中心静脉管-右') > -1 ? true : false" showValue="中心静脉置管"></label-box>
143
+          (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('临时中心静脉管-左') > -1 ? true : false" showValue="左"></label-box>
144
+              <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('临时中心静脉管-右') > -1 ? true : false" showValue="右"></label-box>)部位
145
           &nbsp;
145
           &nbsp;
146
           <!-- <label-box :isChecked="predialysis.blood_access_part_id > 0 ? (getPartName(predialysis.blood_access_part_id).indexOf('颈内') > -1 ? true : false) : false" showValue="颈内"></label-box>
146
           <!-- <label-box :isChecked="predialysis.blood_access_part_id > 0 ? (getPartName(predialysis.blood_access_part_id).indexOf('颈内') > -1 ? true : false) : false" showValue="颈内"></label-box>
147
           &nbsp;
147
           &nbsp;

+ 2 - 5
src/xt_pages/management/components/QualityForm.vue View File

3562
       });
3562
       });
3563
     },
3563
     },
3564
     queryTable() {
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
         if (response.data.state === 1) {
3567
         if (response.data.state === 1) {
3571
           var cultures = response.data.data.cultures;
3568
           var cultures = response.data.data.cultures;
3572
           
3569
           

+ 178 - 165
src/xt_pages/management/home.vue View File

1363
                       <div v-show="zhiShow">
1363
                       <div v-show="zhiShow">
1364
                        <el-tabs type="border-card" v-model="activeNameSix" @tab-click="handleClick">
1364
                        <el-tabs type="border-card" v-model="activeNameSix" @tab-click="handleClick">
1365
                          <el-tab-pane label="新增质量控制" name="first">
1365
                          <el-tab-pane label="新增质量控制" name="first">
1366
+  
1366
                            <span style="margin-bottom: 20px;display: block;">细菌培养</span>
1367
                            <span style="margin-bottom: 20px;display: block;">细菌培养</span>
1367
                            <el-form :model="qualityForm" ref="qualityForm" :rules="qualitRules">
1368
                            <el-form :model="qualityForm" ref="qualityForm" :rules="qualitRules">
1368
                              <el-row>
1369
                              <el-row>
1471
                                </el-col>
1472
                                </el-col>
1472
                              </el-row>
1473
                              </el-row>
1473
                              <el-row>
1474
                              <el-row>
1474
-                               <el-col :span="24">
1475
+                               <!-- <el-col :span="24">
1475
                                  <span style="color:#FF9900">注:细菌检测应每个月一次,要求细菌数<100cfu/ml</span>
1476
                                  <span style="color:#FF9900">注:细菌检测应每个月一次,要求细菌数<100cfu/ml</span>
1476
-                               </el-col>
1477
+                               </el-col> -->
1477
                              </el-row>
1478
                              </el-row>
1478
                              <el-row>
1479
                              <el-row>
1479
                                 <div class="clearn">
1480
                                 <div class="clearn">
1596
                                 </el-col>
1597
                                 </el-col>
1597
                               </el-row>
1598
                               </el-row>
1598
                               <el-row>
1599
                               <el-row>
1599
-                                  <el-col :span="24">
1600
+                                  <!-- <el-col :span="24">
1600
                                     <span style="color:#FF9900">注:内毒素检测应至少每3个月1次,要求内毒素<0.25EU/ml,每台透析机每年至少检测一次</span>
1601
                                     <span style="color:#FF9900">注:内毒素检测应至少每3个月1次,要求内毒素<0.25EU/ml,每台透析机每年至少检测一次</span>
1601
-                                   </el-col>
1602
+                                   </el-col> -->
1602
                               </el-row>
1603
                               </el-row>
1603
                               <el-row>
1604
                               <el-row>
1604
                                 <div class="clearn">
1605
                                 <div class="clearn">
1614
                             <el-divider></el-divider>
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
                             <span style="margin-bottom: 20px;display: block;">有毒化合物检测</span>
1775
                             <span style="margin-bottom: 20px;display: block;">有毒化合物检测</span>
1723
                                 </el-col>
1879
                                 </el-col>
1724
                               </el-row>
1880
                               </el-row>
1725
                               <el-row>
1881
                               <el-row>
1726
-                                  <el-col :span="24">
1882
+                                  <!-- <el-col :span="24">
1727
                                     <span style="color:#FF9900">注:有毒化合物检测应至少每3个月1次,每台透析机每年至少检测一次</span>
1883
                                     <span style="color:#FF9900">注:有毒化合物检测应至少每3个月1次,每台透析机每年至少检测一次</span>
1728
-                                   </el-col>
1884
+                                   </el-col> -->
1729
                               </el-row>
1885
                               </el-row>
1730
                               <el-row>
1886
                               <el-row>
1731
                                 <div class="clearn">
1887
                                 <div class="clearn">
1739
                               </el-row>
1895
                               </el-row>
1740
                             </el-form>
1896
                             </el-form>
1741
                             <el-divider></el-divider>
1897
                             <el-divider></el-divider>
1898
+                         </div>     
1899
+                             
1900
+
1742
                              
1901
                              
1743
 
1902
 
1744
 
1903
 
1904
+
1905
+
1745
                             <span style="margin-bottom: 20px;display: block;">水硬度检测</span>
1906
                             <span style="margin-bottom: 20px;display: block;">水硬度检测</span>
1746
                             <el-form ref="qualityFormFive" :model="qualityFormFive" :rules="diaRules">
1907
                             <el-form ref="qualityFormFive" :model="qualityFormFive" :rules="diaRules">
1747
                               <el-row>
1908
                               <el-row>
1848
                                   </el-form-item>
2009
                                   </el-form-item>
1849
                                 </el-col>
2010
                                 </el-col>
1850
                               </el-row>
2011
                               </el-row>
1851
-                              <el-row>
2012
+                              <!-- <el-row>
1852
                                   <el-col :span="24">
2013
                                   <el-col :span="24">
1853
                                     <span style="color:#FF9900">注:水硬度检测应至少每3个月1次,每台透析机每年至少检测一次</span>
2014
                                     <span style="color:#FF9900">注:水硬度检测应至少每3个月1次,每台透析机每年至少检测一次</span>
1854
                                    </el-col>
2015
                                    </el-col>
1855
-                              </el-row>
2016
+                              </el-row> -->
1856
                               <el-row>
2017
                               <el-row>
1857
                                 <div class="clearn">
2018
                                 <div class="clearn">
1858
                                   <el-col :span="4">
2019
                                   <el-col :span="4">
1975
                                   </el-form-item>
2136
                                   </el-form-item>
1976
                                 </el-col>
2137
                                 </el-col>
1977
                               </el-row>
2138
                               </el-row>
1978
-                              <el-row>
2139
+                              <!-- <el-row>
1979
                                   <el-col :span="24">
2140
                                   <el-col :span="24">
1980
                                     <span style="color:#FF9900">注:水游离氯检测应至少每3个月1次,每台透析机每年至少检测一次</span>
2141
                                     <span style="color:#FF9900">注:水游离氯检测应至少每3个月1次,每台透析机每年至少检测一次</span>
1981
                                    </el-col>
2142
                                    </el-col>
1982
-                              </el-row>
2143
+                              </el-row> -->
1983
                               <el-row>
2144
                               <el-row>
1984
                                 <div class="clearn">
2145
                                 <div class="clearn">
1985
                                   <el-col :span="4">
2146
                                   <el-col :span="4">
2101
                                   </el-form-item>
2262
                                   </el-form-item>
2102
                                 </el-col>
2263
                                 </el-col>
2103
                               </el-row>
2264
                               </el-row>
2104
-                              <el-row>
2265
+                              <!-- <el-row>
2105
                                   <el-col :span="24">
2266
                                   <el-col :span="24">
2106
                                     <span style="color:#FF9900">注:PH值检测检测应至少每3个月1次,每台透析机每年至少检测一次</span>
2267
                                     <span style="color:#FF9900">注:PH值检测检测应至少每3个月1次,每台透析机每年至少检测一次</span>
2107
                                    </el-col>
2268
                                    </el-col>
2108
-                              </el-row>
2269
+                              </el-row> -->
2109
                               <el-row>
2270
                               <el-row>
2110
                                 <div class="clearn">
2271
                                 <div class="clearn">
2111
                                   <el-col :span="4">
2272
                                   <el-col :span="4">
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
                          </el-tab-pane>
2287
                          </el-tab-pane>
2278
 
2288
 
3204
         modifications:[
3214
         modifications:[
3205
           {id:1,name:"正常"},
3215
           {id:1,name:"正常"},
3206
           {id:2,name:"撤销"}
3216
           {id:2,name:"撤销"}
3207
-        ]
3217
+        ],
3218
+        device_type:""
3208
       }
3219
       }
3209
     },
3220
     },
3210
     methods: {
3221
     methods: {
3332
         this.tabIndex = index
3343
         this.tabIndex = index
3333
       },
3344
       },
3334
       handleCurrentChange(val) {
3345
       handleCurrentChange(val) {
3346
+        console.log("Val222222222",val)
3347
+        this.device_type = val.device_type
3335
         this.unitType = val.unit_type
3348
         this.unitType = val.unit_type
3336
         this.currentRow = val
3349
         this.currentRow = val
3337
         this.$forceUpdate()
3350
         this.$forceUpdate()

+ 19 - 6
src/xt_pages/stock/cancelStockOrder.vue View File

199
     nowYear = nowDate.getFullYear();
199
     nowYear = nowDate.getFullYear();
200
     nowMonth = nowDate.getMonth() + 1;
200
     nowMonth = nowDate.getMonth() + 1;
201
     nowDay = nowDate.getDate();
201
     nowDay = nowDate.getDate();
202
-    this.start_time =
203
-      nowYear +
204
-      "-" +
205
-      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
206
-      "-" +
207
-      (nowDay < 10 ? "0" + nowDay : nowDay);
202
+    // this.start_time =
203
+    //   nowYear +
204
+    //   "-" +
205
+    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
206
+    //   "-" +
207
+    //   (nowDay < 10 ? "0" + nowDay : nowDay);
208
+    var date1 = new Date();
209
+    var date2 = new Date(date1);
210
+
211
+    //-30为30天前,+30可以获得30天后的日期
212
+    date2.setDate(date1.getDate() - 30);
213
+
214
+    //30天前(月份判断是否小于10,小于10的前面+0)
215
+    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
216
+      
217
+    //当前日期
218
+    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
208
 
219
 
220
+     this.start_time = agoDay
221
+     console.log("333333332222",this.start_time)
209
     this.GetCancelStock();
222
     this.GetCancelStock();
210
     this.GetConfigInfo();
223
     this.GetConfigInfo();
211
     this.fetchAllAdminUsers();
224
     this.fetchAllAdminUsers();

+ 20 - 6
src/xt_pages/stock/drugs/cancelDrugStockOrder.vue View File

201
     nowYear = nowDate.getFullYear();
201
     nowYear = nowDate.getFullYear();
202
     nowMonth = nowDate.getMonth() + 1;
202
     nowMonth = nowDate.getMonth() + 1;
203
     nowDay = nowDate.getDate();
203
     nowDay = nowDate.getDate();
204
-    this.start_time =
205
-      nowYear +
206
-      "-" +
207
-      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
208
-      "-" +
209
-      (nowDay < 10 ? "0" + nowDay : nowDay);
204
+    // this.start_time =
205
+    //   nowYear +
206
+    //   "-" +
207
+    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
208
+    //   "-" +
209
+    //   (nowDay < 10 ? "0" + nowDay : nowDay);
210
+   
211
+    var date1 = new Date();
212
+    var date2 = new Date(date1);
213
+
214
+    //-30为30天前,+30可以获得30天后的日期
215
+    date2.setDate(date1.getDate() - 30);
216
+
217
+    //30天前(月份判断是否小于10,小于10的前面+0)
218
+    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
219
+      
220
+    //当前日期
221
+    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
210
 
222
 
223
+     this.start_time = agoDay
224
+     console.log("333333332222",this.start_time)
211
     this.GetCancelStock();
225
     this.GetCancelStock();
212
     this.GetConfigInfo();
226
     this.GetConfigInfo();
213
     this.fetchAllAdminUsers();
227
     this.fetchAllAdminUsers();

+ 20 - 6
src/xt_pages/stock/drugs/drugSalesReturnOrder.vue View File

197
     nowYear = nowDate.getFullYear();
197
     nowYear = nowDate.getFullYear();
198
     nowMonth = nowDate.getMonth() + 1;
198
     nowMonth = nowDate.getMonth() + 1;
199
     nowDay = nowDate.getDate();
199
     nowDay = nowDate.getDate();
200
-    this.start_time =
201
-      nowYear +
202
-      "-" +
203
-      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
204
-      "-" +
205
-      (nowDay < 10 ? "0" + nowDay : nowDay);
200
+    // this.start_time =
201
+    //   nowYear +
202
+    //   "-" +
203
+    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
204
+    //   "-" +
205
+    //   (nowDay < 10 ? "0" + nowDay : nowDay);
206
+    
207
+    var date1 = new Date();
208
+    var date2 = new Date(date1);
209
+
210
+    //-30为30天前,+30可以获得30天后的日期
211
+    date2.setDate(date1.getDate() - 30);
212
+
213
+    //30天前(月份判断是否小于10,小于10的前面+0)
214
+    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
215
+      
216
+    //当前日期
217
+    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
206
 
218
 
219
+     this.start_time = agoDay
220
+     console.log("333333332222",this.start_time)
207
     this.GetSalesReturn();
221
     this.GetSalesReturn();
208
     this.GetConfigInfo();
222
     this.GetConfigInfo();
209
     this.fetchAllAdminUsers();
223
     this.fetchAllAdminUsers();

+ 20 - 7
src/xt_pages/stock/drugs/drugStockInOrder.vue View File

315
     nowYear = nowDate.getFullYear();
315
     nowYear = nowDate.getFullYear();
316
     nowMonth = nowDate.getMonth() + 1;
316
     nowMonth = nowDate.getMonth() + 1;
317
     nowDay = nowDate.getDate();
317
     nowDay = nowDate.getDate();
318
-    this.start_time =
319
-      nowYear +
320
-      "-" +
321
-      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
322
-      "-" +
323
-      (nowDay < 10 ? "0" + nowDay : nowDay);
318
+    // this.start_time =
319
+    //   nowYear +
320
+    //   "-" +
321
+    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
322
+    //   "-" +
323
+    //   (nowDay < 10 ? "0" + nowDay : nowDay);
324
     
324
     
325
-   
325
+    var date1 = new Date();
326
+    var date2 = new Date(date1);
327
+
328
+    //-30为30天前,+30可以获得30天后的日期
329
+    date2.setDate(date1.getDate() - 30);
330
+
331
+    //30天前(月份判断是否小于10,小于10的前面+0)
332
+    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
333
+      
334
+    //当前日期
335
+    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
336
+
337
+     this.start_time = agoDay
338
+     console.log("333333332222",this.start_time)
326
     this.GetWarehouse();
339
     this.GetWarehouse();
327
     this.GetConfigInfo();
340
     this.GetConfigInfo();
328
     this.fetchAllAdminUsers();
341
     this.fetchAllAdminUsers();

+ 20 - 6
src/xt_pages/stock/drugs/drugStockOutOrder.vue View File

379
     nowYear = nowDate.getFullYear();
379
     nowYear = nowDate.getFullYear();
380
     nowMonth = nowDate.getMonth() + 1;
380
     nowMonth = nowDate.getMonth() + 1;
381
     nowDay = nowDate.getDate();
381
     nowDay = nowDate.getDate();
382
-    this.start_time =
383
-      nowYear +
384
-      "-" +
385
-      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
386
-      "-" +
387
-      (nowDay < 10 ? "0" + nowDay : nowDay);
382
+    // this.start_time =
383
+    //   nowYear +
384
+    //   "-" +
385
+    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
386
+    //   "-" +
387
+    //   (nowDay < 10 ? "0" + nowDay : nowDay);
388
+       var date1 = new Date();
389
+    var date2 = new Date(date1);
390
+
391
+    //-30为30天前,+30可以获得30天后的日期
392
+    date2.setDate(date1.getDate() - 30);
393
+
394
+    //30天前(月份判断是否小于10,小于10的前面+0)
395
+    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
396
+      
397
+    //当前日期
398
+    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
399
+
400
+     this.start_time = agoDay
401
+     console.log("333333332222",this.start_time)
388
     this.GetWarehouseOut();
402
     this.GetWarehouseOut();
389
     this.GetConfigInfo();
403
     this.GetConfigInfo();
390
     this.fetchAllAdminUsers();
404
     this.fetchAllAdminUsers();

+ 20 - 6
src/xt_pages/stock/salesReturnOrder.vue View File

198
     nowYear = nowDate.getFullYear();
198
     nowYear = nowDate.getFullYear();
199
     nowMonth = nowDate.getMonth() + 1;
199
     nowMonth = nowDate.getMonth() + 1;
200
     nowDay = nowDate.getDate();
200
     nowDay = nowDate.getDate();
201
-    this.start_time =
202
-      nowYear +
203
-      "-" +
204
-      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
205
-      "-" +
206
-      (nowDay < 10 ? "0" + nowDay : nowDay);
201
+    // this.start_time =
202
+    //   nowYear +
203
+    //   "-" +
204
+    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
205
+    //   "-" +
206
+    //   (nowDay < 10 ? "0" + nowDay : nowDay);
207
+    
208
+    var date1 = new Date();
209
+    var date2 = new Date(date1);
210
+
211
+    //-30为30天前,+30可以获得30天后的日期
212
+    date2.setDate(date1.getDate() - 30);
213
+
214
+    //30天前(月份判断是否小于10,小于10的前面+0)
215
+    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
216
+      
217
+    //当前日期
218
+    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
207
 
219
 
220
+     this.start_time = agoDay
221
+     console.log("333333332222",this.start_time)
208
     this.GetSalesReturn();
222
     this.GetSalesReturn();
209
     this.GetConfigInfo();
223
     this.GetConfigInfo();
210
     this.fetchAllAdminUsers();
224
     this.fetchAllAdminUsers();

+ 20 - 7
src/xt_pages/stock/stockInOrder.vue View File

589
     nowYear = nowDate.getFullYear();
589
     nowYear = nowDate.getFullYear();
590
     nowMonth = nowDate.getMonth() + 1;
590
     nowMonth = nowDate.getMonth() + 1;
591
     nowDay = nowDate.getDate();
591
     nowDay = nowDate.getDate();
592
-    this.start_time =
593
-      nowYear +
594
-      "-" +
595
-      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
596
-      "-" +
597
-      (nowDay < 10 ? "0" + nowDay : nowDay);
592
+    // this.start_time =
593
+    //   nowYear +
594
+    //   "-" +
595
+    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
596
+    //   "-" +
597
+    //   (nowDay < 10 ? "0" + nowDay : nowDay);
598
      
598
      
599
+  
600
+    var date1 = new Date();
601
+    var date2 = new Date(date1);
599
 
602
 
603
+    //-30为30天前,+30可以获得30天后的日期
604
+    date2.setDate(date1.getDate() - 30);
600
 
605
 
601
-     
606
+    //30天前(月份判断是否小于10,小于10的前面+0)
607
+    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
608
+      
609
+    //当前日期
610
+    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
611
+
612
+     this.start_time = agoDay
613
+     console.log("333333332222",this.start_time)
602
 
614
 
603
       // this.warehousing_time =
615
       // this.warehousing_time =
604
       //   nowYear +
616
       //   nowYear +
741
         end_time: this.end_time,
753
         end_time: this.end_time,
742
         type: this.type
754
         type: this.type
743
       };
755
       };
756
+      console.log("parasm22222",Params)
744
       this.Warehouse.warehouseDate = [];
757
       this.Warehouse.warehouseDate = [];
745
       getWarehouseList(Params).then(response => {
758
       getWarehouseList(Params).then(response => {
746
         if (response.data.state == 0) {
759
         if (response.data.state == 0) {

+ 23 - 6
src/xt_pages/stock/stockOutOrder.vue View File

551
     nowYear = nowDate.getFullYear();
551
     nowYear = nowDate.getFullYear();
552
     nowMonth = nowDate.getMonth() + 1;
552
     nowMonth = nowDate.getMonth() + 1;
553
     nowDay = nowDate.getDate();
553
     nowDay = nowDate.getDate();
554
-    this.start_time =
555
-      nowYear +
556
-      "-" +
557
-      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
558
-      "-" +
559
-      (nowDay < 10 ? "0" + nowDay : nowDay);
554
+
555
+
556
+      
557
+    var date1 = new Date();
558
+    var date2 = new Date(date1);
559
+
560
+    //-30为30天前,+30可以获得30天后的日期
561
+    date2.setDate(date1.getDate() - 30);
562
+
563
+    //30天前(月份判断是否小于10,小于10的前面+0)
564
+    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
565
+      
566
+    //当前日期
567
+    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
568
+
569
+     this.start_time = agoDay
570
+     console.log("333333332222",this.start_time)
571
+    // this.start_time =
572
+    //   nowYear +
573
+    //   "-" +
574
+    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
575
+    //   "-" +
576
+    //   (nowDay < 10 ? "0" + nowDay : nowDay);
560
     this.GetConfigInfo();
577
     this.GetConfigInfo();
561
     this.GetWarehouseOut();
578
     this.GetWarehouseOut();
562
    
579
    

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

1470
       },
1470
       },
1471
 
1471
 
1472
       jump(id) {
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
       dateCompare(date) {
1476
       dateCompare(date) {
1476
         var date1 = Date.parse(new Date()) / 1000;
1477
         var date1 = Date.parse(new Date()) / 1000;

+ 32 - 9
src/xt_pages/workforce/appointment.vue View File

69
       <bread-crumb :crumbs="crumbs"></bread-crumb>
69
       <bread-crumb :crumbs="crumbs"></bread-crumb>
70
         <div style="display:flex;align-items:center">
70
         <div style="display:flex;align-items:center">
71
           <schedule-upload-excel style="margin-right:10px;" :on-success='handleSuccess' ></schedule-upload-excel>
71
           <schedule-upload-excel style="margin-right:10px;" :on-success='handleSuccess' ></schedule-upload-excel>
72
-          <!-- <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
73
-            导出模版
74
-          </el-button> -->
75
-          <el-button v-if="isShow()" type="primary" size="small" @click="export_fileTwo()" :loading="downloadLoading">
72
+          <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
76
             导出模版
73
             导出模版
77
           </el-button>
74
           </el-button>
75
+          <!-- <el-button v-if="isShow()" type="primary" size="small" @click="export_fileTwo()" :loading="downloadLoading">
76
+            导出模版
77
+          </el-button> -->
78
+         
78
           <el-button
79
           <el-button
79
             @click="generateLog()"
80
             @click="generateLog()"
80
             class="filter-item"
81
             class="filter-item"
504
 
505
 
505
             i++
506
             i++
506
           }
507
           }
508
+          console.log("listw22222222",list)
509
+            var data = []
510
+          // const data = this.formatJson(filterVal, this.tableList)
511
+        
512
+          this.tableList.map(item=>{
513
+            data.push(Object.values(item))
507
 
514
 
508
-          const data = this.formatJson(filterVal, list)
509
-          // console.log("data",data)
510
-
515
+          })
516
+          console.log("data",data)
517
+          
511
           const filename = '排班模版'
518
           const filename = '排班模版'
512
           excel.export_json_to_excel({
519
           excel.export_json_to_excel({
513
             multiHeader,
520
             multiHeader,
532
 
539
 
533
           var data = []
540
           var data = []
534
           console.log("33333",this.tableList)
541
           console.log("33333",this.tableList)
535
-
542
+         
536
          this.tableList.map(item=>{
543
          this.tableList.map(item=>{
537
            data.push(Object.values(item))
544
            data.push(Object.values(item))
538
 
545
 
549
 
556
 
550
         })
557
         })
551
       },
558
       },
559
+      // formatJson(filterVal, jsonData) {
560
+      //  return jsonData.map(v => filterVal.map(j => v[j]))
561
+      // },
562
+
552
       formatJson(filterVal, jsonData) {
563
       formatJson(filterVal, jsonData) {
553
-       return jsonData.map(v => filterVal.map(j => v[j]))
564
+        return jsonData.map(v =>
565
+          filterVal.map(j => {
566
+            console.log(v)
567
+            console.log(j)
568
+            console.log(v[j])
569
+
570
+            if (j === 'timestamp') {
571
+              return parseTime(v[j])
572
+            } else {
573
+              return v[j]
574
+            }
575
+          })
576
+        )
554
       },
577
       },
555
 
578
 
556
 
579