Browse Source

牙齿背景图

李帅 3 months ago
parent
commit
b171ff26f7

BIN
src/assets/images/背景牙.png


+ 1 - 1
src/assets/styles/yachi.scss

@@ -61,7 +61,7 @@
61
 .yaBg {
61
 .yaBg {
62
   width: 400px;
62
   width: 400px;
63
   height: 520px;
63
   height: 520px;
64
-  background-image: url('../../../assets/images/牙齿背景图.png');
64
+  background-image: url('../../../assets/images/背景牙.png');
65
   background-position: 50% 50%;
65
   background-position: 50% 50%;
66
   position: relative;
66
   position: relative;
67
 
67
 

+ 28 - 3
src/views/patientCenter/index.vue

@@ -415,18 +415,30 @@
415
             >
415
             >
416
             <span
416
             <span
417
             class="blue"
417
             class="blue"
418
-            v-if="addMedicalDialogFlag && !MedicalRecordetailsFlag"
418
+            v-if="addMedicalDialogFlag && !MedicalRecordetailsFlag && !isDisableHistory"
419
             style="float: right"
419
             style="float: right"
420
             @click="doHistoryFlag"
420
             @click="doHistoryFlag"
421
             >历史病历</span
421
             >历史病历</span
422
             >
422
             >
423
             <span
423
             <span
424
+            class="white"
425
+            v-if="addMedicalDialogFlag && !MedicalRecordetailsFlag && isDisableHistory"
426
+            style="float: right;cursor: not-allowed;"
427
+            >历史病历</span
428
+            >
429
+            <span
424
               class="blue"
430
               class="blue"
425
-              v-if="addMedicalDialogFlag && !MedicalRecordetailsFlag"
431
+              v-if="addMedicalDialogFlag && !MedicalRecordetailsFlag && !isDisableNote"
426
               style="float: right"
432
               style="float: right"
427
               @click="doNoteFlag"
433
               @click="doNoteFlag"
428
               >便签</span
434
               >便签</span
429
             >
435
             >
436
+            <span
437
+            class="white"
438
+            v-if="addMedicalDialogFlag && !MedicalRecordetailsFlag && isDisableNote"
439
+            style="float: right;cursor: not-allowed;"
440
+            >便签</span
441
+            >
430
           </div>
442
           </div>
431
 
443
 
432
           <div
444
           <div
@@ -596,8 +608,11 @@
596
       @cancelAll="cancelAll"
608
       @cancelAll="cancelAll"
597
       @addYaList="addYaList"
609
       @addYaList="addYaList"
598
       @changeVisitType="changeVisitType"
610
       @changeVisitType="changeVisitType"
611
+      @disabledHistory="disabledHistory"
612
+      @disabledNote="disabledNote"
599
       :ids="ids"
613
       :ids="ids"
600
       :yaKey="yaKey"
614
       :yaKey="yaKey"
615
+      :yaAllList="yaAllList"
601
       :addMedicalTreeDialogFlag="addMedicalTreeDialogFlag"
616
       :addMedicalTreeDialogFlag="addMedicalTreeDialogFlag"
602
     />
617
     />
603
 
618
 
@@ -663,6 +678,9 @@ export default {
663
       historyFlag: false,
678
       historyFlag: false,
664
       noteFlag: false,
679
       noteFlag: false,
665
 
680
 
681
+      isDisableNote:true,
682
+      isDisableHistory:true,
683
+
666
       isActive: 0,
684
       isActive: 0,
667
       teethList: [],
685
       teethList: [],
668
       yaAllList: [],
686
       yaAllList: [],
@@ -789,6 +807,12 @@ export default {
789
         this.isActive = 0
807
         this.isActive = 0
790
       }
808
       }
791
     },
809
     },
810
+    disabledNote(flag){
811
+      this.isDisableNote = flag
812
+    },
813
+    disabledHistory(flag){
814
+      this.isDisableHistory = flag
815
+    },
792
     async doHistoryFlag() {
816
     async doHistoryFlag() {
793
       const res = await findListByToothPosition({
817
       const res = await findListByToothPosition({
794
         toothPositionList: this.yaAllList.map((item) => item.toothPosition),
818
         toothPositionList: this.yaAllList.map((item) => item.toothPosition),
@@ -1639,7 +1663,8 @@ h3 {
1639
 .white {
1663
 .white {
1640
   display: inline-block;
1664
   display: inline-block;
1641
   background-color: #fff;
1665
   background-color: #fff;
1642
-  color: #606266;
1666
+  color: #c0c4cc;
1667
+  margin-right: 10px;
1643
   border: 1px solid #dcdfe6;
1668
   border: 1px solid #dcdfe6;
1644
   line-height: 30px;
1669
   line-height: 30px;
1645
   border-radius: 5%;
1670
   border-radius: 5%;