浏览代码

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

陈少旭 1年前
父节点
当前提交
b6396d85ac

文件差异内容过多而无法显示
+ 23757 - 5850
package-lock.json


+ 2 - 3
package.json 查看文件

59
     "jszip": "3.1.5",
59
     "jszip": "3.1.5",
60
     "mockjs": "1.0.1-beta3",
60
     "mockjs": "1.0.1-beta3",
61
     "moment": "^2.24.0",
61
     "moment": "^2.24.0",
62
-    "node-sass": "4.14.1",
62
+    "node-sass": "^5.0.0",
63
     "normalize.css": "7.0.0",
63
     "normalize.css": "7.0.0",
64
     "nprogress": "0.2.0",
64
     "nprogress": "0.2.0",
65
     "print-js": "^1.0.50",
65
     "print-js": "^1.0.50",
66
     "qrcodejs2": "0.0.2",
66
     "qrcodejs2": "0.0.2",
67
+    "sass-loader": "^7.0.0",
67
     "screenfull": "4.2.0",
68
     "screenfull": "4.2.0",
68
     "serve-static": "1.13.2",
69
     "serve-static": "1.13.2",
69
     "showdown": "1.8.5",
70
     "showdown": "1.8.5",
110
     "html-webpack-plugin": "2.30.1",
111
     "html-webpack-plugin": "2.30.1",
111
     "lint-staged": "7.2.0",
112
     "lint-staged": "7.2.0",
112
     "node-notifier": "5.1.2",
113
     "node-notifier": "5.1.2",
113
-    "node-sass": "^4.14.1",
114
     "optimize-css-assets-webpack-plugin": "3.2.0",
114
     "optimize-css-assets-webpack-plugin": "3.2.0",
115
     "ora": "1.3.0",
115
     "ora": "1.3.0",
116
     "portfinder": "1.0.13",
116
     "portfinder": "1.0.13",
120
     "qiniu-webpack-plugin": "^0.4.2",
120
     "qiniu-webpack-plugin": "^0.4.2",
121
     "quill-image-extend-module": "^1.1.2",
121
     "quill-image-extend-module": "^1.1.2",
122
     "rimraf": "2.6.2",
122
     "rimraf": "2.6.2",
123
-    "sass-loader": "^6.0.7",
124
     "sass-resources-loader": "^1.3.4",
123
     "sass-resources-loader": "^1.3.4",
125
     "script-loader": "^0.7.2",
124
     "script-loader": "^0.7.2",
126
     "semver": "5.4.1",
125
     "semver": "5.4.1",

+ 135 - 0
src/api/device.js 查看文件

399
     method:"Get",
399
     method:"Get",
400
     params:params,
400
     params:params,
401
   })
401
   })
402
+}
403
+
404
+export function saveSetAirDisInfect(params){
405
+ 
406
+  return request({
407
+    url:"/api/manage/savesetairdisinfect",
408
+    method:"Get",
409
+    params:params,
410
+  })
411
+}
412
+
413
+export function getSetAirDisInfectById(params){
414
+
415
+   return request({
416
+    url:"/api/manage/getsetairinfectbyid",
417
+    method:"get",
418
+    params:params
419
+   })
420
+}
421
+
422
+export function saveNewAirWayDisinfect(data){
423
+
424
+  return request({
425
+    url:"/api/manage/savenewairwaydisinfect",
426
+    method:"post",
427
+    data:data,
428
+  })
429
+}
430
+
431
+export function getNewAirWayDisinfectList(params){
432
+  
433
+  return request({
434
+    url:"/api/manage/getnewairwaydisinfectlist",
435
+    method:"get",
436
+    params:params,
437
+  })
438
+}
439
+
440
+export function getAirDisinfectWayLongTime(department,params){
441
+ 
442
+  return request({
443
+    url:"/api/manage/getairdisinfectwaylongtime?department="+department,
444
+    method:"Get",
445
+    params:params
446
+  })
447
+}
448
+
449
+export function getNewAirWayDisinfectByIdList(id,params){
450
+
451
+  return request({
452
+    url:"/api/manage/getnewairwaydisinfectbyidlist?id="+id,
453
+    method:"get",
454
+    params:params
455
+  })
456
+}
457
+
458
+export function updateNewAirWayDisinfect(data){
459
+ 
460
+  return request({
461
+    url:"/api/manage/updatenewairwaydisinfect",
462
+    method:"post",
463
+    data:data,
464
+  })
465
+}
466
+
467
+export function deleteNewAirWayDisInfect(id,params){
468
+ 
469
+  return request({
470
+    url:"/api/manage/deletenewairwaydisinfect?id="+id,
471
+    method:"get",
472
+    params:params,
473
+  })
474
+}
475
+
476
+export function setObjectDisinfect(params){
477
+ 
478
+  return request({
479
+    url:"/api/manage/setobjectdisinfect",
480
+    method:"get",
481
+    params:params,
482
+  })
483
+}
484
+
485
+export function getObjectWayDisinfect(params){
486
+ 
487
+  return request({
488
+    url:"/api/manage/getobjectwaydisinfect",
489
+    method:"get",
490
+    params:params,
491
+  })
492
+}
493
+
494
+export function saveObjectWayTableDisinfect(data){
495
+ 
496
+  return request({
497
+    url:"/api/manage/saveobjectwaytabledisinfect",
498
+    method:"post",
499
+    data:data,
500
+  })
501
+}
502
+
503
+export function getObjectTableDisInfectWayList(params){
504
+  
505
+  return request({
506
+    url:"/api/manage/getobjcettabledisinfectwaylist",
507
+    method:"get",
508
+    params:params,
509
+  })
510
+}
511
+
512
+export function getObjectTableDisInfectWayByIdList(id,params){
513
+
514
+   return request({
515
+    url:"/api/manage/getobjecttabledisinfectwaybylist?id="+id,
516
+    method:"get",
517
+    params:params,
518
+   })
519
+}
520
+
521
+export function updateObjectWayTableDisinfect(data){
522
+ 
523
+  return request({
524
+    url:"/api/manage/updateobjectwaytabledisinfect",
525
+    method:"post",
526
+    data:data,
527
+  })
528
+}
529
+
530
+export function deleteObjectTableWayDisinfect(id,params){
531
+
532
+  return request({
533
+    url:"/api/manage/deleteobjecttablewaydisinfect?id="+id,
534
+    method:"get",
535
+    params:params,
536
+  })
402
 }
537
 }

+ 12 - 0
src/router/modules/dialysis.js 查看文件

413
         noCache: true
413
         noCache: true
414
       }
414
       }
415
     },
415
     },
416
+    {
417
+      path: '/dialysis/print/batch/sixtyeight',
418
+      component: () =>
419
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight'),
420
+      hidden: true,
421
+      is_menu: false,
422
+      name: 'dialysis_batch_sixtyeight',
423
+      meta: {
424
+        title: '批量打印',
425
+        noCache: true
426
+      }
427
+    },
416
     {
428
     {
417
       path: '/dialysis/print/batch/sixtyFive',
429
       path: '/dialysis/print/batch/sixtyFive',
418
       component: () =>
430
       component: () =>

+ 2 - 2
src/router/modules/patient.js 查看文件

74
       noCache: true
74
       noCache: true
75
     }
75
     }
76
   },
76
   },
77
-  
77
+
78
 
78
 
79
   {
79
   {
80
     path: '/patients/patient/:mid/vascularAccessDetail/:pid',
80
     path: '/patients/patient/:mid/vascularAccessDetail/:pid',
325
       noCache: true
325
       noCache: true
326
     }
326
     }
327
   },
327
   },
328
-  
328
+
329
   // {//评估工具/跌倒评估
329
   // {//评估工具/跌倒评估
330
   //   path: '/patients/patient/:id/Fallassessment',
330
   //   path: '/patients/patient/:id/Fallassessment',
331
   //   component: () => import('@/xt_pages/user/evaluationtool/Fallassessment'),
331
   //   component: () => import('@/xt_pages/user/evaluationtool/Fallassessment'),

+ 17 - 0
src/xt_pages/Pharmacy/PatientDispensing.vue 查看文件

227
                 }}</span>
227
                 }}</span>
228
               </template>
228
               </template>
229
             </el-table-column>
229
             </el-table-column>
230
+            <el-table-column label="国家编码" width="162" align="center">
231
+              <template slot-scope="scope">
232
+                <span>{{getDrugName(scope.row.DrugId)}}</span>
233
+              </template>
234
+            </el-table-column>
230
             <el-table-column label="备注" width="170" align="center">
235
             <el-table-column label="备注" width="170" align="center">
231
               <template slot-scope="scope">
236
               <template slot-scope="scope">
232
                 <span>{{ scope.row.Remarks ? scope.row.Remarks : "" }}</span>
237
                 <span>{{ scope.row.Remarks ? scope.row.Remarks : "" }}</span>
319
       shift: 0, //班次
324
       shift: 0, //班次
320
       fen: [],
325
       fen: [],
321
       partition: 0, //分区
326
       partition: 0, //分区
327
+      drugList:[],
322
     };
328
     };
323
   },
329
   },
324
   watch: {},
330
   watch: {},
451
         if (res.data.state == 1) {
457
         if (res.data.state == 1) {
452
           this.waitmount = res.data.data.itotal;
458
           this.waitmount = res.data.data.itotal;
453
           this.alreadmount = res.data.data.wtotal;
459
           this.alreadmount = res.data.data.wtotal;
460
+          this.drugList = res.data.data.drug
454
         }
461
         }
455
       });
462
       });
456
       // console.log("2222222")
463
       // console.log("2222222")
706
         })
713
         })
707
         .catch(() => {});
714
         .catch(() => {});
708
     },
715
     },
716
+    getDrugName(drug_id){
717
+    
718
+      var  medical_insurance_number = ""
719
+      for(let i=0;i<this.drugList.length;i++){
720
+       if(drug_id == this.drugList[i].id){
721
+        medical_insurance_number = this.drugList[i].medical_insurance_number
722
+       }
723
+      }
724
+      return medical_insurance_number
725
+    }
709
   },
726
   },
710
 };
727
 };
711
 </script>
728
 </script>

文件差异内容过多而无法显示
+ 810 - 88
src/xt_pages/device/airDisinfectTwo.vue


+ 585 - 20
src/xt_pages/device/objectTableDisinfectTwo.vue 查看文件

23
             <el-button type="primary" style="margin-left: 10px;" @click="toSeach">搜索</el-button>
23
             <el-button type="primary" style="margin-left: 10px;" @click="toSeach">搜索</el-button>
24
           </div>
24
           </div>
25
           <div style="float:right;margin-bottom:10px;">
25
           <div style="float:right;margin-bottom:10px;">
26
-            <el-button type="primary" @click="printCard">打印</el-button>
27
-            <el-button type="primary" @click="dialogFormVisible = true">新增</el-button>
28
-
26
+            <el-button type="primary" @click="toSetting">设置</el-button>
27
+            <el-button type="primary" @click="printCard" v-if="art_way_one==0 || art_way_one ==1">打印</el-button>
28
+            <el-button type="primary" @click="printCardOne" v-if=" art_way_one ==2">打印</el-button>
29
+            <el-button type="primary" @click="dialogFormVisible = true" v-if="art_way_one == 0 || art_way_one == 1">新增</el-button>
30
+            <el-button type="primary" @click="newdialogFormVisible = true" v-if="art_way_one == 2">新增</el-button>
29
           </div>
31
           </div>
30
-          <div class="tab_air">
32
+          <div class="tab_air" v-if="art_way_one == 0 || art_way_one ==1">
31
             <el-table  :data="tableData" :fit="true" stripe>
33
             <el-table  :data="tableData" :fit="true" stripe>
32
                 <el-table-column prop="year" label="名称" width="150" align="center">
34
                 <el-table-column prop="year" label="名称" width="150" align="center">
33
                     <el-table-column prop="year" label="消毒时间" align="center" width="150">
35
                     <el-table-column prop="year" label="消毒时间" align="center" width="150">
138
           </el-pagination>
140
           </el-pagination>
139
          </div>
141
          </div>
140
 
142
 
141
-            <!-- 新增 -->
143
+         <div  v-if="art_way_one == 2">
144
+            <el-table  :data="tableDataOne" :fit="true" stripe   style="width: 100%"
145
+                row-key="id"
146
+                border
147
+                lazy
148
+                :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
149
+               
150
+            <el-table-column prop="year" label="消毒日期" align="center" width="150">
151
+                <template slot-scope="scope">
152
+                    {{getTimes(scope.row.record_date) }}
153
+                </template>
154
+                
155
+            </el-table-column>
156
+
157
+            <el-table-column prop="year" label="消毒物品" align="center" width="150">
158
+                <template slot-scope="scope">
159
+                  {{scope.row.department  }} 
160
+                </template>
161
+                
162
+            </el-table-column>
163
+                   
164
+             
165
+                <el-table-column prop="fenopda" :label="'500mg/l含氯制剂'" align="center" min-width="60">
166
+                    <template slot-scope="scope">
167
+                        {{ getTimeTwo(scope.row.first_start_time) }} - {{ getTimeTwo(scope.row.first_end_time) }}
168
+                       
169
+                    </template>
170
+                </el-table-column>
171
+                <el-table-column prop="dwaiod" label="责任人" align="center" min-width="60">
172
+                    <template slot-scope="scope">
173
+                        {{getName(scope.row.first_creator)}}
174
+
175
+                     
176
+                    </template>
177
+                </el-table-column>
178
+
179
+              
180
+
181
+                <el-table-column prop="city" label="操作" align="center" min-width="100">
182
+                    <template slot-scope="scope">
183
+                        <el-button
184
+                        size="mini"
185
+                        type="primary"
186
+                        @click="handleEditOne(scope.row.id)">编辑</el-button>
187
+                        <el-button
188
+                        size="mini"
189
+                        type="danger"
190
+                        @click="handleDeleteOne(scope.row.id)">删除</el-button>
191
+                    </template>
192
+                </el-table-column>
193
+            </el-table>
194
+            <el-pagination
195
+              :page-sizes="[10, 20, 50, 100]"
196
+              :page-size="10"
197
+              background
198
+              style="margin-top:20px;float: right"
199
+              layout="total, sizes, prev, pager, next, jumper"
200
+              :total="total"
201
+              @size-change="handleSizeChangeOne"
202
+              @current-change="handleCurrentChangeOne"
203
+          >
204
+            
205
+          </el-pagination>
206
+         </div>
207
+
208
+         <!-- 新增 -->
142
           <el-dialog
209
           <el-dialog
143
           class="centerDialog"
210
           class="centerDialog"
144
           width="1000px"
211
           width="1000px"
1054
                 </div>
1121
                 </div>
1055
             </div>
1122
             </div>
1056
          </div>
1123
          </div>
1057
-        
1124
+
1125
+
1126
+         <div hidden="hiddenShowOne">
1127
+            <div id="print-card-info_one" v-show="hiddenShowOne">
1128
+                <div>
1129
+                    <h1 style="text-align: center;">物表消毒登记</h1>
1130
+                    <div>
1131
+                        <table border="1" style="text-align: center;margin: auto;border-collapse: collapse;">
1132
+                            <tr>
1133
+                               <td>消毒时间</td>
1134
+                               <td>消毒物品</td>
1135
+                                <td>500mg/l含氯制剂</td>
1136
+                                <td>负责人</td>
1137
+                            </tr>
1138
+
1139
+                            <tr v-for="(item,index) in tableDataOne" :key="index">
1140
+                                <td>{{getTimes(item.record_date) }}</td>
1141
+                                <td>{{item.department}}</td>
1142
+                                <td>{{getTimeTwo( item.first_start_time)}}- {{getTimeTwo(item.first_end_time)  }}</td>
1143
+                                <td>
1144
+                                <span v-if="setAdminUserES(item.first_creator?item.last_creator:item.first_creator) == ''">
1145
+                                   {{getName(item.first_creator)}}
1146
+                                  </span>
1147
+                                <span v-else>
1148
+                                    <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
1149
+                                </span>   
1150
+                                </td>
1151
+                            </tr>
1152
+                         </table>   
1153
+
1154
+                    </div>
1155
+                </div>
1156
+            </div>
1157
+         </div>
1158
+         
1159
+         <el-dialog
1160
+            title="请选择版本"
1161
+            :visible.sync="setEditDialog"
1162
+            width="60%">
1163
+            <span>
1164
+                <el-radio v-model="air_way" label="1">版本一</el-radio>
1165
+                <el-radio v-model="air_way" label="2">版本二</el-radio>
1166
+            </span>
1167
+            <span slot="footer" class="dialog-footer">
1168
+                <el-button @click="setEditDialog = false">取 消</el-button>
1169
+                <el-button type="primary" @click="saveSetObjectTable()">保 存</el-button>
1170
+            </span>
1171
+         </el-dialog>
1172
+
1173
+
1174
+         <el-dialog
1175
+          class="centerDialog"
1176
+          width="1000px"
1177
+          title="新增物表消毒表"
1178
+          :visible.sync="newdialogFormVisible">
1179
+              <el-form :model="form" ref="form" class="airForm" :rules="airRules">
1180
+                  <div style="width: 100%;">
1181
+                    <el-form-item label="创建日期" label-width="110px" required prop="record_date">
1182
+                        <el-date-picker
1183
+                        value-format="yyyy-MM-dd"
1184
+                        v-model="form.record_date"
1185
+                        type="date"
1186
+                        placeholder="选择日期时间">
1187
+                        </el-date-picker>
1188
+                    </el-form-item>
1189
+
1190
+                    <el-form-item label="消毒物品" label-width="110px" required prop="department">
1191
+                        <el-select v-model="form.department" placeholder="请选择">
1192
+                          <el-option
1193
+                          v-for="(item,index) in disinfectionOfficeList"
1194
+                          :key="index"
1195
+                          :label="item.name"
1196
+                          :value="item.name">
1197
+                          </el-option>
1198
+                        </el-select>
1199
+                    </el-form-item>
1200
+                  </div>
1201
+                  <div class="form_title">
1202
+                    <span >
1203
+                     {{ form.department }}
1204
+                   </span>
1205
+                  </div>
1206
+                  <el-form-item label="消毒方式" label-width="110px">
1207
+                      <!-- <el-input v-model="form.first_disinfection_methods"></el-input> -->
1208
+                      <el-select v-model="form.first_disinfection_methods" placeholder="请选择">
1209
+                          <el-option
1210
+                          v-for="(item,index) in DisinfectionMode"
1211
+                          :key="index"
1212
+                          :label="item.name"
1213
+                          :value="item.name">
1214
+                          </el-option>
1215
+                      </el-select>
1216
+                  </el-form-item>
1217
+                  <el-form-item label="消毒液" label-width="110px">
1218
+                      <!-- <el-input v-model="form.first_disinfection_water"></el-input> -->
1219
+                      <el-select v-model="form.first_disinfection_water" placeholder="请选择">
1220
+                          <el-option
1221
+                          v-for="(item,index) in disInfectionWaterList"
1222
+                          :key="index"
1223
+                          :label="item.name"
1224
+                          :value="item.name">
1225
+                          </el-option>
1226
+                      </el-select>
1227
+                  </el-form-item>
1228
+                  <el-form-item label="消毒时间(h)" label-width="110px">
1229
+                      <el-input v-model="form.first_disinfection_time " :disabled="true"></el-input>
1230
+                  </el-form-item>
1231
+                  <el-form-item label="开始时间" label-width="110px">
1232
+                    <el-date-picker
1233
+                        type="datetime"
1234
+                        format="yyyy-MM-dd HH:mm"
1235
+                        value-format="yyyy-MM-dd HH:mm"
1236
+                        placeholder="选择时间"
1237
+                        v-model="form.first_start_time"
1238
+                        @change="firststartime"
1239
+                        style="width:100%;"
1240
+                    ></el-date-picker>
1241
+                  </el-form-item>
1242
+                  <el-form-item label="结束时间"  label-width="110px">
1243
+                    <el-date-picker
1244
+                        type="datetime"
1245
+                        format="yyyy-MM-dd HH:mm"
1246
+                        value-format="yyyy-MM-dd HH:mm"
1247
+                        placeholder="选择时间"
1248
+                        v-model="form.first_end_time"
1249
+                        @change="firstendtime"
1250
+                        style="width:100%;"
1251
+                    ></el-date-picker>
1252
+                  </el-form-item>
1253
+                 
1254
+                  <el-form-item label="检测合格" label-width="110px">
1255
+                      <div>
1256
+                          <el-radio v-model="form.first_is_check" label="1">是</el-radio>
1257
+                          <el-radio v-model="form.first_is_check" label="2">否</el-radio>
1258
+                      </div>
1259
+                  </el-form-item>
1260
+                  <el-form-item label="修改标志" label-width="110px" >
1261
+                      <el-select v-model="form.first_modifications" placeholder="请选择">
1262
+                          <el-option
1263
+                          v-for="(item,index) in options"
1264
+                          :key="index"
1265
+                          :label="item.name"
1266
+                          :value="item.id">
1267
+                          </el-option>
1268
+                      </el-select>
1269
+                  </el-form-item>
1270
+                  <el-form-item label="责任人" label-width="110px">
1271
+                      <el-select v-model="form.first_creator" placeholder="请选择">
1272
+                          <el-option
1273
+                          v-for="(item,index) in docList"
1274
+                          :key="index"
1275
+                          :label="item.user_name"
1276
+                          :value="item.admin_user_id">
1277
+                          </el-option>
1278
+                      </el-select>
1279
+                  </el-form-item>
1280
+    
1281
+              </el-form>
1282
+              <div slot="footer" class="dialog-footer">
1283
+                  <el-button @click="newdialogFormVisible = false">取 消</el-button>
1284
+                  <el-button type="primary" @click="saveObjectWayTableDisinfect('form')">保 存</el-button>
1285
+              </div>
1286
+          </el-dialog>
1287
+
1288
+
1289
+        <el-dialog
1290
+          class="centerDialog"
1291
+          width="1000px"
1292
+          title="编辑物表消毒表"
1293
+          :visible.sync="editnewdialogFormVisible">
1294
+              <el-form :model="form" ref="form" class="airForm" :rules="airRules">
1295
+                  <div style="width: 100%;">
1296
+                    <el-form-item label="创建日期" label-width="110px" required prop="record_date">
1297
+                        <el-date-picker
1298
+                        value-format="yyyy-MM-dd"
1299
+                        v-model="form.record_date"
1300
+                        type="date"
1301
+                        placeholder="选择日期时间">
1302
+                        </el-date-picker>
1303
+                    </el-form-item>
1304
+
1305
+                    <el-form-item label="消毒物品" label-width="110px" required prop="department">
1306
+                        <el-select v-model="form.department" placeholder="请选择">
1307
+                          <el-option
1308
+                          v-for="(item,index) in disinfectionOfficeList"
1309
+                          :key="index"
1310
+                          :label="item.name"
1311
+                          :value="item.name">
1312
+                          </el-option>
1313
+                        </el-select>
1314
+                    </el-form-item>
1315
+                  </div>
1316
+                  <div class="form_title">
1317
+                    <span >
1318
+                     {{ form.department }}
1319
+                   </span>
1320
+                  </div>
1321
+                  <el-form-item label="消毒方式" label-width="110px">
1322
+                      <!-- <el-input v-model="form.first_disinfection_methods"></el-input> -->
1323
+                      <el-select v-model="form.first_disinfection_methods" placeholder="请选择">
1324
+                          <el-option
1325
+                          v-for="(item,index) in DisinfectionMode"
1326
+                          :key="index"
1327
+                          :label="item.name"
1328
+                          :value="item.name">
1329
+                          </el-option>
1330
+                      </el-select>
1331
+                  </el-form-item>
1332
+                  <el-form-item label="消毒液" label-width="110px">
1333
+                      <!-- <el-input v-model="form.first_disinfection_water"></el-input> -->
1334
+                      <el-select v-model="form.first_disinfection_water" placeholder="请选择">
1335
+                          <el-option
1336
+                          v-for="(item,index) in disInfectionWaterList"
1337
+                          :key="index"
1338
+                          :label="item.name"
1339
+                          :value="item.name">
1340
+                          </el-option>
1341
+                      </el-select>
1342
+                  </el-form-item>
1343
+                  <el-form-item label="消毒时间(h)" label-width="110px">
1344
+                      <el-input v-model="form.first_disinfection_time " :disabled="true"></el-input>
1345
+                  </el-form-item>
1346
+                  <el-form-item label="开始时间" label-width="110px">
1347
+                    <el-date-picker
1348
+                        type="datetime"
1349
+                        format="yyyy-MM-dd HH:mm"
1350
+                        value-format="yyyy-MM-dd HH:mm"
1351
+                        placeholder="选择时间"
1352
+                        v-model="form.first_start_time"
1353
+                        @change="firststartime"
1354
+                        style="width:100%;"
1355
+                    ></el-date-picker>
1356
+                  </el-form-item>
1357
+                  <el-form-item label="结束时间"  label-width="110px">
1358
+                    <el-date-picker
1359
+                        type="datetime"
1360
+                        format="yyyy-MM-dd HH:mm"
1361
+                        value-format="yyyy-MM-dd HH:mm"
1362
+                        placeholder="选择时间"
1363
+                        v-model="form.first_end_time"
1364
+                        @change="firstendtime"
1365
+                        style="width:100%;"
1366
+                    ></el-date-picker>
1367
+                  </el-form-item>
1368
+                 
1369
+                  <el-form-item label="检测合格" label-width="110px">
1370
+                      <div>
1371
+                          <el-radio v-model="form.first_is_check" label="1">是</el-radio>
1372
+                          <el-radio v-model="form.first_is_check" label="2">否</el-radio>
1373
+                      </div>
1374
+                  </el-form-item>
1375
+                  <el-form-item label="修改标志" label-width="110px" >
1376
+                      <el-select v-model="form.first_modifications" placeholder="请选择">
1377
+                          <el-option
1378
+                          v-for="(item,index) in options"
1379
+                          :key="index"
1380
+                          :label="item.name"
1381
+                          :value="item.id">
1382
+                          </el-option>
1383
+                      </el-select>
1384
+                  </el-form-item>
1385
+                  <el-form-item label="责任人" label-width="110px">
1386
+                      <el-select v-model="form.first_creator" placeholder="请选择">
1387
+                          <el-option
1388
+                          v-for="(item,index) in docList"
1389
+                          :key="index"
1390
+                          :label="item.user_name"
1391
+                          :value="item.admin_user_id">
1392
+                          </el-option>
1393
+                      </el-select>
1394
+                  </el-form-item>
1395
+    
1396
+              </el-form>
1397
+              <div slot="footer" class="dialog-footer">
1398
+                  <el-button @click="editnewdialogFormVisible = false">取 消</el-button>
1399
+                  <el-button type="primary" @click="updateObjectWayTableDisinfect('form')">保 存</el-button>
1400
+              </div>
1401
+          </el-dialog>
1058
       </div>
1402
       </div>
1059
     </div>
1403
     </div>
1060
   </template>
1404
   </template>
1067
         getObjectTableDisInfectList,
1411
         getObjectTableDisInfectList,
1068
         getObjectTableDisInfectByIdList,
1412
         getObjectTableDisInfectByIdList,
1069
         updateObjectTableDisinfect, 
1413
         updateObjectTableDisinfect, 
1070
-        deleteObjectTableDisinfect
1414
+        deleteObjectTableDisinfect,
1415
+        setObjectDisinfect,
1416
+        getObjectWayDisinfect,
1417
+        saveObjectWayTableDisinfect,
1418
+        getObjectTableDisInfectWayList,
1419
+        getObjectTableDisInfectWayByIdList,
1420
+        updateObjectWayTableDisinfect,
1421
+        deleteObjectTableWayDisinfect
1071
     } from "@/api/device"
1422
     } from "@/api/device"
1072
     import { getManageMentDataConfig } from '@/utils/data'
1423
     import { getManageMentDataConfig } from '@/utils/data'
1073
     import { uParseTime } from '@/utils/tools'
1424
     import { uParseTime } from '@/utils/tools'
1081
         return {
1432
         return {
1082
           crumbs: [
1433
           crumbs: [
1083
             { path: false, name: '院感管理' },
1434
             { path: false, name: '院感管理' },
1084
-            { path: false, name: '透析室空气消毒记录表' }
1435
+            { path: false, name: '透析室物表消毒记录表' }
1085
           ],
1436
           ],
1086
 
1437
 
1087
           dialogFormVisible:false,
1438
           dialogFormVisible:false,
1088
           editDialogFormVisible:false,
1439
           editDialogFormVisible:false,
1440
+          newdialogFormVisible:false,
1441
+          editnewdialogFormVisible:false,
1442
+          setEditDialog:false,
1089
           startvalue:'',
1443
           startvalue:'',
1090
           endvalue:'',
1444
           endvalue:'',
1091
           form: {
1445
           form: {
1140
             last_is_check:"1",//检验合格
1494
             last_is_check:"1",//检验合格
1141
             last_modifications:"",//修改标志
1495
             last_modifications:"",//修改标志
1142
             last_creator:this.$store.getters.xt_user.user.id,//第一责任人
1496
             last_creator:this.$store.getters.xt_user.user.id,//第一责任人
1143
-          
1497
+            department:"",
1144
           },
1498
           },
1145
         //   value1:'',
1499
         //   value1:'',
1146
           docList:[],
1500
           docList:[],
1173
          ],
1527
          ],
1174
          operators: [],
1528
          operators: [],
1175
          operatorMaps:{},
1529
          operatorMaps:{},
1176
-         
1530
+         setEditDialog:false,
1531
+         air_way:"2",
1532
+         disinfectionOfficeList:[],
1533
+         tableDataOne:[],
1534
+         hiddenShowOne:false,
1535
+         art_way_one:0,
1177
         }
1536
         }
1537
+
1178
       },
1538
       },
1179
       created(){
1539
       created(){
1180
         var  disinfection_fluid = getManageMentDataConfig('management', 'disinfection_fluid')
1540
         var  disinfection_fluid = getManageMentDataConfig('management', 'disinfection_fluid')
1181
-        console.log("disinfection_fluid",disinfection_fluid)
1541
+      
1182
         for(let i=0;i<disinfection_fluid.length;i++){
1542
         for(let i=0;i<disinfection_fluid.length;i++){
1183
           this.disInfectionWaterList.push(disinfection_fluid[i])
1543
           this.disInfectionWaterList.push(disinfection_fluid[i])
1184
         }
1544
         }
1185
 
1545
 
1186
         var  disinfection_methods = getManageMentDataConfig('management', 'disinfection_methods')
1546
         var  disinfection_methods = getManageMentDataConfig('management', 'disinfection_methods')
1187
-        console.log("disinfection_methods",disinfection_methods)
1547
+       
1188
         for(let i=0;i<disinfection_methods.length;i++){
1548
         for(let i=0;i<disinfection_methods.length;i++){
1189
           this.DisinfectionMode.push(disinfection_methods[i])
1549
           this.DisinfectionMode.push(disinfection_methods[i])
1190
         }
1550
         }
1551
+        var  disinfection_offices = getManageMentDataConfig('management', 'disinfection_object')
1552
+        
1553
+        for(let i=0;i<disinfection_offices.length;i++){
1554
+          this.disinfectionOfficeList.push(disinfection_offices[i])
1555
+        }
1191
         this.getAllDoctorList()
1556
         this.getAllDoctorList()
1192
         this.getObjectTableDisInfectList()
1557
         this.getObjectTableDisInfectList()
1558
+        this.getObjectTableDisInfectWayList()
1559
+        this.getObjectWayDisinfect()
1193
       },
1560
       },
1194
       computed:{
1561
       computed:{
1195
         firstdisinfection_time (){
1562
         firstdisinfection_time (){
1244
             });
1611
             });
1245
         }, 1);
1612
         }, 1);
1246
        },
1613
        },
1614
+       printCardOne(){
1615
+        this.hiddenShowOne = true;
1616
+        var ptime = Math.round(new Date().getTime() / 1000);
1617
+        this.print_time = uParseTime(ptime, "{y}年{m}月{d}日");
1618
+
1619
+        const style =
1620
+            "@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0;font-size:15px } .print_main_content .order_title { text-align: center; font-size: 15px; line-height: 50px;} .print_main_content table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px;font-size:15px } .print_main_content table tbody tr td { border: 1px solid; text-align: center; padding: 10px 8px;font-size:15px } .td_proj_title { font-size: 15px; line-height: 25px;} .td_proj_content { font-size: 15px; line-height: 25px; } .td_align_left { text-align: left; } .print_footnote_panel { font-size: 15px; line-height: 40px; } .print_footnote_panel .proj { display: inline-block; width: 49%; } .print_footnote_panel .proj}";
1621
+
1622
+        setTimeout(() => {
1623
+            printJS({
1624
+            printable: "print-card-info_one",
1625
+            type: "html",
1626
+            style: style,
1627
+            scanStyles: false
1628
+            });
1629
+        }, 1);
1630
+       },
1247
        getTimes(time) {
1631
        getTimes(time) {
1248
          return uParseTime(time, '{y}-{m}-{d}')
1632
          return uParseTime(time, '{y}-{m}-{d}')
1249
        },
1633
        },
1461
             }
1845
             }
1462
           })
1846
           })
1463
         },
1847
         },
1848
+        handleEditOne(id){
1849
+            getObjectTableDisInfectWayByIdList(id).then(response=>{
1850
+                var list = response.data.data.list
1851
+              console.log("list",list)
1852
+              this.form.id = list.id
1853
+              this.form.record_date = this.getTimes(list.record_date)
1854
+              this.form.first_disinfection_water = list.first_disinfection_water? list.first_disinfection_water:""
1855
+              this.form.first_disinfection_methods = list.first_disinfection_methods? list.first_disinfection_methods:""
1856
+              this.form.first_disinfection_time = list.first_disinfection_time?list.first_disinfection_time:""
1857
+              this.form.first_start_time = this.getTimeThree(list.first_start_time)
1858
+              this.form.first_end_time = this.getTimeThree(list.first_end_time)
1859
+              this.form.first_total_time = list.first_total_time?list.first_total_time:""
1860
+              this.form.first_is_check = list.first_is_check.toString()
1861
+              this.form.first_modifications = list.first_modifications?list.first_modifications:""
1862
+              this.form.first_creator = list.first_creator
1863
+
1864
+              this.form.last_start_time = this.getTimeThree(list.last_start_time)
1865
+              this.form.last_end_time = this.getTimeThree(list.last_end_time)
1866
+              this.form.last_total_time = list.last_total_time?list.last_total_time:""
1867
+              this.form.last_is_check = list.last_is_check.toString()
1868
+              this.form.last_modifications = list.last_modifications?list.last_modifications:""
1869
+              this.form.last_creator = list.last_creator
1870
+              this.form.last_disinfection_water = list.last_disinfection_water?list.last_disinfection_water:""
1871
+              this.form.last_disinfection_methods = list.last_disinfection_methods?list.last_disinfection_methods:""
1872
+              this.form.last_disinfection_time = list.last_disinfection_time?list.last_disinfection_time:""
1873
+              this.form.department = list.department
1874
+              this.editnewdialogFormVisible = true
1875
+            })
1876
+        },
1464
         updateObjectTableDisinfect(formName){
1877
         updateObjectTableDisinfect(formName){
1465
           this.$refs[formName].validate((valid=>{
1878
           this.$refs[formName].validate((valid=>{
1466
             if(valid){
1879
             if(valid){
1536
             }
1949
             }
1537
           }))
1950
           }))
1538
         },
1951
         },
1952
+        updateObjectWayTableDisinfect(formName){
1953
+          this.$refs[formName].validate((valid=>{
1954
+            if(valid){
1955
+                if(this.form.first_is_check!=""){
1956
+                  this.form.first_is_check = parseInt(this.form.first_is_check) 
1957
+                }else{
1958
+                    this.form.first_is_check=0
1959
+                }
1960
+
1961
+              
1962
+                if(this.form.last_is_check!=""){
1963
+                    this.form.last_is_check = parseInt(this.form.last_is_check)
1964
+                }else{
1965
+                    this.form.last_is_check = 0
1966
+                }
1967
+
1968
+
1969
+                if(this.form.first_modifications!=""){
1970
+                  this.form.first_modifications = parseInt(this.form.first_modifications) 
1971
+                }else{
1972
+                    this.form.first_modifications=0
1973
+                }
1974
+
1975
+               
1976
+                if(this.form.last_modifications!=""){
1977
+                    this.form.last_modifications = parseInt(this.form.last_modifications)
1978
+                }else{
1979
+                    this.form.last_modifications = 0
1980
+                }
1981
+                console.log("hhahdhfhahdf",this.form)
1982
+                updateObjectWayTableDisinfect(this.form).then(response=>{
1983
+                 if(response.data.state == 1){
1984
+                   var objectDisinfect =  response.data.data.objectDisinfect
1985
+                   this.$message.success("保存成功!")
1986
+                   this.editnewdialogFormVisible = false
1987
+                   this.getObjectTableDisInfectWayList()
1988
+                 }
1989
+              })
1990
+            }
1991
+          }))
1992
+        },
1539
         handleDelete(id){
1993
         handleDelete(id){
1540
           deleteObjectTableDisinfect(id).then(response=>{
1994
           deleteObjectTableDisinfect(id).then(response=>{
1541
             if(response.data.state ==1){
1995
             if(response.data.state ==1){
1545
             }
1999
             }
1546
           })
2000
           })
1547
         },
2001
         },
2002
+        handleDeleteOne(id){
2003
+          deleteObjectTableWayDisinfect(id).then(response=>{
2004
+            if(response.data.state ==1){
2005
+              var msg = response.data.data.msg
2006
+              this.$message.success("删除成功!")
2007
+              this.getObjectTableDisInfectWayList()
2008
+            }
2009
+          })
2010
+        },
1548
         firststartime(val){
2011
         firststartime(val){
1549
             this.form.first_start_time = val
2012
             this.form.first_start_time = val
1550
             this.form.first_disinfection_time = this.firstdisinfection_time
2013
             this.form.first_disinfection_time = this.firstdisinfection_time
1597
               }
2060
               }
1598
            }
2061
            }
1599
            return user_name
2062
            return user_name
1600
-           // if (id in this.operatorMaps) {
1601
-
1602
-           // return this.operatorMaps[id].url
1603
-
1604
-           // } else {
1605
-           // return ''
1606
-           // }
1607
        },
2063
        },
1608
 
2064
 
1609
        handleSizeChange(val) {
2065
        handleSizeChange(val) {
1614
         this.page = val;
2070
         this.page = val;
1615
         this.getObjectTableDisInfectList()
2071
         this.getObjectTableDisInfectList()
1616
       },
2072
       },
2073
+      handleSizeChangeOne(val){
2074
+        this.limit = val;
2075
+        this.getObjectTableDisInfectWayList()
2076
+      },
2077
+      handleCurrentChangeOne(val){
2078
+        this.page = val;
2079
+        this.getObjectTableDisInfectWayList()
2080
+      },
1617
       toSeach(){
2081
       toSeach(){
1618
         this.getObjectTableDisInfectList()
2082
         this.getObjectTableDisInfectList()
1619
-      }
2083
+        this.getObjectTableDisInfectWayList()
2084
+      },
2085
+      toSetting(){
2086
+        getObjectWayDisinfect().then(response=>{
2087
+           if(response.data.state==1){
2088
+             var objctSet = response.data.data.disinfect
2089
+             if(objctSet!=undefined){
2090
+                this.art_way_one = objctSet.air_way.toString()
2091
+             }
2092
+             this.setEditDialog = true
2093
+             
2094
+           }
2095
+        })
2096
+      },
2097
+      getObjectWayDisinfect(){
2098
+        getObjectWayDisinfect().then(response=>{
2099
+           if(response.data.state==1){
2100
+             var objctSet = response.data.data.disinfect
2101
+             if(objctSet!=undefined){
2102
+                this.art_way_one = objctSet.air_way
2103
+             }
2104
+             console.log("art_way_one23232322323",this.art_way_one)
2105
+            
2106
+           }
2107
+        })
2108
+      },
2109
+      saveSetObjectTable(){
2110
+         var params = {
2111
+            air_way:parseInt(this.air_way)
2112
+         }
2113
+        setObjectDisinfect(params).then(response=>{
2114
+           if(response.data.state==1){
2115
+             var objctSet = response.data.data.objctSet
2116
+             this.setEditDialog = false
2117
+             this.getObjectWayDisinfect()
2118
+           }
2119
+        })
2120
+      },
2121
+      saveObjectWayTableDisinfect(formName){
2122
+        this.$refs[formName].validate((valid)=>{
2123
+            if(valid){
2124
+                if(this.form.first_is_check!=""){
2125
+                  this.form.first_is_check = parseInt(this.form.first_is_check) 
2126
+                }else{
2127
+                    this.form.first_is_check=0
2128
+                }
2129
+
2130
+                if(this.form.first_modifications!=""){
2131
+                  this.form.first_modifications = parseInt(this.form.first_modifications) 
2132
+                }else{
2133
+                    this.form.first_modifications=0
2134
+                }
2135
+
2136
+
2137
+                if(this.form.last_is_check!=""){
2138
+                    this.form.last_is_check = parseInt(this.form.last_is_check)
2139
+                }else{
2140
+                    this.form.last_is_check = 0
2141
+                }
2142
+
2143
+              
2144
+
2145
+                if(this.form.last_modifications!=""){
2146
+                    this.form.last_modifications = parseInt(this.form.last_modifications)
2147
+                }else{
2148
+                    this.form.last_modifications = 0
2149
+                }
2150
+
2151
+                if(this.form.last_start_time == null){
2152
+                   this.form.last_start_time = ""
2153
+                }
2154
+
2155
+                if(this.form.last_end_time == null){
2156
+                   this.form.last_end_time = ""
2157
+                }
2158
+              
2159
+              saveObjectWayTableDisinfect(this.form).then(response=>{
2160
+                if(response.data.state ==1){
2161
+                    var objectDisinfect =  response.data.data.objectDisinfect
2162
+                   this.$message.success("保存成功!")
2163
+                   this.newdialogFormVisible = false
2164
+                   this.getObjectTableDisInfectWayList()
2165
+                }
2166
+              })
2167
+            }
2168
+        })
2169
+      },
2170
+      getObjectTableDisInfectWayList(){
2171
+        var params = {
2172
+                start_time:this.startvalue,
2173
+                end_time:this.endvalue,
2174
+                limit:this.limit,
2175
+                page:this.page,
2176
+             }
2177
+             getObjectTableDisInfectWayList(params).then(response=>{
2178
+              if(response.data.state == 1){
2179
+                var list = response.data.data.list
2180
+                this.tableDataOne = list
2181
+                this.total = response.data.data.total
2182
+              }
2183
+            })  
2184
+       }
1620
         
2185
         
1621
       }
2186
       }
1622
     }
2187
     }

文件差异内容过多而无法显示
+ 3861 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue


+ 12 - 0
src/xt_pages/dialysis/bloodPresssWatch.vue 查看文件

419
           type="primary"
419
           type="primary"
420
           >批量打印</el-button>
420
           >批量打印</el-button>
421
       </template>
421
       </template>
422
+      <template v-if="this.template_id == 68">
423
+        <el-button
424
+          size="small"
425
+          icon="el-icon-printer"
426
+          :disabled="selecting_schs.length == 0"
427
+          @click="batchPrintAction"
428
+          type="primary"
429
+          >批量打印</el-button>
430
+      </template>
422
     </div>
431
     </div>
423
     <div class="app-container">
432
     <div class="app-container">
424
       <!-- <div class="filter-container">
433
       <!-- <div class="filter-container">
2170
       else if (this.template_id == 67) {
2179
       else if (this.template_id == 67) {
2171
         this.$router.push({ path: "/dialysis/print/batch/sixtyseven" });
2180
         this.$router.push({ path: "/dialysis/print/batch/sixtyseven" });
2172
       }
2181
       }
2182
+      else if (this.template_id == 68) {
2183
+        this.$router.push({ path: "/dialysis/print/batch/sixtyeight" });
2184
+      }
2173
     },
2185
     },
2174
     batchPrintActionOne: function() {
2186
     batchPrintActionOne: function() {
2175
       if (this.selecting_schs.length === 0) {
2187
       if (this.selecting_schs.length === 0) {

+ 11 - 2
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

111
           org_template_info.template_id == 50 ||
111
           org_template_info.template_id == 50 ||
112
           org_template_info.template_id == 52 ||
112
           org_template_info.template_id == 52 ||
113
           org_template_info.template_id == 53  ||
113
           org_template_info.template_id == 53  ||
114
-          org_template_info.template_id == 64)
114
+          org_template_info.template_id == 64 ||
115
+          org_template_info.template_id == 68)
115
         "
116
         "
116
       >
117
       >
117
       <div>
118
       <div>
1293
             v-if="org_template_info.template_id == 67">
1294
             v-if="org_template_info.template_id == 67">
1294
 
1295
 
1295
           </DialysisPrintOrdersixtySeven>
1296
           </DialysisPrintOrdersixtySeven>
1297
+          <DialysisPrintOrderSixtyeight
1298
+            v-bind:childResponse="childResponse"
1299
+            v-if="org_template_info.template_id == 68"
1300
+          >
1301
+          </DialysisPrintOrderSixtyeight>
1296
         </div>
1302
         </div>
1297
       </el-container>
1303
       </el-container>
1298
     </div>
1304
     </div>
1378
 import DialysisPrintOrderSixtyFive from "./template/DialysisPrintOrderSixtyFive.vue"
1384
 import DialysisPrintOrderSixtyFive from "./template/DialysisPrintOrderSixtyFive.vue"
1379
 import DialysisPrintOrderSixtysix from './template/DialysisPrintOrderSixtysix.vue'
1385
 import DialysisPrintOrderSixtysix from './template/DialysisPrintOrderSixtysix.vue'
1380
 import DialysisPrintOrdersixtySeven from './template/DialysisPrintOrdersixtySeven.vue'
1386
 import DialysisPrintOrdersixtySeven from './template/DialysisPrintOrdersixtySeven.vue'
1387
+import DialysisPrintOrderSixtyeight from './template/DialysisPrintOrderSixtyeight.vue'
1381
 export default {
1388
 export default {
1382
   name: "dialysisPrintOrder",
1389
   name: "dialysisPrintOrder",
1383
   components: {
1390
   components: {
1448
     DialysisPrintOrderSixtyfour,
1455
     DialysisPrintOrderSixtyfour,
1449
     DialysisPrintOrderSixtyFive,
1456
     DialysisPrintOrderSixtyFive,
1450
     DialysisPrintOrderSixtysix,
1457
     DialysisPrintOrderSixtysix,
1458
+    DialysisPrintOrderSixtyeight,
1451
     LabelBox,
1459
     LabelBox,
1452
     BreadCrumb,
1460
     BreadCrumb,
1453
     // DialysisPrintOrderSixtyFive
1461
     // DialysisPrintOrderSixtyFive
1695
         this.org_template_info.template_id == 58 ||
1703
         this.org_template_info.template_id == 58 ||
1696
         this.org_template_info.template_id == 60 ||
1704
         this.org_template_info.template_id == 60 ||
1697
         this.org_template_info.template_id == 61 ||
1705
         this.org_template_info.template_id == 61 ||
1698
-        this.org_template_info.template_id == 66
1706
+        this.org_template_info.template_id == 66 ||
1707
+        this.org_template_info.template_id == 68
1699
 
1708
 
1700
       ) {
1709
       ) {
1701
         printJS({
1710
         printJS({

+ 69 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 查看文件

4144
         //    this.advice_groups.push(group)
4144
         //    this.advice_groups.push(group)
4145
         //   }
4145
         //   }
4146
         // }
4146
         // }
4147
+
4148
+
4149
+        
4150
+
4151
+        console.log("RESWOOWOWWOOW",response.data.data.doctorAdevieInfo)
4152
+        if(this.org_id ==10515 || this.org_id == 0){
4153
+          if(response.data.data.doctorAdevieInfo!=null && response.data.data.doctorAdevieInfo.length>0){
4154
+            for(let i=0;i<response.data.data.doctorAdevieInfo.length;i++){
4155
+              this.doctor_advices.push(response.data.data.doctorAdevieInfo[i])
4156
+              // this.doctor_advices_2.push(response.data.data.doctorAdevieInfo[i])
4157
+            }
4158
+         }
4159
+
4160
+
4161
+         let projects = [];
4162
+        response.data.data.projects.map((item) => {
4163
+          if (item.type == 2) {
4164
+            projects.push(item);
4165
+          }
4166
+        });
4167
+        this.projects = projects;
4168
+
4169
+      
4170
+        console.log("this.projects", this.projects);
4171
+
4172
+        // var objProject = {advice_name:"",start_time:"",single_dose:"",single_dose_unit:"",}
4173
+      
4174
+        if(this.projects!=null && this.projects.length >0){
4175
+           for(let i=0;i<this.projects.length;i++){
4176
+             if(this.projects[i].type== 2){
4177
+            
4178
+              this.projects[i].project_team_name = ""
4179
+              this.projects[i].project_team_id = 0
4180
+              console.log("this.projects[i].project.team",this.projects[i].project.team)
4181
+              if(this.projects[i].team!= "undefined" && this.projects[i].team.id >0){
4182
+                this.projects[i].project_team = this.projects[i].team.project_team
4183
+                this.projects[i].project_team_id = this.projects[i].team.id
4184
+                this.projects[i].start_time = this.projects[i].start_time
4185
+                this.projects[i].single_dose = this.projects[i].single_dose
4186
+                this.projects[i].single_dose_unit = this.projects[i].unit
4187
+                this.projects[i].execution_time = this.projects[i].execution_time
4188
+                this.projects[i].execution_staff= this.projects[i].execution_staff 
4189
+                this.projects[i].advice_name =  this.projects[i].team.project_team
4190
+              
4191
+               
4192
+                this.doctor_advices.push(this.projects[i])
4193
+                // this.doctor_advices_2.push(this.project[i])
4194
+              }else{
4195
+                this.projects[i].project_team = this.projects[i].project.project_name
4196
+                this.projects[i].advice_name = this.projects[i].project.project_name
4197
+                this.projects[i].start_time = this.projects[i].start_time
4198
+                this.projects[i].single_dose = this.projects[i].single_dose
4199
+                this.projects[i].single_dose_unit = this.projects[i].unit
4200
+                this.projects[i].execution_time = this.projects[i].execution_time
4201
+                this.projects[i].execution_staff= this.projects[i].execution_staff 
4202
+                this.doctor_advices.push(this.projects[i])
4203
+                // this.doctor_advices_2.push(this.projects[i])
4204
+              }
4205
+             
4206
+             }
4207
+             
4208
+           }
4209
+        }
4210
+         
4211
+        }
4212
+      
4213
+        console.log("时间我我我哦我我",this.doctor_advices)
4147
         if (this.doctor_advices.length <= 6) {
4214
         if (this.doctor_advices.length <= 6) {
4148
           var nl = 6;
4215
           var nl = 6;
4149
           this.print_length = 6;
4216
           this.print_length = 6;
4178
           this.doctor_advices_2 = doctor_advices_2;
4245
           this.doctor_advices_2 = doctor_advices_2;
4179
         }
4246
         }
4180
         // console.log(this.advice_groups);
4247
         // console.log(this.advice_groups);
4248
+
4249
+       
4181
       } else {
4250
       } else {
4182
         this.loading = false;
4251
         this.loading = false;
4183
         this.$message.error("请求数据失败");
4252
         this.$message.error("请求数据失败");

文件差异内容过多而无法显示
+ 4533 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue


+ 6 - 2
src/xt_pages/outpatientCharges/components/registerDialog.vue 查看文件

173
           </el-option>
173
           </el-option>
174
         </el-select>
174
         </el-select>
175
       </el-form-item>
175
       </el-form-item>
176
+      <el-form-item label="医师编码:">
177
+         <el-input v-model="form.doctor_number"></el-input>
178
+      </el-form-item>
176
       <el-form-item label="科室:" prop="department">
179
       <el-form-item label="科室:" prop="department">
177
         <el-select v-model="form.department" placeholder="请选择">
180
         <el-select v-model="form.department" placeholder="请选择">
178
           <el-option
181
           <el-option
387
           medical_expenses: '',
390
           medical_expenses: '',
388
           cost: '',
391
           cost: '',
389
           phone: '',
392
           phone: '',
390
-          social_type: ''
393
+          social_type: '',
394
+          doctor_number:"",
391
         }
395
         }
392
 
396
 
393
       }
397
       }
526
       changeDoctor() {
530
       changeDoctor() {
527
         for (let i = 0; i < this.doctors.length; i++) {
531
         for (let i = 0; i < this.doctors.length; i++) {
528
           if (this.doctors[i].admin_user_id == this.form.doctor) {
532
           if (this.doctors[i].admin_user_id == this.form.doctor) {
529
-            console.log(this.doctors[i].department_id)
533
+            this.form.doctor_number = this.doctors[i].doctor_number
530
             this.form.department = this.doctors[i].department_id
534
             this.form.department = this.doctors[i].department_id
531
             if (this.form.department == 0) {
535
             if (this.form.department == 0) {
532
 
536
 

+ 6 - 1
src/xt_pages/outpatientCharges/components/registerDialog9504.vue 查看文件

165
         </el-select>
165
         </el-select>
166
       </el-form-item>
166
       </el-form-item>
167
 
167
 
168
+      <el-form-item label="医师编码:">
169
+         <el-input v-model="form.doctor_number"></el-input>
170
+      </el-form-item>
171
+
168
       <el-form-item label="科室:" prop="department" >
172
       <el-form-item label="科室:" prop="department" >
169
         <el-select v-model="form.department" placeholder="请选择">
173
         <el-select v-model="form.department" placeholder="请选择">
170
           <el-option
174
           <el-option
629
           cost: '',
633
           cost: '',
630
           phone: '',
634
           phone: '',
631
           social_type: '',
635
           social_type: '',
636
+          doctor_number:"",
632
         }, IDCardTypes: [{
637
         }, IDCardTypes: [{
633
           value: 1,
638
           value: 1,
634
           label: '社保卡'
639
           label: '社保卡'
903
       changeDoctor() {
908
       changeDoctor() {
904
         for (let i = 0; i < this.doctors.length; i++) {
909
         for (let i = 0; i < this.doctors.length; i++) {
905
           if (this.doctors[i].admin_user_id == this.form.doctor) {
910
           if (this.doctors[i].admin_user_id == this.form.doctor) {
906
-            console.log(this.doctors[i].department_id)
911
+            this.form.doctor_number = this.doctors[i].doctor_number
907
             this.form.department = this.doctors[i].department_id
912
             this.form.department = this.doctors[i].department_id
908
             if(this.form.department == 0){
913
             if(this.form.department == 0){
909
 
914
 

+ 3 - 3
src/xt_pages/outpatientCharges/invoicePrint.vue 查看文件

12
     </template>
12
     </template>
13
     <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375"><!---->
13
     <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375"><!---->
14
         <div class='dialysisPage'>
14
         <div class='dialysisPage'>
15
-          <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387" >
15
+          <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387 && org_id !=0" >
16
             <printOne v-if="org_id != 10088 &&  org_id != 0 " :paramsObj="invoiceParams"></printOne>
16
             <printOne v-if="org_id != 10088 &&  org_id != 0 " :paramsObj="invoiceParams"></printOne>
17
-            <printThree v-if="org_id == 10088 || org_id == 0" :paramsObj="invoiceParams"></printThree>
17
+            <printThree v-if="org_id == 10088" :paramsObj="invoiceParams"></printThree>
18
           </div>
18
           </div>
19
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
19
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
20
           <printFour v-if="org_id == 10215 || org_id == 4 " :paramsObj="invoiceParams"></printFour>
20
           <printFour v-if="org_id == 10215 || org_id == 4 " :paramsObj="invoiceParams"></printFour>
33
       </div>
33
       </div>
34
     </div>
34
     </div>
35
 
35
 
36
-    <div class="app-container" style="" v-if="org_id == 10217 ">
36
+    <div class="app-container" style="" v-if="org_id == 10217 || org_id == 0">
37
       <div class='dialysisPage'>
37
       <div class='dialysisPage'>
38
         <printSix :paramsObj="invoiceParams"></printSix>
38
         <printSix :paramsObj="invoiceParams"></printSix>
39
       </div>
39
       </div>

+ 4 - 0
src/xt_pages/outpatientCharges/invoiceTemplate/printSix.vue 查看文件

5
       <div :style="{position: 'absolute',top:(18 + (index * 420))  + 'px',left:117+ 'px',}">{{ list.order_number }}</div>
5
       <div :style="{position: 'absolute',top:(18 + (index * 420))  + 'px',left:117+ 'px',}">{{ list.order_number }}</div>
6
       <div >
6
       <div >
7
           <div :style="{position: 'absolute',top:(38 + (index * 420))  + 'px',left:92+ 'px',}">{{ paramsObj.name }}</div>
7
           <div :style="{position: 'absolute',top:(38 + (index * 420))  + 'px',left:92+ 'px',}">{{ paramsObj.name }}</div>
8
+          <div :style="{position: 'absolute',top:(38 + (index * 420))  + 'px',left:492+ 'px',}">{{ doctor_info.user_name }}  {{ doctor_info.doctor_number }} </div>
8
       </div>
9
       </div>
9
       <div :style="{position: 'absolute',top:(95 + (index * 420))  + 'px',left:76+ 'px',}">
10
       <div :style="{position: 'absolute',top:(95 + (index * 420))  + 'px',left:76+ 'px',}">
10
           <div v-if="list.westernMedicineCostTotal">西药 {{ list.westernMedicineCostTotal }}</div>
11
           <div v-if="list.westernMedicineCostTotal">西药 {{ list.westernMedicineCostTotal }}</div>
116
           org_name:'',
117
           org_name:'',
117
           page:1,
118
           page:1,
118
           pageArr:[],
119
           pageArr:[],
120
+          doctor_info:{},
119
       }
121
       }
120
   },
122
   },
121
   created(){
123
   created(){
150
               this.getPage()
152
               this.getPage()
151
               this.pageArr.push(10)
153
               this.pageArr.push(10)
152
               console.log('pageArr',this.pageArr.length)
154
               console.log('pageArr',this.pageArr.length)
155
+              this.doctor_info = res.data.data.doctor_info
156
+              console.log("doc_ON2O2O2O",this.doctor_info)
153
           })
157
           })
154
       },
158
       },
155
       smalltoBIG(n) {
159
       smalltoBIG(n) {

+ 18 - 12
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue 查看文件

105
                     </el-select>
105
                     </el-select>
106
                 </template>
106
                 </template>
107
             </el-table-column>
107
             </el-table-column>
108
+            <el-table-column align="center" prop="remark" width="80" label="国家编码">
109
+                <template slot-scope="scope">
110
+                    <el-input   v-model="scope.row.drug.medical_insurance_number" placeholder=""></el-input>
111
+                </template>
112
+            </el-table-column>
108
             <el-table-column align="center" prop="remark" width="50" label="备注">
113
             <el-table-column align="center" prop="remark" width="50" label="备注">
109
                 <template slot-scope="scope">
114
                 <template slot-scope="scope">
110
                     <el-input :disabled="prescription.is_medicine_status"  v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
115
                     <el-input :disabled="prescription.is_medicine_status"  v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
183
 
188
 
184
                 </template>
189
                 </template>
185
             </el-table-column>
190
             </el-table-column>
191
+            <el-table-column align="center" prop="name" width="50" label="国家编码">
192
+                <template slot-scope="scope" v-if="scope.row.type==3">
193
+                    <el-input v-model="scope.row.good_info.social_security_directory_code"></el-input>
194
+                </template>
195
+                <template slot-scope="scope" v-if="scope.row.type==2">
196
+                    <el-input v-model="scope.row.project.medical_code"></el-input>
197
+                </template>
198
+            </el-table-column>
186
             <el-table-column align="center" prop="name" width="50" label="备注">
199
             <el-table-column align="center" prop="name" width="50" label="备注">
187
                 <template slot-scope="scope">
200
                 <template slot-scope="scope">
188
                     <el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>
201
                     <el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>
319
             this.$message.error(response.data.msg)
332
             this.$message.error(response.data.msg)
320
             return false
333
             return false
321
           } else {
334
           } else {
322
-            this.drugways = []
323
-            //内蒙古医院因为使用坐标系统,需要按坐标系统的用药途径改造,所以需要把默认的用药途径删除
324
-            if(this.$store.getters.xt_user.org_id == 0 ){
325
-              for(let i = 0; i < response.data.data.drugways.length; i++){
326
-                if(response.data.data.drugways[i].org_id > 0 ){
327
-                  this.drugways.push(response.data.data.drugways[i])
328
-                }
329
-              }
330
-            }else{
331
-              this.drugways = response.data.data.drugways
332
-            }
335
+            this.drugways = response.data.data.drugways
336
+
333
             this.efs = response.data.data.efs
337
             this.efs = response.data.data.efs
334
             this.drugList = response.data.data.drugs
338
             this.drugList = response.data.data.drugs
339
+           
335
           }
340
           }
336
         })
341
         })
337
 
342
 
693
     watch: {
698
     watch: {
694
       'prescription.advices': {
699
       'prescription.advices': {
695
         handler(newVal, oldVal) {
700
         handler(newVal, oldVal) {
696
-
701
+          console.log("检查我我我我",this.prescription.advices)
702
+          console.log("检查我我我我",this.prescription.project)
697
         },
703
         },
698
         deep: true
704
         deep: true
699
       }
705
       }

+ 2 - 2
src/xt_pages/outpatientDoctorStation/template/printOne.vue 查看文件

352
 
352
 
353
             />
353
             />
354
           </p>
354
           </p>
355
-          <p v-if="org_id == 10510 ||org_id == 0">
355
+          <p v-if="org_id == 10510">
356
             医师:
356
             医师:
357
             <span
357
             <span
358
               style="width: 100px; display: inline-block"
358
               style="width: 100px; display: inline-block"
374
 
374
 
375
             />
375
             />
376
           </p>
376
           </p>
377
-          <p v-else>
377
+          <p v-if="org_id!=10217 && org_id!=10510">
378
             医师: {{ item.doctor ? item.doctor : "" }}
378
             医师: {{ item.doctor ? item.doctor : "" }}
379
           </p>
379
           </p>
380
           <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
380
           <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>

+ 9 - 2
src/xt_pages/outpatientRegistration/index.vue 查看文件

381
                             </el-option>
381
                             </el-option>
382
                         </el-select>
382
                         </el-select>
383
                     </el-form-item>
383
                     </el-form-item>
384
+                    <el-form-item label="医师编码:">
385
+                       <el-input v-model="form.doctor_number"></el-input>
386
+                    </el-form-item>
384
                     <el-form-item label="科室:" prop="department" :validate-event="is_Name">
387
                     <el-form-item label="科室:" prop="department" :validate-event="is_Name">
385
                         <el-select v-model="form.department" placeholder="请选择">
388
                         <el-select v-model="form.department" placeholder="请选择">
386
                             <el-option
389
                             <el-option
484
           total: '',
487
           total: '',
485
           phone: '',
488
           phone: '',
486
           social_type: '',
489
           social_type: '',
487
-          id_card_type: 2
490
+          id_card_type: 2,
491
+          doctor_number:"",
488
 
492
 
489
         },
493
         },
490
         medical_care: [
494
         medical_care: [
1515
       ,
1519
       ,
1516
 
1520
 
1517
       changeDoctor(id) {
1521
       changeDoctor(id) {
1518
-
1522
+        console.log("idwowowowo",id)
1519
         for (let i = 0; i < this.doctorList.length; i++) {
1523
         for (let i = 0; i < this.doctorList.length; i++) {
1520
           if (this.doctorList[i].admin_user_id == id) {
1524
           if (this.doctorList[i].admin_user_id == id) {
1525
+            this.form.doctor_number = this.doctorList[i].doctor_number
1521
             if (this.doctorList[i].department_id == 0) {
1526
             if (this.doctorList[i].department_id == 0) {
1522
               this.form.department = this.departmentList[0].id
1527
               this.form.department = this.departmentList[0].id
1528
+              
1523
             } else {
1529
             } else {
1524
               this.form.department = this.doctorList[i].department_id
1530
               this.form.department = this.doctorList[i].department_id
1525
             }
1531
             }
1526
 
1532
 
1527
           }
1533
           }
1528
         }
1534
         }
1535
+        console.log("this.form.doctor_number",this.form.doctor_number)
1529
       },
1536
       },
1530
       changeName(id) {
1537
       changeName(id) {
1531
         this.form.sex = ''
1538
         this.form.sex = ''

+ 4 - 4
src/xt_pages/role/admin.vue 查看文件

179
            
179
            
180
 
180
 
181
         
181
         
182
-         <el-button
182
+         <!-- <el-button
183
           type="primary"
183
           type="primary"
184
           size="small"
184
           size="small"
185
           icon="el-icon-circle-plus-outline"
185
           icon="el-icon-circle-plus-outline"
186
           style="float:left"
186
           style="float:left"
187
-          @click="toSendInformaton">发送短信验证码</el-button> 
187
+          @click="toSendInformaton">发送短信验证码</el-button>  -->
188
        
188
        
189
           
189
           
190
      </div>
190
      </div>
271
               </el-button>
271
               </el-button>
272
             </span> -->
272
             </span> -->
273
 
273
 
274
-            <span>
274
+            <!-- <span>
275
               <el-button type="primary" size="small" @click="toQianShu(scope.row.user_id,scope.row.user_name)">
275
               <el-button type="primary" size="small" @click="toQianShu(scope.row.user_id,scope.row.user_name)">
276
                     <span>创建签署人用户</span>
276
                     <span>创建签署人用户</span>
277
               </el-button>
277
               </el-button>
287
               <el-button type="primary" size="small" @click="toShouQuan(scope.row.user_id,scope.row.user_name)">
287
               <el-button type="primary" size="small" @click="toShouQuan(scope.row.user_id,scope.row.user_name)">
288
                     <span>创建企业印章</span>
288
                     <span>创建企业印章</span>
289
               </el-button>
289
               </el-button>
290
-            </span>
290
+            </span> -->
291
             <el-tooltip
291
             <el-tooltip
292
               class="item"
292
               class="item"
293
               effect="dark"
293
               effect="dark"

+ 15 - 3
src/xt_pages/stock/inventoryTransfer/Addtrans.vue 查看文件

113
               </el-form-item>
113
               </el-form-item>
114
             </template>
114
             </template>
115
           </el-table-column>
115
           </el-table-column>
116
+        <el-table-column align="center" width="100">
117
+          <template slot="header" slot-scope="scope">
118
+              国家编码
119
+            </template>
120
+           <template slot-scope="scope">
121
+              {{ scope.row.medical_insurance_number? scope.row.medical_insurance_number:"" }}
122
+           </template>
123
+        </el-table-column>
116
           <el-table-column align="center" width="200">
124
           <el-table-column align="center" width="200">
117
             <template slot="header" slot-scope="scope">
125
             <template slot="header" slot-scope="scope">
118
               <span>商品类型<span style="color: red">*</span></span>
126
               <span>商品类型<span style="color: red">*</span></span>
520
           this.recordInfo.recordData[i].name = val.name;
528
           this.recordInfo.recordData[i].name = val.name;
521
           this.recordInfo.recordData[i].project_name = val.project_name;
529
           this.recordInfo.recordData[i].project_name = val.project_name;
522
           this.recordInfo.recordData[i].project_type = val.project_type;
530
           this.recordInfo.recordData[i].project_type = val.project_type;
523
-          this.recordInfo.recordData[i].second_specification_name =
524
-            val.second_specification_name;
531
+          this.recordInfo.recordData[i].second_specification_name =val.second_specification_name;
525
           this.recordInfo.recordData[i].second_total = val.second_total;
532
           this.recordInfo.recordData[i].second_total = val.second_total;
526
           this.recordInfo.recordData[i].sencond_unit = val.sencond_unit;
533
           this.recordInfo.recordData[i].sencond_unit = val.sencond_unit;
527
           this.recordInfo.recordData[i].min_price = val.min_price;
534
           this.recordInfo.recordData[i].min_price = val.min_price;
535
+          this.recordInfo.recordData[i].medical_insurance_number = val.medical_insurance_number
528
           if (val.count == NaN) {
536
           if (val.count == NaN) {
529
             this.recordInfo.recordData[i].count = "";
537
             this.recordInfo.recordData[i].count = "";
530
           } else {
538
           } else {
588
       tempObj["remake"] = "";
596
       tempObj["remake"] = "";
589
       tempObj["project_id"] = 0;
597
       tempObj["project_id"] = 0;
590
       tempObj["min_price"] = 0;
598
       tempObj["min_price"] = 0;
599
+      tempObj["medical_insurance_number"] =0
591
       this.recordInfo.recordData = []
600
       this.recordInfo.recordData = []
592
       this.recordInfo.recordData.push(tempObj);
601
       this.recordInfo.recordData.push(tempObj);
593
       if(this.storehouse_in_id == this.storehouse_out_id){
602
       if(this.storehouse_in_id == this.storehouse_out_id){
665
           drugList[i].count = "";
674
           drugList[i].count = "";
666
           drugList[i].remake = "";
675
           drugList[i].remake = "";
667
           drugList[i].min_price = drugList[i].min_price;
676
           drugList[i].min_price = drugList[i].min_price;
677
+          drugList[i].medical_insurance_number = drugList[i].medical_insurance_number
668
           if (drugList[i].max_unit != drugList[i].min_unit) {
678
           if (drugList[i].max_unit != drugList[i].min_unit) {
669
             drugList[i].unitList = [
679
             drugList[i].unitList = [
670
               { id: 1, name: "" },
680
               { id: 1, name: "" },
719
           goodList[i].sencond_unit = goodList[i].packing_unit;
729
           goodList[i].sencond_unit = goodList[i].packing_unit;
720
           goodList[i].remake = "";
730
           goodList[i].remake = "";
721
           goodList[i].min_price = goodList[i].retail_price;
731
           goodList[i].min_price = goodList[i].retail_price;
732
+          goodList[i].medical_insurance_number = goodList[i].medical_insurance_number
722
           for (let j = 0; j < goodList[i].unitList.length; j++) {
733
           for (let j = 0; j < goodList[i].unitList.length; j++) {
723
             goodList[i].unitList[0].name = goodList[i].packing_unit;
734
             goodList[i].unitList[0].name = goodList[i].packing_unit;
724
           }
735
           }
771
     tempObj["remake"] = "";
782
     tempObj["remake"] = "";
772
     tempObj["is_source"] = 0;
783
     tempObj["is_source"] = 0;
773
     tempObj["project_id"] = 0;
784
     tempObj["project_id"] = 0;
774
-    tempObj["min_price"] = 0;
785
+    tempObj["min_price"] = 0; 
786
+    tempObj["medical_insurance_number"] = ""
775
     this.recordInfo.recordData.push(tempObj);
787
     this.recordInfo.recordData.push(tempObj);
776
     this.getlist();
788
     this.getlist();
777
   },
789
   },

+ 17 - 1
src/xt_pages/stock/inventoryTransfer/transEdit.vue 查看文件

132
               </el-form-item>
132
               </el-form-item>
133
             </template>
133
             </template>
134
           </el-table-column>
134
           </el-table-column>
135
+          <el-table-column align="center" width="100">
136
+          <template slot="header" slot-scope="scope">
137
+              国家编码
138
+            </template>
139
+           <template slot-scope="scope">
140
+              {{ scope.row.medical_insurance_number? scope.row.medical_insurance_number:"" }}
141
+           </template>
142
+         </el-table-column>
135
           <el-table-column align="center" width="250">
143
           <el-table-column align="center" width="250">
136
             <template slot="header" slot-scope="scope">
144
             <template slot="header" slot-scope="scope">
137
               <span>规格<span style="color: red">*</span></span>
145
               <span>规格<span style="color: red">*</span></span>
451
       tempObj["remake"] = "";
459
       tempObj["remake"] = "";
452
       tempObj["project_id"] = 0;
460
       tempObj["project_id"] = 0;
453
       tempObj["min_price"] = 0;
461
       tempObj["min_price"] = 0;
462
+      tempObj["medical_insurance_number"] = ""
454
       this.recordInfo.recordData.push(tempObj);
463
       this.recordInfo.recordData.push(tempObj);
455
     },
464
     },
456
 
465
 
687
             }
696
             }
688
 
697
 
689
             drugList[i].sencond_unit = drugList[i].max_unit;
698
             drugList[i].sencond_unit = drugList[i].max_unit;
690
-            for (let j = 0; j < drugList[i].unitList.length; j++) {
699
+            drugList[i].medical_insurance_number  = drugList[i].medical_insurance_number
700
+              for (let j = 0; j < drugList[i].unitList.length; j++) {
691
               if (drugList[i].max_unit != drugList[i].min_unit) {
701
               if (drugList[i].max_unit != drugList[i].min_unit) {
692
                 drugList[i].unitList[0].name = drugList[i].max_unit;
702
                 drugList[i].unitList[0].name = drugList[i].max_unit;
693
                 drugList[i].unitList[1].name = drugList[i].min_unit;
703
                 drugList[i].unitList[1].name = drugList[i].min_unit;
730
             goodList[i].sencond_unit = goodList[i].packing_unit;
740
             goodList[i].sencond_unit = goodList[i].packing_unit;
731
             goodList[i].remake = "";
741
             goodList[i].remake = "";
732
             goodList[i].min_price = goodList[i].retail_price;
742
             goodList[i].min_price = goodList[i].retail_price;
743
+            goodList[i].medical_insurance_number = goodList[i].medical_insurance_number
733
             for (let j = 0; j < goodList[i].unitList.length; j++) {
744
             for (let j = 0; j < goodList[i].unitList.length; j++) {
734
               goodList[i].unitList[0].name = goodList[i].packing_unit;
745
               goodList[i].unitList[0].name = goodList[i].packing_unit;
735
             }
746
             }
747
+            
736
             this.tabList.push(goodList[i]);
748
             this.tabList.push(goodList[i]);
737
           }
749
           }
738
         }
750
         }
847
       tempObj["remake"] = "";
859
       tempObj["remake"] = "";
848
       tempObj["project_id"] = 0;
860
       tempObj["project_id"] = 0;
849
       tempObj["min_price"] = 0;
861
       tempObj["min_price"] = 0;
862
+      tempObj["medical_insurance_number"] = ""
850
       if(this.storehouse_in_id == this.storehouse_out_id){
863
       if(this.storehouse_in_id == this.storehouse_out_id){
851
          this.$message.error("调出仓库和调入仓库不能是同一个仓库!")
864
          this.$message.error("调出仓库和调入仓库不能是同一个仓库!")
852
          this.storehouse_out_id = ""
865
          this.storehouse_out_id = ""
925
           drugList[i].count = "";
938
           drugList[i].count = "";
926
           drugList[i].remake = "";
939
           drugList[i].remake = "";
927
           drugList[i].min_price = drugList[i].min_price;
940
           drugList[i].min_price = drugList[i].min_price;
941
+          drugList[i].medical_insurance_number = drugList[i].medical_insurance_number
928
           if (drugList[i].max_unit != drugList[i].min_unit) {
942
           if (drugList[i].max_unit != drugList[i].min_unit) {
929
             drugList[i].unitList = [
943
             drugList[i].unitList = [
930
               { id: 1, name: "" },
944
               { id: 1, name: "" },
979
           goodList[i].sencond_unit = goodList[i].packing_unit;
993
           goodList[i].sencond_unit = goodList[i].packing_unit;
980
           goodList[i].remake = "";
994
           goodList[i].remake = "";
981
           goodList[i].min_price = goodList[i].retail_price;
995
           goodList[i].min_price = goodList[i].retail_price;
996
+          goodList[i].medical_insurance_number= goodList[i].medical_insurance_number
982
           for (let j = 0; j < goodList[i].unitList.length; j++) {
997
           for (let j = 0; j < goodList[i].unitList.length; j++) {
983
             goodList[i].unitList[0].name = goodList[i].packing_unit;
998
             goodList[i].unitList[0].name = goodList[i].packing_unit;
984
           }
999
           }
1011
     tempObj["is_source"] = 0;
1026
     tempObj["is_source"] = 0;
1012
     tempObj["project_id"] = 0;
1027
     tempObj["project_id"] = 0;
1013
     tempObj["min_price"] = 0;
1028
     tempObj["min_price"] = 0;
1029
+    tempObj["medical_insurance_number"] = ""
1014
     this.recordInfo.recordData.push(tempObj);
1030
     this.recordInfo.recordData.push(tempObj);
1015
     this.getlist();
1031
     this.getlist();
1016
     this.getSencondOrderDetail();
1032
     this.getSencondOrderDetail();

+ 182 - 5
src/xt_pages/workforce/Patientshift.vue 查看文件

2
   <div class="main-contain">
2
   <div class="main-contain">
3
     <div class="position">
3
     <div class="position">
4
       <bread-crumb :crumbs="crumbs" style="flex:1;"></bread-crumb>
4
       <bread-crumb :crumbs="crumbs" style="flex:1;"></bread-crumb>
5
+      <!-- <div style="display: inline-block;position: relative;right: -30%;"> -->
6
+        <el-button type="primary"  @click="quan_ping">全屏</el-button>
7
+      <!-- </div> -->
5
     </div>
8
     </div>
6
     <div class="app-container" style="background-color: white">
9
     <div class="app-container" style="background-color: white">
7
       <div id="print_content">
10
       <div id="print_content">
43
               inactive-text="OFF">
46
               inactive-text="OFF">
44
             </el-switch>
47
             </el-switch>
45
           </div>
48
           </div>
49
+          <!-- <div style="display: inline-block;position: relative;right: -30%;">
50
+            <el-button type="primary"  @click="quan_ping">全屏</el-button>
51
+          </div> -->
46
         </div>
52
         </div>
47
         <div class="table_panel"  v-for="(item, index) in tableData" :key="index">
53
         <div class="table_panel"  v-for="(item, index) in tableData" :key="index">
48
           <table class="table">
54
           <table class="table">
57
                 <td style="text-align: center;">{{ getZoneName(ite.partition_id) }}</td>
63
                 <td style="text-align: center;">{{ getZoneName(ite.partition_id) }}</td>
58
                 <td>
64
                 <td>
59
                   <div v-for="(it,index) in numberlist" style="display: inline-block;position: relative;" >
65
                   <div v-for="(it,index) in numberlist" style="display: inline-block;position: relative;" >
60
-                    <div  v-if="ite.partition_id==it.zone_id" class="huanzhekuais" :style="{'height':hidder ? '30px': '110px','line-height':hidder ? '30px':''}" @dblclick="db_click($event,it)" @drop="drop($event,item,it.number)" @dragstart="curInfoDragStart($event,item)" draggable="true"   @dragover="allowDrop"> 
66
+                    <div  v-if="ite.partition_id==it.zone_id" class="huanzhekuais" :style="{'height':!hidder ? '110px': '30px','line-height':hidder ? '30px':''}" @dblclick="db_click($event,it)" @drop="drop($event,item,it.number)" @dragstart="curInfoDragStart($event,item)" draggable="true"   @dragover="allowDrop"> 
61
                       <div class="huanzhekuai">
67
                       <div class="huanzhekuai">
62
                         <div v-for="(item2) in item.list"   draggable="true" >
68
                         <div v-for="(item2) in item.list"   draggable="true" >
63
                           <template >
69
                           <template >
86
           </table>
92
           </table>
87
           
93
           
88
         </div>
94
         </div>
95
+       
89
         <!-- 双击弹窗 -->
96
         <!-- 双击弹窗 -->
90
         <el-dialog
97
         <el-dialog
91
           title="提示"
98
           title="提示"
218
         </el-dialog>
225
         </el-dialog>
219
       </div>
226
       </div>
220
     </div>
227
     </div>
228
+    <!-- 全屏 -->
229
+    <div id="patient_quan" style="width: 100%;background: #fff;" v-if="quanping==true">
230
+      <div class="position">
231
+      <bread-crumb :crumbs="crumbs" style="flex:1;"></bread-crumb>
232
+      <!-- <div style="display: inline-block;position: relative;right: -30%;"> -->
233
+        <el-button type="primary"  @click="quan_ping">取消全屏</el-button>
234
+      <!-- </div> -->
235
+    </div>
236
+       <div style="margin: 20px 0;">
237
+          <div class="content_top">日期:
238
+            <el-date-picker
239
+              @change="date_picker"
240
+              v-model="date"
241
+              type="date"
242
+              placeholder="选择日期">
243
+            </el-date-picker>
244
+          </div>
245
+          <div class="content_top">排班班次:
246
+            <el-select v-model="classes" placeholder="请选择" @change="banci_select">
247
+              <el-option
248
+                v-for="item in schedulArr"
249
+                :key="item.value"
250
+                :label="item.label"
251
+                :value="item.value">
252
+              </el-option>
253
+            </el-select>
254
+          </div>
255
+          <div class="content_top">病区选择:
256
+            <el-select v-model="bingqu" placeholder="请选择" @change="bingqu_select">
257
+              <el-option
258
+                v-for="item in partitionArr"
259
+                :key="item.value"
260
+                :label="item.name"
261
+                :value="item.id">
262
+              </el-option>
263
+            </el-select>
264
+          </div>
265
+          <div class="content_top">隐藏备注:
266
+            <el-switch
267
+              v-model="hidder"
268
+              active-color="#13ce66"
269
+              inactive-color="#ff4949"
270
+              active-text="ON"
271
+              inactive-text="OFF">
272
+            </el-switch>
273
+          </div>
274
+         
275
+        </div>
276
+        <div class="table_panel"  v-for="(item, index) in tableData" :key="index">
277
+          <table class="table">
278
+            <thead>
279
+              <tr>
280
+                <td :width="td_1_width">分区</td>
281
+                <td :width="td_3_width">病人姓名</td>
282
+              </tr>
283
+            </thead>
284
+            <tbody>
285
+              <tr v-for="(ite,index) in item.zones" :key="index">
286
+                <td style="text-align: center;">{{ getZoneName(ite.partition_id) }}</td>
287
+                <td>
288
+                  <div v-for="(it,index) in numberlist" style="display: inline-block;position: relative;" >
289
+                    <div  v-if="ite.partition_id==it.zone_id" class="huanzhekuais" :style="{'height':!hidder ? '110px': '30px','line-height':hidder ? '30px':''}" @dblclick="db_click($event,it)" @drop="drop($event,item,it.number)" @dragstart="curInfoDragStart($event,item)" draggable="true"   @dragover="allowDrop"> 
290
+                      <div class="huanzhekuai">
291
+                        <div v-for="(item2) in item.list"   draggable="true" >
292
+                          <template >
293
+                            <div v-if="it.id==item2.bed_id" style="display: inline-block;">
294
+                              <div>
295
+                                <span>{{nameSplit(item2.name) }}({{ getmode(item2.mode_id) }})</span><br>
296
+                                <span v-if="!hidder" >
297
+                                  <span style="font-size: 14px;margin-bottom: 5px;">{{item2.order.DeviceNumber.zone.name}}-{{item2.order.DeviceNumber.number}}</span><br>
298
+                                  <span style="font-size: 14px;margin-bottom: 5px;">{{getBloodAccess(item2.order.blood_access_id)}}</span><br>
299
+                                  <span style="font-size: 13px;;margin-bottom: 5px;">{{item2.order.schedule_remark}}</span>
300
+                                </span> 
301
+                              </div>
302
+                            </div>
303
+                          </template> 
304
+                        </div>
305
+                      </div> 
306
+                                        
307
+                    </div>
308
+                    <div v-if="ite.partition_id==it.zone_id" style="display: inline-block;width: 125px;text-align: center;">
309
+                      {{ it.number }}
310
+                    </div>
311
+                  </div>
312
+                </td>
313
+              </tr>
314
+            </tbody>
315
+          </table>
316
+          
317
+        </div>
318
+    </div>
221
   </div>
319
   </div>
222
 </template>
320
 </template>
223
 
321
 
243
       tipDialogVisible:false,
341
       tipDialogVisible:false,
244
       tipDialogVisibleTwo:false,
342
       tipDialogVisibleTwo:false,
245
       tipDialogVisibleThree:false,
343
       tipDialogVisibleThree:false,
246
-      hidder: true,
344
+      hidder: false,
345
+      quanping:false,
247
       td_1_width: '8%',
346
       td_1_width: '8%',
248
       td_3_width: '90%',
347
       td_3_width: '90%',
249
       date:'',
348
       date:'',
651
     // console.log('8888',this.huanzhe.order.DeviceNumber.zone.name);
750
     // console.log('8888',this.huanzhe.order.DeviceNumber.zone.name);
652
   },
751
   },
653
   methods:{
752
   methods:{
654
-   
753
+    quan_ping(){
754
+      if(this.quanping==false){
755
+        // console.log('ttttt');
756
+        return this.quanping=true
757
+      }else{
758
+        // console.log('fffff');
759
+        return this.quanping=false
760
+      }
761
+    },
655
     drop(e,val,value){
762
     drop(e,val,value){
656
       this.allowDrop(e)
763
       this.allowDrop(e)
657
       var bedid = ''
764
       var bedid = ''
660
       var zoneid=''
767
       var zoneid=''
661
       console.log('kkkkk',e.target.innerText);
768
       console.log('kkkkk',e.target.innerText);
662
       const inntext= e.target.innerText.split('(')[0]
769
       const inntext= e.target.innerText.split('(')[0]
770
+      console.log('vvvv',inntext,val.list[0].new_name);
663
       for(let i=0;i<val.list.length;i++){
771
       for(let i=0;i<val.list.length;i++){
664
-        if(inntext == val.list[i].name){
772
+        if(inntext == val.list[i].new_name){
665
           console.log('6666',val,value);
773
           console.log('6666',val,value);
666
           console.log('7777',this.numberlist);
774
           console.log('7777',this.numberlist);
667
           this.tipDialogVisible=true
775
           this.tipDialogVisible=true
820
     curInfoDragStart(e,val){
928
     curInfoDragStart(e,val){
821
       const inntext2= e.target.innerText.split('(')[0]
929
       const inntext2= e.target.innerText.split('(')[0]
822
       for(let i=0;i<val.list.length;i++){
930
       for(let i=0;i<val.list.length;i++){
823
-        if(inntext2 == val.list[i].name){
931
+        if(inntext2 == val.list[i].new_name){
824
           this.cur_drag_info={
932
           this.cur_drag_info={
825
             id:val.list[i].id,
933
             id:val.list[i].id,
826
             name:val.list[i].name,
934
             name:val.list[i].name,
905
           var numberlist=response.data.data.numberList
1013
           var numberlist=response.data.data.numberList
906
           this.numberlist= numberlist
1014
           this.numberlist= numberlist
907
           this.subzone = numberlist
1015
           this.subzone = numberlist
1016
+          for(let i=0;i<list.length;i++){
1017
+           const new_name = 'new_name'
1018
+           list[i][new_name]=this.nameSplit(list[i].name)
1019
+           
1020
+          }
1021
+          console.log('9999',list);
908
           if (list != null && list.length > 0) {
1022
           if (list != null && list.length > 0) {
909
             const dataInfo = {}
1023
             const dataInfo = {}
910
             list.forEach((item, index) => {
1024
             list.forEach((item, index) => {
1389
   }
1503
   }
1390
 }
1504
 }
1391
 </style>
1505
 </style>
1506
+<style lang="scss" scoped>
1507
+#patient_quan{
1508
+  position: fixed;
1509
+  top: 0;
1510
+  right: 0;
1511
+  bottom: 0;
1512
+  left: 0;
1513
+  overflow: auto;
1514
+  margin: 0;
1515
+  background: #fff;
1516
+  padding: 20px;
1517
+  height: 100%;
1518
+  z-index: 2000;
1519
+  .content_top{
1520
+    display: inline-block;
1521
+  }
1522
+  .table_panel {
1523
+    .table {
1524
+      width: 100%;
1525
+      border: 1px solid;
1526
+      border-collapse: collapse;
1527
+      padding: 2px;
1528
+
1529
+      thead {
1530
+        tr {
1531
+          td {
1532
+            border: 1px solid;
1533
+            text-align: center;
1534
+            font-size: 20px;
1535
+            padding: 15px 5px;
1536
+          }
1537
+        }
1538
+      }
1539
+      tbody {
1540
+        tr {
1541
+          td {
1542
+            border: 1px solid;
1543
+            // text-align: center;
1544
+            font-size: 18px;
1545
+            padding: 5px 5px;
1546
+
1547
+           .huanzhekuai{
1548
+            width: 125px;
1549
+            display: inline-block;
1550
+            text-align: center;
1551
+            // margin:0 10px;
1552
+           }
1553
+           .huanzhekuais{
1554
+            width: 125px;
1555
+            // display: inline-block;
1556
+            text-align: center;
1557
+            margin:0 10px;
1558
+            // line-height: 110px;
1559
+            background: #30b8e394;
1560
+           }
1561
+           
1562
+          }
1563
+        }
1564
+      }
1565
+    }
1566
+  }
1567
+}
1568
+</style>
1392
 
1569