|
@@ -659,7 +659,8 @@
|
659
|
659
|
</div>
|
660
|
660
|
<div *ngIf="item.showCreateTime" nz-col nzSpan="12" class="col txtR">{{item.showCreateTime}}
|
661
|
661
|
</div>
|
662
|
|
- <div *ngIf="item.yyjdTime" nz-col nzSpan="12" class="col txtR">{{item.yyjdTime|date:'MM-dd
|
|
662
|
+ <div *ngIf="item.yyjdTime&&item.gdState.value == 11" nz-col nzSpan="12" class="col txtR">
|
|
663
|
+ {{item.yyjdTime|date:'MM-dd
|
663
|
664
|
HH:mm'}}
|
664
|
665
|
</div>
|
665
|
666
|
</div>
|
|
@@ -778,129 +779,140 @@
|
778
|
779
|
</nz-radio-group>
|
779
|
780
|
</nz-form-control>
|
780
|
781
|
</nz-form-item>
|
781
|
|
- <!-- 检查 -->
|
782
|
|
- <nz-form-item *ngIf="checkedShowMsg.status==200">
|
783
|
|
- <nz-form-label [nzSm]="24" [nzXs]="24" nzFor="linkCheck">关联的检查</nz-form-label>
|
784
|
|
- <nz-form-control class="datesGroup" *ngIf="linkCheckLis.length">
|
785
|
|
- <nz-checkbox-wrapper class="linkCheckCheck" ngDefaultControl formControlName="linkCheck" (nzOnChange)="linkCheckLisChange($event)" [ngModel]="linkCheckLis">
|
786
|
|
- <div nz-row *ngFor="let item of linkCheckLis">
|
787
|
|
- <div nz-col nzSpan="24">
|
788
|
|
- <label nz-checkbox [nzValue]="item">{{item.label}}</label>
|
789
|
|
- <i class="icon_transport transport-zu1468 priority" *ngIf="item.priority === 1||item.priority==='1'"></i>
|
|
782
|
+ <ng-container *ngIf="cLoading">
|
|
783
|
+ <div style="text-align: center;">
|
|
784
|
+ <img src="../../../assets/images/loading.gif" alt="">
|
|
785
|
+ <div>加载中...</div>
|
|
786
|
+ </div>
|
|
787
|
+ </ng-container>
|
|
788
|
+ <ng-container *ngIf="!cLoading">
|
|
789
|
+ <!-- 检查 -->
|
|
790
|
+ <nz-form-item *ngIf="checkedShowMsg.status==200">
|
|
791
|
+ <nz-form-label [nzSm]="24" [nzXs]="24" nzFor="linkCheck">关联的检查</nz-form-label>
|
|
792
|
+ <nz-form-control class="datesGroup" *ngIf="linkCheckLis.length">
|
|
793
|
+ <nz-checkbox-wrapper class="linkCheckCheck" ngDefaultControl formControlName="linkCheck"
|
|
794
|
+ (nzOnChange)="linkCheckLisChange($event)" [ngModel]="linkCheckLis">
|
|
795
|
+ <div nz-row *ngFor="let item of linkCheckLis">
|
|
796
|
+ <div nz-col nzSpan="24">
|
|
797
|
+ <label nz-checkbox [nzValue]="item">{{item.label}}</label>
|
|
798
|
+ <i class="icon_transport transport-zu1468 priority"
|
|
799
|
+ *ngIf="item.priority === 1||item.priority==='1'"></i>
|
|
800
|
+ </div>
|
790
|
801
|
</div>
|
791
|
|
- </div>
|
792
|
|
- </nz-checkbox-wrapper>
|
793
|
|
- </nz-form-control>
|
794
|
|
- <div *ngIf="!linkCheckLis.length">暂无关联的检查</div>
|
795
|
|
- </nz-form-item>
|
796
|
|
- <!-- 预约建单时间-患者其他服务 -->
|
797
|
|
- <nz-form-item class="yyTime" [ngClass]="{yyTimeError:!yyTimeZy&&clickYYZyFlag}"
|
798
|
|
- *ngIf="appointmentZyBuildFlag === '1'&&allowUrgent==0">
|
799
|
|
- <nz-form-label [nzSm]="24" [nzXs]="24">预约建单时间</nz-form-label>
|
800
|
|
- <nz-form-control [nzSm]="24" [nzXs]="24">
|
801
|
|
- <nz-time-picker nzFormat="HH:mm" [nzMinuteStep]="30" [nzSecondStep]="60" [(ngModel)]="yyTimeZy"
|
802
|
|
- (ngModelChange)="yyTimeZyChange($event)" [ngModelOptions]="{standalone: true}"
|
803
|
|
- [nzDisabledHours]="disabledHours" [nzDisabledMinutes]="disabledMinutes"></nz-time-picker>
|
804
|
|
- <label *ngIf="yyTimeZy" nz-checkbox [(ngModel)]="nextDayZy" (ngModelChange)="nextDayZyChange($event)"
|
805
|
|
- class="ml8" [ngModelOptions]="{standalone: true}">次日</label>
|
806
|
|
- </nz-form-control>
|
807
|
|
- <div class="red w100" *ngIf="!yyTimeZy&&clickYYZyFlag">请填写预约建单时间!</div>
|
808
|
|
- <div class="red">请您在预约建单时至少在预约检查时间的基础上提前30分钟,以免错过检查!</div>
|
809
|
|
- </nz-form-item>
|
810
|
|
- <!-- 预约建单时间 -->
|
811
|
|
- <nz-form-item class="yyTime" [ngClass]="{yyTimeError:!yyTime&&clickYYFlag}"
|
812
|
|
- *ngIf="linkCheckLis.length&&linkCheckLisTrue&&hasTime&&lessTime&&appointmentBuildFlag === '1'&&allowUrgent==0">
|
813
|
|
- <nz-form-label [nzSm]="24" [nzXs]="24">预约建单时间</nz-form-label>
|
814
|
|
- <nz-form-control [nzSm]="24" [nzXs]="24">
|
815
|
|
- <nz-time-picker nzFormat="HH:mm" [nzMinuteStep]="30" [nzSecondStep]="60" [(ngModel)]="yyTime"
|
816
|
|
- (ngModelChange)="yyTimeChange($event)" [ngModelOptions]="{standalone: true}"
|
817
|
|
- [nzDisabledHours]="disabledHours" [nzDisabledMinutes]="disabledMinutes"></nz-time-picker>
|
818
|
|
- <label *ngIf="yyTime" nz-checkbox [(ngModel)]="nextDay" (ngModelChange)="nextDayChange($event)"
|
819
|
|
- class="ml8" [ngModelOptions]="{standalone: true}">次日</label>
|
820
|
|
- </nz-form-control>
|
821
|
|
- <div class="red w100" *ngIf="!yyTime&&clickYYFlag">请填写预约建单时间!</div>
|
822
|
|
- <div class="red">请您在预约建单时至少在预约检查时间的基础上提前30分钟,以免错过检查!</div>
|
823
|
|
- </nz-form-item>
|
824
|
|
- <!-- 100009 科室任务类型状态码未配置 -->
|
825
|
|
- <nz-form-item *ngIf="(checkedShowMsg.status!=200)&&(checkedShowMsg.status==100009)">
|
826
|
|
- <div class="txtC">{{checkedShowMsg.msg}}</div>
|
827
|
|
- </nz-form-item>
|
828
|
|
- <!-- 100015 (护士端一键建单展策略)起点科室和终点科室下拉展示 -->
|
829
|
|
- <nz-form-item
|
830
|
|
- *ngIf="(checkedShowMsg.status!=200)&&(checkedShowMsg.status==100015||checkedShowMsg.status==100013)">
|
831
|
|
- <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="originOffice">起点科室</nz-form-label>
|
832
|
|
- <nz-form-control nzErrorTip="请选择起点科室!">
|
833
|
|
- <nz-select class="w100" formControlName="originOffice" [nzDropdownMatchSelectWidth]="false" nzServerSearch
|
834
|
|
- nzShowSearch (nzOnSearch)="searchDept('start',checkedShowMsg,$event)" nzPlaceHolder="请选择起点科室">
|
835
|
|
- <ng-container *ngFor="let option of checkedShowMsg.start.start.list">
|
836
|
|
- <nz-option *ngIf="true" [nzLabel]="option.dept" [nzValue]="option.id"></nz-option>
|
837
|
|
- </ng-container>
|
838
|
|
- <nz-option *ngIf="false" nzDisabled nzCustomContent>
|
839
|
|
- <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
|
840
|
|
- </nz-option>
|
841
|
|
- </nz-select>
|
842
|
|
- </nz-form-control>
|
843
|
|
- </nz-form-item>
|
844
|
|
- <!-- 100014 (护士端一键建单展示策略)取终点科室和msg 值展示 -->
|
845
|
|
- <nz-form-item
|
846
|
|
- *ngIf="(checkedShowMsg.status!=200)&&(checkedShowMsg.status==100014||checkedShowMsg.status==100015)">
|
847
|
|
- <!-- <nz-form-item> -->
|
848
|
|
- <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="targetOffice">目标科室</nz-form-label>
|
849
|
|
- <nz-form-control nzErrorTip="请选择目标科室!">
|
850
|
|
- <nz-select class="w100" formControlName="targetOffice" [nzDropdownMatchSelectWidth]="false" nzServerSearch
|
851
|
|
- nzShowSearch (nzOnSearch)="searchDept('target',checkedShowMsg,$event)" nzPlaceHolder="请选择目标科室">
|
852
|
|
- <ng-container *ngFor="let option of checkedShowMsg.end.end.list">
|
853
|
|
- <nz-option *ngIf="true" [nzLabel]="option.dept" [nzValue]="option.id"></nz-option>
|
854
|
|
- </ng-container>
|
855
|
|
- <nz-option *ngIf="false" nzDisabled nzCustomContent>
|
856
|
|
- <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
|
857
|
|
- </nz-option>
|
858
|
|
- </nz-select>
|
859
|
|
- </nz-form-control>
|
860
|
|
- </nz-form-item>
|
861
|
|
- <!-- 自动送回 -->
|
862
|
|
- <nz-form-item *ngIf="checkedShowMsg.status!=200&&checkedShowMsg.isRemand == 1">
|
863
|
|
- <nz-form-control>
|
864
|
|
- <label nz-checkbox [(ngModel)]="isRemand" [ngModelOptions]="{standalone: true}">自动送回</label>
|
865
|
|
- </nz-form-control>
|
866
|
|
- </nz-form-item>
|
867
|
|
- <!-- 携带设备 -->
|
868
|
|
- <nz-form-item *ngIf="goodsLis.length">
|
869
|
|
- <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="goods" class="goods">携带设备</nz-form-label>
|
870
|
|
- <nz-form-control>
|
871
|
|
- <nz-checkbox-group formControlName="goods" [(ngModel)]="goodsLis">
|
872
|
|
- </nz-checkbox-group>
|
873
|
|
- </nz-form-control>
|
874
|
|
- </nz-form-item>
|
875
|
|
- <!-- 是否加急 -->
|
876
|
|
- <nz-form-item *ngIf="current_allowUrgent">
|
877
|
|
- <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="allowUrgent" class="goods">是否加急</nz-form-label>
|
878
|
|
- <nz-form-control>
|
879
|
|
- <nz-radio-group [(ngModel)]="allowUrgent" formControlName="allowUrgent">
|
880
|
|
- <label nz-radio nzValue="1">是</label>
|
881
|
|
- <label nz-radio nzValue="0">否</label>
|
882
|
|
- </nz-radio-group>
|
883
|
|
- </nz-form-control>
|
884
|
|
- </nz-form-item>
|
885
|
|
- <!-- 加急原因 -->
|
886
|
|
- <nz-form-item *ngIf="current_allowUrgent&&allowUrgent == 1">
|
887
|
|
- <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="urgentReason" class="goods">加急原因</nz-form-label>
|
888
|
|
- <nz-form-control>
|
889
|
|
- <textarea rows="4" placeholder="请输入加急原因" nz-input [(ngModel)]="urgentReason"
|
890
|
|
- formControlName="urgentReason"></textarea>
|
891
|
|
- </nz-form-control>
|
892
|
|
- </nz-form-item>
|
|
802
|
+ </nz-checkbox-wrapper>
|
|
803
|
+ </nz-form-control>
|
|
804
|
+ <div *ngIf="!linkCheckLis.length">暂无关联的检查</div>
|
|
805
|
+ </nz-form-item>
|
|
806
|
+ <!-- 预约建单时间-患者其他服务 -->
|
|
807
|
+ <nz-form-item class="yyTime" [ngClass]="{yyTimeError:!yyTimeZy&&clickYYZyFlag}"
|
|
808
|
+ *ngIf="appointmentZyBuildFlag === '1'&&allowUrgent==0">
|
|
809
|
+ <nz-form-label [nzSm]="24" [nzXs]="24">预约建单时间</nz-form-label>
|
|
810
|
+ <nz-form-control [nzSm]="24" [nzXs]="24">
|
|
811
|
+ <nz-time-picker nzFormat="HH:mm" [nzMinuteStep]="30" [nzSecondStep]="60" [(ngModel)]="yyTimeZy"
|
|
812
|
+ (ngModelChange)="yyTimeZyChange($event)" [ngModelOptions]="{standalone: true}"
|
|
813
|
+ [nzDisabledHours]="disabledHours" [nzDisabledMinutes]="disabledMinutes"></nz-time-picker>
|
|
814
|
+ <label *ngIf="yyTimeZy" nz-checkbox [(ngModel)]="nextDayZy" (ngModelChange)="nextDayZyChange($event)"
|
|
815
|
+ class="ml8" [ngModelOptions]="{standalone: true}">次日</label>
|
|
816
|
+ </nz-form-control>
|
|
817
|
+ <div class="red w100" *ngIf="!yyTimeZy&&clickYYZyFlag">请填写预约建单时间!</div>
|
|
818
|
+ <div class="red">请您在预约建单时至少在预约检查时间的基础上提前30分钟,以免错过检查!</div>
|
|
819
|
+ </nz-form-item>
|
|
820
|
+ <!-- 预约建单时间 -->
|
|
821
|
+ <nz-form-item class="yyTime" [ngClass]="{yyTimeError:!yyTime&&clickYYFlag}"
|
|
822
|
+ *ngIf="linkCheckLisTrue&&hasTime&&lessTime&&appointmentBuildFlag === '1'&&allowUrgent==0">
|
|
823
|
+ <nz-form-label [nzSm]="24" [nzXs]="24">预约建单时间</nz-form-label>
|
|
824
|
+ <nz-form-control [nzSm]="24" [nzXs]="24">
|
|
825
|
+ <nz-time-picker nzFormat="HH:mm" [nzMinuteStep]="30" [nzSecondStep]="60" [(ngModel)]="yyTime"
|
|
826
|
+ (ngModelChange)="yyTimeChange($event)" [ngModelOptions]="{standalone: true}"
|
|
827
|
+ [nzDisabledHours]="disabledHours" [nzDisabledMinutes]="disabledMinutes"></nz-time-picker>
|
|
828
|
+ <label *ngIf="yyTime" nz-checkbox [(ngModel)]="nextDay" (ngModelChange)="nextDayChange($event)"
|
|
829
|
+ class="ml8" [ngModelOptions]="{standalone: true}">次日</label>
|
|
830
|
+ </nz-form-control>
|
|
831
|
+ <div class="red w100" *ngIf="!yyTime&&clickYYFlag">请填写预约建单时间!</div>
|
|
832
|
+ <div class="red">请您在预约建单时至少在预约检查时间的基础上提前30分钟,以免错过检查!</div>
|
|
833
|
+ </nz-form-item>
|
|
834
|
+ <!-- 100009 科室任务类型状态码未配置 -->
|
|
835
|
+ <nz-form-item *ngIf="(checkedShowMsg.status!=200)&&(checkedShowMsg.status==100009)">
|
|
836
|
+ <div class="txtC">{{checkedShowMsg.msg}}</div>
|
|
837
|
+ </nz-form-item>
|
|
838
|
+ <!-- 100015 (护士端一键建单展策略)起点科室和终点科室下拉展示 -->
|
|
839
|
+ <nz-form-item
|
|
840
|
+ *ngIf="(checkedShowMsg.status!=200)&&(checkedShowMsg.status==100015||checkedShowMsg.status==100013)">
|
|
841
|
+ <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="originOffice">起点科室</nz-form-label>
|
|
842
|
+ <nz-form-control nzErrorTip="请选择起点科室!">
|
|
843
|
+ <nz-select class="w100" formControlName="originOffice" [nzDropdownMatchSelectWidth]="false"
|
|
844
|
+ nzServerSearch nzShowSearch (nzOnSearch)="searchDept('start',checkedShowMsg,$event)"
|
|
845
|
+ nzPlaceHolder="请选择起点科室">
|
|
846
|
+ <ng-container *ngFor="let option of checkedShowMsg.start.start.list">
|
|
847
|
+ <nz-option *ngIf="true" [nzLabel]="option.dept" [nzValue]="option.id"></nz-option>
|
|
848
|
+ </ng-container>
|
|
849
|
+ <nz-option *ngIf="false" nzDisabled nzCustomContent>
|
|
850
|
+ <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
|
|
851
|
+ </nz-option>
|
|
852
|
+ </nz-select>
|
|
853
|
+ </nz-form-control>
|
|
854
|
+ </nz-form-item>
|
|
855
|
+ <!-- 100014 (护士端一键建单展示策略)取终点科室和msg 值展示 -->
|
|
856
|
+ <nz-form-item
|
|
857
|
+ *ngIf="(checkedShowMsg.status!=200)&&(checkedShowMsg.status==100014||checkedShowMsg.status==100015)">
|
|
858
|
+ <!-- <nz-form-item> -->
|
|
859
|
+ <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="targetOffice">目标科室</nz-form-label>
|
|
860
|
+ <nz-form-control nzErrorTip="请选择目标科室!">
|
|
861
|
+ <nz-select class="w100" formControlName="targetOffice" [nzDropdownMatchSelectWidth]="false"
|
|
862
|
+ nzServerSearch nzShowSearch (nzOnSearch)="searchDept('target',checkedShowMsg,$event)"
|
|
863
|
+ nzPlaceHolder="请选择目标科室">
|
|
864
|
+ <ng-container *ngFor="let option of checkedShowMsg.end.end.list">
|
|
865
|
+ <nz-option *ngIf="true" [nzLabel]="option.dept" [nzValue]="option.id"></nz-option>
|
|
866
|
+ </ng-container>
|
|
867
|
+ <nz-option *ngIf="false" nzDisabled nzCustomContent>
|
|
868
|
+ <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
|
|
869
|
+ </nz-option>
|
|
870
|
+ </nz-select>
|
|
871
|
+ </nz-form-control>
|
|
872
|
+ </nz-form-item>
|
|
873
|
+ <!-- 自动送回 -->
|
|
874
|
+ <nz-form-item *ngIf="checkedShowMsg.status!=200&&checkedShowMsg.isRemand == 1">
|
|
875
|
+ <nz-form-control>
|
|
876
|
+ <label nz-checkbox [(ngModel)]="isRemand" [ngModelOptions]="{standalone: true}">自动送回</label>
|
|
877
|
+ </nz-form-control>
|
|
878
|
+ </nz-form-item>
|
|
879
|
+ <!-- 携带设备 -->
|
|
880
|
+ <nz-form-item *ngIf="goodsLis.length">
|
|
881
|
+ <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="goods" class="goods">携带设备</nz-form-label>
|
|
882
|
+ <nz-form-control>
|
|
883
|
+ <nz-checkbox-group formControlName="goods" [(ngModel)]="goodsLis">
|
|
884
|
+ </nz-checkbox-group>
|
|
885
|
+ </nz-form-control>
|
|
886
|
+ </nz-form-item>
|
|
887
|
+ <!-- 是否加急 -->
|
|
888
|
+ <nz-form-item *ngIf="current_allowUrgent">
|
|
889
|
+ <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="allowUrgent" class="goods">是否加急</nz-form-label>
|
|
890
|
+ <nz-form-control>
|
|
891
|
+ <nz-radio-group [(ngModel)]="allowUrgent" formControlName="allowUrgent">
|
|
892
|
+ <label nz-radio nzValue="1">是</label>
|
|
893
|
+ <label nz-radio nzValue="0">否</label>
|
|
894
|
+ </nz-radio-group>
|
|
895
|
+ </nz-form-control>
|
|
896
|
+ </nz-form-item>
|
|
897
|
+ <!-- 加急原因 -->
|
|
898
|
+ <nz-form-item *ngIf="current_allowUrgent&&allowUrgent == 1">
|
|
899
|
+ <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="urgentReason" class="goods">加急原因</nz-form-label>
|
|
900
|
+ <nz-form-control>
|
|
901
|
+ <textarea rows="4" placeholder="请输入加急原因" nz-input [(ngModel)]="urgentReason"
|
|
902
|
+ formControlName="urgentReason"></textarea>
|
|
903
|
+ </nz-form-control>
|
|
904
|
+ </nz-form-item>
|
|
905
|
+ </ng-container>
|
893
|
906
|
</form>
|
894
|
907
|
</div>
|
895
|
908
|
</overlay-scrollbars>
|
896
|
909
|
<div class="btns display_flex justify-content_flex-center">
|
897
|
|
- <button
|
898
|
|
- *ngIf="linkCheckLis.length&&linkCheckLisTrue&&hasTime&&lessTime&&appointmentBuildFlag === '1'&&allowUrgent==0"
|
899
|
|
- nz-button nzType="primary" [nzLoading]="btnLoading1" (click)="confirmPatient1('patient-yuyue')">预约建单</button>
|
|
910
|
+ <button *ngIf="linkCheckLisTrue&&hasTime&&lessTime&&appointmentBuildFlag === '1'&&allowUrgent==0" nz-button
|
|
911
|
+ nzType="primary" [nzLoading]="btnLoading1" (click)="confirmPatient1('patient-yuyue')">预约建单</button>
|
900
|
912
|
<button *ngIf="appointmentZyBuildFlag === '1'&&allowUrgent==0" nz-button nzType="primary"
|
901
|
913
|
[nzLoading]="btnLoading1" (click)="confirmPatient1('patient-zy-yuyue')">预约建单</button>
|
902
|
914
|
<button
|
903
|
|
- *ngIf="!(checkedShowMsg.status==200&&!linkCheckLis.length)&&linkCheckLisTrue&&((allowUrgent == 1 && urgentReason.trim() !== '')||allowUrgent == 0)"
|
|
915
|
+ *ngIf="((checkedShowMsg.data&&linkCheckLisTrue)||(!checkedShowMsg.data&&!linkCheckLisTrue))&&((allowUrgent == 1 && urgentReason.trim() !== '')||allowUrgent == 0)"
|
904
|
916
|
nz-button nzType="default" [nzLoading]="btnLoading" (click)="confirmPatient()" class="orderThis">直接建单</button>
|
905
|
917
|
<button class="btn cancel" nz-button nzType="default" (click)="hidePatientOrder()">取消</button>
|
906
|
918
|
</div>
|