generate交互更新
This commit is contained in:
@@ -875,7 +875,27 @@ export default defineComponent({
|
||||
centered:true,
|
||||
onOk() {
|
||||
data.deleteModelConfirm = 1
|
||||
|
||||
let id = _this.store.state.Workspace.workspace.id
|
||||
Https.axiosGet(Https.httpUrls.workspaceDetail,{params:{id:id}}).then((rv: any) => {
|
||||
if (rv) {
|
||||
if(rv.position == "Overall"){
|
||||
rv.overallSingle = false
|
||||
}else{
|
||||
rv.overallSingle = true
|
||||
}
|
||||
if(rv.sexEnum.name == 'Female'){
|
||||
rv.mannequinUrl = rv.femalePresignedUrl
|
||||
rv.mannequinType = rv.mannequinFemaleType
|
||||
rv.mannequinId = rv.mannequinFemaleId
|
||||
}else if(rv.sexEnum.name == 'Male'){
|
||||
rv.mannequinUrl = rv.malePresignedUrl
|
||||
rv.mannequinType = rv.mannequinMaleType
|
||||
rv.mannequinId = rv.mannequinMaleId
|
||||
}
|
||||
|
||||
_this.store.commit("setWorkspace", rv);
|
||||
}
|
||||
})
|
||||
_this.confirmDeletePic(data,index)
|
||||
},
|
||||
onCancel(){
|
||||
|
||||
Reference in New Issue
Block a user