|
@@ -205,7 +205,7 @@ const ExportView = (() => {
|
|
|
//设置工程编号
|
|
|
$('#exportCode').on('shown.bs.modal', function () {
|
|
|
let projectData = null;
|
|
|
- if(SEIObject.exporting == true){//如果是重庆指标接口调用的
|
|
|
+ if(typeof SEIObject !== 'undefined' && SEIObject.exporting == true){//如果是重庆指标接口调用的
|
|
|
if(SEIObject.fileCache && SEIObject.fileCache.length == 2){
|
|
|
projectData = SEIObject.fileCache[0].projectData;
|
|
|
}else{
|
|
@@ -239,7 +239,7 @@ const ExportView = (() => {
|
|
|
STATE.confirming = false;
|
|
|
return false;
|
|
|
}
|
|
|
- SEIObject.exporting?await exportUtil.exprotZBFX(codes):await handleExportConfirm(codes);
|
|
|
+ typeof SEIObject !== 'undefined' && SEIObject.exporting ? await exportUtil.exprotZBFX(codes) : await handleExportConfirm(codes);
|
|
|
});
|
|
|
//导出窗口--------
|
|
|
$('#export').on('hide.bs.modal', function() {
|