| | |
| | | var that = this; |
| | | // 暴露在外的接口 |
| | | |
| | | topic.subscribe("closeOnceUse", lang.hitch(this, this.closeOnceUse)); |
| | | |
| | | function createTooltip(frameDiv) {//抄录createTooltip函数 |
| | | |
| | | var tooltip = function (frameDiv) { |
| | |
| | | name: '地形开挖', |
| | | classs: 'digTheEarth-tool', |
| | | img: './images/addL/pdpx.png' |
| | | }, {//方量分析//做好 |
| | | name: '方量分析', |
| | | classs: 'volumeAnalysis-tool', |
| | | img: './images/addL/pdpx.png' |
| | | } |
| | | , |
| | | {//建造模型 |
| | |
| | | {//清除模型 |
| | | name: '清除模型', |
| | | classs: 'modesssss2222', |
| | | img: './images/addL/pdpx.png' |
| | | } |
| | | , {//地形开挖,//做好 |
| | | name: '地形开挖', |
| | | classs: 'digTheEarth-tool', |
| | | img: './images/addL/pdpx.png' |
| | | }, {//方量分析//做好 |
| | | name: '方量分析', |
| | | classs: 'volumeAnalysis-tool', |
| | | img: './images/addL/pdpx.png' |
| | | } |
| | | ]; |
| | |
| | | if ($(".jimu-widget-digTheEarth").is(":visible")) {//判断是否隐藏 |
| | | $(".jimu-widget-digTheEarth").hide(); |
| | | topic.publish('closesDigTheEarth'); |
| | | console.log('dakai ') |
| | | } |
| | | |
| | | //关闭方量贩分析 |