Sfoglia il codice sorgente

中能建打印单修改

XMLWAN 5 anni fa
parent
commit
7d940c4906

+ 2 - 2
config/dev.env.js Vedi File

6
 module.exports = {
6
 module.exports = {
7
   NODE_ENV: '"development"',
7
   NODE_ENV: '"development"',
8
   ENV_CONFIG: '"dev"',
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
   SSO_HOST: '"http://testsso.sgjyun.com"',
11
   SSO_HOST: '"http://testsso.sgjyun.com"',
12
   SRCM_HOST: '"http://test1.sgjyun.com"',
12
   SRCM_HOST: '"http://test1.sgjyun.com"',
13
   XT_HOST: '"http://xt.test.sgjyun.com"',
13
   XT_HOST: '"http://xt.test.sgjyun.com"',

+ 2 - 2
config/index.js Vedi File

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

+ 2 - 0
src/xt_pages/dialysis/details/assessmentBefore.vue Vedi File

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

+ 13 - 13
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Vedi File

421
 <!--              </el-select>-->
421
 <!--              </el-select>-->
422
 <!--            </el-form-item>-->
422
 <!--            </el-form-item>-->
423
 <!--          </el-col>-->
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
 <!--          <el-col :span="8" v-if="isShow('失衡综合症症状')">-->
438
 <!--          <el-col :span="8" v-if="isShow('失衡综合症症状')">-->
439
 <!--            <el-form-item label="失衡综合症症状: ">-->
439
 <!--            <el-form-item label="失衡综合症症状: ">-->
440
 <!--              <el-input-->
440
 <!--              <el-input-->

+ 38 - 38
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Vedi File

7
       width="1010px"
7
       width="1010px"
8
       :modal-append-to-body="false"
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
       <!--<check-box-dialog-->
11
       <!--<check-box-dialog-->
12
       <!--:propsForm="InnerDialogProps"-->
12
       <!--:propsForm="InnerDialogProps"-->
13
       <!--v-on:dialog-comfirm="innerDialogComfirm"-->
13
       <!--v-on:dialog-comfirm="innerDialogComfirm"-->
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
 
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
           <el-col :span="8" v-if="isShow('其他中心静脉导管')">
375
           <el-col :span="8" v-if="isShow('其他中心静脉导管')">
1048
 </script>
1048
 </script>
1049
 
1049
 
1050
 <style scoped>
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
 </style>
1061
 </style>
1062
 <style lang="scss">
1062
 <style lang="scss">
1063
-.newDialog{
1063
+  .newDialog{
1064
   .el-dialog__body{
1064
   .el-dialog__body{
1065
     padding: 10px 20px 30px;
1065
     padding: 10px 20px 30px;
1066
   }
1066
   }
1067
-}
1067
+  }
1068
 </style>
1068
 </style>

+ 36 - 34
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue Vedi File

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