XMLWAN 1 ano atrás
pai
commit
fd4494da47

+ 1 - 1
config/dev.env.js Ver arquivo

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 Ver arquivo

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,

+ 12 - 3
src/api/dialysis.js Ver arquivo

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',
403
     params: params
403
     params: params
404
   })
404
   })
405
 }
405
 }
406
+
407
+export function saveInformation(params){
408
+  
409
+  return request({
410
+    url:"/api/patient/saveinformation",
411
+    method:"get",
412
+    params:params
413
+  })
414
+}

+ 65 - 2
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Ver arquivo

646
       v-on:dialog-comfirm="DialogComfirm"
646
       v-on:dialog-comfirm="DialogComfirm"
647
       v-on:dialog-cancle="DialogCancle"
647
       v-on:dialog-cancle="DialogCancle"
648
     ></multi-select-box>
648
     ></multi-select-box>
649
+
650
+  
651
+       <el-dialog
652
+          title="提示"
653
+          :visible.sync="infoDialogVisible"
654
+          width="30%">
655
+          <span>
656
+           <el-form>
657
+             <el-row>
658
+               <span>申请日期:</span>
659
+                <span>
660
+                    <el-date-picker
661
+                      type="datetime"
662
+                      format="yyyy-MM-dd HH:mm"
663
+                      value-format="yyyy-MM-dd HH:mm"
664
+                      placeholder="选择时间"
665
+                      v-model="selected_date"
666
+                  ></el-date-picker>
667
+                </span>
668
+             </el-row>
669
+             <el-row>
670
+               <span>备注:</span>
671
+                <span>
672
+                   <el-input v-model="remark" style="width:200px"></el-input>
673
+                </span>
674
+             </el-row>
675
+           </el-form>
676
+         
677
+          </span>
678
+          <span slot="footer" class="dialog-footer">
679
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
680
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
681
+          </span>
682
+        </el-dialog>
649
   </div>
683
   </div>
650
 </template>
684
 </template>
651
 
685
 
652
 <script>
686
 <script>
653
 import { getDataConfig } from '@/utils/data'
687
 import { getDataConfig } from '@/utils/data'
654
 import MultiSelectBox from './MultiSelectBox'
688
 import MultiSelectBox from './MultiSelectBox'
655
-import { postAssessmentAfterDislysis } from '@/api/dialysis'
689
+import { postAssessmentAfterDislysis,saveInformation } from '@/api/dialysis'
656
 import { uParseTime } from '@/utils/tools'
690
 import { uParseTime } from '@/utils/tools'
657
 import store from '@/store'
691
 import store from '@/store'
658
 import { parseTime } from '@/utils'
692
 import { parseTime } from '@/utils'
821
       consciousnessList:[],
855
       consciousnessList:[],
822
       fallriskList:[],
856
       fallriskList:[],
823
       machineList:[],
857
       machineList:[],
858
+      infoDialogVisible:false,
859
+      selected_date:"",
860
+      pickerOptions: {
861
+        disabledDate(time) {
862
+          return time.getTime() > Date.now()
863
+        }
864
+      },
865
+      remark:""
824
     }
866
     }
825
   },
867
   },
826
   watch: {
868
   watch: {
1043
           this.loading = false
1085
           this.loading = false
1044
           if (response.data.state == 0) {
1086
           if (response.data.state == 0) {
1045
             this.$message.error(response.data.msg)
1087
             this.$message.error(response.data.msg)
1088
+            if(response.data.code == 600000008){
1089
+              this.infoDialogVisible = true
1090
+             }
1046
             return false
1091
             return false
1047
           } else {
1092
           } else {
1048
             this.$notify({
1093
             this.$notify({
1338
             }
1383
             }
1339
           }
1384
           }
1340
         })
1385
         })
1341
-    }
1386
+    },
1387
+
1388
+    saveInformation(){
1389
+        var params = {
1390
+          selected_date:this.selected_date,
1391
+          patient_id:this.$route.query.patient_id,
1392
+          record_date:this.$route.query.date,
1393
+          module:1,
1394
+          remark:this.remark,
1395
+        }
1396
+        console.log("params32222222222----",params)
1397
+        saveInformation(params).then(response=>{
1398
+           if(response.data.state == 1){
1399
+             var information = response.data.data.information
1400
+             this.$message.success("审核成功!")
1401
+             this.infoDialogVisible = false
1402
+           }
1403
+        })
1404
+      }
1342
   },
1405
   },
1343
   created() {
1406
   created() {
1344
     // console.log("this.form", this.form);
1407
     // console.log("this.form", this.form);

+ 79 - 1
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Ver arquivo

606
       v-on:add-new-order="addNewOrder"
606
       v-on:add-new-order="addNewOrder"
607
       :admin_users="admin_users"
607
       :admin_users="admin_users"
608
     ></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>
609
   </div>
643
   </div>
610
 </template>
644
 </template>
611
 
645
 
781
         src_type:"",
815
         src_type:"",
782
         org_id:0,
816
         org_id:0,
783
         schedulePatient:{},
817
         schedulePatient:{},
818
+        infoDialogVisible:false,
819
+        selected_date:"",
820
+        remark:""
784
       }
821
       }
785
     },
822
     },
786
     watch: {
823
     watch: {
884
               response => {
921
               response => {
885
                 if (response.data.state == 0) {
922
                 if (response.data.state == 0) {
886
                   this.$message.error(response.data.msg);
923
                   this.$message.error(response.data.msg);
924
+                  if(response.data.code == 600000008){
925
+                     this.infoDialogVisible = true
926
+                   }
887
                   return false;
927
                   return false;
888
                 } else {
928
                 } else {
889
                   this.$notify({
929
                   this.$notify({
943
           response => {
983
           response => {
944
             if (response.data.state == 0) {
984
             if (response.data.state == 0) {
945
               this.$message.error(response.data.msg)
985
               this.$message.error(response.data.msg)
986
+              if(response.data.code == 600000008){
987
+               this.infoDialogVisible = true
988
+              }
946
               return false
989
               return false
947
             } else {
990
             } else {
948
               this.$notify({
991
               this.$notify({
1251
         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 => {
1252
             if (response.data.state == 0) {
1295
             if (response.data.state == 0) {
1253
               this.$message.error(response.data.msg)
1296
               this.$message.error(response.data.msg)
1297
+             if(response.data.code == 600000008){
1298
+               this.infoDialogVisible = true
1299
+             }
1254
               this.exceLoading = false
1300
               this.exceLoading = false
1255
               return false
1301
               return false
1256
             } else {
1302
             } else {
1345
             this.loading = false
1391
             this.loading = false
1346
             if (response.data.state == 0) {
1392
             if (response.data.state == 0) {
1347
               this.$message.error(response.data.msg)
1393
               this.$message.error(response.data.msg)
1394
+              if(response.data.code == 600000008){
1395
+               this.infoDialogVisible = true
1396
+              }
1348
               return false
1397
               return false
1349
             } else {
1398
             } else {
1350
               this.$notify({
1399
               this.$notify({
1618
               response => {
1667
               response => {
1619
                 if (response.data.state == 0) {
1668
                 if (response.data.state == 0) {
1620
                   this.$message.error(response.data.msg)
1669
                   this.$message.error(response.data.msg)
1621
-
1670
+                  if(response.data.code == 600000008){
1671
+                    this.infoDialogVisible = true
1672
+                  }
1622
                   this.deleLoading = false
1673
                   this.deleLoading = false
1623
                   return false
1674
                   return false
1624
                 } else {
1675
                 } else {
1790
             DeleteGroupAdvice(groupno, mode).then(response => {
1841
             DeleteGroupAdvice(groupno, mode).then(response => {
1791
               if (response.data.state == 0) {
1842
               if (response.data.state == 0) {
1792
                 this.$message.error(response.data.msg)
1843
                 this.$message.error(response.data.msg)
1844
+                if(response.data.code == 600000008){
1845
+                 this.infoDialogVisible = true
1846
+                }
1793
                 return false
1847
                 return false
1794
               } else {
1848
               } else {
1795
                 this.$notify({
1849
                 this.$notify({
1838
               this.deleLoading = false
1892
               this.deleLoading = false
1839
               if (response.data.state == 0) {
1893
               if (response.data.state == 0) {
1840
                 this.$message.error(response.data.msg)
1894
                 this.$message.error(response.data.msg)
1895
+                if(response.data.code == 600000008){
1896
+                   this.infoDialogVisible = true
1897
+                }
1841
                 return false
1898
                 return false
1842
               } else {
1899
               } else {
1843
                 this.$notify({
1900
                 this.$notify({
1879
             DeleteDoctorAdvice(this.currentRow.id, mode).then(response => {
1936
             DeleteDoctorAdvice(this.currentRow.id, mode).then(response => {
1880
               this.deleLoading = false
1937
               this.deleLoading = false
1881
               if (response.data.state == 0) {
1938
               if (response.data.state == 0) {
1939
+                 if(response.data.code == 600000008){
1940
+                  this.infoDialogVisible = true
1941
+                 }
1882
                 this.$message.error(response.data.msg)
1942
                 this.$message.error(response.data.msg)
1883
                 return false
1943
                 return false
1884
               } else {
1944
               } else {
2597
          }
2657
          }
2598
          console.log("nam e23233232322323wo",name)
2658
          console.log("nam e23233232322323wo",name)
2599
          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
+        })
2600
       }
2677
       }
2678
+      
2601
     },
2679
     },
2602
     created() {
2680
     created() {
2603
     
2681
     

+ 63 - 1
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue Ver arquivo

1
 <template>
1
 <template>
2
+  <div>
2
   <el-dialog
3
   <el-dialog
3
     title="接诊评估"
4
     title="接诊评估"
4
     class="newDialog"
5
     class="newDialog"
346
       >
347
       >
347
     </div>
348
     </div>
348
   </el-dialog>
349
   </el-dialog>
350
+
351
+
352
+ <el-dialog
353
+          title="提示"
354
+          :visible.sync="infoDialogVisible"
355
+          width="30%">
356
+          <span>
357
+           <el-form>
358
+             <el-row>
359
+               <span>申请日期:</span>
360
+                <span>
361
+                    <el-date-picker
362
+                      type="datetime"
363
+                      format="yyyy-MM-dd HH:mm"
364
+                      value-format="yyyy-MM-dd HH:mm"
365
+                      placeholder="选择时间"
366
+                      v-model="selected_date"
367
+                  ></el-date-picker>
368
+                </span>
369
+             </el-row>
370
+             <el-row>
371
+               <span>备注:</span>
372
+                <span>
373
+                   <el-input v-model="remark" style="width:200px"></el-input>
374
+                </span>
375
+             </el-row>
376
+           </el-form>
377
+         
378
+          </span>
379
+          <span slot="footer" class="dialog-footer">
380
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
381
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
382
+          </span>
383
+        </el-dialog>
384
+   
385
+  </div>
386
+
387
+  
349
 </template>
388
 </template>
350
 
389
 
351
 <script>
390
 <script>
352
-import { postAccepts } from "@/api/dialysis";
391
+import { postAccepts,saveInformation } from "@/api/dialysis";
353
 import { uParseTime } from "@/utils/tools";
392
 import { uParseTime } from "@/utils/tools";
354
 import store from "@/store";
393
 import store from "@/store";
355
 import { getDataConfig } from "@/utils/data";
394
 import { getDataConfig } from "@/utils/data";
396
         his_bed: "",
435
         his_bed: "",
397
       },
436
       },
398
       precautionTwo: [],
437
       precautionTwo: [],
438
+      infoDialogVisible:false,
439
+      selected_date:"",
440
+      remark:"",
399
     };
441
     };
400
   },
442
   },
401
   methods: {
443
   methods: {
491
           postAccepts(ParamsQuery).then((response) => {
533
           postAccepts(ParamsQuery).then((response) => {
492
             if (response.data.state == 0) {
534
             if (response.data.state == 0) {
493
               this.$message.error(response.data.msg);
535
               this.$message.error(response.data.msg);
536
+              if(response.data.code == 600000008){
537
+                this.infoDialogVisible = true
538
+              }
494
               return false;
539
               return false;
495
             } else {
540
             } else {
496
               this.$notify({
541
               this.$notify({
598
           }
643
           }
599
         });
644
         });
600
     },
645
     },
646
+
647
+   saveInformation(){
648
+        var params = {
649
+          selected_date:this.selected_date,
650
+          patient_id:this.$route.query.patient_id,
651
+          record_date:this.$route.query.date,
652
+          module:2,
653
+          remark:this.remark,
654
+        }
655
+        saveInformation(params).then(response=>{
656
+           if(response.data.state == 1){
657
+             var information = response.data.data.information
658
+             this.$message.success("审核成功!")
659
+             this.infoDialogVisible = false
660
+           }
661
+        })
662
+      }
601
   },
663
   },
602
   props: {
664
   props: {
603
     receiver_treatment_access: {
665
     receiver_treatment_access: {

+ 59 - 2
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Ver arquivo

741
         <el-button type="primary" @click="submitDryWeight()">保 存</el-button>
741
         <el-button type="primary" @click="submitDryWeight()">保 存</el-button>
742
       </div>
742
       </div>
743
     </el-dialog>
743
     </el-dialog>
744
+
745
+
746
+    <el-dialog
747
+          title="提示"
748
+          :visible.sync="infoDialogVisible"
749
+          width="30%">
750
+          <span>
751
+           <el-form>
752
+             <el-row>
753
+               <span>申请日期:</span>
754
+                <span>
755
+                    <el-date-picker
756
+                      type="datetime"
757
+                      format="yyyy-MM-dd HH:mm"
758
+                      value-format="yyyy-MM-dd HH:mm"
759
+                      placeholder="选择时间"
760
+                      v-model="selected_date"
761
+                  ></el-date-picker>
762
+                </span>
763
+             </el-row>
764
+             <el-row>
765
+               <span>备注:</span>
766
+                <span>
767
+                   <el-input v-model="remark" style="width:200px"></el-input>
768
+                </span>
769
+             </el-row>
770
+           </el-form>
771
+         
772
+          </span>
773
+          <span slot="footer" class="dialog-footer">
774
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
775
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
776
+          </span>
777
+        </el-dialog>
744
   </div>
778
   </div>
745
 
779
 
746
 
780
 
750
   import axios from 'axios'
784
   import axios from 'axios'
751
   import multiSelectBox from './MultiSelectBox'
785
   import multiSelectBox from './MultiSelectBox'
752
   import { getDataConfig } from '@/utils/data'
786
   import { getDataConfig } from '@/utils/data'
753
-  import { postAssessmentBeforeDislysis, CreateDryWeight } from '@/api/dialysis'
787
+  import { postAssessmentBeforeDislysis, CreateDryWeight,saveInformation } from '@/api/dialysis'
754
   import store from '@/store'
788
   import store from '@/store'
755
   import { uParseTime } from '@/utils/tools'
789
   import { uParseTime } from '@/utils/tools'
756
   import { parseTime } from '@/utils'
790
   import { parseTime } from '@/utils'
893
         thrombuShow:false,
927
         thrombuShow:false,
894
         body_weight_before:"",
928
         body_weight_before:"",
895
         point_punctures:[],
929
         point_punctures:[],
896
-       
930
+        infoDialogVisible:false,
931
+        selected_date:"",
932
+        remark:""
933
+
897
       }
934
       }
898
     },
935
     },
899
     props: {
936
     props: {
1428
           
1465
           
1429
           if (response.data.state == 0) {
1466
           if (response.data.state == 0) {
1430
             this.$message.error(response.data.msg)
1467
             this.$message.error(response.data.msg)
1468
+            if(response.data.code == 600000008){
1469
+              this.infoDialogVisible = true
1470
+            }
1431
             return false
1471
             return false
1432
           } else {
1472
           } else {
1433
             this.$notify({
1473
             this.$notify({
1560
           }
1600
           }
1561
         }
1601
         }
1562
         return user_name
1602
         return user_name
1603
+      },
1604
+    
1605
+      saveInformation(){
1606
+        var params = {
1607
+          selected_date:this.selected_date,
1608
+          patient_id:this.$route.query.patient_id,
1609
+          record_date:this.$route.query.date,
1610
+          module:2,
1611
+          remark:this.remark,
1612
+        }
1613
+        saveInformation(params).then(response=>{
1614
+           if(response.data.state == 1){
1615
+             var information = response.data.data.information
1616
+             this.$message.success("审核成功!")
1617
+             this.infoDialogVisible = false
1618
+           }
1619
+        })
1563
       }
1620
       }
1564
       
1621
       
1565
     },
1622
     },

+ 63 - 2
src/xt_pages/dialysis/details/dialog/computer_dialog.vue Ver arquivo

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

+ 135 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Ver arquivo

1210
                 v-on:dialog-comfirm="innerDialogComfirm"
1210
                 v-on:dialog-comfirm="innerDialogComfirm"
1211
                 v-on:dialog-cancle="innerDialogCancle"
1211
                 v-on:dialog-cancle="innerDialogCancle"
1212
         ></multi-select-box>
1212
         ></multi-select-box>
1213
+       
1213
 
1214
 
1215
+       <el-dialog
1216
+          title="提示"
1217
+          :visible.sync="infoDialogVisible"
1218
+          width="30%">
1219
+          <span>
1220
+           <el-form>
1221
+             <el-row>
1222
+               <span>申请日期:</span>
1223
+                <span>
1224
+                    <el-date-picker
1225
+                      type="datetime"
1226
+                      format="yyyy-MM-dd HH:mm"
1227
+                      value-format="yyyy-MM-dd HH:mm"
1228
+                      placeholder="选择时间"
1229
+                      v-model="selected_date"
1230
+                  ></el-date-picker>
1231
+                </span>
1232
+             </el-row>
1233
+             <el-row>
1234
+               <span>备注:</span>
1235
+                <span>
1236
+                   <el-input v-model="remark" style="width:200px"></el-input>
1237
+                </span>
1238
+             </el-row>
1239
+           </el-form>
1240
+         
1241
+          </span>
1242
+          <span slot="footer" class="dialog-footer">
1243
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
1244
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
1245
+          </span>
1246
+        </el-dialog>
1214
 
1247
 
1215
     </div>
1248
     </div>
1216
 </template>
1249
 </template>
1217
 
1250
 
1218
 <script>
1251
 <script>
1219
-  import { CreateGroupAdvice, GetSolution, postPrescription, postSoulution } from '@/api/dialysis'
1252
+  import { CreateGroupAdvice, GetSolution, postPrescription, postSoulution,saveInformation } from '@/api/dialysis'
1220
   import { getDataConfig } from '@/utils/data'
1253
   import { getDataConfig } from '@/utils/data'
1221
   import { calculateAnticoagulantZL, uParseTime,replacementFlow } from '@/utils/tools'
1254
   import { calculateAnticoagulantZL, uParseTime,replacementFlow } from '@/utils/tools'
1222
   import store from '@/store'
1255
   import store from '@/store'
1441
       admins: {
1474
       admins: {
1442
         type: Array
1475
         type: Array
1443
       },
1476
       },
1477
+
1444
     },
1478
     },
1445
     computed: {
1479
     computed: {
1446
       dialysis_date: function() {
1480
       dialysis_date: function() {
1652
         zongliang:"",
1686
         zongliang:"",
1653
         educationList:[],
1687
         educationList:[],
1654
         value:"",
1688
         value:"",
1689
+        infoDialogVisible:false,
1690
+        selected_date:"",
1691
+        pickerOptions: {
1692
+          disabledDate(time) {
1693
+            return time.getTime() > Date.now()
1694
+          }
1695
+        },
1696
+        remark:""
1655
       }
1697
       }
1656
     },
1698
     },
1657
     methods: {
1699
     methods: {
1700
+    
1658
       changeOxygenList(val) {
1701
       changeOxygenList(val) {
1659
         if (val == 1) {
1702
         if (val == 1) {
1660
           this.oxygenShow = true
1703
           this.oxygenShow = true
2070
                 postPrescription(ParamsQuery).then(response => {
2113
                 postPrescription(ParamsQuery).then(response => {
2071
                   if (response.data.state == 0) {
2114
                   if (response.data.state == 0) {
2072
                     this.$message.error(response.data.msg)
2115
                     this.$message.error(response.data.msg)
2116
+                    if(response.data.code == 600000008){
2117
+                        this.infoDialogVisible = true
2118
+                    }
2073
                     this.isLoading = false
2119
                     this.isLoading = false
2074
                     return false
2120
                     return false
2075
                   } else {
2121
                   } else {
2135
                 postSoulution(ParamsQuery).then(response => {
2181
                 postSoulution(ParamsQuery).then(response => {
2136
                   if (response.data.state == 0) {
2182
                   if (response.data.state == 0) {
2137
                     this.$message.error(response.data.msg)
2183
                     this.$message.error(response.data.msg)
2184
+                    if(response.data.code == 600000008){
2185
+                        this.infoDialogVisible = true
2186
+                    }
2138
                     this.isLoading = false
2187
                     this.isLoading = false
2139
                     return false
2188
                     return false
2140
                   } else {
2189
                   } else {
2226
             console.log("paramsquery",ParamsQuery)
2275
             console.log("paramsquery",ParamsQuery)
2227
               postPrescription(ParamsQuery).then(response => {
2276
               postPrescription(ParamsQuery).then(response => {
2228
                 if (response.data.state == 0) {
2277
                 if (response.data.state == 0) {
2278
+                  if(response.data.code == 600000008){
2279
+                      this.infoDialogVisible = true
2280
+                  }
2229
                   this.$message.error(response.data.msg)
2281
                   this.$message.error(response.data.msg)
2230
                   return false
2282
                   return false
2231
                 } else {
2283
                 } else {
2261
 
2313
 
2262
               postSoulution(ParamsQuery).then(response => {
2314
               postSoulution(ParamsQuery).then(response => {
2263
                 if (response.data.state == 0) {
2315
                 if (response.data.state == 0) {
2316
+                    
2264
                   this.$message.error(response.data.msg)
2317
                   this.$message.error(response.data.msg)
2318
+                  if(response.data.code == 600000008){
2319
+                        this.infoDialogVisible = true
2320
+                   }
2265
                   return false
2321
                   return false
2266
                 } else {
2322
                 } else {
2267
                   this.$notify({
2323
                   this.$notify({
2720
               postPrescription(ParamsQuery).then(response => {
2776
               postPrescription(ParamsQuery).then(response => {
2721
                 if (response.data.state == 0) {
2777
                 if (response.data.state == 0) {
2722
                   this.$message.error(response.data.msg)
2778
                   this.$message.error(response.data.msg)
2779
+                  if(response.data.code == 600000008){
2780
+                     this.infoDialogVisible = true
2781
+                   }
2723
                   return false
2782
                   return false
2724
                 } else {
2783
                 } else {
2725
                   this.$notify({
2784
                   this.$notify({
2763
                 postPrescription(ParamsQuery).then(response => {
2822
                 postPrescription(ParamsQuery).then(response => {
2764
                   if (response.data.state == 0) {
2823
                   if (response.data.state == 0) {
2765
                     this.$message.error(response.data.msg)
2824
                     this.$message.error(response.data.msg)
2825
+                    if(response.data.code == 600000008){
2826
+                        this.infoDialogVisible = true
2827
+                    }
2766
                     return false
2828
                     return false
2767
                   } else {
2829
                   } else {
2768
                     this.$notify({
2830
                     this.$notify({
2812
                 postPrescription(ParamsQuery).then(response => {
2874
                 postPrescription(ParamsQuery).then(response => {
2813
                   if (response.data.state == 0) {
2875
                   if (response.data.state == 0) {
2814
                     this.$message.error(response.data.msg)
2876
                     this.$message.error(response.data.msg)
2877
+                    if(response.data.code == 600000008){
2878
+                        this.infoDialogVisible = true
2879
+                    }
2815
                     return false
2880
                     return false
2816
                   } else {
2881
                   } else {
2817
                     this.$notify({
2882
                     this.$notify({
2884
                 postPrescription(ParamsQuery).then(response => {
2949
                 postPrescription(ParamsQuery).then(response => {
2885
                   if (response.data.state == 0) {
2950
                   if (response.data.state == 0) {
2886
                     this.$message.error(response.data.msg)
2951
                     this.$message.error(response.data.msg)
2952
+                    if(response.data.code == 600000008){
2953
+                        this.infoDialogVisible = true
2954
+                    }
2887
                     return false
2955
                     return false
2888
                   } else {
2956
                   } else {
2889
                     this.$notify({
2957
                     this.$notify({
2927
                 postPrescription(ParamsQuery).then(response => {
2995
                 postPrescription(ParamsQuery).then(response => {
2928
                   if (response.data.state == 0) {
2996
                   if (response.data.state == 0) {
2929
                     this.$message.error(response.data.msg)
2997
                     this.$message.error(response.data.msg)
2998
+                    if(response.data.code == 600000008){
2999
+                        this.infoDialogVisible = true
3000
+                    }
2930
                     return false
3001
                     return false
2931
                   } else {
3002
                   } else {
2932
                     this.$notify({
3003
                     this.$notify({
2970
                   postPrescription(ParamsQuery).then(response => {
3041
                   postPrescription(ParamsQuery).then(response => {
2971
                     if (response.data.state == 0) {
3042
                     if (response.data.state == 0) {
2972
                       this.$message.error(response.data.msg)
3043
                       this.$message.error(response.data.msg)
3044
+                      if(response.data.code == 600000008){
3045
+                        this.infoDialogVisible = true
3046
+                      }
2973
                       return false
3047
                       return false
2974
                     } else {
3048
                     } else {
2975
                       this.$notify({
3049
                       this.$notify({
3019
                   postPrescription(ParamsQuery).then(response => {
3093
                   postPrescription(ParamsQuery).then(response => {
3020
                     if (response.data.state == 0) {
3094
                     if (response.data.state == 0) {
3021
                       this.$message.error(response.data.msg)
3095
                       this.$message.error(response.data.msg)
3096
+                      if(response.data.code == 600000008){
3097
+                        this.infoDialogVisible = true
3098
+                      }
3022
                       return false
3099
                       return false
3023
                     } else {
3100
                     } else {
3024
                       this.$notify({
3101
                       this.$notify({
3091
                   postPrescription(ParamsQuery).then(response => {
3168
                   postPrescription(ParamsQuery).then(response => {
3092
                     if (response.data.state == 0) {
3169
                     if (response.data.state == 0) {
3093
                       this.$message.error(response.data.msg)
3170
                       this.$message.error(response.data.msg)
3171
+                      if(response.data.code == 600000008){
3172
+                        this.infoDialogVisible = true
3173
+                     }
3094
                       return false
3174
                       return false
3095
                     } else {
3175
                     } else {
3096
                       this.$notify({
3176
                       this.$notify({
3138
               postPrescription(ParamsQuery).then(response => {
3218
               postPrescription(ParamsQuery).then(response => {
3139
                 if (response.data.state == 0) {
3219
                 if (response.data.state == 0) {
3140
                   this.$message.error(response.data.msg)
3220
                   this.$message.error(response.data.msg)
3221
+                  if(response.data.code == 600000008){
3222
+                     this.infoDialogVisible = true
3223
+                  }
3141
                   return false
3224
                   return false
3142
                 } else {
3225
                 } else {
3143
                   this.$notify({
3226
                   this.$notify({
3164
         this.hide()
3247
         this.hide()
3165
       },
3248
       },
3166
       handleSolution: function() {
3249
       handleSolution: function() {
3250
+        this.infoDialogVisible = true
3167
         if(!this.isLoading){
3251
         if(!this.isLoading){
3168
           if (this.dialysisPrescription.anticoagulant == 1) {
3252
           if (this.dialysisPrescription.anticoagulant == 1) {
3169
             this.dialysisPrescription.anticoagulant_weichi = '0'
3253
             this.dialysisPrescription.anticoagulant_weichi = '0'
3208
               postSoulution(ParamsQuery).then(response => {
3292
               postSoulution(ParamsQuery).then(response => {
3209
                 if (response.data.state == 0) {
3293
                 if (response.data.state == 0) {
3210
                   this.$message.error(response.data.msg)
3294
                   this.$message.error(response.data.msg)
3295
+                   if(response.data.code == 600000008){
3296
+                        this.infoDialogVisible = true
3297
+                   }
3211
                   return false
3298
                   return false
3212
                 } else {
3299
                 } else {
3213
                   this.$notify({
3300
                   this.$notify({
3258
                 postSoulution(ParamsQuery).then(response => {
3345
                 postSoulution(ParamsQuery).then(response => {
3259
                   if (response.data.state == 0) {
3346
                   if (response.data.state == 0) {
3260
                     this.$message.error(response.data.msg)
3347
                     this.$message.error(response.data.msg)
3348
+                     if(response.data.code == 600000008){
3349
+                        this.infoDialogVisible = true
3350
+                    }
3261
                     return false
3351
                     return false
3262
                   } else {
3352
                   } else {
3263
                     this.$notify({
3353
                     this.$notify({
3313
                 postPrescription(ParamsQuery).then(response => {
3403
                 postPrescription(ParamsQuery).then(response => {
3314
                   if (response.data.state == 0) {
3404
                   if (response.data.state == 0) {
3315
                     this.$message.error(response.data.msg)
3405
                     this.$message.error(response.data.msg)
3406
+                    if(response.data.code == 600000008){
3407
+                        this.infoDialogVisible = true
3408
+                    }
3316
                     return false
3409
                     return false
3317
                   } else {
3410
                   } else {
3318
                     this.$notify({
3411
                     this.$notify({
3381
                 postSoulution(ParamsQuery).then(response => {
3474
                 postSoulution(ParamsQuery).then(response => {
3382
                   if (response.data.state == 0) {
3475
                   if (response.data.state == 0) {
3383
                     this.$message.error(response.data.msg)
3476
                     this.$message.error(response.data.msg)
3477
+                     if(response.data.code == 600000008){
3478
+                        this.infoDialogVisible = true
3479
+                    }
3384
                     return false
3480
                     return false
3385
                   } else {
3481
                   } else {
3386
                     this.$notify({
3482
                     this.$notify({
3428
                 postSoulution(ParamsQuery).then(response => {
3524
                 postSoulution(ParamsQuery).then(response => {
3429
                   if (response.data.state == 0) {
3525
                   if (response.data.state == 0) {
3430
                     this.$message.error(response.data.msg)
3526
                     this.$message.error(response.data.msg)
3527
+                     if(response.data.code == 600000008){
3528
+                        this.infoDialogVisible = true
3529
+                    }
3431
                     return false
3530
                     return false
3432
                   } else {
3531
                   } else {
3433
                     this.$notify({
3532
                     this.$notify({
3477
                   postSoulution(ParamsQuery).then(response => {
3576
                   postSoulution(ParamsQuery).then(response => {
3478
                     if (response.data.state == 0) {
3577
                     if (response.data.state == 0) {
3479
                       this.$message.error(response.data.msg)
3578
                       this.$message.error(response.data.msg)
3579
+                      if(response.data.code == 600000008){
3580
+                        this.infoDialogVisible = true
3581
+                      }
3480
                       return false
3582
                       return false
3481
                     } else {
3583
                     } else {
3482
                       this.$notify({
3584
                       this.$notify({
3529
                   postSoulution(ParamsQuery).then(response => {
3631
                   postSoulution(ParamsQuery).then(response => {
3530
                     if (response.data.state == 0) {
3632
                     if (response.data.state == 0) {
3531
                       this.$message.error(response.data.msg)
3633
                       this.$message.error(response.data.msg)
3634
+                       if(response.data.code == 600000008){
3635
+                        this.infoDialogVisible = true
3636
+                      }
3532
                       return false
3637
                       return false
3533
                     } else {
3638
                     } else {
3534
                       this.$notify({
3639
                       this.$notify({
3606
                   postSoulution(ParamsQuery).then(response => {
3711
                   postSoulution(ParamsQuery).then(response => {
3607
                     if (response.data.state == 0) {
3712
                     if (response.data.state == 0) {
3608
                       this.$message.error(response.data.msg)
3713
                       this.$message.error(response.data.msg)
3714
+                       if(response.data.code == 600000008){
3715
+                        this.infoDialogVisible = true
3716
+                    }
3609
                       return false
3717
                       return false
3610
                     } else {
3718
                     } else {
3611
                       this.$notify({
3719
                       this.$notify({
3653
               postSoulution(ParamsQuery).then(response => {
3761
               postSoulution(ParamsQuery).then(response => {
3654
                 if (response.data.state == 0) {
3762
                 if (response.data.state == 0) {
3655
                   this.$message.error(response.data.msg)
3763
                   this.$message.error(response.data.msg)
3764
+                   if(response.data.code == 600000008){
3765
+                        this.infoDialogVisible = true
3766
+                    }
3656
                   return false
3767
                   return false
3657
                 } else {
3768
                 } else {
3658
                   this.$notify({
3769
                   this.$notify({
4009
         }
4120
         }
4010
       }
4121
       }
4011
     },
4122
     },
4123
+    handleScheduleDateChange(){
4124
+
4125
+    },
4126
+    saveInformation(){
4127
+        var params = {
4128
+          selected_date:this.selected_date,
4129
+          patient_id:this.$route.query.patient_id,
4130
+          record_date:this.$route.query.date,
4131
+          module:1,
4132
+          remark:this.remark,
4133
+        }
4134
+        console.log("params32222222222----",params)
4135
+        saveInformation(params).then(response=>{
4136
+           if(response.data.state == 1){
4137
+             var information = response.data.data.information
4138
+             this.$message.success("审核成功!")
4139
+             this.infoDialogVisible = false
4140
+           }
4141
+        })
4142
+      }
4012
     },
4143
     },
4013
 
4144
 
4014
     watch: {
4145
     watch: {
4630
           }
4761
           }
4631
         }
4762
         }
4632
         console.log(" 人员",this.adminRoles)
4763
         console.log(" 人员",this.adminRoles)
4633
-      }
4764
+      },
4765
+      
4766
+    
4634
     },
4767
     },
4635
     created() {
4768
     created() {
4636
       console.log("schedual232323323232323232",this.adminRoles)
4769
       console.log("schedual232323323232323232",this.adminRoles)

+ 65 - 1
src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue Ver arquivo

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 Ver arquivo

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

+ 63 - 0
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Ver arquivo

1703
       </div>
1703
       </div>
1704
       <!--</div>-->
1704
       <!--</div>-->
1705
     </el-dialog>
1705
     </el-dialog>
1706
+
1707
+  
1708
+    <el-dialog
1709
+          title="提示"
1710
+          :visible.sync="infoDialogVisible"
1711
+          width="30%">
1712
+          <span>
1713
+           <el-form>
1714
+             <el-row>
1715
+               <span>申请日期:</span>
1716
+                <span>
1717
+                    <el-date-picker
1718
+                      type="datetime"
1719
+                      format="yyyy-MM-dd HH:mm"
1720
+                      value-format="yyyy-MM-dd HH:mm"
1721
+                      placeholder="选择时间"
1722
+                      v-model="selected_date"
1723
+                  ></el-date-picker>
1724
+                </span>
1725
+             </el-row>
1726
+             <el-row>
1727
+               <span>备注:</span>
1728
+                <span>
1729
+                   <el-input v-model="remark" style="width:200px"></el-input>
1730
+                </span>
1731
+             </el-row>
1732
+           </el-form>
1733
+         
1734
+          </span>
1735
+          <span slot="footer" class="dialog-footer">
1736
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
1737
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
1738
+          </span>
1739
+        </el-dialog>
1740
+
1706
   </div>
1741
   </div>
1707
 </template>
1742
 </template>
1708
 
1743
 
1713
   editMonitor,
1748
   editMonitor,
1714
   postDelMonitorInfo,
1749
   postDelMonitorInfo,
1715
   getTodayMonitor,
1750
   getTodayMonitor,
1751
+  
1716
 } from "@/api/dialysis_record";
1752
 } from "@/api/dialysis_record";
1753
+ import { saveInformation } from '@/api/dialysis'
1717
 import store from "@/store";
1754
 import store from "@/store";
1718
 
1755
 
1719
 import request from "@/utils/request";
1756
 import request from "@/utils/request";
1801
       anticoagulantsConfit: {},
1838
       anticoagulantsConfit: {},
1802
       bloodPressureMmonitoringSite: [],
1839
       bloodPressureMmonitoringSite: [],
1803
       complicationList: [],
1840
       complicationList: [],
1841
+      infoDialogVisible:false,
1842
+      selected_date:"",
1843
+      remark:""
1804
     };
1844
     };
1805
   },
1845
   },
1806
   props: {
1846
   props: {
2653
                 ? 0
2693
                 ? 0
2654
                 : parseFloat(this.form.heparin_amount);
2694
                 : parseFloat(this.form.heparin_amount);
2655
             this.$message.error(resp.msg);
2695
             this.$message.error(resp.msg);
2696
+            if(response.data.code == 600000008){
2697
+              this.infoDialogVisible = true
2698
+             }
2656
           }
2699
           }
2657
         }
2700
         }
2658
       );
2701
       );
2741
           postDelMonitorInfo(params).then((response) => {
2784
           postDelMonitorInfo(params).then((response) => {
2742
             if (response.data.state == 0) {
2785
             if (response.data.state == 0) {
2743
               this.$message.error(response.data.msg);
2786
               this.$message.error(response.data.msg);
2787
+              if(response.data.code == 600000008){
2788
+                 this.infoDialogVisible = true
2789
+              }
2744
               return false;
2790
               return false;
2745
             } else {
2791
             } else {
2746
               const record_id = response.data.data.record_id;
2792
               const record_id = response.data.data.record_id;
2801
       }
2847
       }
2802
       return name;
2848
       return name;
2803
     },
2849
     },
2850
+
2851
+    saveInformation(){
2852
+        var params = {
2853
+          selected_date:this.selected_date,
2854
+          patient_id:this.$route.query.patient_id,
2855
+          record_date:this.$route.query.date,
2856
+          module:2,
2857
+          remark:this.remark,
2858
+        }
2859
+        saveInformation(params).then(response=>{
2860
+           if(response.data.state == 1){
2861
+             var information = response.data.data.information
2862
+             this.$message.success("审核成功!")
2863
+             this.infoDialogVisible = false
2864
+           }
2865
+        })
2866
+      }
2804
   },
2867
   },
2805
   watch: {
2868
   watch: {
2806
     patient: {
2869
     patient: {

+ 69 - 1
src/xt_pages/dialysis/details/dialog/treatmentSummaryDialog.vue Ver arquivo

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