|
|
@@ -183,8 +183,8 @@ export default {
|
|
|
});
|
|
|
} else if (nodeType == 'HTML') {
|
|
|
HtmlWindowResource.uniqueByNo(_self.model.htmlWindowNo).then(successData => {
|
|
|
- if (successData != null) {
|
|
|
- var htmlFileName = successData.htmlFileName;
|
|
|
+ if (successData.errorCode == 0) {
|
|
|
+ var htmlFileName = successData.data.htmlFileName;
|
|
|
if(htmlFileName == null){
|
|
|
Notify.error(_self.$t('lang.Notify.dataDictionaryError'), _self.$t('lang.Notify.describe1'), false);
|
|
|
return;
|
|
|
@@ -193,6 +193,8 @@ export default {
|
|
|
htmlFileName = htmlFileName.replace('{URL}', Common.getHostPageBaseURL());
|
|
|
}
|
|
|
window.open(htmlFileName);
|
|
|
+ } else{
|
|
|
+ Notify.error(_self.$t('lang.Notify.dataDictionaryError'), successData.errorMessage, true);
|
|
|
}
|
|
|
}, errorData => {
|
|
|
Common.processException(errorData);
|