forked from xxhjsb/hbt-prevention-ui
feat:新增随手拍下发状态
parent
0766894045
commit
11bade31b5
|
@ -621,6 +621,11 @@ export default class HiddenDangerClapComponent extends BaseRecordComponent<any>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public doSave(isSubmit){
|
public doSave(isSubmit){
|
||||||
|
if(!isSubmit){
|
||||||
|
this.updateParams.status = 0
|
||||||
|
}else{
|
||||||
|
this.updateParams.status = 1
|
||||||
|
}
|
||||||
this.updateParams.resourceId = this.photoList.map(item=>item.id).join(",")
|
this.updateParams.resourceId = this.photoList.map(item=>item.id).join(",")
|
||||||
this.updateParams.resourceName = this.photoList.map(item=>item.name).join(",")
|
this.updateParams.resourceName = this.photoList.map(item=>item.name).join(",")
|
||||||
this.updateParams.resourceOtherId = this.fileList.map(item=>item.id).join(",")
|
this.updateParams.resourceOtherId = this.fileList.map(item=>item.id).join(",")
|
||||||
|
|
Loading…
Reference in New Issue