|
|
@ -11,19 +11,9 @@ export default class OpenTool extends Tool{ |
|
|
|
window.parent.postMessage({'goback': -1},'*') |
|
|
|
} |
|
|
|
getTitle(){ |
|
|
|
return `${window.i18n.openFile}`; |
|
|
|
return `返回`; |
|
|
|
} |
|
|
|
getIcon(){ |
|
|
|
return `<img src='${window._contextPath}/ureport/res/ureport-asserts/icons/back.svg' width="22px" height="22px">`; |
|
|
|
} |
|
|
|
// buildButton(){
|
|
|
|
// const btn=$(`<button type="button" class="btn btn-default" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 5px;" title="${this.getTitle()}">
|
|
|
|
// ${this.getIcon()}
|
|
|
|
// </button>`);
|
|
|
|
// const _this=this;
|
|
|
|
// btn.click(function(){
|
|
|
|
// _this.execute();
|
|
|
|
// });
|
|
|
|
// return btn;
|
|
|
|
// }
|
|
|
|
} |