forked from xxhjsb/hbt-prevention-ui
feat:新增隐患档案
parent
26766bc914
commit
2c11288a17
|
@ -55,6 +55,9 @@ export default class HiddenDangerFilesComponent extends BaseRecordComponent<any>
|
|||
public showUpdate = false;
|
||||
public updateParams = {} as any;
|
||||
public updateOptions:FormOption<BtnOption>[] = [];
|
||||
public updateOptions2:FormOption<BtnOption>[] = [];
|
||||
public updateOptions3:FormOption<BtnOption>[] = [];
|
||||
public updateOptions4:FormOption<BtnOption>[] = [];
|
||||
public updateActions = [];
|
||||
|
||||
public selectData = [];
|
||||
|
@ -100,7 +103,7 @@ export default class HiddenDangerFilesComponent extends BaseRecordComponent<any>
|
|||
|
||||
public getTableData(){
|
||||
this.tableService.selectByPage2(this.params).then(res=>{
|
||||
this.tableData = res.data;
|
||||
this.tableData = res.data as any;
|
||||
this.getTableCallback();
|
||||
})
|
||||
}
|
||||
|
@ -284,8 +287,6 @@ export default class HiddenDangerFilesComponent extends BaseRecordComponent<any>
|
|||
type:"upload",
|
||||
width:"calc(50% - 20px)",
|
||||
require:true,
|
||||
onSucess:this.onSuccess,
|
||||
onMove:this.onRemove,
|
||||
showError:false,
|
||||
autoUpload:true,
|
||||
onPreview:this.onPreview,
|
||||
|
@ -300,8 +301,6 @@ export default class HiddenDangerFilesComponent extends BaseRecordComponent<any>
|
|||
type:"upload",
|
||||
width:"calc(50% - 20px)",
|
||||
showError:false,
|
||||
onSucess:this.onSuccess2,
|
||||
onMove:this.onRemove2,
|
||||
onPreview:this.onPreview,
|
||||
autoUpload:true,
|
||||
accept:"image/png, image/jpeg,.doc,.docx,.xls,.xlsx,.pdf",
|
||||
|
@ -385,7 +384,6 @@ export default class HiddenDangerFilesComponent extends BaseRecordComponent<any>
|
|||
width:"100%",
|
||||
require:true,
|
||||
showError:false,
|
||||
datas:this.isSure
|
||||
},{
|
||||
name:"原因说明",
|
||||
type:"textarea",
|
||||
|
@ -468,7 +466,6 @@ export default class HiddenDangerFilesComponent extends BaseRecordComponent<any>
|
|||
width:"100%",
|
||||
require:true,
|
||||
showError:false,
|
||||
datas:this.isAccept
|
||||
},{
|
||||
name:"整改结果",
|
||||
key:"executeResult",
|
||||
|
@ -504,8 +501,6 @@ export default class HiddenDangerFilesComponent extends BaseRecordComponent<any>
|
|||
hide:this.updateParams.executeConfirmFlag===0,
|
||||
width:"100%",
|
||||
showError:false,
|
||||
onSucess:this.onSuccess3,
|
||||
onMove:this.onRemove3,
|
||||
onPreview:this.onPreview,
|
||||
autoUpload:true,
|
||||
accept:"image/png, image/jpeg,.doc,.docx,.xls,.xlsx,.pdf",
|
||||
|
@ -544,7 +539,6 @@ export default class HiddenDangerFilesComponent extends BaseRecordComponent<any>
|
|||
width:"100%",
|
||||
require:true,
|
||||
showError:false,
|
||||
datas:this.isPass
|
||||
},{
|
||||
name:"验证情况",
|
||||
type:"textarea",
|
||||
|
@ -557,8 +551,6 @@ export default class HiddenDangerFilesComponent extends BaseRecordComponent<any>
|
|||
key:"photo2",
|
||||
type:"upload",
|
||||
width:"100%",
|
||||
onSucess:this.onSuccess4,
|
||||
onMove:this.onRemove4,
|
||||
autoUpload:true,
|
||||
onPreview:this.onPreview,
|
||||
accept:"image/png, image/jpeg",
|
||||
|
|
Loading…
Reference in New Issue