Explorar el Código

中能建打印单修改

XMLWAN hace 5 años
padre
commit
7d940c4906

+ 2 - 2
config/dev.env.js Ver fichero

@@ -6,8 +6,8 @@
6 6
 module.exports = {
7 7
   NODE_ENV: '"development"',
8 8
   ENV_CONFIG: '"dev"',
9
-  // BASE_API: '"http://api.xt.test.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
10
-  BASE_API:'"http://localhost:9531"',
9
+  BASE_API: '"http://api.xt.test.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
10
+  //BASE_API:'"http://localhost:9531"',
11 11
   SSO_HOST: '"http://testsso.sgjyun.com"',
12 12
   SRCM_HOST: '"http://test1.sgjyun.com"',
13 13
   XT_HOST: '"http://xt.test.sgjyun.com"',

+ 2 - 2
config/index.js Ver fichero

@@ -19,8 +19,8 @@ module.exports = {
19 19
 
20 20
     // host: 'xt.test.sgjyun.com',
21 21
     // host: 'xt.kuyicloud.com',
22
-    // host: 'xt.test.sgjyun.com',
23
-    host:'localhost',
22
+    host: 'xt.test.sgjyun.com',
23
+    //host:'localhost',
24 24
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
25 25
     autoOpenBrowser: true,
26 26
     errorOverlay: true,

+ 2 - 0
src/xt_pages/dialysis/details/assessmentBefore.vue Ver fichero

@@ -347,6 +347,7 @@ export default {
347 347
         return "-";
348 348
       }
349 349
       return this.record.catheter;
350
+      console.log("导管", this.record.catheter);
350 351
     },
351 352
 
352 353
     temperature: function() {
@@ -589,6 +590,7 @@ export default {
589 590
     },
590 591
     isShow(name) {
591 592
       var filedList = store.getters.xt_user.fileds;
593
+      var arr = [];
592 594
       for (let i = 0; i < filedList.length; i++) {
593 595
         if (
594 596
           filedList[i].module == 3 &&

+ 13 - 13
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Ver fichero

@@ -421,20 +421,20 @@
421 421
 <!--              </el-select>-->
422 422
 <!--            </el-form-item>-->
423 423
 <!--          </el-col>-->
424
-<!--          <el-col :span="8" v-if="isShow('失衡综合症')">-->
425
-<!--            <el-form-item label="失衡综合症: ">-->
426
-<!--              <el-select v-model="form.disequilibrium_syndrome">-->
427
-<!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
424
+          <el-col :span="8" v-if="isShow('失衡综合症')">
425
+            <el-form-item label="失衡综合症: ">
426
+              <el-select v-model="form.disequilibrium_syndrome">
427
+                <el-option :key="0" label="请选择" :value="0"></el-option>
428 428
 
429
-<!--                <el-option-->
430
-<!--                  v-for="item in this.$store.getters.disequilibrium_syndrome"-->
431
-<!--                  :label="item.name"-->
432
-<!--                  :value="item.id"-->
433
-<!--                  :key="item.id"-->
434
-<!--                ></el-option>-->
435
-<!--              </el-select>-->
436
-<!--            </el-form-item>-->
437
-<!--          </el-col>-->
429
+                <el-option
430
+                  v-for="item in this.$store.getters.disequilibrium_syndrome"
431
+                  :label="item.name"
432
+                  :value="item.id"
433
+                  :key="item.id"
434
+                ></el-option>
435
+              </el-select>
436
+            </el-form-item>
437
+          </el-col>
438 438
 <!--          <el-col :span="8" v-if="isShow('失衡综合症症状')">-->
439 439
 <!--            <el-form-item label="失衡综合症症状: ">-->
440 440
 <!--              <el-input-->

+ 38 - 38
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Ver fichero

@@ -7,7 +7,7 @@
7 7
       width="1010px"
8 8
       :modal-append-to-body="false"
9 9
     >
10
-    <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
10
+      <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
11 11
       <!--<check-box-dialog-->
12 12
       <!--:propsForm="InnerDialogProps"-->
13 13
       <!--v-on:dialog-comfirm="innerDialogComfirm"-->
@@ -327,14 +327,14 @@
327 327
 
328 328
 
329 329
 
330
-<!--          <el-col :span="8" v-if="isShow('血管通路(内瘘)')">-->
331
-<!--            <el-form-item label="血管通路(内瘘):">-->
332
-<!--              <div>-->
333
-<!--                <el-input v-model="assessmentBeforeDislysis.blood_access_internal_fistula"-->
334
-<!--                          @focus="showInnerDialog('9')"></el-input>-->
335
-<!--              </div>-->
336
-<!--            </el-form-item>-->
337
-<!--          </el-col>-->
330
+          <!--          <el-col :span="8" v-if="isShow('血管通路(内瘘)')">-->
331
+          <!--            <el-form-item label="血管通路(内瘘):">-->
332
+          <!--              <div>-->
333
+          <!--                <el-input v-model="assessmentBeforeDislysis.blood_access_internal_fistula"-->
334
+          <!--                          @focus="showInnerDialog('9')"></el-input>-->
335
+          <!--              </div>-->
336
+          <!--            </el-form-item>-->
337
+          <!--          </el-col>-->
338 338
 
339 339
 
340 340
 
@@ -347,29 +347,29 @@
347 347
 
348 348
 
349 349
 
350
-<!--          <el-col :span="8">-->
350
+                    <el-col :span="8">
351 351
 
352
-<!--            <el-form-item label="位置: " v-if="isShow('位置')">-->
353
-<!--              <el-select v-model="assessmentBeforeDislysis.venous_catheterization_part">-->
354
-<!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
352
+                      <el-form-item label="位置: " v-if="isShow('位置')">
353
+                        <el-select v-model="assessmentBeforeDislysis.venous_catheterization_part">
354
+                          <el-option :key="0" label="请选择" :value="0"></el-option>
355 355
 
356
-<!--                <el-option v-for="item in this.$store.getters.venous_catheterization_part" :label="item.name"-->
357
-<!--                           :value="item.id"-->
358
-<!--                           :key="item.id"></el-option>-->
359
-<!--              </el-select>-->
360
-<!--            </el-form-item>-->
361
-<!--          </el-col>-->
356
+                          <el-option v-for="item in this.$store.getters.venous_catheterization_part" :label="item.name"
357
+                                     :value="item.id"
358
+                                     :key="item.id"></el-option>
359
+                        </el-select>
360
+                      </el-form-item>
361
+                    </el-col>
362 362
 
363 363
 
364 364
 
365 365
 
366
-<!--          <el-col :span="8" v-if="isShow('导管')">-->
367
-<!--            <el-form-item label="导管:">-->
368
-<!--              <div>-->
369
-<!--                <el-input v-model="assessmentBeforeDislysis.ductus_arantii" @focus="showInnerDialog('10')"></el-input>-->
370
-<!--              </div>-->
371
-<!--            </el-form-item>-->
372
-<!--          </el-col>-->
366
+          <!--          <el-col :span="8" v-if="isShow('导管')">-->
367
+          <!--            <el-form-item label="导管:">-->
368
+          <!--              <div>-->
369
+          <!--                <el-input v-model="assessmentBeforeDislysis.ductus_arantii" @focus="showInnerDialog('10')"></el-input>-->
370
+          <!--              </div>-->
371
+          <!--            </el-form-item>-->
372
+          <!--          </el-col>-->
373 373
 
374 374
 
375 375
           <el-col :span="8" v-if="isShow('其他中心静脉导管')">
@@ -1048,21 +1048,21 @@
1048 1048
 </script>
1049 1049
 
1050 1050
 <style scoped>
1051
-.warnTxt{
1052
-  text-align: center;
1053
-  margin: 0 auto;
1054
-  background: #faa331;
1055
-  max-width: 240px;
1056
-  padding: 10px 20px;
1057
-  border-radius: 4px;
1058
-  margin-bottom: 10px;
1059
-  color:#fff;
1060
-}
1051
+  .warnTxt{
1052
+    text-align: center;
1053
+    margin: 0 auto;
1054
+    background: #faa331;
1055
+    max-width: 240px;
1056
+    padding: 10px 20px;
1057
+    border-radius: 4px;
1058
+    margin-bottom: 10px;
1059
+    color:#fff;
1060
+  }
1061 1061
 </style>
1062 1062
 <style lang="scss">
1063
-.newDialog{
1063
+  .newDialog{
1064 1064
   .el-dialog__body{
1065 1065
     padding: 10px 20px 30px;
1066 1066
   }
1067
-}
1067
+  }
1068 1068
 </style>

+ 36 - 34
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue Ver fichero

@@ -222,9 +222,7 @@
222 222
                     <check-box
223 223
                       text="正常"
224 224
                       :checked="
225
-                        predialysis.blood_access_internal_fistula.indexOf(
226
-                          '正常'
227
-                        ) > -1
225
+                        predialysis.internal_fistula.indexOf('震颤-存在') > -1
228 226
                           ? true
229 227
                           : false
230 228
                       "
@@ -232,9 +230,7 @@
232 230
                     <check-box
233 231
                       text="震颤"
234 232
                       :checked="
235
-                        predialysis.blood_access_internal_fistula.indexOf(
236
-                          '震颤'
237
-                        ) > -1
233
+                        predialysis.internal_fistula.indexOf('震颤-减弱') > -1
238 234
                           ? true
239 235
                           : false
240 236
                       "
@@ -242,19 +238,16 @@
242 238
                     <check-box
243 239
                       text="堵塞"
244 240
                       :checked="
245
-                        predialysis.blood_access_internal_fistula.indexOf(
246
-                          '堵塞'
247
-                        ) > -1
241
+                        predialysis.internal_fistula.indexOf('堵塞') > -1
248 242
                           ? true
249 243
                           : false
250 244
                       "
251 245
                     ></check-box>
246
+
252 247
                     <check-box
253 248
                       text="血肿"
254 249
                       :checked="
255
-                        predialysis.blood_access_internal_fistula.indexOf(
256
-                          '血肿'
257
-                        ) > -1
250
+                        predialysis.internal_fistula.indexOf('血肿') > -1
258 251
                           ? true
259 252
                           : false
260 253
                       "
@@ -262,9 +255,7 @@
262 255
                     <check-box
263 256
                       text="淤血"
264 257
                       :checked="
265
-                        predialysis.blood_access_internal_fistula.indexOf(
266
-                          '淤血'
267
-                        ) > -1
258
+                        predialysis.internal_fistula.indexOf('淤血') > -1
268 259
                           ? true
269 260
                           : false
270 261
                       "
@@ -272,9 +263,7 @@
272 263
                     <check-box
273 264
                       text="感染"
274 265
                       :checked="
275
-                        predialysis.blood_access_internal_fistula.indexOf(
276
-                          '感染'
277
-                        ) > -1
266
+                        predialysis.internal_fistula.indexOf('感染') > -1
278 267
                           ? true
279 268
                           : false
280 269
                       "
@@ -386,7 +375,7 @@
386 375
                     <check-box
387 376
                       text="正常"
388 377
                       :checked="
389
-                        predialysis.ductus_arantii.indexOf('正常') > -1
378
+                        predialysis.catheter.indexOf('正常') > -1
390 379
                           ? true
391 380
                           : false
392 381
                       "
@@ -394,7 +383,7 @@
394 383
                     <check-box
395 384
                       text="不畅"
396 385
                       :checked="
397
-                        predialysis.ductus_arantii.indexOf('不畅') > -1
386
+                        predialysis.catheter.indexOf('不畅') > -1
398 387
                           ? true
399 388
                           : false
400 389
                       "
@@ -402,7 +391,7 @@
402 391
                     <check-box
403 392
                       text="血流不足"
404 393
                       :checked="
405
-                        predialysis.ductus_arantii.indexOf('血流不足') > -1
394
+                        predialysis.catheter.indexOf('血流不足') > -1
406 395
                           ? true
407 396
                           : false
408 397
                       "
@@ -410,7 +399,7 @@
410 399
                     (<check-box
411 400
                       text="正接"
412 401
                       :checked="
413
-                        predialysis.ductus_arantii.indexOf('正接') > -1
402
+                        predialysis.catheter.indexOf('正接') > -1
414 403
                           ? true
415 404
                           : false
416 405
                       "
@@ -419,7 +408,7 @@
419 408
                     <check-box
420 409
                       text="反接"
421 410
                       :checked="
422
-                        predialysis.ductus_arantii.indexOf('反接') > -1
411
+                        predialysis.catheter.indexOf('反接') > -1
423 412
                           ? true
424 413
                           : false
425 414
                       "
@@ -428,7 +417,7 @@
428 417
                     <check-box
429 418
                       text="血栓"
430 419
                       :checked="
431
-                        predialysis.ductus_arantii.indexOf('血栓') > -1
420
+                        predialysis.catheter.indexOf('血栓') > -1
432 421
                           ? true
433 422
                           : false
434 423
                       "
@@ -436,7 +425,7 @@
436 425
                     <check-box
437 426
                       text="缝线脱落"
438 427
                       :checked="
439
-                        predialysis.ductus_arantii.indexOf('缝线脱落') > -1
428
+                        predialysis.catheter.indexOf('缝线脱落') > -1
440 429
                           ? true
441 430
                           : false
442 431
                       "
@@ -444,7 +433,7 @@
444 433
                     <check-box
445 434
                       text="导管脱落"
446 435
                       :checked="
447
-                        predialysis.ductus_arantii.indexOf('导管脱落') > -1
436
+                        predialysis.catheter.indexOf('导管脱落') > -1
448 437
                           ? true
449 438
                           : false
450 439
                       "
@@ -452,7 +441,7 @@
452 441
                     <check-box
453 442
                       text="感染"
454 443
                       :checked="
455
-                        predialysis.ductus_arantii.indexOf('感染') > -1
444
+                        predialysis.catheter.indexOf('感染') > -1
456 445
                           ? true
457 446
                           : false
458 447
                       "
@@ -460,7 +449,7 @@
460 449
                     <check-box
461 450
                       text="破损"
462 451
                       :checked="
463
-                        predialysis.ductus_arantii.indexOf('破损') > -1
452
+                        predialysis.catheter.indexOf('破损') > -1
464 453
                           ? true
465 454
                           : false
466 455
                       "
@@ -1161,17 +1150,30 @@
1161 1150
                   <div class="inline_block">
1162 1151
                     内瘘震颤和血管杂音:
1163 1152
                     <check-box
1164
-                      text="存在"
1165
-                      :checked="afterdialysis.tremor_noise == 1 ? true : false"
1153
+                      text="正常"
1154
+                      :checked="
1155
+                        afterdialysis.internal_fistula.indexOf('震颤-存在') > -1
1156
+                          ? true
1157
+                          : false
1158
+                      "
1166 1159
                     ></check-box>
1167 1160
                     <check-box
1168 1161
                       text="减弱"
1169
-                      :checked="afterdialysis.tremor_noise == 2 ? true : false"
1162
+                      :checked="
1163
+                        afterdialysis.internal_fistula.indexOf('震颤-减弱') > -1
1164
+                          ? true
1165
+                          : false
1166
+                      "
1170 1167
                     ></check-box>
1171 1168
                     <check-box
1172
-                      text="不存在"
1173
-                      :checked="afterdialysis.tremor_noise == 3 ? true : false"
1169
+                      text="正常"
1170
+                      :checked="
1171
+                        afterdialysis.internal_fistula.indexOf('不存在') > -1
1172
+                          ? true
1173
+                          : false
1174
+                      "
1174 1175
                     ></check-box>
1176
+
1175 1177
                   </div>
1176 1178
                   <div class="inline_block">
1177 1179
                     &emsp;失衡综合症:
@@ -2728,7 +2730,7 @@ export default {
2728 2730
         }
2729 2731
         this.check = response.data.data.check;
2730 2732
         this.predialysis = response.data.data.PredialysisEvaluation;
2731
-        console.log("透前数据",this.predialysis)
2733
+        console.log("透前数据", this.predialysis);
2732 2734
         this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
2733 2735
           this.predialysis.blood_access_part_opera_id
2734 2736
         );