ocr文本状态修改
This commit is contained in:
@@ -170,7 +170,7 @@
|
||||
})
|
||||
},
|
||||
afterVisibleChange(val) {
|
||||
console.log('visible', val);
|
||||
// console.log('visible', val);
|
||||
},
|
||||
onClose() {
|
||||
this.visible = false;
|
||||
@@ -242,22 +242,23 @@
|
||||
title:this.rows[0].title,
|
||||
|
||||
}
|
||||
if(this.rows[0].text_info=='发布稿(必读)'){
|
||||
params.fileType='1'
|
||||
}else if(this.rows[0].text_info=='增补件(必读)'){
|
||||
params.fileType='2'
|
||||
}else if(this.rows[0].text_info=='报批稿'){
|
||||
params.fileType='3'
|
||||
}else if(this.rows[0].text_info=='征求意见稿'){
|
||||
params.fileType='4'
|
||||
}else if(this.rows[0].text_info=='测试程序'){
|
||||
params.fileType='5'
|
||||
}else if(this.rows[0].text_info=='相关资料'){
|
||||
params.fileType='6'
|
||||
}
|
||||
params.fileType=this.rows[0].text_info
|
||||
// if(this.rows[0].text_info=='发布稿(必读)'){
|
||||
// params.fileType='1'
|
||||
// }else if(this.rows[0].text_info=='增补件(必读)'){
|
||||
// params.fileType='2'
|
||||
// }else if(this.rows[0].text_info=='报批稿'){
|
||||
// params.fileType='3'
|
||||
// }else if(this.rows[0].text_info=='征求意见稿'){
|
||||
// params.fileType='4'
|
||||
// }else if(this.rows[0].text_info=='测试程序'){
|
||||
// params.fileType='5'
|
||||
// }else if(this.rows[0].text_info=='相关资料'){
|
||||
// params.fileType='6'
|
||||
// }
|
||||
let formData = new FormData()
|
||||
Object.keys(params).forEach((key) => {
|
||||
console.log('key',key,params[key])
|
||||
// console.log('key',key,params[key])
|
||||
formData.append(key, params[key]);
|
||||
});
|
||||
// console.log('formData',params,formData.getAll)
|
||||
|
||||
Reference in New Issue
Block a user