bug修改
This commit is contained in:
parent
2ad7db0c7b
commit
e16aaa901c
@ -11,7 +11,7 @@ import { SpecialitySelectedSheet } from '@itcast/basic/src/main/ets/Views/Specia
|
||||
import { emitter } from '@kit.BasicServicesKit'
|
||||
import { BusinessError } from '@kit.BasicServicesKit';
|
||||
import { rcp } from '@kit.RemoteCommunicationKit';
|
||||
import { HdNav,HdLoadingDialog } from '@itcast/basic'
|
||||
import { HdNav,HdLoadingDialog,DefaultHintProWindows } from '@itcast/basic'
|
||||
interface extraData {
|
||||
uuid: string
|
||||
}
|
||||
@ -77,7 +77,7 @@ export struct PerfectUserDataComp {
|
||||
@State hospitalUuid:string = perfactAuth.getUser(this.loginPhone).hospitalUuid?perfactAuth.getUser(this.loginPhone).hospitalUuid:'';
|
||||
@State base64Stringphoto:string=''
|
||||
@State base64Stringcertificate:string=''
|
||||
|
||||
private hintWindowDialog!: CustomDialogController;
|
||||
private photoSheetDialog!: CustomDialogController;
|
||||
private officePickerDialog!: CustomDialogController;
|
||||
private positionPickerDialog!: CustomDialogController;
|
||||
@ -90,7 +90,25 @@ export struct PerfectUserDataComp {
|
||||
customStyle: true,
|
||||
alignment: DialogAlignment.Center
|
||||
})
|
||||
private hintPopWindowDialog() {
|
||||
this.hintWindowDialog = new CustomDialogController({
|
||||
builder:DefaultHintProWindows({
|
||||
controller:this.hintWindowDialog,
|
||||
message: this.checkInfo,
|
||||
cancleTitle:'',
|
||||
selectedButton: (index:number)=>{
|
||||
|
||||
this.hintWindowDialog.close();
|
||||
}
|
||||
}),
|
||||
alignment: DialogAlignment.Center,
|
||||
cornerRadius:24,
|
||||
backgroundColor: ('rgba(0,0,0,0.5)'),
|
||||
})
|
||||
}
|
||||
|
||||
aboutToAppear() {
|
||||
this.hintPopWindowDialog()
|
||||
this.initSexDialog();
|
||||
this.initPhotoDialog();
|
||||
this.initPerfactInputDialog();
|
||||
@ -130,14 +148,15 @@ export struct PerfectUserDataComp {
|
||||
if(this.checkInfo!=''||this.checkInfo!=null)
|
||||
{
|
||||
this.info=this.checkInfo
|
||||
promptAction.showDialog({ title: '温馨提示', message: this.checkInfo,
|
||||
buttons: [{ text: '确定', color: $r('app.color.main_color') }],
|
||||
})
|
||||
.then(data => {
|
||||
if (data.index == 1) {
|
||||
|
||||
}
|
||||
})
|
||||
this.hintWindowDialog.open()
|
||||
// promptAction.showDialog({ title: '温馨提示', message: this.checkInfo,
|
||||
// buttons: [{ text: '确定', color: $r('app.color.main_color') }],
|
||||
// })
|
||||
// .then(data => {
|
||||
// if (data.index == 1) {
|
||||
//
|
||||
// }
|
||||
// })
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user