浏览代码

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

28169 1年前
父节点
当前提交
a8ce351192

+ 1 - 1
config/dev.env.js 查看文件

7
   NODE_ENV: '"development"',
7
   NODE_ENV: '"development"',
8
   ENV_CONFIG: '"dev"',
8
   ENV_CONFIG: '"dev"',
9
   // BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
9
   // BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
10
-  //  BASE_API: '"https://api.xt.test.sgjyun.com"',
10
+  // BASE_API: '"https://api.xt.test.sgjyun.com"',
11
   BASE_API: '"http://localhost:9531"',
11
   BASE_API: '"http://localhost:9531"',
12
   SSO_HOST: '"http://testsso.sgjyun.com"',
12
   SSO_HOST: '"http://testsso.sgjyun.com"',
13
   SRCM_HOST: '"http://test1.sgjyun.com"',
13
   SRCM_HOST: '"http://test1.sgjyun.com"',

+ 1 - 1
config/index.js 查看文件

29
 
29
 
30
     // host: 'xt.test.sgjyun.com',
30
     // host: 'xt.test.sgjyun.com',
31
     //  host: 'xt.kuyicloud.com',
31
     //  host: 'xt.kuyicloud.com',
32
-    // host: 'xt.test.sgjyun.com',
32
+    //  host: 'xt.test.sgjyun.com',
33
     host: 'localhost',
33
     host: 'localhost',
34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
35
     autoOpenBrowser: true,
35
     autoOpenBrowser: true,

+ 15 - 6
src/api/dialysis.js 查看文件

182
 }
182
 }
183
 
183
 
184
 export function postAccepts(params) {
184
 export function postAccepts(params) {
185
-  console.log('params', params)
185
+
186
   return request({
186
   return request({
187
     url: '/api/dialysis/accepts',
187
     url: '/api/dialysis/accepts',
188
     method: 'Post',
188
     method: 'Post',
195
 }
195
 }
196
 
196
 
197
 export function postAssessmentBeforeDislysis(params) {
197
 export function postAssessmentBeforeDislysis(params) {
198
-  console.log('params', params)
198
+
199
   return request({
199
   return request({
200
     url: '/api/dialysis/assessmentbeforedislysis',
200
     url: '/api/dialysis/assessmentbeforedislysis',
201
     method: 'Post',
201
     method: 'Post',
208
 }
208
 }
209
 
209
 
210
 export function postTreatmentsummary(params) {
210
 export function postTreatmentsummary(params) {
211
-  console.log('param223322323', params)
211
+
212
   return request({
212
   return request({
213
     url: '/api/dialysis/treatmentsummary',
213
     url: '/api/dialysis/treatmentsummary',
214
     method: 'Post',
214
     method: 'Post',
414
 }
414
 }
415
 
415
 
416
 export function getDialysisInformationSetting(params){
416
 export function getDialysisInformationSetting(params){
417
-  
417
+
418
   return request({
418
   return request({
419
     url:"/api/patient/getdialyisinformationsetting",
419
     url:"/api/patient/getdialyisinformationsetting",
420
     method:"get",
420
     method:"get",
423
 }
423
 }
424
 
424
 
425
 export function checkDialysisInformation(params){
425
 export function checkDialysisInformation(params){
426
-  
426
+
427
   return request({
427
   return request({
428
     url:"/api/patient/checkdialysisinformation",
428
     url:"/api/patient/checkdialysisinformation",
429
     method:"Get",
429
     method:"Get",
439
     method: 'get',
439
     method: 'get',
440
     params: params
440
     params: params
441
   })
441
   })
442
-}
442
+}
443
+
444
+export function saveInformation(params){
445
+
446
+  return request({
447
+    url:"/api/patient/saveinformation",
448
+    method:"get",
449
+    params:params
450
+  })
451
+}

+ 122 - 65
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue 查看文件

12
         <el-row :gutter="20">
12
         <el-row :gutter="20">
13
           <el-col :span="8" v-if="isShow('实际治疗时长')">
13
           <el-col :span="8" v-if="isShow('实际治疗时长')">
14
             <el-form-item label="实际治疗时长(时):" prop="actualTreatmentHourShow" :rules="isCheckmust('实际治疗时长')">
14
             <el-form-item label="实际治疗时长(时):" prop="actualTreatmentHourShow" :rules="isCheckmust('实际治疗时长')">
15
-              <!-- <el-input v-model="form.actual_treatment_hour"></el-input> :prop="isName('实际治疗时长')"-->
15
+
16
+              <!-- <el-input v-model="form.actualTreatmentHourShow" @change="hours"></el-input>  :prop="isName('实际治疗时长')" -->
16
               <el-time-picker
17
               <el-time-picker
17
                 v-model="form.actualTreatmentHourShow"
18
                 v-model="form.actualTreatmentHourShow"
18
                 placeholder="透析时长"
19
                 placeholder="透析时长"
98
           </el-col>
99
           </el-col>
99
 
100
 
100
           <el-col :span="8" v-if="isShow('透析过程')">
101
           <el-col :span="8" v-if="isShow('透析过程')">
101
-            <el-form-item label="透析过程: " :prop="isName('透析过程')" :rules="isCheckmust('透析过程')">
102
+            <el-form-item label="透析过程: " :prop="isName('透析过程')" :rules="isCheckmust('透析过程')" placeholder='请选择'>
102
               <el-select v-model="form.dialysis_process">
103
               <el-select v-model="form.dialysis_process">
103
                 <el-option :key="0" label="请选择" :value="0"></el-option>
104
                 <el-option :key="0" label="请选择" :value="0"></el-option>
104
 
105
 
146
           </el-col>
147
           </el-col>
147
 
148
 
148
           <el-col :span="8" v-if="isShow('内瘘管拔针后压迫止血操作')">
149
           <el-col :span="8" v-if="isShow('内瘘管拔针后压迫止血操作')">
149
-            <el-form-item label="内瘘管拔针后压迫止血操作: " :prop="isName('内瘘管拔针后压迫止血操作')" :rules="isCheckmust('内瘘管拔针后压迫止血操作')">
150
+            <el-form-item label="内瘘管拔针后压迫止血操作: " :prop="isName('内瘘管拔针后压迫止血操作')" :rules="isCheckmust('内瘘管拔针后压迫止血操作')" placeholder='请选择'>
150
               <el-select v-model="form.hemostasis_opera">
151
               <el-select v-model="form.hemostasis_opera">
151
                 <el-option :key="0" label="请选择" :value="0"></el-option>
152
                 <el-option :key="0" label="请选择" :value="0"></el-option>
152
 
153
 
161
           </el-col>
162
           </el-col>
162
 
163
 
163
           <el-col :span="8" v-if="isShow('动脉管道')">
164
           <el-col :span="8" v-if="isShow('动脉管道')">
164
-            <el-form-item label="动脉管道: " :prop="isName('动脉管道')" :rules="isCheckmust('动脉管道')">
165
+            <el-form-item label="动脉管道: " :prop="isName('动脉管道')" :rules="isCheckmust('动脉管道')" placeholder='请选择'>
165
               <el-select v-model="form.arterial_tube">
166
               <el-select v-model="form.arterial_tube">
166
                 <el-option :key="0" label="请选择" :value="0"></el-option>
167
                 <el-option :key="0" label="请选择" :value="0"></el-option>
167
 
168
 
177
         </el-row>
178
         </el-row>
178
         <el-row :gutter="20">
179
         <el-row :gutter="20">
179
           <el-col :span="8" v-if="isShow('静脉管道')">
180
           <el-col :span="8" v-if="isShow('静脉管道')">
180
-            <el-form-item label="静脉管道: " :prop="isName('静脉管道')" :rules="isCheckmust('静脉管道')">
181
+            <el-form-item label="静脉管道: " :prop="isName('静脉管道')" :rules="isCheckmust('静脉管道')" placeholder='请选择'>
181
               <el-select v-model="form.intravenous_tube">
182
               <el-select v-model="form.intravenous_tube">
182
                 <el-option :key="0" label="请选择" :value="0"></el-option>
183
                 <el-option :key="0" label="请选择" :value="0"></el-option>
183
 
184
 
212
           </el-col>
213
           </el-col>
213
 
214
 
214
           <el-col :span="8" v-if="isShow('患者去向')">
215
           <el-col :span="8" v-if="isShow('患者去向')">
215
-            <el-form-item label="患者去向: " :prop="isName('患者去向')" :rules="isCheckmust('患者去向')">
216
-              <el-select v-model="form.patient_gose">
216
+            <el-form-item label="患者去向: " :prop="isName('患者去向')" :rules="isCheckmust('患者去向')" >
217
+              <el-select v-model="form.patient_gose" placeholder='请选择'>
217
                 <el-option :key="0" label="请选择" :value="0"></el-option>
218
                 <el-option :key="0" label="请选择" :value="0"></el-option>
218
                 <el-option
219
                 <el-option
219
                   v-for="item in patientGoseOptions"
220
                   v-for="item in patientGoseOptions"
255
           "
256
           "
256
         >
257
         >
257
           <el-col :span="24">
258
           <el-col :span="24">
258
-            <el-form-item label="交待病房护士/患者/陪人观察内容: " :prop="isName('交待病房护士/患者/陪人观察内容')" :rules="isCheckmust('交待病房护士/患者/陪人观察内容')">
259
+            <el-form-item label="交待病房护士/患者/陪人观察内容: " :prop="isName('交待病房护士/患者/陪人观察内容')" :rules="isCheckmust('交待病房护士/患者/陪人观察内容')" >
259
               <el-input
260
               <el-input
260
                 placeholder="交待病房护士/患者/陪人观察内容"
261
                 placeholder="交待病房护士/患者/陪人观察内容"
261
                 v-model="form.observation_content"
262
                 v-model="form.observation_content"
271
           :gutter="20"
272
           :gutter="20"
272
           v-show="form.patient_gose == 3 && isShow('其他观察内容')"
273
           v-show="form.patient_gose == 3 && isShow('其他观察内容')"
273
         >
274
         >
275
+        <!--   :prop="isName('其他观察内容')"-->
274
           <el-col :span="24">
276
           <el-col :span="24">
275
-            <el-form-item label="其他观察内容: " :prop="isName('其他观察内容')" :rules="isCheckmust('其他观察内容')">
277
+            <el-form-item label="其他观察内容: "  prop="observation_content_other" :rules="isOther('其他观察内容')">
276
               <el-input
278
               <el-input
277
                 v-model="form.observation_content_other"
279
                 v-model="form.observation_content_other"
278
                 :rows="5"
280
                 :rows="5"
281
+                @change="others"
279
               ></el-input>
282
               ></el-input>
280
             </el-form-item>
283
             </el-form-item>
281
           </el-col>
284
           </el-col>
353
         </el-col>
356
         </el-col>
354
 
357
 
355
         <el-col :span="8" v-if="isShow('透析中入量单位')">
358
         <el-col :span="8" v-if="isShow('透析中入量单位')">
356
-          <el-form-item label="透析中入量单位: " :prop="isName('透析中入量单位')" :rules="isCheckmust('透析中入量单位')">
357
-            <el-select v-model="form.dialysis_intakes_unit">
359
+          <el-form-item label="透析中入量单位: " :prop="isName('透析中入量单位')" :rules="isCheckmust('透析中入量单位')" >
360
+            <el-select v-model="form.dialysis_intakes_unit" placeholder='请选择'>
358
               <el-option :key="0" label="请选择" :value="0"></el-option>
361
               <el-option :key="0" label="请选择" :value="0"></el-option>
359
               <el-option
362
               <el-option
360
                 v-for="item in unit"
363
                 v-for="item in unit"
394
         </el-col>
397
         </el-col>
395
 
398
 
396
         <el-col :span="8" v-if="isShow('血流量')">
399
         <el-col :span="8" v-if="isShow('血流量')">
397
-          <el-form-item label="血流量: " :prop="isName('血流量')" :rules="isCheckmust('血流量')">
398
-            <el-select v-model="form.blood_flow">
400
+          <el-form-item label="血流量: " :prop="isName('血流量')" :rules="isCheckmust('血流量')" >
401
+            <el-select v-model="form.blood_flow" placeholder='请选择'>
399
               <el-option :key="0" label="请选择" :value="0"></el-option>
402
               <el-option :key="0" label="请选择" :value="0"></el-option>
400
               <el-option v-for="item in this.bloodFlowOptions" :label="item.name" :value="item.id" :key="item.id"></el-option>
403
               <el-option v-for="item in this.bloodFlowOptions" :label="item.name" :value="item.id" :key="item.id"></el-option>
401
             </el-select>
404
             </el-select>
437
 
440
 
438
 
441
 
439
         <el-col :span="8" v-if="isShow('失衡综合症')">
442
         <el-col :span="8" v-if="isShow('失衡综合症')">
440
-          <el-form-item label="失衡综合症: " :prop="isName('失衡综合症')" :rules="isCheckmust('失衡综合症')">
441
-            <el-select v-model="form.disequilibrium_syndrome">
443
+          <el-form-item label="失衡综合症: " :prop="isName('失衡综合症')" :rules="isCheckmust('失衡综合症')" >
444
+            <el-select v-model="form.disequilibrium_syndrome" placeholder='请选择'>
442
               <el-option :key="0" label="请选择" :value="0"></el-option>
445
               <el-option :key="0" label="请选择" :value="0"></el-option>
443
 
446
 
444
               <el-option
447
               <el-option
473
         </el-col>
476
         </el-col>
474
 
477
 
475
         <el-col :span="8" v-if="isShow('管路')">
478
         <el-col :span="8" v-if="isShow('管路')">
476
-          <el-form-item label="管路: " :prop="isName('管路')" :rules="isCheckmust('管路')">
477
-            <el-select v-model="form.channel">
479
+          <el-form-item label="管路: " :prop="isName('管路')" :rules="isCheckmust('管路')" >
480
+            <el-select v-model="form.channel" placeholder='请选择'>
478
               <el-option :key="0" label="请选择" :value="0"></el-option>
481
               <el-option :key="0" label="请选择" :value="0"></el-option>
479
               <el-option
482
               <el-option
480
                 v-for="item in channels"
483
                 v-for="item in channels"
505
             </el-form-item>
508
             </el-form-item>
506
         </el-col>
509
         </el-col>
507
         <el-col :span="8" v-if="isShow('透析相关高血压')">
510
         <el-col :span="8" v-if="isShow('透析相关高血压')">
508
-            <el-form-item label="透析相关高血压:" :prop="isName('透析相关高血压')" :rules="isCheckmust('透析相关高血压')">
511
+            <el-form-item label="透析相关高血压:" :prop="isName('透析相关高血压')" :rules="isCheckmust('透析相关高血压')" >
509
 
512
 
510
-             <el-select v-model="form.hypertenison">
513
+             <el-select v-model="form.hypertenison" placeholder='请选择' >
511
               <el-option :key="0" label="请选择" :value="0"></el-option>
514
               <el-option :key="0" label="请选择" :value="0"></el-option>
512
               <el-option
515
               <el-option
513
                 v-for="item in option"
516
                 v-for="item in option"
514
                 :label="item.name"
517
                 :label="item.name"
515
                 :value="item.id"
518
                 :value="item.id"
516
                 :key="item.id"
519
                 :key="item.id"
517
-              ></el-option>
520
+              >{{ item.name }}</el-option>
518
             </el-select>
521
             </el-select>
519
             </el-form-item>
522
             </el-form-item>
520
         </el-col>
523
         </el-col>
521
 
524
 
522
          <el-col :span="8" v-if="isShow('透析相关低血压')">
525
          <el-col :span="8" v-if="isShow('透析相关低血压')">
523
-            <el-form-item label="透析相关低血压" :prop="isName('透析相关低血压')" :rules="isCheckmust('透析相关低血压')">
524
-             <el-select v-model="form.hypopiesia">
526
+            <el-form-item label="透析相关低血压" :prop="isName('透析相关低血压')" :rules="isCheckmust('透析相关低血压')" >
527
+             <el-select v-model="form.hypopiesia" placeholder='请选择'>
528
+              <el-option :key="0" label="请选择" :value="0"></el-option>
525
               <el-option
529
               <el-option
526
                 v-for="item in optionOne"
530
                 v-for="item in optionOne"
527
                 :label="item.name"
531
                 :label="item.name"
532
             </el-form-item>
536
             </el-form-item>
533
         </el-col>
537
         </el-col>
534
         <el-col :span="8" v-if="isShow('离科方式')">
538
         <el-col :span="8" v-if="isShow('离科方式')">
535
-            <el-form-item label="离科方式" :prop="isName('离科方式')" :rules="isCheckmust('离科方式')">
536
-               <el-select v-model="form.leave_office_method">
539
+            <el-form-item label="离科方式" :prop="isName('离科方式')" :rules="isCheckmust('离科方式')" >
540
+               <el-select v-model="form.leave_office_method" placeholder='请选择'>
541
+                <el-option :key="0" label="请选择" :value="0"></el-option>
537
                 <el-option
542
                 <el-option
538
                   v-for="item in leaveOfficeMethod"
543
                   v-for="item in leaveOfficeMethod"
539
                   :label="item.name"
544
                   :label="item.name"
544
             </el-form-item>
549
             </el-form-item>
545
         </el-col>
550
         </el-col>
546
          <el-col :span="8" v-if="isShow('转归')">
551
          <el-col :span="8" v-if="isShow('转归')">
547
-            <el-form-item label="转归" :prop="isName('转归')" :rules="isCheckmust('转归')">
548
-             <el-select v-model="form.lapse">
552
+            <el-form-item label="转归" :prop="isName('转归')" :rules="isCheckmust('转归')" >
553
+             <el-select v-model="form.lapse" placeholder='请选择'>
554
+              <el-option :key="0" label="请选择" :value="0"></el-option>
549
               <el-option
555
               <el-option
550
                 v-for="item in lapseList"
556
                 v-for="item in lapseList"
551
                 :label="item.name"
557
                 :label="item.name"
557
         </el-col>
563
         </el-col>
558
         <el-col :span="8" v-if="isShow('意识')">
564
         <el-col :span="8" v-if="isShow('意识')">
559
             <el-form-item label="意识" :prop="isName('意识')" :rules="isCheckmust('意识')">
565
             <el-form-item label="意识" :prop="isName('意识')" :rules="isCheckmust('意识')">
560
-             <el-select v-model="form.consciousness">
566
+             <el-select v-model="form.consciousness "    > 
567
+             <!-- v-if="form.consciousness ==' ' ? placeholder='请选择': form.consciousness " -->
568
+             <el-option label="请选择" :value="0"></el-option>
561
               <el-option
569
               <el-option
562
                 v-for="item in consciousnessList"
570
                 v-for="item in consciousnessList"
563
                 :label="item.name"
571
                 :label="item.name"
564
-                :value="item.id"
572
+                :value="item.id "
565
                 :key="item.id"
573
                 :key="item.id"
566
               ></el-option>
574
               ></el-option>
567
              </el-select>
575
              </el-select>
576
+             
568
             </el-form-item>
577
             </el-form-item>
569
         </el-col>
578
         </el-col>
570
         <el-col :span="8" v-if="isShow('跌倒风险')">
579
         <el-col :span="8" v-if="isShow('跌倒风险')">
571
-            <el-form-item label="跌倒风险" :prop="isName('跌倒风险')" :rules="isCheckmust('跌倒风险')">
572
-             <el-select v-model="form.fallrisk">
580
+            <el-form-item label="跌倒风险" :prop="isName('跌倒风险')" :rules="isCheckmust('跌倒风险')" >
581
+             <el-select v-model="form.fallrisk" placeholder='请选择'>
582
+              <el-option label="请选择" :value="0"></el-option>
573
               <el-option
583
               <el-option
574
                 v-for="item in fallriskList"
584
                 v-for="item in fallriskList"
575
                 :label="item.name"
585
                 :label="item.name"
581
         </el-col>
591
         </el-col>
582
 
592
 
583
       <el-col :span="8" v-if="isShow('机器运行')">
593
       <el-col :span="8" v-if="isShow('机器运行')">
584
-            <el-form-item label="机器运行: " :prop="isName('机器运行')" :rules="isCheckmust('机器运行')">
585
-              <el-select v-model="form.machine_run">
594
+            <el-form-item label="机器运行: " :prop="isName('机器运行')" :rules="isCheckmust('机器运行')" >
595
+              <el-select v-model="form.machine_run" placeholder='请选择'>
586
                 <el-option :key="0" label="请选择" :value="0"></el-option>
596
                 <el-option :key="0" label="请选择" :value="0"></el-option>
587
 
597
 
588
                 <el-option
598
                 <el-option
592
                   :key="item.value"
602
                   :key="item.value"
593
                 ></el-option>
603
                 ></el-option>
594
               </el-select>
604
               </el-select>
605
+              
595
             </el-form-item>
606
             </el-form-item>
596
        </el-col>
607
        </el-col>
597
 
608
 
750
         catheter: '',
761
         catheter: '',
751
         complication: '',
762
         complication: '',
752
         puncture_point_oozing_blood: 2,
763
         puncture_point_oozing_blood: 2,
753
-        puncture_point_haematoma: 2,
764
+        puncture_point_haematoma: '',
754
         internal_fistula_tremor_ac: '',
765
         internal_fistula_tremor_ac: '',
755
         patient_gose: '',
766
         patient_gose: '',
756
         inpatient_department: '',
767
         inpatient_department: '',
766
         hemostasis_minute: '',
777
         hemostasis_minute: '',
767
         hemostasis_opera: '',
778
         hemostasis_opera: '',
768
         tremor_noise: '',
779
         tremor_noise: '',
769
-        disequilibrium_syndrome: '',
780
+        disequilibrium_syndrome: 0,
770
         disequilibrium_syndrome_option: '',
781
         disequilibrium_syndrome_option: '',
771
         arterial_tube: '',
782
         arterial_tube: '',
772
         intravenous_tube: '',
783
         intravenous_tube: '',
775
         dialysis_intakes_unit: 0,
786
         dialysis_intakes_unit: 0,
776
         cvc_a: 0,
787
         cvc_a: 0,
777
         cvc_v: 0,
788
         cvc_v: 0,
778
-        channel: '',
789
+        channel: 0,
779
         return_blood: '',
790
         return_blood: '',
780
         rehydration_volume: '',
791
         rehydration_volume: '',
781
         dialysis_during: '',
792
         dialysis_during: '',
782
         stroke_volume: '',
793
         stroke_volume: '',
783
-        blood_flow: '',
794
+        blood_flow: 0,
784
         sealing_fluid_dispose: '',
795
         sealing_fluid_dispose: '',
785
         sealing_fluid_special: '',
796
         sealing_fluid_special: '',
786
         dosage_of_anticoagulants:'',
797
         dosage_of_anticoagulants:'',
792
         other_complication:'',
803
         other_complication:'',
793
         ktv:"",
804
         ktv:"",
794
         urr:"",
805
         urr:"",
795
-        hypertenison:"",
796
-        hypopiesia:"",
797
-        leave_office_method:"",
798
-        lapse:"",
799
-        consciousness:"",
800
-        fallrisk:"",
801
-        machine_run:"",
806
+        hypertenison:0,
807
+        hypopiesia:0,
808
+        leave_office_method:0,
809
+        lapse:0,
810
+        consciousness:0,
811
+        fallrisk:0,
812
+        machine_run:0,
802
         after_urea:"",
813
         after_urea:"",
803
         accumulated_blood_volume:"",
814
         accumulated_blood_volume:"",
804
       },
815
       },
807
       consciousnessList:[],
818
       consciousnessList:[],
808
       fallriskList:[],
819
       fallriskList:[],
809
       machineList:[],
820
       machineList:[],
821
+      
810
     }
822
     }
811
   },
823
   },
812
   watch: {
824
   watch: {
894
         if (this.assessment_after_dislysis['sealing_fluid_dispose'] == 0) {
906
         if (this.assessment_after_dislysis['sealing_fluid_dispose'] == 0) {
895
           this.form['sealing_fluid_dispose'] = ''
907
           this.form['sealing_fluid_dispose'] = ''
896
         }
908
         }
909
+        // if (this.assessment_after_dislysis['actualTreatmentHourShow'] == 0) {
910
+        //   this.form['actualTreatmentHourShow'] = ''
911
+        // }
897
         this.form.actualTreatmentHourShow = new Date(
912
         this.form.actualTreatmentHourShow = new Date(
898
           2018,
913
           2018,
899
           1,
914
           1,
936
         if (
951
         if (
937
           filedList[i].module == 5 &&
952
           filedList[i].module == 5 &&
938
           filedList[i].filed_name_cn == name &&
953
           filedList[i].filed_name_cn == name &&
939
-          filedList[i].is_write == 1&&
954
+          filedList[i].is_write == 1 &&
940
           filedList[i].is_show == 1
955
           filedList[i].is_show == 1
941
         ) {
956
         ) {
942
-          console.log(filedList[i],'false')
943
-          // if(name == "实际治疗时长"){
944
-          //   return [
945
-          //     { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
946
-          //     {
947
-          //       required: true,
948
-          //       pattern: /^[1-9]\d*$/,
949
-          //       message: `请选择${name}`,
950
-          //       trigger: ['change']
951
-          //     },
952
-          //   ];
953
-          // }
954
-        
957
+          
958
+          if(name == "穿刺处血肿" || name == '拔针后穿刺点渗血' || name == '透析期间进食' ){
959
+            return [
960
+              { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
961
+              {
962
+                required: true,
963
+                pattern: /^[1-9]\d*$/,
964
+                message: `请选择${name}`,
965
+                trigger: ['change']
966
+              },
967
+            ];
968
+          }
969
+            
955
           return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
970
           return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
956
           
971
           
957
         }
972
         }
958
       }
973
       }
959
     },
974
     },
975
+    others(){
976
+      // console.log('asdfasfd',this.form.observation_content_other.length);
977
+      if(this.form.observation_content_other.length>0){
978
+        this.$refs.form.clearValidate('observation_content_other');
979
+      }
980
+    },
981
+    // hours(){
982
+    //   if(this.form.actualTreatmentHourShow.length>0){
983
+    //     this.$refs.form.clearValidate('actualTreatmentHourShow');
984
+    //   }
985
+    // },
986
+    isOther(name){
987
+      if(this.form.patient_gose == 3){
988
+        let filedList = store.getters.xt_user.fileds;
989
+
990
+        for (let i = 0; i < filedList.length; i++) {
991
+          if (
992
+            filedList[i].module == 5 &&
993
+            filedList[i].filed_name_cn == name &&
994
+            filedList[i].is_write == 1 &&
995
+            filedList[i].is_show == 1
996
+          ) {
997
+            
998
+            // if(name == "其他观察内容"){
999
+            //   return [
1000
+            //     { required: true, message: `请输入${name}`,trigger: ['blur','change'] },
1001
+            //     {
1002
+            //       required: true,
1003
+            //       pattern: /^[1-9]\d*$/,
1004
+            //       message: `请输入${name}`,
1005
+            //       trigger: ['change']
1006
+            //     },
1007
+            //   ];
1008
+            // }
1009
+            return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
1010
+            
1011
+          }
1012
+        }
1013
+      }
1014
+    },
960
     isShow(name) {
1015
     isShow(name) {
961
       var filedList = store.getters.xt_user.fileds
1016
       var filedList = store.getters.xt_user.fileds
962
 
1017
 
971
       }
1026
       }
972
       return false
1027
       return false
973
     },
1028
     },
1029
+   
974
     submitForm(formName) {
1030
     submitForm(formName) {
975
       this.$refs[formName].validate((valid)=>{
1031
       this.$refs[formName].validate((valid)=>{
976
         if(valid){
1032
         if(valid){
1026
           data['puncture_point_oozing_blood'] = this.form.puncture_point_oozing_blood ? parseFloat(this.form.puncture_point_oozing_blood) : 0
1082
           data['puncture_point_oozing_blood'] = this.form.puncture_point_oozing_blood ? parseFloat(this.form.puncture_point_oozing_blood) : 0
1027
           data['puncture_point_haematoma'] = this.form.puncture_point_haematoma ? parseFloat(this.form.puncture_point_haematoma) : 0
1083
           data['puncture_point_haematoma'] = this.form.puncture_point_haematoma ? parseFloat(this.form.puncture_point_haematoma) : 0
1028
           data['internal_fistula_tremor_ac'] = this.form.internal_fistula_tremor_ac ? parseFloat(this.form.internal_fistula_tremor_ac) : 0
1084
           data['internal_fistula_tremor_ac'] = this.form.internal_fistula_tremor_ac ? parseFloat(this.form.internal_fistula_tremor_ac) : 0
1029
-          data['patient_gose'] = this.form.patient_gose ? parseFloat(this.form.patient_gose) : 0
1085
+          data['patient_gose'] = this.form.patient_gose ? parseFloat(this.form.patient_gose) : ' '
1030
           data['inpatient_department'] = this.form.inpatient_department
1086
           data['inpatient_department'] = this.form.inpatient_department
1031
           data['observation_content'] = this.form.observation_content
1087
           data['observation_content'] = this.form.observation_content
1032
           data['observation_content_other'] = this.form.observation_content_other
1088
           data['observation_content_other'] = this.form.observation_content_other
1238
     // 数据开始
1294
     // 数据开始
1239
     show(predialysis,last_after) {
1295
     show(predialysis,last_after) {
1240
       console.log("透后体重2332233223wo",predialysis)
1296
       console.log("透后体重2332233223wo",predialysis)
1297
+      // console.log('asdfadsfdasf',this.form.consciousness);
1241
       this.isVisibility = true
1298
       this.isVisibility = true
1242
       this.predialysis = predialysis
1299
       this.predialysis = predialysis
1243
       this.form.observation_content = predialysis.observation_content
1300
       this.form.observation_content = predialysis.observation_content
1244
       this.form.inpatient_department = predialysis.inpatient_department
1301
       this.form.inpatient_department = predialysis.inpatient_department
1245
       this.form.observation_content_other = predialysis.observation_content_other
1302
       this.form.observation_content_other = predialysis.observation_content_other
1303
+      // 5.15
1246
       if(predialysis.id > 0){
1304
       if(predialysis.id > 0){
1247
         this.form.hypertenison = predialysis.hypertenison.toString()
1305
         this.form.hypertenison = predialysis.hypertenison.toString()
1248
       }
1306
       }
1255
       if(predialysis.id > 0){
1313
       if(predialysis.id > 0){
1256
         this.form.hypopiesia = predialysis.hypopiesia.toString()
1314
         this.form.hypopiesia = predialysis.hypopiesia.toString()
1257
       }
1315
       }
1258
-
1316
+        // 5.15
1259
       //针对长沙南雅 ,透后体重 - 目标超滤量
1317
       //针对长沙南雅 ,透后体重 - 目标超滤量
1260
       // if(predialysis.id > 0){
1318
       // if(predialysis.id > 0){
1261
       //  if(this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675 || this.$store.getters.xt_user.template_info.org_id == 10340){
1319
       //  if(this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675 || this.$store.getters.xt_user.template_info.org_id == 10340){
1286
             }
1344
             }
1287
           }
1345
           }
1288
         }
1346
         }
1347
+        // 5.15
1289
         if(last_after.id > 0){
1348
         if(last_after.id > 0){
1290
          this.form.hypertenison = last_after.hypertenison.toString()
1349
          this.form.hypertenison = last_after.hypertenison.toString()
1291
         }
1350
         }
1292
         if(last_after.id > 0){
1351
         if(last_after.id > 0){
1293
           this.form.hypopiesia = last_after.hypopiesia.toString()
1352
           this.form.hypopiesia = last_after.hypopiesia.toString()
1294
         }
1353
         }
1354
+          // 5.15
1295
         //针对长沙南雅 ,透后体重 - 目标超滤量
1355
         //针对长沙南雅 ,透后体重 - 目标超滤量
1296
         // if(this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675 || this.$store.getters.xt_user.template_info.org_id == 10340){
1356
         // if(this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675 || this.$store.getters.xt_user.template_info.org_id == 10340){
1297
         //    if(this.prescription!=null && this.predialysis_evaluation!=null){
1357
         //    if(this.prescription!=null && this.predialysis_evaluation!=null){
1301
         // }
1361
         // }
1302
       }
1362
       }
1303
 
1363
 
1304
-
1305
-
1306
-
1307
       this.getPermission()
1364
       this.getPermission()
1308
 
1365
 
1309
 
1366
 
1336
           }
1393
           }
1337
         })
1394
         })
1338
         .then(res => {
1395
         .then(res => {
1339
-          console.log(res)
1396
+          // console.log(res)
1340
           // console.log("透后", this.predialysis);
1397
           // console.log("透后", this.predialysis);
1341
           if (res.data.state == 0) {
1398
           if (res.data.state == 0) {
1342
             this.hasPermission = false
1399
             this.hasPermission = false
1372
     }
1429
     }
1373
   },
1430
   },
1374
   created() {
1431
   created() {
1375
-    // console.log("this.form", this.form);
1432
+    // console.log("this.form", this.form.consciousness);
1376
     this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
1433
     this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
1377
     this.pip_coagulationOptions = getDataConfig('hemodialysis','pip_coagulation')
1434
     this.pip_coagulationOptions = getDataConfig('hemodialysis','pip_coagulation')
1378
     this.symptomsOptions = getDataConfig('hemodialysis', 'symptoms')
1435
     this.symptomsOptions = getDataConfig('hemodialysis', 'symptoms')
1388
     this.consciousnessList = getDataConfig("hemodialysis","consciousness")
1445
     this.consciousnessList = getDataConfig("hemodialysis","consciousness")
1389
     this.fallriskList = getDataConfig("hemodialysis","fallrisk")
1446
     this.fallriskList = getDataConfig("hemodialysis","fallrisk")
1390
      this.machineList = getDataConfig("hemodialysis","machine_run")
1447
      this.machineList = getDataConfig("hemodialysis","machine_run")
1391
-     console.log("机器运行",this.machineList)
1448
+     
1392
     this.internalFistulaTremorAcOptions = this.$store.getters.internal_fistula_tremor_ac
1449
     this.internalFistulaTremorAcOptions = this.$store.getters.internal_fistula_tremor_ac
1393
     this.patientGoseOptions = this.$store.getters.patient_gose
1450
     this.patientGoseOptions = this.$store.getters.patient_gose
1394
     this.observationContentOptions = this.$store.getters.observation_content
1451
     this.observationContentOptions = this.$store.getters.observation_content

+ 122 - 78
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue 查看文件

223
         :cell-class-name="adviceNameShow"
223
         :cell-class-name="adviceNameShow"
224
         :modal-append-to-body="false"
224
         :modal-append-to-body="false"
225
         highlight-current-row
225
         highlight-current-row
226
-        
226
+
227
       >
227
       >
228
       <!-- @selection-change="handleSelectionChange" -->
228
       <!-- @selection-change="handleSelectionChange" -->
229
         <!-- <el-table-column type="selection"  width="55"></el-table-column> -->
229
         <!-- <el-table-column type="selection"  width="55"></el-table-column> -->
257
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
257
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
258
               <span class="el-dropdown-link">
258
               <span class="el-dropdown-link">
259
                 &emsp;{{ getAdviceContent(scope.row, 2)}}
259
                 &emsp;{{ getAdviceContent(scope.row, 2)}}
260
-               
261
                 <i class="el-icon-arrow-down el-icon--right"></i>
260
                 <i class="el-icon-arrow-down el-icon--right"></i>
262
               </span>
261
               </span>
263
               <el-dropdown-menu slot="dropdown">
262
               <el-dropdown-menu slot="dropdown">
291
           </template>
290
           </template>
292
         </el-table-column>
291
         </el-table-column>
293
         <el-table-column
292
         <el-table-column
294
-          v-if="template_id != 6 && org_id!=10223 && org_id!=10445 && org_id!=0"
293
+          v-if="template_id != 6 && org_id!=10223 && org_id!=10445"
295
           prop="checker"
294
           prop="checker"
296
           min-width="30px"
295
           min-width="30px"
297
           align="center"
296
           align="center"
305
         </el-table-column>
304
         </el-table-column>
306
       </el-table>
305
       </el-table>
307
 
306
 
308
-     
307
+
309
 
308
 
310
       <el-table
309
       <el-table
311
         v-if="his_is_open  == 1 || is_advice_open == 1"
310
         v-if="his_is_open  == 1 || is_advice_open == 1"
360
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
359
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
361
               <span class="el-dropdown-link">
360
               <span class="el-dropdown-link">
362
                 &emsp;{{ getAdviceContent(scope.row, 2)}}
361
                 &emsp;{{ getAdviceContent(scope.row, 2)}}
363
-                 
364
                 <i class="el-icon-arrow-down el-icon--right"></i>
362
                 <i class="el-icon-arrow-down el-icon--right"></i>
365
               </span>
363
               </span>
366
               <el-dropdown-menu slot="dropdown">
364
               <el-dropdown-menu slot="dropdown">
608
       v-on:add-new-order="addNewOrder"
606
       v-on:add-new-order="addNewOrder"
609
       :admin_users="admin_users"
607
       :admin_users="admin_users"
610
     ></edit-group-advice>
608
     ></edit-group-advice>
609
+
610
+
611
+      <el-dialog
612
+          title="提示"
613
+          :visible.sync="infoDialogVisible"
614
+          width="30%">
615
+          <span>
616
+           <el-form>
617
+             <el-row>
618
+               <span>申请日期:</span>
619
+                <span>
620
+                    <el-date-picker
621
+                      type="datetime"
622
+                      format="yyyy-MM-dd HH:mm"
623
+                      value-format="yyyy-MM-dd HH:mm"
624
+                      placeholder="选择时间"
625
+                      v-model="selected_date"
626
+                  ></el-date-picker>
627
+                </span>
628
+             </el-row>
629
+             <el-row>
630
+               <span>备注:</span>
631
+                <span>
632
+                   <el-input v-model="remark" style="width:200px"></el-input>
633
+                </span>
634
+             </el-row>
635
+           </el-form>
636
+
637
+          </span>
638
+          <span slot="footer" class="dialog-footer">
639
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
640
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
641
+          </span>
642
+        </el-dialog>
611
   </div>
643
   </div>
612
 </template>
644
 </template>
613
 
645
 
783
         src_type:"",
815
         src_type:"",
784
         org_id:0,
816
         org_id:0,
785
         schedulePatient:{},
817
         schedulePatient:{},
786
-        tempArrOne:[],
818
+        infoDialogVisible:false,
819
+        selected_date:"",
820
+        remark:""
787
       }
821
       }
788
     },
822
     },
789
     watch: {
823
     watch: {
798
         this.form['dialysis_order_id'] = this.dialysis_order.id
832
         this.form['dialysis_order_id'] = this.dialysis_order.id
799
       },
833
       },
800
 
834
 
801
-      'doctor_advices': function() {
802
-      
803
-        this.handleSpanTempArrOne();
804
-      },
805
-     
806
     },
835
     },
807
     methods: {
836
     methods: {
808
-      handleSpanTempArrOne() {
809
-          this.tempArrOne = [];
810
-         
811
-          for (let i = 0; i < this.doctor_advices.length; i++) {
812
-            if (i === 0) {
813
-              this.tempArrOne.push(1);
814
-              this.pos = 0;
815
-            } else {
816
-              // 判断当前元素与上一个元素是否相同
817
-              if (
818
-                this.doctor_advices[i].groupno ===
819
-                this.doctor_advices[i - 1].groupno
820
-              ) {
821
-                this.tempArrOne[this.pos] += 1;
822
-                this.tempArrOne.push(0);
823
-              } else {
824
-                this.tempArrOne.push(1);
825
-                this.pos = i;
826
-              }
827
-            }
828
-          }
829
-      },
830
       handleSelectionChange(){
837
       handleSelectionChange(){
831
 
838
 
832
       },
839
       },
833
-     
834
-    
840
+
835
       //调试
841
       //调试
836
       lili(index,row){
842
       lili(index,row){
837
         // console.log("==index==",index)
843
         // console.log("==index==",index)
915
               response => {
921
               response => {
916
                 if (response.data.state == 0) {
922
                 if (response.data.state == 0) {
917
                   this.$message.error(response.data.msg);
923
                   this.$message.error(response.data.msg);
924
+                  if(response.data.code == 600000008){
925
+                     this.infoDialogVisible = true
926
+                   }
918
                   return false;
927
                   return false;
919
                 } else {
928
                 } else {
920
                   this.$notify({
929
                   this.$notify({
949
           return ''
958
           return ''
950
         }
959
         }
951
       },
960
       },
952
-     
953
       submitEditAdvice() {
961
       submitEditAdvice() {
954
         // console.log()
962
         // console.log()
955
         console.log("保存22222222222222")
963
         console.log("保存22222222222222")
975
           response => {
983
           response => {
976
             if (response.data.state == 0) {
984
             if (response.data.state == 0) {
977
               this.$message.error(response.data.msg)
985
               this.$message.error(response.data.msg)
986
+              if(response.data.code == 600000008){
987
+               this.infoDialogVisible = true
988
+              }
978
               return false
989
               return false
979
             } else {
990
             } else {
980
               this.$notify({
991
               this.$notify({
1283
         ExecDoctorAdvice(this.patient.id, this.currentRow.id, this.execTime, mode,this.currentRow.origin).then(response => {
1294
         ExecDoctorAdvice(this.patient.id, this.currentRow.id, this.execTime, mode,this.currentRow.origin).then(response => {
1284
             if (response.data.state == 0) {
1295
             if (response.data.state == 0) {
1285
               this.$message.error(response.data.msg)
1296
               this.$message.error(response.data.msg)
1297
+             if(response.data.code == 600000008){
1298
+               this.infoDialogVisible = true
1299
+             }
1286
               this.exceLoading = false
1300
               this.exceLoading = false
1287
               return false
1301
               return false
1288
             } else {
1302
             } else {
1377
             this.loading = false
1391
             this.loading = false
1378
             if (response.data.state == 0) {
1392
             if (response.data.state == 0) {
1379
               this.$message.error(response.data.msg)
1393
               this.$message.error(response.data.msg)
1394
+              if(response.data.code == 600000008){
1395
+               this.infoDialogVisible = true
1396
+              }
1380
               return false
1397
               return false
1381
             } else {
1398
             } else {
1382
               this.$notify({
1399
               this.$notify({
1650
               response => {
1667
               response => {
1651
                 if (response.data.state == 0) {
1668
                 if (response.data.state == 0) {
1652
                   this.$message.error(response.data.msg)
1669
                   this.$message.error(response.data.msg)
1653
-
1670
+                  if(response.data.code == 600000008){
1671
+                    this.infoDialogVisible = true
1672
+                  }
1654
                   this.deleLoading = false
1673
                   this.deleLoading = false
1655
                   return false
1674
                   return false
1656
                 } else {
1675
                 } else {
1822
             DeleteGroupAdvice(groupno, mode).then(response => {
1841
             DeleteGroupAdvice(groupno, mode).then(response => {
1823
               if (response.data.state == 0) {
1842
               if (response.data.state == 0) {
1824
                 this.$message.error(response.data.msg)
1843
                 this.$message.error(response.data.msg)
1844
+                if(response.data.code == 600000008){
1845
+                 this.infoDialogVisible = true
1846
+                }
1825
                 return false
1847
                 return false
1826
               } else {
1848
               } else {
1827
                 this.$notify({
1849
                 this.$notify({
1870
               this.deleLoading = false
1892
               this.deleLoading = false
1871
               if (response.data.state == 0) {
1893
               if (response.data.state == 0) {
1872
                 this.$message.error(response.data.msg)
1894
                 this.$message.error(response.data.msg)
1895
+                if(response.data.code == 600000008){
1896
+                   this.infoDialogVisible = true
1897
+                }
1873
                 return false
1898
                 return false
1874
               } else {
1899
               } else {
1875
                 this.$notify({
1900
                 this.$notify({
1911
             DeleteDoctorAdvice(this.currentRow.id, mode).then(response => {
1936
             DeleteDoctorAdvice(this.currentRow.id, mode).then(response => {
1912
               this.deleLoading = false
1937
               this.deleLoading = false
1913
               if (response.data.state == 0) {
1938
               if (response.data.state == 0) {
1939
+                 if(response.data.code == 600000008){
1940
+                  this.infoDialogVisible = true
1941
+                 }
1914
                 this.$message.error(response.data.msg)
1942
                 this.$message.error(response.data.msg)
1915
                 return false
1943
                 return false
1916
               } else {
1944
               } else {
2126
         return true
2154
         return true
2127
       }
2155
       }
2128
       ,
2156
       ,
2129
-    
2130
-      
2157
+      mergeSpan({ row, column, rowIndex, columnIndex }) {
2158
+        if (columnIndex != 2) {
2159
+          const _row = this.tempArr[rowIndex]
2160
+          const _col = _row > 0 ? 1 : 0
2161
+          return {
2162
+            rowspan: _row,
2163
+            colspan: _col
2164
+          }
2165
+        }
2166
+      }
2167
+      ,
2131
       handleSpanTempArr() {
2168
       handleSpanTempArr() {
2132
         this.tempArr = []
2169
         this.tempArr = []
2133
 
2170
 
2290
         // });
2327
         // });
2291
       },
2328
       },
2292
       objectSpanMethod({ row, column, rowIndex, columnIndex }) {
2329
       objectSpanMethod({ row, column, rowIndex, columnIndex }) {
2293
-        console.log("hhhhhhhhhh",this.tempArrOne)
2294
-        //合并单元格
2295
-        if (columnIndex === 0 || columnIndex === 1 ) {
2296
-          const _row = this.tempArrOne[rowIndex];
2297
-          const _col = _row > 0 ? 1 : 0;
2298
-          console.log("_row====",_row)
2299
-          console.log("_row----------",_col)
2300
-          return {
2301
-            rowspan: _row,
2302
-            colspan: _col
2303
-          };
2304
-        }
2305
-        // if (columnIndex === 0) {
2306
-        //   if (rowIndex % 2 === 0) {
2307
-        //     return {
2308
-        //       rowspan: 2,
2309
-        //       colspan: 1
2310
-        //     }
2311
-        //   } else {
2312
-        //     return {
2313
-        //       rowspan: 0,
2314
-        //       colspan: 0
2315
-        //     }
2316
-        //   }
2317
-        // }
2318
 
2330
 
2319
-        // if (columnIndex === 1) {
2320
-        //   if (rowIndex % 2 === 0) {
2321
-        //     return {
2322
-        //       rowspan: 2,
2323
-        //       colspan: 1
2324
-        //     }
2325
-        //   } else {
2326
-        //     return {
2327
-        //       rowspan: 0,
2328
-        //       colspan: 0
2329
-        //     }
2330
-        //   }
2331
-        // }
2331
+        if (columnIndex === 0) {
2332
+          if (rowIndex % 2 === 0) {
2333
+            return {
2334
+              rowspan: 2,
2335
+              colspan: 1
2336
+            }
2337
+          } else {
2338
+            return {
2339
+              rowspan: 0,
2340
+              colspan: 0
2341
+            }
2342
+          }
2343
+        }
2344
+
2345
+        if (columnIndex === 1) {
2346
+          if (rowIndex % 2 === 0) {
2347
+            return {
2348
+              rowspan: 2,
2349
+              colspan: 1
2350
+            }
2351
+          } else {
2352
+            return {
2353
+              rowspan: 0,
2354
+              colspan: 0
2355
+            }
2356
+          }
2357
+        }
2332
       }
2358
       }
2333
       ,
2359
       ,
2334
       GetLastOrNextDoctorAdvice(params) {
2360
       GetLastOrNextDoctorAdvice(params) {
2631
          }
2657
          }
2632
          console.log("nam e23233232322323wo",name)
2658
          console.log("nam e23233232322323wo",name)
2633
          return name
2659
          return name
2660
+      },
2661
+
2662
+     saveInformation(){
2663
+        var params = {
2664
+          selected_date:this.selected_date,
2665
+          patient_id:this.$route.query.patient_id,
2666
+          record_date:this.$route.query.date,
2667
+          module:2,
2668
+          remark:this.remark,
2669
+        }
2670
+        saveInformation(params).then(response=>{
2671
+           if(response.data.state == 1){
2672
+             var information = response.data.data.information
2673
+             this.$message.success("审核成功!")
2674
+             this.infoDialogVisible = false
2675
+           }
2676
+        })
2634
       }
2677
       }
2678
+
2635
     },
2679
     },
2636
     created() {
2680
     created() {
2637
-     
2681
+
2638
       var date = this.$route.query && this.$route.query.date
2682
       var date = this.$route.query && this.$route.query.date
2639
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
2683
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
2640
       this.form.advice_date = this.record_date
2684
       this.form.advice_date = this.record_date

+ 99 - 59
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue 查看文件

140
           >{{ item.name }}
140
           >{{ item.name }}
141
         </el-radio>
141
         </el-radio>
142
       </el-radio-group>
142
       </el-radio-group>
143
-     
143
+
144
       </el-form-item>
144
       </el-form-item>
145
 
145
 
146
       <el-form-item
146
       <el-form-item
208
           >高风险</el-radio
208
           >高风险</el-radio
209
         >
209
         >
210
       </el-radio-group>
210
       </el-radio-group>
211
- 
211
+
212
       </el-form-item>
212
       </el-form-item>
213
 
213
 
214
       <el-form-item
214
       <el-form-item
335
     </el-form>
335
     </el-form>
336
     <div slot="footer" class="dialog-footer">
336
     <div slot="footer" class="dialog-footer">
337
       <el-button @click="handleCancle">取 消</el-button>
337
       <el-button @click="handleCancle">取 消</el-button>
338
-      <!-- v-if="hasPermission"-->
339
-      <el-button type="primary"   @click="handleComfirm('receiveTreatmentAsses')"
338
+      <!--v-if="hasPermission" -->
339
+      <el-button type="primary"  @click="handleComfirm('receiveTreatmentAsses')"
340
         >保 存</el-button
340
         >保 存</el-button
341
       >
341
       >
342
     </div>
342
     </div>
343
   </el-dialog>
343
   </el-dialog>
344
+
345
+
346
+ <el-dialog
347
+          title="提示"
348
+          :visible.sync="infoDialogVisible"
349
+          width="30%">
350
+          <span>
351
+           <el-form>
352
+             <el-row>
353
+               <span>申请日期:</span>
354
+                <span>
355
+                    <el-date-picker
356
+                      type="datetime"
357
+                      format="yyyy-MM-dd HH:mm"
358
+                      value-format="yyyy-MM-dd HH:mm"
359
+                      placeholder="选择时间"
360
+                      v-model="selected_date"
361
+                  ></el-date-picker>
362
+                </span>
363
+             </el-row>
364
+             <el-row>
365
+               <span>备注:</span>
366
+                <span>
367
+                   <el-input v-model="remark" style="width:200px"></el-input>
368
+                </span>
369
+             </el-row>
370
+           </el-form>
371
+
372
+          </span>
373
+          <span slot="footer" class="dialog-footer">
374
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
375
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
376
+          </span>
377
+        </el-dialog>
378
+
379
+  </div>
380
+
381
+
344
 </template>
382
 </template>
345
 
383
 
346
 <script>
384
 <script>
347
-import { postAccepts } from "@/api/dialysis";
385
+import { postAccepts,saveInformation } from "@/api/dialysis";
348
 import { uParseTime } from "@/utils/tools";
386
 import { uParseTime } from "@/utils/tools";
349
 import store from "@/store";
387
 import store from "@/store";
350
 import { getDataConfig } from "@/utils/data";
388
 import { getDataConfig } from "@/utils/data";
355
   name: "acceptsTreatmentDialog",
393
   name: "acceptsTreatmentDialog",
356
   data() {
394
   data() {
357
     return {
395
     return {
396
+      isrequired:false,
358
       showTxt: "",
397
       showTxt: "",
359
       hasPermission: true,
398
       hasPermission: true,
360
       isVisibility: false,
399
       isVisibility: false,
389
         tumble: "",
428
         tumble: "",
390
         his_department: "",
429
         his_department: "",
391
         his_bed: "",
430
         his_bed: "",
392
-        falldown:[],
393
       },
431
       },
394
       precautionTwo: [],
432
       precautionTwo: [],
395
-      arr:[]
433
+      infoDialogVisible:false,
434
+      selected_date:"",
435
+      remark:"",
396
     };
436
     };
397
   },
437
   },
398
   methods: {
438
   methods: {
416
       }
456
       }
417
       this.accepts = accepts;
457
       this.accepts = accepts;
418
       // console.log("accepts", accepts);
458
       // console.log("accepts", accepts);
419
-      // var arr = [];
420
-      // if (this.accepts.precaution) {
421
-      //   var precaution = this.accepts.precaution.split(",");
422
-      //   // console.log("precaution", precaution);
423
-      //   // console.log("hhh", this.precaution_arr);
424
-      //   for (let i = 0; i < precaution.length; i++) {
425
-      //     for (let j = 0; j < this.precaution_arr.length; j++) {
426
-      //       if (parseInt(precaution[i]) == this.precaution_arr[j].id) {
427
-      //         // console.log("aaaa");
428
-      //         this.arr.push(this.precaution_arr[j].name);
429
-      //       }
430
-      //     }
431
-      //   }
432
-      //   this.precautionTwo = this.arr;
433
-      // }
459
+      var arr = [];
460
+      if (this.accepts.precaution) {
461
+        var precaution = this.accepts.precaution.split(",");
462
+        // console.log("precaution", precaution);
463
+        // console.log("hhh", this.precaution_arr);
464
+        for (let i = 0; i < precaution.length; i++) {
465
+          for (let j = 0; j < this.precaution_arr.length; j++) {
466
+            if (parseInt(precaution[i]) == this.precaution_arr[j].id) {
467
+              // console.log("aaaa");
468
+              arr.push(this.precaution_arr[j].name);
469
+            }
470
+          }
471
+        }
472
+        this.precautionTwo = arr;
473
+        // console.log("arr", arr);
474
+      }
434
 
475
 
435
       this.getPermission();
476
       this.getPermission();
436
       for (var index in this.receiveTreatmentAsses) {
477
       for (var index in this.receiveTreatmentAsses) {
456
     },
497
     },
457
     // 复选框跌倒风险措施
498
     // 复选框跌倒风险措施
458
     precautionchange(){
499
     precautionchange(){
459
-      // for (let i = 0; i < this.precaution_arr.length; i++) {
460
-      //   for (let j = 0; j < this.precautionTwo.length; j++) {
461
-      //     if (this.precaution_arr[i].name == this.precautionTwo[j]) {
462
-      //       this.arr.push(this.precaution_arr[i].id);
463
-      //     }
464
-      //   }
465
-      // } 
466
-      // var obj = this.arr.join(",");
467
-      // this.receiveTreatmentAsses.precaution = obj;
468
-
469
-      // this.receiveTreatmentAsses.falldown=this.precautionTwo
500
+
470
       if(this.precautionTwo.length>0){
501
       if(this.precautionTwo.length>0){
471
         this.$refs.receiveTreatmentAsses.clearValidate('precautionTwo');
502
         this.$refs.receiveTreatmentAsses.clearValidate('precautionTwo');
472
       }
503
       }
473
-      console.log('this.precaution_arr',this.precautionTwo);
474
-      // console.log('arr的数据',this.receiveTreatmentAsses.falldown);
475
-      // console.log('sadffdasfdg',this.receiveTreatmentAsses.falldown.length);
476
-      // this.$refs[fromName].resetFields();
477
-      
478
     },
504
     },
479
 
505
 
480
     handleComfirm: function (formName) {
506
     handleComfirm: function (formName) {
485
             this.arr.push(this.precaution_arr[i].id);
511
             this.arr.push(this.precaution_arr[i].id);
486
           }
512
           }
487
         }
513
         }
488
-      } 
514
+      }
489
       // this.precautionchange()
515
       // this.precautionchange()
490
       var obj = this.arr.join(",");
516
       var obj = this.arr.join(",");
491
       this.receiveTreatmentAsses.precaution = obj;
517
       this.receiveTreatmentAsses.precaution = obj;
492
       let ParamsQuery = this.receiveTreatmentAsses;
518
       let ParamsQuery = this.receiveTreatmentAsses;
493
-      
519
+
494
       console.log("ParamsQuery", ParamsQuery);
520
       console.log("ParamsQuery", ParamsQuery);
495
       ParamsQuery["patient"] = this.patient.id;
521
       ParamsQuery["patient"] = this.patient.id;
496
       ParamsQuery["record_date"] = this.record_date;
522
       ParamsQuery["record_date"] = this.record_date;
554
     isCheckmust(name) {
580
     isCheckmust(name) {
555
       let filedList = store.getters.xt_user.fileds;
581
       let filedList = store.getters.xt_user.fileds;
556
       for (let i = 0; i < filedList.length; i++) {
582
       for (let i = 0; i < filedList.length; i++) {
557
-        
583
+
558
         if (
584
         if (
559
           filedList[i].module == 2 &&
585
           filedList[i].module == 2 &&
560
           filedList[i].filed_name_cn == name &&
586
           filedList[i].filed_name_cn == name &&
571
                 trigger: ['blur','change']
597
                 trigger: ['blur','change']
572
               },
598
               },
573
             ];
599
             ];
574
-          } 
575
-          // if(name == "跌倒风险预防措施" && this.precautionTwo.length<=0){
576
-          //   return [
577
-          //     { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
578
-          //     {
579
-          //       required: true,
580
-          //       pattern: /^[1-9]\d*$/,
581
-          //       message: `请选择${name}`,
582
-          //       trigger: ['blur','change']
583
-          //     },
584
-          //   ];
585
-          // }
600
+          }
601
+          else if(name == "跌倒风险预防措施"){
602
+            if(this.precautionTwo.length<=0){
603
+              this.isrequired=false
604
+              return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
605
+
606
+            }
607
+            this.precautionchange()
608
+            this.isrequired=true
609
+            // return [{ required: true, message: '',trigger: ['blur','change'] }];
610
+          }else{
586
             return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
611
             return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
612
+
613
+          }
614
+
587
         }
615
         }
588
       }
616
       }
589
     },
617
     },
605
     //             trigger: ['blur','change']
633
     //             trigger: ['blur','change']
606
     //           },
634
     //           },
607
     //         ];
635
     //         ];
608
-    //       } 
636
+    //       }
609
     //     }
637
     //     }
610
     //   }
638
     //   }
611
     // },
639
     // },
649
           }
677
           }
650
         });
678
         });
651
     },
679
     },
680
+
681
+   saveInformation(){
682
+        var params = {
683
+          selected_date:this.selected_date,
684
+          patient_id:this.$route.query.patient_id,
685
+          record_date:this.$route.query.date,
686
+          module:2,
687
+          remark:this.remark,
688
+        }
689
+        saveInformation(params).then(response=>{
690
+           if(response.data.state == 1){
691
+             var information = response.data.data.information
692
+             this.$message.success("审核成功!")
693
+             this.infoDialogVisible = false
694
+           }
695
+        })
696
+      }
652
   },
697
   },
653
   props: {
698
   props: {
654
     receiver_treatment_access: {
699
     receiver_treatment_access: {
678
     },
723
     },
679
   },
724
   },
680
   created() {
725
   created() {
681
-    
682
     // console.log("接诊评估", this.receiver_treatment_access);
726
     // console.log("接诊评估", this.receiver_treatment_access);
683
     var date = this.$route.query && this.$route.query.date;
727
     var date = this.$route.query && this.$route.query.date;
684
     this.record_date = date
728
     this.record_date = date
695
     // console.log("风险", this.precaution_arr);
739
     // console.log("风险", this.precaution_arr);
696
     this.intake_arr = getDataConfig("hemodialysis", "intake");
740
     this.intake_arr = getDataConfig("hemodialysis", "intake");
697
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
741
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
698
-    
699
   },
742
   },
700
-  // mounted(){
701
-  //   this.isFalldown()
702
-  // }
703
 };
743
 };
704
 </script>
744
 </script>
705
 
745
 

+ 69 - 52
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue 查看文件

39
 
39
 
40
           <el-col :span="8">
40
           <el-col :span="8">
41
             <el-form-item label="干体重(kg):"
41
             <el-form-item label="干体重(kg):"
42
-             :prop="isName('干体重')"
42
+              :prop="isName('干体重')"
43
               :rules="isCheckmust('干体重')"
43
               :rules="isCheckmust('干体重')"
44
                           v-if="isShow('干体重')">
44
                           v-if="isShow('干体重')">
45
+                          <!--  -->
45
               <el-input type="number" v-model="assessmentBeforeDislysis.dry_weight" readonly
46
               <el-input type="number" v-model="assessmentBeforeDislysis.dry_weight" readonly
46
                         @focus="showDryWeightDialog"></el-input>
47
                         @focus="showDryWeightDialog"></el-input>
47
             </el-form-item>
48
             </el-form-item>
99
             </el-form-item>
100
             </el-form-item>
100
           </el-col>
101
           </el-col>
101
 
102
 
102
-
103
           <el-col :span="8">
103
           <el-col :span="8">
104
             <el-form-item label="体温(℃):" :prop="isName('体温')"
104
             <el-form-item label="体温(℃):" :prop="isName('体温')"
105
               :rules="isCheckmust('体温')" v-if="isShow('体温')">
105
               :rules="isCheckmust('体温')" v-if="isShow('体温')">
184
             </el-form-item>
184
             </el-form-item>
185
           </el-col>
185
           </el-col>
186
 
186
 
187
-
188
           <el-col :span="8">
187
           <el-col :span="8">
189
             <el-form-item label="内瘘: " :prop="isName('内瘘')"
188
             <el-form-item label="内瘘: " :prop="isName('内瘘')"
190
               :rules="isCheckmust('内瘘')" v-if="isShow('内瘘')">
189
               :rules="isCheckmust('内瘘')" v-if="isShow('内瘘')">
193
             </el-form-item>
192
             </el-form-item>
194
           </el-col>
193
           </el-col>
195
 
194
 
196
-
197
-
198
-
199
-
200
-
201
           <el-col :span="8" v-if="assessmentBeforeDislysis.is_hemorrhage == 1&&isShow('其他出血情况')">
195
           <el-col :span="8" v-if="assessmentBeforeDislysis.is_hemorrhage == 1&&isShow('其他出血情况')">
202
-            <el-form-item label="其他出血情况: " :prop="isName('其他出血情况')"
196
+            <el-form-item label="其他出血情况: " prop="hemorrhage_other"
203
               :rules="isCheckmust('其他出血情况')">
197
               :rules="isCheckmust('其他出血情况')">
198
+              <!-- :prop="isName('其他出血情况')" -->
204
               <el-input v-model="assessmentBeforeDislysis.hemorrhage_other"></el-input>
199
               <el-input v-model="assessmentBeforeDislysis.hemorrhage_other"></el-input>
205
             </el-form-item>
200
             </el-form-item>
206
           </el-col>
201
           </el-col>
225
             </el-form-item>
220
             </el-form-item>
226
           </el-col>
221
           </el-col>
227
 
222
 
228
-          <!-- </el-row>
229
-
230
-          <el-row :gutter="20"> -->
231
-
232
-
233
           <el-col :span="8">
223
           <el-col :span="8">
234
             <el-form-item label="血管通路皮肤情况: " :prop="isName('血管通路皮肤情况')"
224
             <el-form-item label="血管通路皮肤情况: " :prop="isName('血管通路皮肤情况')"
235
               :rules="isCheckmust('血管通路皮肤情况')" v-if="isShow('血管通路皮肤情况')">
225
               :rules="isCheckmust('血管通路皮肤情况')" v-if="isShow('血管通路皮肤情况')">
269
             </el-form-item>
259
             </el-form-item>
270
           </el-col>
260
           </el-col>
271
 
261
 
272
-
273
-
274
           <!--<el-col :span="8">-->
262
           <!--<el-col :span="8">-->
275
           <!--<el-form-item label="附加物重(kg): ">-->
263
           <!--<el-form-item label="附加物重(kg): ">-->
276
           <!--<el-input type="number" v-model="assessmentBeforeDislysis.additional_weight"></el-input>-->
264
           <!--<el-input type="number" v-model="assessmentBeforeDislysis.additional_weight"></el-input>-->
279
 
267
 
280
           <!-- </el-row>
268
           <!-- </el-row>
281
 
269
 
282
-
283
           <el-row :gutter="20"> -->
270
           <el-row :gutter="20"> -->
284
           <el-col :span="8">
271
           <el-col :span="8">
285
             <el-form-item label="导管打折: " :prop="isName('导管打折')"
272
             <el-form-item label="导管打折: " :prop="isName('导管打折')"
302
             </el-form-item>
289
             </el-form-item>
303
           </el-col>
290
           </el-col>
304
 
291
 
305
-
306
-
307
           <!-- </el-row>
292
           <!-- </el-row>
308
-
309
-
310
           <el-row :gutter="20"> -->
293
           <el-row :gutter="20"> -->
311
 
294
 
312
           <el-col :span="8">
295
           <el-col :span="8">
349
           </el-col>
332
           </el-col>
350
 
333
 
351
 
334
 
352
-
353
           <el-col :span="8">
335
           <el-col :span="8">
354
             <el-form-item label="出血: " :prop="isName('出血')"
336
             <el-form-item label="出血: " :prop="isName('出血')"
355
               :rules="isCheckmust('出血')" v-if="isShow('出血')">
337
               :rules="isCheckmust('出血')" v-if="isShow('出血')">
361
             </el-form-item>
343
             </el-form-item>
362
           </el-col>
344
           </el-col>
363
 
345
 
364
-
365
           <el-col :span="8" v-if="assessmentBeforeDislysis.is_hemorrhage == 1&&isShow('出血选项')">
346
           <el-col :span="8" v-if="assessmentBeforeDislysis.is_hemorrhage == 1&&isShow('出血选项')">
366
             <el-form-item label="出血选项: " :prop="isName('出血选项')"
347
             <el-form-item label="出血选项: " :prop="isName('出血选项')"
367
               :rules="isCheckmust('出血选项')">
348
               :rules="isCheckmust('出血选项')">
371
             </el-form-item>
352
             </el-form-item>
372
           </el-col>
353
           </el-col>
373
 
354
 
374
-
375
-
376
            <el-col :span="8">
355
            <el-col :span="8">
377
             <el-form-item label="血栓:" :prop="isName('血栓')"
356
             <el-form-item label="血栓:" :prop="isName('血栓')"
378
               :rules="isCheckmust('血栓')" v-if="isShow('血栓')">
357
               :rules="isCheckmust('血栓')" v-if="isShow('血栓')">
386
           
365
           
387
           <el-col :span="8">
366
           <el-col :span="8">
388
             <el-form-item label="导管AV端约为(cm):" :prop="isName('导管AV端各约')"
367
             <el-form-item label="导管AV端约为(cm):" :prop="isName('导管AV端各约')"
389
-              :rules="isCheckmust('导管AV端各约')" v-show="thrombuShow" label-width="200px">
368
+              :rules="isCheckmust('导管AV端各约')" v-show="thrombuShow" label-width="150px">
390
               <el-input v-model="assessmentBeforeDislysis.thrombus_av" style="width:150px"></el-input>
369
               <el-input v-model="assessmentBeforeDislysis.thrombus_av" style="width:150px"></el-input>
391
             </el-form-item>
370
             </el-form-item>
392
           </el-col>
371
           </el-col>
421
             </el-form-item>
400
             </el-form-item>
422
           </el-col>
401
           </el-col>
423
 
402
 
424
-
425
           <el-col :span="8">
403
           <el-col :span="8">
426
             <el-form-item label="并发症: " :prop="isName('并发症')"
404
             <el-form-item label="并发症: " :prop="isName('并发症')"
427
               :rules="isCheckmust('并发症')" v-if="isShow('并发症')">
405
               :rules="isCheckmust('并发症')" v-if="isShow('并发症')">
438
             </el-form-item>
416
             </el-form-item>
439
           </el-col>
417
           </el-col>
440
 
418
 
441
-
442
           <el-col :span="8">
419
           <el-col :span="8">
443
             <el-form-item label="前次透析后症状:" :prop="isName('前次透析后症状')"
420
             <el-form-item label="前次透析后症状:" :prop="isName('前次透析后症状')"
444
               :rules="isCheckmust('前次透析后症状')" v-if="isShow('前次透析后症状')">
421
               :rules="isCheckmust('前次透析后症状')" v-if="isShow('前次透析后症状')">
446
             </el-form-item>
423
             </el-form-item>
447
           </el-col>
424
           </el-col>
448
 
425
 
449
-
450
           <el-col :span="8" v-if="isShow('急诊')">
426
           <el-col :span="8" v-if="isShow('急诊')">
451
             <el-form-item label="急诊: " :prop="isName('急诊')"
427
             <el-form-item label="急诊: " :prop="isName('急诊')"
452
               :rules="isCheckmust('急诊')">
428
               :rules="isCheckmust('急诊')">
473
             </el-form-item>
449
             </el-form-item>
474
           </el-col>
450
           </el-col>
475
           
451
           
476
-
477
-          
478
-
479
           <el-col :span="8">
452
           <el-col :span="8">
480
             <el-form-item label="透析期间: " :prop="isName('透析期间')"
453
             <el-form-item label="透析期间: " :prop="isName('透析期间')"
481
               :rules="isCheckmust('透析期间')" v-if="isShow('透析期间')">
454
               :rules="isCheckmust('透析期间')" v-if="isShow('透析期间')">
518
             </el-form-item>
491
             </el-form-item>
519
           </el-col>
492
           </el-col>
520
 
493
 
521
-
522
-
523
           <el-col :span="8" v-if="isShow('其他感染情况')">
494
           <el-col :span="8" v-if="isShow('其他感染情况')">
524
             <el-form-item label="其他感染情况:" :prop="isName('其他感染情况')"
495
             <el-form-item label="其他感染情况:" :prop="isName('其他感染情况')"
525
               :rules="isCheckmust('其他感染情况')">
496
               :rules="isCheckmust('其他感染情况')">
527
             </el-form-item>
498
             </el-form-item>
528
           </el-col>
499
           </el-col>
529
 
500
 
530
-
531
-
532
-
533
           <el-col :span="8" v-if="isShow('外露')">
501
           <el-col :span="8" v-if="isShow('外露')">
534
             <el-form-item label="外露(cm):" :prop="isName('外露')"
502
             <el-form-item label="外露(cm):" :prop="isName('外露')"
535
               :rules="isCheckmust('外露')">
503
               :rules="isCheckmust('外露')">
537
             </el-form-item>
505
             </el-form-item>
538
           </el-col>
506
           </el-col>
539
 
507
 
540
-
541
-
542
-
543
-
544
           <el-col :span="8" v-if="isShow('其他皮肤情况')">
508
           <el-col :span="8" v-if="isShow('其他皮肤情况')">
545
             <el-form-item label="其他皮肤情况:" :prop="isName('其他皮肤情况')"
509
             <el-form-item label="其他皮肤情况:" :prop="isName('其他皮肤情况')"
546
               :rules="isCheckmust('其他皮肤情况')">
510
               :rules="isCheckmust('其他皮肤情况')">
548
             </el-form-item>
512
             </el-form-item>
549
           </el-col>
513
           </el-col>
550
 
514
 
551
-
552
-
553
-
554
-
555
-
556
-
557
           <el-col :span="8">
515
           <el-col :span="8">
558
             <el-form-item label="导管缝线:" :prop="isName('导管缝线')"
516
             <el-form-item label="导管缝线:" :prop="isName('导管缝线')"
559
               :rules="isCheckmust('导管缝线')" v-if="isShow('导管缝线')">
517
               :rules="isCheckmust('导管缝线')" v-if="isShow('导管缝线')">
684
       </el-form>
642
       </el-form>
685
       <span slot="footer" class="dialog-footer">
643
       <span slot="footer" class="dialog-footer">
686
                 <el-button @click="handleCancle">取 消</el-button>
644
                 <el-button @click="handleCancle">取 消</el-button>
687
-                 <!--  -->
688
-                <el-button type="primary" v-if="hasPermission" @click="handleComfirm('assessmentBeforeDislysis')">保 存</el-button>
645
+                 <!--v-if="hasPermission"  -->
646
+                <el-button type="primary"  @click="handleComfirm('assessmentBeforeDislysis')">保 存</el-button>
689
             </span>
647
             </span>
690
     </el-dialog>
648
     </el-dialog>
691
 
649
 
741
         <el-button type="primary" @click="submitDryWeight()">保 存</el-button>
699
         <el-button type="primary" @click="submitDryWeight()">保 存</el-button>
742
       </div>
700
       </div>
743
     </el-dialog>
701
     </el-dialog>
702
+
703
+
704
+    <el-dialog
705
+          title="提示"
706
+          :visible.sync="infoDialogVisible"
707
+          width="30%">
708
+          <span>
709
+           <el-form>
710
+             <el-row>
711
+               <span>申请日期:</span>
712
+                <span>
713
+                    <el-date-picker
714
+                      type="datetime"
715
+                      format="yyyy-MM-dd HH:mm"
716
+                      value-format="yyyy-MM-dd HH:mm"
717
+                      placeholder="选择时间"
718
+                      v-model="selected_date"
719
+                  ></el-date-picker>
720
+                </span>
721
+             </el-row>
722
+             <el-row>
723
+               <span>备注:</span>
724
+                <span>
725
+                   <el-input v-model="remark" style="width:200px"></el-input>
726
+                </span>
727
+             </el-row>
728
+           </el-form>
729
+         
730
+          </span>
731
+          <span slot="footer" class="dialog-footer">
732
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
733
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
734
+          </span>
735
+        </el-dialog>
744
   </div>
736
   </div>
745
 
737
 
746
 
738
 
750
   import axios from 'axios'
742
   import axios from 'axios'
751
   import multiSelectBox from './MultiSelectBox'
743
   import multiSelectBox from './MultiSelectBox'
752
   import { getDataConfig } from '@/utils/data'
744
   import { getDataConfig } from '@/utils/data'
753
-  import { postAssessmentBeforeDislysis, CreateDryWeight } from '@/api/dialysis'
745
+  import { postAssessmentBeforeDislysis, CreateDryWeight,saveInformation } from '@/api/dialysis'
754
   import store from '@/store'
746
   import store from '@/store'
755
   import { uParseTime } from '@/utils/tools'
747
   import { uParseTime } from '@/utils/tools'
756
   import { parseTime } from '@/utils'
748
   import { parseTime } from '@/utils'
893
         thrombuShow:false,
885
         thrombuShow:false,
894
         body_weight_before:"",
886
         body_weight_before:"",
895
         point_punctures:[],
887
         point_punctures:[],
896
-       
888
+        infoDialogVisible:false,
889
+        selected_date:"",
890
+        remark:""
891
+
897
       }
892
       }
898
     },
893
     },
899
     props: {
894
     props: {
965
             filedList[i].is_show == 1
960
             filedList[i].is_show == 1
966
           ) {
961
           ) {
967
             // console.log(filedList[i],'false')
962
             // console.log(filedList[i],'false')
968
-            if (name == "血管通路"||name == "导管打折"||name == '出血'||name == '血栓'||name == '围手术期'||name=='血管杂音'||name=='急诊'||name=='中心静脉导置管') {
963
+            if (name == "血管通路"||name == "导管打折"||name == '出血'||name == '血栓'||
964
+            name == '围手术期'||name=='血管杂音'||name=='急诊'||name=='中心静脉导置管' 
965
+            ) {
969
             return [
966
             return [
970
               { required: true, message: `请输入${name}` },
967
               { required: true, message: `请输入${name}` },
971
               {
968
               {
1428
           
1425
           
1429
           if (response.data.state == 0) {
1426
           if (response.data.state == 0) {
1430
             this.$message.error(response.data.msg)
1427
             this.$message.error(response.data.msg)
1428
+            if(response.data.code == 600000008){
1429
+              this.infoDialogVisible = true
1430
+            }
1431
             return false
1431
             return false
1432
           } else {
1432
           } else {
1433
             this.$notify({
1433
             this.$notify({
1562
           }
1562
           }
1563
         }
1563
         }
1564
         return user_name
1564
         return user_name
1565
+      },
1566
+    
1567
+      saveInformation(){
1568
+        var params = {
1569
+          selected_date:this.selected_date,
1570
+          patient_id:this.$route.query.patient_id,
1571
+          record_date:this.$route.query.date,
1572
+          module:2,
1573
+          remark:this.remark,
1574
+        }
1575
+        saveInformation(params).then(response=>{
1576
+           if(response.data.state == 1){
1577
+             var information = response.data.data.information
1578
+             this.$message.success("审核成功!")
1579
+             this.infoDialogVisible = false
1580
+           }
1581
+        })
1565
       }
1582
       }
1566
       
1583
       
1567
     },
1584
     },

+ 63 - 2
src/xt_pages/dialysis/details/dialog/computer_dialog.vue 查看文件

343
         </el-form-item>
343
         </el-form-item>
344
       </el-form>
344
       </el-form>
345
     </el-dialog>
345
     </el-dialog>
346
+  
347
+
348
+     <el-dialog
349
+          title="提示"
350
+          :visible.sync="infoDialogVisible"
351
+          width="30%">
352
+          <span>
353
+           <el-form>
354
+             <el-row>
355
+               <span>申请日期:</span>
356
+                <span>
357
+                    <el-date-picker
358
+                      type="datetime"
359
+                      format="yyyy-MM-dd HH:mm"
360
+                      value-format="yyyy-MM-dd HH:mm"
361
+                      placeholder="选择时间"
362
+                      v-model="selected_date"
363
+                  ></el-date-picker>
364
+                </span>
365
+             </el-row>
366
+             <el-row>
367
+               <span>备注:</span>
368
+                <span>
369
+                   <el-input v-model="remark" style="width:200px"></el-input>
370
+                </span>
371
+             </el-row>
372
+           </el-form>
373
+         
374
+          </span>
375
+          <span slot="footer" class="dialog-footer">
376
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
377
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
378
+          </span>
379
+        </el-dialog>
380
+
346
   </div>
381
   </div>
347
 </template>
382
 </template>
348
 
383
 
420
       irrigations: [],
455
       irrigations: [],
421
       summary:[],
456
       summary:[],
422
       blood_access_option_name:"",
457
       blood_access_option_name:"",
423
-      value2:""
458
+      value2:"",
459
+      infoDialogVisible:false,
460
+      selected_date:"",
461
+      remark:""
424
     };
462
     };
425
   },
463
   },
426
   props: {
464
   props: {
891
               this.$emit("monitor", resp.data.monitor);
929
               this.$emit("monitor", resp.data.monitor);
892
               this.$message.success("上机成功");
930
               this.$message.success("上机成功");
893
             } else {
931
             } else {
932
+
894
               this.$message.error(resp.msg);
933
               this.$message.error(resp.msg);
934
+              if(response.data.code == 600000008){
935
+                this.infoDialogVisible = true
936
+              }
895
             }
937
             }
896
           });
938
           });
897
         } else {
939
         } else {
941
           }
983
           }
942
         } else {
984
         } else {
943
           this.$message.error(resp.msg);
985
           this.$message.error(resp.msg);
986
+          if(response.data.code == 600000008){
987
+            this.infoDialogVisible = true
988
+          }
944
         }
989
         }
945
       });
990
       });
946
         }else{
991
         }else{
1094
       }
1139
       }
1095
 
1140
 
1096
       return name
1141
       return name
1097
-    }
1142
+    },
1143
+    saveInformation(){
1144
+        var params = {
1145
+          selected_date:this.selected_date,
1146
+          patient_id:this.$route.query.patient_id,
1147
+          record_date:this.$route.query.date,
1148
+          module:2,
1149
+          remark:this.remark,
1150
+        }
1151
+        saveInformation(params).then(response=>{
1152
+           if(response.data.state == 1){
1153
+             var information = response.data.data.information
1154
+             this.$message.success("审核成功!")
1155
+             this.infoDialogVisible = false
1156
+           }
1157
+        })
1158
+      }
1098
   },
1159
   },
1099
 };
1160
 };
1100
 </script>
1161
 </script>

文件差异内容过多而无法显示
+ 506 - 443
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue


+ 65 - 1
src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue 查看文件

1
 <template>
1
 <template>
2
+   <div>
2
   <el-dialog
3
   <el-dialog
3
     title="双人核对"
4
     title="双人核对"
4
     :visible.sync="isVisibility"
5
     :visible.sync="isVisibility"
291
       >
292
       >
292
     </div>
293
     </div>
293
   </el-dialog>
294
   </el-dialog>
295
+
296
+
297
+
298
+    <el-dialog
299
+          title="提示"
300
+          :visible.sync="infoDialogVisible"
301
+          width="30%">
302
+          <span>
303
+           <el-form>
304
+             <el-row>
305
+               <span>申请日期:</span>
306
+                <span>
307
+                    <el-date-picker
308
+                      type="datetime"
309
+                      format="yyyy-MM-dd HH:mm"
310
+                      value-format="yyyy-MM-dd HH:mm"
311
+                      placeholder="选择时间"
312
+                      v-model="selected_date"
313
+                  ></el-date-picker>
314
+                </span>
315
+             </el-row>
316
+             <el-row>
317
+               <span>备注:</span>
318
+                <span>
319
+                   <el-input v-model="remark" style="width:200px"></el-input>
320
+                </span>
321
+             </el-row>
322
+           </el-form>
323
+         
324
+          </span>
325
+          <span slot="footer" class="dialog-footer">
326
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
327
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
328
+          </span>
329
+        </el-dialog>
330
+ </div>
331
+
332
+ 
333
+
334
+  
294
 </template>
335
 </template>
295
 
336
 
296
 <script>
337
 <script>
297
-import { postDoubleCheck, changeRole } from "@/api/dialysis";
338
+import { postDoubleCheck, changeRole,saveInformation } from "@/api/dialysis";
298
 import { uParseTime } from "@/utils/tools";
339
 import { uParseTime } from "@/utils/tools";
299
 import { parseTime } from "@/utils";
340
 import { parseTime } from "@/utils";
300
 import { getDataConfig } from "@/utils/data";
341
 import { getDataConfig } from "@/utils/data";
357
       displace_liqui_value: "置换液总量:",
398
       displace_liqui_value: "置换液总量:",
358
       job_number: "",
399
       job_number: "",
359
       org_id: 0,
400
       org_id: 0,
401
+      infoDialogVisible:false,
402
+      selected_date:"",
403
+      remark:""
360
     };
404
     };
361
   },
405
   },
362
   methods: {
406
   methods: {
510
           console.log(ParamsQuery, "提交参数");
554
           console.log(ParamsQuery, "提交参数");
511
           postDoubleCheck(ParamsQuery).then((response) => {
555
           postDoubleCheck(ParamsQuery).then((response) => {
512
             if (response.data.state == 0) {
556
             if (response.data.state == 0) {
557
+               if(response.data.code == 600000008){
558
+                this.infoDialogVisible = true
559
+              }
513
               this.$message.error(response.data.msg);
560
               this.$message.error(response.data.msg);
514
               return false;
561
               return false;
515
             } else {
562
             } else {
1841
           (nowMinutes < 10 ? "0" + nowMinutes : nowMinutes);
1888
           (nowMinutes < 10 ? "0" + nowMinutes : nowMinutes);
1842
       }
1889
       }
1843
     },
1890
     },
1891
+
1892
+   saveInformation(){
1893
+        var params = {
1894
+          selected_date:this.selected_date,
1895
+          patient_id:this.$route.query.patient_id,
1896
+          record_date:this.$route.query.date,
1897
+          module:5,
1898
+          remark:this.remark,
1899
+        }
1900
+        saveInformation(params).then(response=>{
1901
+           if(response.data.state == 1){
1902
+             var information = response.data.data.information
1903
+             this.$message.success("审核成功!")
1904
+             this.infoDialogVisible = false
1905
+           }
1906
+        })
1907
+      }
1844
   },
1908
   },
1845
   created() {
1909
   created() {
1846
     var date = this.$route.query && this.$route.query.date;
1910
     var date = this.$route.query && this.$route.query.date;

+ 67 - 1
src/xt_pages/dialysis/details/dialog/finish_dialog.vue 查看文件

98
       v-on:dialog-comfirm="innerDialogComfirm"
98
       v-on:dialog-comfirm="innerDialogComfirm"
99
       v-on:dialog-cancle="innerDialogCancle"
99
       v-on:dialog-cancle="innerDialogCancle"
100
     ></multi-select-box>
100
     ></multi-select-box>
101
+    
101
 
102
 
103
+       <el-dialog
104
+          title="提示"
105
+          :visible.sync="infoDialogVisible"
106
+          width="30%">
107
+          <span>
108
+           <el-form>
109
+             <el-row>
110
+               <span>申请日期:</span>
111
+                <span>
112
+                    <el-date-picker
113
+                      type="datetime"
114
+                      format="yyyy-MM-dd HH:mm"
115
+                      value-format="yyyy-MM-dd HH:mm"
116
+                      placeholder="选择时间"
117
+                      v-model="selected_date"
118
+                  ></el-date-picker>
119
+                </span>
120
+             </el-row>
121
+             <el-row>
122
+               <span>备注:</span>
123
+                <span>
124
+                   <el-input v-model="remark" style="width:200px"></el-input>
125
+                </span>
126
+             </el-row>
127
+           </el-form>
128
+         
129
+          </span>
130
+          <span slot="footer" class="dialog-footer">
131
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
132
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
133
+          </span>
134
+        </el-dialog>
135
+  
102
   </div>
136
   </div>
103
 </template>
137
 </template>
104
 
138
 
105
 <script>
139
 <script>
106
   import axios from 'axios'
140
   import axios from 'axios'
107
   import { finishDialysis,PostModifyFinishDialysis } from '@/api/dialysis_record'
141
   import { finishDialysis,PostModifyFinishDialysis } from '@/api/dialysis_record'
142
+   import { saveInformation } from '@/api/dialysis'
108
   import { parseTime } from '@/utils'
143
   import { parseTime } from '@/utils'
109
   import multiSelectBox from './MultiSelectBox'
144
   import multiSelectBox from './MultiSelectBox'
110
   import request from '@/utils/request'
145
   import request from '@/utils/request'
149
         cruorOptions: [],
184
         cruorOptions: [],
150
         required:false,
185
         required:false,
151
         education:[],
186
         education:[],
187
+        infoDialogVisible:false,
188
+        selected_date:"",
189
+        pickerOptions: {
190
+          disabledDate(time) {
191
+            return time.getTime() > Date.now()
192
+          }
193
+        },
194
+        remark:""
152
        
195
        
153
       }
196
       }
154
     },
197
     },
378
             PostModifyFinishDialysis(ParamsQuery).then(response => {
421
             PostModifyFinishDialysis(ParamsQuery).then(response => {
379
               if (response.data.state == 0) {
422
               if (response.data.state == 0) {
380
                 this.$message.error(response.data.msg)
423
                 this.$message.error(response.data.msg)
381
-
424
+                 if(response.data.code == 600000008){
425
+                  this.infoDialogVisible = true
426
+                 }
382
                 return false;
427
                 return false;
383
               } else {
428
               } else {
384
                 this.$message.success("修改成功")
429
                 this.$message.success("修改成功")
432
 
477
 
433
               } else {
478
               } else {
434
                 this.$message.error(resp.msg)
479
                 this.$message.error(resp.msg)
480
+               if(response.data.code == 600000008){
481
+                  this.infoDialogVisible = true
482
+                }
435
               }
483
               }
436
             })
484
             })
437
           }else{
485
           }else{
522
       innerDialogCancle: function() {
570
       innerDialogCancle: function() {
523
         this.InnerDialogProps.visibility = false
571
         this.InnerDialogProps.visibility = false
524
       },
572
       },
573
+
574
+      saveInformation(){
575
+        var params = {
576
+          selected_date:this.selected_date,
577
+          patient_id:this.$route.query.patient_id,
578
+          record_date:this.$route.query.date,
579
+          module:1,
580
+          remark:this.remark,
581
+        }
582
+        console.log("params32222222222----",params)
583
+        saveInformation(params).then(response=>{
584
+           if(response.data.state == 1){
585
+             var information = response.data.data.information
586
+             this.$message.success("审核成功!")
587
+             this.infoDialogVisible = false
588
+           }
589
+        })
590
+      }
525
     }
591
     }
526
   }
592
   }
527
 </script>
593
 </script>

+ 31 - 42
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 查看文件

236
                 template_id == 56 ||
236
                 template_id == 56 ||
237
                 template_id == 60 ||
237
                 template_id == 60 ||
238
                 org_id == 10210 ||
238
                 org_id == 10210 ||
239
-                org_id == 9555 
239
+                org_id == 9555
240
                 || org_id == 10432
240
                 || org_id == 10432
241
                 || org_id == 10445
241
                 || org_id == 10445
242
                 || org_id == 10410 ||
242
                 || org_id == 10410 ||
252
                   ? scope.row.ultrafiltration_volume
252
                   ? scope.row.ultrafiltration_volume
253
                   : "0"
253
                   : "0"
254
               }}
254
               }}
255
-              </span> 
255
+              </span>
256
                <span v-if="org_id != 10440 && org_id!=9671">
256
                <span v-if="org_id != 10440 && org_id!=9671">
257
               {{
257
               {{
258
                 scope.row.ultrafiltration_volume
258
                 scope.row.ultrafiltration_volume
259
                   ? scope.row.ultrafiltration_volume
259
                   ? scope.row.ultrafiltration_volume
260
                   : ""
260
                   : ""
261
               }}
261
               }}
262
-              </span> 
262
+              </span>
263
             </template>
263
             </template>
264
           </el-table-column>
264
           </el-table-column>
265
           <el-table-column
265
           <el-table-column
307
               template_id != 56 &&
307
               template_id != 56 &&
308
               template_id != 60 &&
308
               template_id != 60 &&
309
               org_id!= 10210 &&
309
               org_id!= 10210 &&
310
-              org_id != 9555 
310
+              org_id != 9555
311
               && org_id!=10432 && org_id!=10445
311
               && org_id!=10432 && org_id!=10445
312
               && org_id!=10410 && org_id!=10495 &&
312
               && org_id!=10410 && org_id!=10495 &&
313
                org_id!=10485 )
313
                org_id!=10485 )
414
               template_id != 60 &&
414
               template_id != 60 &&
415
               org_id!=10432 &&
415
               org_id!=10432 &&
416
               org_id!=10445 &&
416
               org_id!=10445 &&
417
-              org_id!=10410 && org_id!=10495) || 
417
+              org_id!=10410 && org_id!=10495) ||
418
               org_id == 10387
418
               org_id == 10387
419
             "
419
             "
420
           >
420
           >
473
                 template_id == 53 ||
473
                 template_id == 53 ||
474
                 template_id == 54 ||
474
                 template_id == 54 ||
475
                 template_id == 56 ||
475
                 template_id == 56 ||
476
-                org_id ==10432 || 
477
-                org_id ==10445 || 
476
+                org_id ==10432 ||
477
+                org_id ==10445 ||
478
                 org_id ==10410
478
                 org_id ==10410
479
-              
479
+
480
                )
480
                )
481
             "
481
             "
482
           >
482
           >
502
               template_id != 53 &&
502
               template_id != 53 &&
503
               template_id != 54 &&
503
               template_id != 54 &&
504
               template_id != 56 &&
504
               template_id != 56 &&
505
-              org_id !=10432 && 
505
+              org_id !=10432 &&
506
               org_id !=10445 &&
506
               org_id !=10445 &&
507
               org_id !=10410
507
               org_id !=10410
508
             "
508
             "
907
           </el-table-column>
907
           </el-table-column>
908
 
908
 
909
           <el-table-column
909
           <el-table-column
910
-           
910
+
911
             align="center"
911
             align="center"
912
             label="病情变化"
912
             label="病情变化"
913
             width="130"
913
             width="130"
915
           >
915
           >
916
            <template slot-scope="scope">
916
            <template slot-scope="scope">
917
              {{scope.row.symptom}}
917
              {{scope.row.symptom}}
918
-            
919
-            
918
+
919
+
920
              <span v-if="(scope.$index == monitors.length - 1) && (org_id == 0 || org_id == 9671 || org_id == 10340)">累计血容量:{{scope.row.accumulated_blood_volume }}L</span>
920
              <span v-if="(scope.$index == monitors.length - 1) && (org_id == 0 || org_id == 9671 || org_id == 10340)">累计血容量:{{scope.row.accumulated_blood_volume }}L</span>
921
             </template>
921
             </template>
922
           </el-table-column>
922
           </el-table-column>
1130
                 template_id == 56 ||
1130
                 template_id == 56 ||
1131
                 template_id == 47 ||
1131
                 template_id == 47 ||
1132
                 template_id == 60 ||
1132
                 template_id == 60 ||
1133
-                org_id== 10432 || 
1133
+                org_id== 10432 ||
1134
                 org_id== 10445 ||
1134
                 org_id== 10445 ||
1135
                 org_id== 10410) &&
1135
                 org_id== 10410) &&
1136
                 org_id!=10387
1136
                 org_id!=10387
1175
               template_id != 56 &&
1175
               template_id != 56 &&
1176
               template_id != 47 &&
1176
               template_id != 47 &&
1177
               template_id != 60 &&
1177
               template_id != 60 &&
1178
-              org_id!=10432 && 
1178
+              org_id!=10432 &&
1179
               org_id!=10445 &&
1179
               org_id!=10445 &&
1180
               org_id!=10410)
1180
               org_id!=10410)
1181
               || org_id == 10387
1181
               || org_id == 10387
1233
                 org_id == 10445 ||
1233
                 org_id == 10445 ||
1234
                 org_id == 10410 ||
1234
                 org_id == 10410 ||
1235
                 org_id == 10495 ||
1235
                 org_id == 10495 ||
1236
-                org_id == 10485) 
1236
+                org_id == 10485)
1237
                 && org_id!=10387
1237
                 && org_id!=10387
1238
             "
1238
             "
1239
           >
1239
           >
1285
               org_id !=  10210 &&
1285
               org_id !=  10210 &&
1286
               org_id !=  10340 &&
1286
               org_id !=  10340 &&
1287
               org_id != 9555 &&
1287
               org_id != 9555 &&
1288
-              org_id!=10432 && 
1289
-              org_id!=10445 && 
1288
+              org_id!=10432 &&
1289
+              org_id!=10445 &&
1290
               org_id!=10410 &&
1290
               org_id!=10410 &&
1291
               org_id!=10495 &&
1291
               org_id!=10495 &&
1292
               org_id!=10485
1292
               org_id!=10485
1387
               template_id != 54 &&
1387
               template_id != 54 &&
1388
               template_id != 56 &&
1388
               template_id != 56 &&
1389
               template_id != 48 &&
1389
               template_id != 48 &&
1390
-              org_id!=10340 && 
1391
-              org_id!=10432 && 
1390
+              org_id!=10340 &&
1391
+              org_id!=10432 &&
1392
               org_id!=10445
1392
               org_id!=10445
1393
             "
1393
             "
1394
           >
1394
           >
1895
     );
1895
     );
1896
     this.complicationList = getDataConfig("hemodialysis", "complication");
1896
     this.complicationList = getDataConfig("hemodialysis", "complication");
1897
 
1897
 
1898
-   
1898
+
1899
   },
1899
   },
1900
   methods: {
1900
   methods: {
1901
       isName(name) {
1901
       isName(name) {
1912
       for (let i = 0; i < filedList.length; i++) {
1912
       for (let i = 0; i < filedList.length; i++) {
1913
         if (
1913
         if (
1914
           filedList[i].module == 4
1914
           filedList[i].module == 4
1915
-          &&filedList[i].filed_name_cn == name 
1915
+          &&filedList[i].filed_name_cn == name
1916
           &&filedList[i].is_write == 1
1916
           &&filedList[i].is_write == 1
1917
         ) {
1917
         ) {
1918
           // console.log(filedList[i].is_write,'false')
1918
           // console.log(filedList[i].is_write,'false')
1919
           // console.log(name,filedList[i].filed_name_cn,'难道不一样吗')
1919
           // console.log(name,filedList[i].filed_name_cn,'难道不一样吗')
1920
           return [{ required: true ,message:`请输入${name}` }];
1920
           return [{ required: true ,message:`请输入${name}` }];
1921
-        } 
1921
+        }
1922
         // else {
1922
         // else {
1923
         //   console.log(name,filedList[i].filed_name_cn,'难道不一样吗')
1923
         //   console.log(name,filedList[i].filed_name_cn,'难道不一样吗')
1924
         //   // console.log(filedList[i].is_write,'true')
1924
         //   // console.log(filedList[i].is_write,'true')
2060
           ? (resp.monitor.operate_time + 3600) * 1000
2060
           ? (resp.monitor.operate_time + 3600) * 1000
2061
           : Date.parse(new Date());
2061
           : Date.parse(new Date());
2062
 
2062
 
2063
-      
2063
+
2064
         this.form.temperature = ""
2064
         this.form.temperature = ""
2065
 
2065
 
2066
         // this.last_monitor_record.pulse_frequency;
2066
         // this.last_monitor_record.pulse_frequency;
2125
         this.form.dialysate_temperature = resp.monitor.dialysate_temperature
2125
         this.form.dialysate_temperature = resp.monitor.dialysate_temperature
2126
           ? resp.monitor.dialysate_temperature
2126
           ? resp.monitor.dialysate_temperature
2127
           : "";
2127
           : "";
2128
-        
2128
+
2129
          if(this.org_id == 9675 || this.org_id == 9671 || this.org_id == 10340 || this.org_id == 10469 || this.org_id == 10471){
2129
          if(this.org_id == 9675 || this.org_id == 9671 || this.org_id == 10340 || this.org_id == 10469 || this.org_id == 10471){
2130
             this.form.temperature = "36.5"
2130
             this.form.temperature = "36.5"
2131
 
2131
 
2168
         }else{
2168
         }else{
2169
            this.form.conductivity = resp.monitor.conductivity? resp.monitor.conductivity: "";
2169
            this.form.conductivity = resp.monitor.conductivity? resp.monitor.conductivity: "";
2170
         }
2170
         }
2171
-      
2171
+
2172
         this.form.monitor_anticoagulant = resp.monitor.monitor_anticoagulant
2172
         this.form.monitor_anticoagulant = resp.monitor.monitor_anticoagulant
2173
           ? resp.monitor.monitor_anticoagulant
2173
           ? resp.monitor.monitor_anticoagulant
2174
           : "";
2174
           : "";
2200
           : "";
2200
           : "";
2201
          if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
2201
          if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
2202
             this.form.dialysate_temperature = 36.5
2202
             this.form.dialysate_temperature = 36.5
2203
-            
2203
+
2204
          }
2204
          }
2205
       });
2205
       });
2206
     },
2206
     },
2251
         if(this.org_id != 9671 && this.org_id != 10440){
2251
         if(this.org_id != 9671 && this.org_id != 10440){
2252
           this.form.ultrafiltration_volume = "";
2252
           this.form.ultrafiltration_volume = "";
2253
         }
2253
         }
2254
-       
2254
+
2255
         this.form.ultrafiltration_rate = "";
2255
         this.form.ultrafiltration_rate = "";
2256
         this.form.arterial_pressure = "";
2256
         this.form.arterial_pressure = "";
2257
         this.form.arterial_pressure_type = 1;
2257
         this.form.arterial_pressure_type = 1;
2326
             ? monitor.ultrafiltration_volume
2326
             ? monitor.ultrafiltration_volume
2327
             : "";
2327
             : "";
2328
         }
2328
         }
2329
-        
2329
+
2330
         this.form.ultrafiltration_rate = monitor.ultrafiltration_rate
2330
         this.form.ultrafiltration_rate = monitor.ultrafiltration_rate
2331
           ? monitor.ultrafiltration_rate
2331
           ? monitor.ultrafiltration_rate
2332
           : "";
2332
           : "";
2339
           ? monitor.arterial_pressure
2339
           ? monitor.arterial_pressure
2340
           : "";
2340
           : "";
2341
         }
2341
         }
2342
-       
2342
+
2343
         this.form.arterial_pressure_type = monitor.arterial_pressure_type
2343
         this.form.arterial_pressure_type = monitor.arterial_pressure_type
2344
           ? monitor.arterial_pressure_type
2344
           ? monitor.arterial_pressure_type
2345
           : "";
2345
           : "";
2402
           : "";
2402
           : "";
2403
         this.form.filter_pressure = monitor.filter_pressure
2403
         this.form.filter_pressure = monitor.filter_pressure
2404
         ? monitor.filter_pressure
2404
         ? monitor.filter_pressure
2405
-        : "";  
2405
+        : "";
2406
         // 设置三个下拉框的值,直接调用事件偷懒
2406
         // 设置三个下拉框的值,直接调用事件偷懒
2407
         this.symptomTextareaBlur();
2407
         this.symptomTextareaBlur();
2408
         this.disposeTextareaBlur();
2408
         this.disposeTextareaBlur();
2546
         parseFloat(this.form.dehydration) == NaN
2546
         parseFloat(this.form.dehydration) == NaN
2547
           ? 0
2547
           ? 0
2548
           : parseFloat(this.form.dehydration);
2548
           : parseFloat(this.form.dehydration);
2549
-        
2550
       this.form.filter_pressure = this.form.filter_pressure?this.form.filter_pressure:""
2549
       this.form.filter_pressure = this.form.filter_pressure?this.form.filter_pressure:""
2551
 
2550
 
2552
       this.form.replacement_speed =
2551
       this.form.replacement_speed =
2716
               parseFloat(this.form.heparin_amount) == NaN
2715
               parseFloat(this.form.heparin_amount) == NaN
2717
                 ? 0
2716
                 ? 0
2718
                 : parseFloat(this.form.heparin_amount);
2717
                 : parseFloat(this.form.heparin_amount);
2719
-
2720
-                this.form.replacement_speed =
2721
-            parseFloat(this.form.replacement_speed) == NaN
2722
-          ? 0
2723
-          : parseFloat(this.form.replacement_speed);
2724
-
2725
-          this.form.dicarbonate =
2726
-        parseFloat(this.form.dicarbonate) == NaN
2727
-          ? 0
2728
-          : parseFloat(this.form.dicarbonate);
2729
             this.$message.error(resp.msg);
2718
             this.$message.error(resp.msg);
2730
           }
2719
           }
2731
         }
2720
         }
2737
           }
2726
           }
2738
         });
2727
         });
2739
 
2728
 
2740
-      
2729
+
2741
     },
2730
     },
2742
 
2731
 
2743
     symptomTextareaBlur: function () {
2732
     symptomTextareaBlur: function () {

+ 69 - 1
src/xt_pages/dialysis/details/dialog/treatmentSummaryDialog.vue 查看文件

1
 <template>
1
 <template>
2
+ <div>
2
   <el-dialog
3
   <el-dialog
3
     class="newDialog"
4
     class="newDialog"
4
     title="治疗小结"
5
     title="治疗小结"
152
         >保 存</el-button> <!--  -->
153
         >保 存</el-button> <!--  -->
153
     </div>
154
     </div>
154
   </el-dialog>
155
   </el-dialog>
156
+
157
+       <el-dialog
158
+          title="提示"
159
+          :visible.sync="infoDialogVisible"
160
+          width="30%">
161
+          <span>
162
+           <el-form>
163
+             <el-row>
164
+               <span>申请日期:</span>
165
+                <span>
166
+                    <el-date-picker
167
+                      type="datetime"
168
+                      format="yyyy-MM-dd HH:mm"
169
+                      value-format="yyyy-MM-dd HH:mm"
170
+                      placeholder="选择时间"
171
+                      v-model="selected_date"
172
+                  ></el-date-picker>
173
+                </span>
174
+             </el-row>
175
+             <el-row>
176
+               <span>备注:</span>
177
+                <span>
178
+                   <el-input v-model="remark" style="width:200px"></el-input>
179
+                </span>
180
+             </el-row>
181
+           </el-form>
182
+         
183
+          </span>
184
+          <span slot="footer" class="dialog-footer">
185
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
186
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
187
+          </span>
188
+        </el-dialog>
189
+</div>
190
+
191
+
192
+
193
+
155
 </template>
194
 </template>
156
 
195
 
157
 <script>
196
 <script>
158
 import { getDataConfig } from "@/utils/data";
197
 import { getDataConfig } from "@/utils/data";
159
-import { postTreatmentsummary } from "@/api/dialysis";
198
+import { postTreatmentsummary,saveInformation } from "@/api/dialysis";
160
 import { uParseTime } from "@/utils/tools";
199
 import { uParseTime } from "@/utils/tools";
161
 import store from "@/store";
200
 import store from "@/store";
162
 import request from "@/utils/request";
201
 import request from "@/utils/request";
208
       },
247
       },
209
       //
248
       //
210
       date: "",
249
       date: "",
250
+     infoDialogVisible:false,
251
+      selected_date:"",
252
+      pickerOptions: {
253
+        disabledDate(time) {
254
+          return time.getTime() > Date.now()
255
+        }
256
+      },
257
+      remark:""
211
     };
258
     };
212
   },
259
   },
213
   methods: {
260
   methods: {
352
           postTreatmentsummary(ParamsQuery).then((response) => {
399
           postTreatmentsummary(ParamsQuery).then((response) => {
353
             if (response.data.state == 0) {
400
             if (response.data.state == 0) {
354
               this.$message.error(response.data.msg);
401
               this.$message.error(response.data.msg);
402
+               if(response.data.code == 600000008){
403
+              this.infoDialogVisible = true
404
+             }
355
               return false;
405
               return false;
356
             } else {
406
             } else {
357
               this.$notify({
407
               this.$notify({
430
       }
480
       }
431
       return false;
481
       return false;
432
     },
482
     },
483
+
484
+   saveInformation(){
485
+        var params = {
486
+          selected_date:this.selected_date,
487
+          patient_id:this.$route.query.patient_id,
488
+          record_date:this.$route.query.date,
489
+          module:1,
490
+          remark:this.remark,
491
+        }
492
+        console.log("params32222222222----",params)
493
+      saveInformation(params).then(response=>{
494
+           if(response.data.state == 1){
495
+             var information = response.data.data.information
496
+             this.$message.success("审核成功!")
497
+             this.infoDialogVisible = false
498
+           }
499
+        })
500
+     }
433
   },
501
   },
434
   watch: {
502
   watch: {
435
     isVisibility(val) {},
503
     isVisibility(val) {},

+ 11 - 11
src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue 查看文件

9
       />
9
       />
10
       <img
10
       <img
11
         style="width: 100%; height: 80px"
11
         style="width: 100%; height: 80px"
12
-        v-if="org_id == 10278"
12
+        v-if="org_id == 10278 || org_id == 0"
13
         src="https://kuyi.shengws.com/beierlog.png"
13
         src="https://kuyi.shengws.com/beierlog.png"
14
         alt=""
14
         alt=""
15
       />
15
       />
16
       <div class="printTitle">检验申请单</div>
16
       <div class="printTitle">检验申请单</div>
17
 
17
 
18
-      <div style="border: 1px solid #000">
18
+      <div style="border: 1px solid #000;margin-bottom: 10px;">
19
         <div
19
         <div
20
           style="
20
           style="
21
             display: flex;
21
             display: flex;
132
           </div>
132
           </div>
133
         </div>
133
         </div>
134
       </div>
134
       </div>
135
-    </div>
136
-    <img
135
+      <img
137
       style="width: 100%"
136
       style="width: 100%"
138
-      v-if="org_id == 10138"
137
+      v-if="org_id == 10138 "
139
       src="https://kuyi.shengws.com/bailin/blend.jpg"
138
       src="https://kuyi.shengws.com/bailin/blend.jpg"
140
       alt=""
139
       alt=""
141
     />
140
     />
142
-    <img
143
-      style="width: 100%"
144
-      v-if="org_id == 10278"
145
-      src="https://kuyi.shengws.com/bailinbeier.png"
146
-      alt=""
147
-    />
141
+      <img
142
+        style="width: 100%"
143
+        v-if="org_id == 10278 || org_id == 0"
144
+        src="https://kuyi.shengws.com/bailinbeier.png"
145
+        alt=""
146
+      />
147
+    </div>
148
   </div>
148
   </div>
149
 </template>
149
 </template>
150
 <script>
150
 <script>

+ 1 - 0
src/xt_pages/outpatientDoctorStation/doctorDesk.vue 查看文件

136
 
136
 
137
             <!-- <el-button size="small" ref="button_four"  @click="open(5)" type="primary" :disabled='prescriptions && prescriptions[0].advices && prescriptions[0].project ? prescriptions[0].advices.length == 0 && prescriptions[0].project.length == 0 : false'>存模板</el-button> -->
137
             <!-- <el-button size="small" ref="button_four"  @click="open(5)" type="primary" :disabled='prescriptions && prescriptions[0].advices && prescriptions[0].project ? prescriptions[0].advices.length == 0 && prescriptions[0].project.length == 0 : false'>存模板</el-button> -->
138
           </div>
138
           </div>
139
+          
139
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子病历'">
140
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子病历'">
140
             <el-button size="small" @click="opentwo(1)" type="primary">保存</el-button>
141
             <el-button size="small" @click="opentwo(1)" type="primary">保存</el-button>
141
             <el-button size="small" @click="opentwo(2)" type="primary">打印</el-button>
142
             <el-button size="small" @click="opentwo(2)" type="primary">打印</el-button>