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