csx 6 лет назад
Родитель
Сommit
ffa85f51ab

+ 5 - 12
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Просмотреть файл

@@ -536,10 +536,7 @@ export default {
536 536
       },
537 537
       openDeleteGroupAdvice() {
538 538
         if (this.groupSelectRow === null) {
539
-          this.$notify.error({
540
-            title: '错误',
541
-            message: '未选择要删除的医嘱内容'
542
-          })
539
+          this.$message.error("未选择要删除的医嘱内容")
543 540
           return
544 541
         }
545 542
         this.DeleteGroupAdvice(this.groupSelectRow.groupno)
@@ -556,10 +553,9 @@ export default {
556 553
       openAdviceName(isEdit) {
557 554
         if (isEdit) {
558 555
           if (this.groupSelectRow === null) {
559
-            this.$notify.error({
560
-              title: '错误',
561
-              message: '未选择要修改的医嘱内容'
562
-            })
556
+
557
+            this.$message.error("未选择要修改的医嘱内容")
558
+
563 559
             return
564 560
           }
565 561
           this.nameForm = {
@@ -855,10 +851,7 @@ export default {
855 851
 
856 852
       openEditGroupAdvice() {
857 853
         if (this.groupSelectRow === null) {
858
-          this.$notify.error({
859
-            title: '错误',
860
-            message: '未选择要修改的医嘱内容'
861
-          })
854
+          this.$message.error("未选择要修改的医嘱内容")
862 855
           return
863 856
         }
864 857
 

+ 9 - 12
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Просмотреть файл

@@ -651,10 +651,9 @@ export default {
651 651
 
652 652
       openDeleteGroupAdvice() {
653 653
         if (this.groupSelectRow === null) {
654
-          this.$notify.error({
655
-            title: '错误',
656
-            message: '未选择要删除的医嘱内容'
657
-          })
654
+
655
+          this.$message.error("未选择要删除的医嘱内容")
656
+
658 657
           return
659 658
         }
660 659
         var content = ''
@@ -770,10 +769,9 @@ export default {
770 769
 
771 770
       openGroupChild() {
772 771
         if (this.groupSelectRow === null) {
773
-          this.$notify.error({
774
-            title: '错误',
775
-            message: '未选择医嘱内容,无法添加子药'
776
-          })
772
+
773
+          this.$message.error("未选择医嘱内容,无法添加子药")
774
+
777 775
           return
778 776
         } else if (this.groupSelectRow.parent_row > 0) {
779 777
           this.$notify.error({
@@ -807,10 +805,9 @@ export default {
807 805
         this.isChild = false
808 806
         if (isEdit) {
809 807
           if (this.groupSelectRow === null) {
810
-            this.$notify.error({
811
-              title: '错误',
812
-              message: '未选择要修改的医嘱内容'
813
-            })
808
+
809
+            this.$message.error("未选择要修改的医嘱内容")
810
+
814 811
             return
815 812
           }
816 813
           if (this.groupSelectRow.parent_row) {

+ 6 - 12
src/xt_pages/dialysis/details/dialog/adviceDialog/EditGroupAdvice.vue Просмотреть файл

@@ -594,10 +594,7 @@ export default {
594 594
       },
595 595
       openDeleteGroupAdvice() {
596 596
         if (this.groupSelectRow === null) {
597
-          this.$notify.error({
598
-            title: '错误',
599
-            message: '未选择要删除的医嘱内容'
600
-          })
597
+          this.$message.error("未选择要删除的医嘱内容")
601 598
           return
602 599
         }
603 600
         console.log(this.groupSelectRow)
@@ -997,10 +994,9 @@ export default {
997 994
 
998 995
       openGroupChild() {
999 996
         if (this.groupSelectRow === null) {
1000
-          this.$notify.error({
1001
-            title: '错误',
1002
-            message: '未选择医嘱内容,无法添加子药'
1003
-          })
997
+
998
+          this.$message.error("未选择医嘱内容,无法添加子药")
999
+
1004 1000
           return
1005 1001
         } else if (this.groupSelectRow.parent_row > 0) {
1006 1002
           this.$notify.error({
@@ -1034,11 +1030,9 @@ export default {
1034 1030
         this.isChild = false
1035 1031
         if (isEdit) {
1036 1032
           if (this.groupSelectRow === null) {
1037
-            this.$notify.error({
1038
-              title: '错误',
1039
-              message: '未选择要修改的医嘱内容'
1040
-            })
1033
+            this.$message.error("未选择要修改的医嘱内容")
1041 1034
             return
1035
+
1042 1036
           }
1043 1037
           if (this.groupSelectRow.parent_row) {
1044 1038
             this.isChild = true

+ 1 - 1
src/xt_pages/stock/stockInOrderDetail.vue Просмотреть файл

@@ -84,7 +84,7 @@
84 84
           </template>
85 85
         </el-table-column>
86 86
         <el-table-column label="有效日期" min-width="40" align="center">
87
-          <template v-if="scope.row.product_date != 0" slot-scope="scope">
87
+          <template v-if="scope.row.expiry_date != 0" slot-scope="scope">
88 88
             {{ scope.row.expiry_date | parseTime('{y}-{m}-{d}')}}
89 89
           </template>
90 90
         </el-table-column>

+ 7 - 12
src/xt_pages/user/components/EditGroupAdvice.vue Просмотреть файл

@@ -552,11 +552,10 @@
552 552
 
553 553
       openDeleteGroupAdvice() {
554 554
         if (this.groupSelectRow === null) {
555
-          this.$notify.error({
556
-            title: "错误",
557
-            message: "未选择要删除的医嘱内容"
558
-          });
555
+          this.$message.error("未选择要删除的医嘱内容")
556
+
559 557
           return;
558
+
560 559
         }
561 560
         console.log(this.groupSelectRow)
562 561
         var content = ""
@@ -966,10 +965,9 @@
966 965
 
967 966
       openGroupChild() {
968 967
         if (this.groupSelectRow === null) {
969
-          this.$notify.error({
970
-            title: "错误",
971
-            message: "未选择医嘱内容,无法添加子药"
972
-          });
968
+
969
+          this.$message.error("未选择医嘱内容,无法添加子药")
970
+
973 971
           return;
974 972
         } else if (this.groupSelectRow.parent_row > 0) {
975 973
           this.$notify.error({
@@ -1003,10 +1001,7 @@
1003 1001
         this.isChild = false;
1004 1002
         if (isEdit) {
1005 1003
           if (this.groupSelectRow === null) {
1006
-            this.$notify.error({
1007
-              title: "错误",
1008
-              message: "未选择要修改的医嘱内容"
1009
-            });
1004
+            this.$message.error("未选择要修改的医嘱内容")
1010 1005
             return;
1011 1006
           }
1012 1007
           if (this.groupSelectRow.parent_row) {

+ 4 - 9
src/xt_pages/user/components/PatientForm.vue Просмотреть файл

@@ -1,7 +1,6 @@
1 1
 <template>
2 2
 <div class="main-contain">
3 3
   <div class="position">
4
-    <bread-crumb :crumbs="crumbs"></bread-crumb>
5 4
 
6 5
     <div class="" style="float:right;">
7 6
        <el-button @click="$router.back(-1)" icon="el-icon-refresh" size="small">取消</el-button>
@@ -37,7 +36,7 @@
37 36
               </el-col> -->
38 37
               <el-col :span="8" :style="isEdit?'width:360px':''">
39 38
                 <el-form-item label="透析号 : " class="is-required">
40
-                    <el-input disabled v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 2%;" ></el-input> 
39
+                    <el-input disabled v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 2%;" ></el-input>
41 40
                     <el-button style="width:36%;padding:10px 0;" disabled type="primary">自动生成</el-button>
42 41
                 </el-form-item>
43 42
               </el-col>
@@ -59,12 +58,12 @@
59 58
               </el-col>
60 59
               <el-col :span="8" >
61 60
                 <el-form-item label="透析号 : " class="is-required" prop="dialysisNo" >
62
-                    <el-input v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 2%;" ></el-input> 
61
+                    <el-input v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 2%;" ></el-input>
63 62
                     <el-button style="width:36%;padding:10px 0;" :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" type="primary" @click="generatedialysisno">自动生成</el-button>
64 63
                 </el-form-item>
65 64
               </el-col>
66 65
             </template>
67
-            
66
+
68 67
             <el-col :span="8" :style="isEdit?'width:360px':''">
69 68
               <el-form-item label="出生日期 : "  class="is-required" prop="birth" >
70 69
                   <el-date-picker v-model="form.birth" type="date" placeholder="选择日期" :suffix-icon="'el-icon-menu'" @change="hadSelectBirth" format="yyyy-MM-dd" value-format="yyyy-MM-dd"></el-date-picker>
@@ -300,7 +299,7 @@
300 299
             </el-checkbox-group>
301 300
           </el-form-item>
302 301
         </el-col>
303
-        
302
+
304 303
         <el-col :span="24">
305 304
           <el-form-item label="诊断 : " prop="diagnose">
306 305
             <el-input type="textarea" :rows="3" v-model="form.diagnose" resize="none" placeholder=""></el-input>
@@ -489,10 +488,6 @@ export default {
489 488
     }
490 489
 
491 490
     return {
492
-      crumbs: [
493
-        { path: false, name: '病人管理' },
494
-        { path: '/patients/create', name: '新增病人' },
495
-      ],
496 491
       generic_info_fold: true,
497 492
       treat_info_fold: true,
498 493
 

+ 7 - 10
src/xt_pages/user/courseOfDisease.vue Просмотреть файл

@@ -14,7 +14,7 @@
14 14
                     </span>
15 15
                     <span class="filter_title">日期查询</span>
16 16
                     <el-date-picker size="small" v-model="date" type="daterange" range-separator="至" start-placeholde="开始日期" end-placeholde="结束日期" value-format="timestamp" :clearable="false" @change="requestCourseRecords()"></el-date-picker>
17
-                    
17
+
18 18
                 </div>
19 19
                 <div class="record">
20 20
                     <el-row :gutter="15">
@@ -35,7 +35,7 @@
35 35
                         </el-col>
36 36
                         <el-col :span="14">
37 37
                             <div class="record_content_panel">
38
-                                <div class="title">病程内容</div>
38
+                                <div style="background-color:rgb(245, 247, 250)" class="title">病程内容</div>
39 39
                                 <div class="content">
40 40
                                     {{ current_select_record == null ? "" : current_select_record.content }}
41 41
                                 </div>
@@ -45,7 +45,7 @@
45 45
                 </div>
46 46
             </div>
47 47
         <!-- </div> -->
48
-        <el-dialog title="新增病程记录" width="40%" top="5vh" :visible.sync="show_dialog" :before-close="willCloseDialog">
48
+        <el-dialog title="新增病程记录" width="40%" top="5vh" :visible.sync="show_dialog">
49 49
             <div>
50 50
                 <div class="new_record_form">
51 51
                     <diV>
@@ -60,7 +60,7 @@
60 60
 
61 61
                     <div style="text-align: right; padding-right: 0px; padding-top: 10px; padding-bottom: 10px;">
62 62
                         <el-button @click="show_dialog = false">取消</el-button>
63
-                        <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="createAction" :loading="uploading_new_record">确定</el-button>
63
+                        <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="createAction" :loading="uploading_new_record">保存</el-button>
64 64
                     </div>
65 65
                 </div>
66 66
             </div>
@@ -77,7 +77,7 @@ import BreadCrumb from "@/xt_pages/components/bread-crumb";
77 77
 
78 78
 export default {
79 79
     name: "CourseOfDisease",
80
-    components: { 
80
+    components: {
81 81
         PatientSidebar,
82 82
         BreadCrumb
83 83
     },
@@ -95,7 +95,7 @@ export default {
95 95
             show_dialog: false,
96 96
             uploading_new_record: false,
97 97
             templates: this.$store.getters.configlist.course_disease,
98
-            select_template: [],
98
+            select_template: '',
99 99
             new_content: "",
100 100
 
101 101
             selectingRows: [],
@@ -128,7 +128,7 @@ export default {
128 128
                     this.current_select_record = null
129 129
                     this.records = resp.data.records
130 130
                     this.doctors = resp.data.doctors
131
-                    
131
+
132 132
                 } else {
133 133
                     this.$message.error(resp.msg)
134 134
                 }
@@ -155,9 +155,7 @@ export default {
155 155
             return ""
156 156
         },
157 157
 
158
-        willCloseDialog: function() {
159 158
 
160
-        },
161 159
         createAction: function() {
162 160
             if (this.new_content.length == 0) {
163 161
                 this.$message.error("请填写病程内容")
@@ -187,7 +185,6 @@ export default {
187 185
         didSelectTemplate: function(templateContent) {
188 186
             this.new_content = this.new_content.length > 0 ? (this.new_content + templateContent) : templateContent
189 187
 
190
-            this.select_template = ""
191 188
         },
192 189
 
193 190
         didSelectionChange: function(selectRows) {

+ 11 - 16
src/xt_pages/user/doctorAdvice.vue Просмотреть файл

@@ -1459,16 +1459,14 @@ export default {
1459 1459
     },
1460 1460
     openGroupChild() {
1461 1461
       if (this.groupSelectRow === null) {
1462
-        this.$notify.error({
1463
-          title: "错误",
1464
-          message: "未选择医嘱内容,无法添加子药"
1465
-        });
1462
+
1463
+        this.$message.error("未选择医嘱内容,无法添加子药")
1464
+
1466 1465
         return;
1467 1466
       } else if (this.groupSelectRow.parent_row > 0) {
1468
-        this.$notify.error({
1469
-          title: "错误",
1470
-          message: "子药不能添加子药"
1471
-        });
1467
+
1468
+        this.$message.error("子药不能添加子药")
1469
+
1472 1470
         return;
1473 1471
       }
1474 1472
       this.nameForm = {
@@ -1495,11 +1493,11 @@ export default {
1495 1493
       this.isChild = false;
1496 1494
       if (isEdit) {
1497 1495
         if (this.groupSelectRow === null) {
1498
-          this.$notify.error({
1499
-            title: "错误",
1500
-            message: "未选择要修改的医嘱内容"
1501
-          });
1496
+
1497
+          this.$message.error("未选择要修改的医嘱内容")
1498
+
1502 1499
           return;
1500
+
1503 1501
         }
1504 1502
         if (this.groupSelectRow.parent_row) {
1505 1503
           this.isChild = true;
@@ -1550,10 +1548,7 @@ export default {
1550 1548
     },
1551 1549
     openDeleteGroupAdvice() {
1552 1550
       if (this.groupSelectRow === null) {
1553
-        this.$notify.error({
1554
-          title: "错误",
1555
-          message: "未选择要删除的医嘱内容"
1556
-        });
1551
+        this.$message.error("未选择要删除的医嘱内容")
1557 1552
         return;
1558 1553
       }
1559 1554
       var content = "";