| | |
| | | Nowheight: 5, |
| | | Nowrotate: 0, |
| | | beginBOXTailoring: function (pro) { |
| | | console.log(`${this.name}--kaishi`); |
| | | // console.log(`${this.name}--kaishi`); |
| | | $("#beginBOXTailoringG").unbind("click"); |
| | | $("#customBOXTailoring").unbind("click"); |
| | | $("#clearboxBOXTailoring").unbind("click"); |
| | | var that = this; |
| | | var promise = window.mySanweiShujuOpens[pro.id]; |
| | | // var promise = window.mySanweiShujuOpens; |
| | |
| | | if (!boxEntity) { |
| | | return; |
| | | } |
| | | // console.log(135.4135) |
| | | if (!isBegin) { |
| | | layer.tips('请先添加盒子', '#beginBOXTailoringG', { |
| | | tips: [3, 'red'] |
| | |
| | | }, |
| | | promise: 'null', |
| | | closesBOXTailoring: function (froms) { |
| | | console.log(`${this.name}--guanbi`); |
| | | // console.log(`${this.name}--guanbi`); |
| | | var that = this; |
| | | if (that.promise != 'null') { |
| | | Cesium.when(that.promise, function (layers) { |