mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-11 14:17:24 +08:00
优化导入不提示数据问题
This commit is contained in:
parent
fe96689f93
commit
2840f3b07b
@ -86,17 +86,21 @@
|
||||
vc.jumpToPage('/admin.html#/pages/property/listOwner')
|
||||
return;
|
||||
}
|
||||
vc.toast(json,10000);
|
||||
vc.toast(json, 10000);
|
||||
},
|
||||
function (errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
vc.toast("数据提交导入,请到导入日志中查看导入是否成功");
|
||||
if (errInfo.indexOf("<html>") > 0) {
|
||||
vc.toast("数据提交导入,请到导入日志中查看导入是否成功");
|
||||
} else {
|
||||
vc.toast(errInfo);
|
||||
}
|
||||
});
|
||||
},
|
||||
_exitCommunityData: function () {
|
||||
vc.jumpToPage('/callComponent/assetImport/exitCommunityData?communityId='+vc.getCurrentCommunity().communityId);
|
||||
vc.jumpToPage('/callComponent/assetImport/exitCommunityData?communityId=' + vc.getCurrentCommunity().communityId);
|
||||
},
|
||||
_openAssetImportLog:function(){
|
||||
_openAssetImportLog: function () {
|
||||
vc.jumpToPage('/admin.html#/pages/property/assetImportLog')
|
||||
},
|
||||
checkFileType: function (fileType) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user