Commit e892b86e authored by MrShi's avatar MrShi

[fix] 批量上传业主,条件查询服务商

parent 64895f51
......@@ -77,11 +77,11 @@ const Users = (props:any) => {
setFileUploading(true)
}
if (info.file.status === 'done') {
if (info.file.response.data.error_code == "0000") {
if (info.file.response.error_code == "0000") {
history.push(location.pathname+"/Result")
} else {
history.push(location.pathname+"/ResultFailed")
message.error(`${info.file.name} file upload failed.`);
message.error(`${info.file.name} file upload failed.`+'failed count is '+info.file.response.data.count);
setFileUploading(false)
}
} else if (info.file.status === 'error') {
......
......@@ -75,7 +75,13 @@ const ServiceProviderManagement = (props: any) => {
const CallBackTitleSearch = (comment: any)=>{
console.log(comment)
RA()
console.log(location.pathname)
//页面搜索
TosTosServiceProviderGet({
providerName: comment.providerName,
serviceCommunityList: CommunityList
})
// history.push(location.pathname+urlEncode(filterObj({ providerName: comment.providerName})))
}
return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment