|
@@ -40,6 +40,7 @@ import { PictureDrawingDialog } from '../view/PictureDrawingDialog';
|
|
|
import { AuxiliaryOperationView } from '../view/AuxiliaryOperationView';
|
|
|
import { BusinessError } from '@ohos.base';
|
|
|
import window from '@ohos.window';
|
|
|
+import { EquipmentInspectionDialog } from '../view/EquipmentInspectionDialog';
|
|
|
|
|
|
// 声明接受参数的类型
|
|
|
interface Params {
|
|
@@ -926,6 +927,9 @@ struct ProcessIndex {
|
|
|
openPictureDrawingDialog: ()=>{
|
|
|
this.pictureDrawingController.open()
|
|
|
},
|
|
|
+ openEquipmentInspectionDialog: ()=>{
|
|
|
+ this.EquipmentInspectionController.open()
|
|
|
+ },
|
|
|
})
|
|
|
.height('93.5%')
|
|
|
.width('100%')
|
|
@@ -1207,4 +1211,12 @@ struct ProcessIndex {
|
|
|
alignment:DialogAlignment.Center,
|
|
|
maskColor: 'rgba(0,0,0,0.8)', // 黑色遮罩
|
|
|
})
|
|
|
+ // 设备点检弹窗
|
|
|
+ EquipmentInspectionController: CustomDialogController = new CustomDialogController({
|
|
|
+ builder: EquipmentInspectionDialog({}),
|
|
|
+ autoCancel: true, // 点击遮罩关闭
|
|
|
+ customStyle: true,
|
|
|
+ alignment:DialogAlignment.Center,
|
|
|
+ maskColor: 'rgba(0,0,0,0.8)', // 黑色遮罩
|
|
|
+ })
|
|
|
}
|