@@ -113,7 +113,7 @@ export class GetGridCellInfosService extends CommonServiceBase {
113113 } ,
114114 processFailed : function ( result ) {
115115 if ( ( eventId === result . error . eventId || eventId === result . eventId ) && callback ) {
116- callback && callback ( result ) ;
116+ callback ( result ) ;
117117 }
118118 }
119119 }
@@ -124,16 +124,16 @@ export class GetGridCellInfosService extends CommonServiceBase {
124124 method : "GET" ,
125125 data : null ,
126126 scope : me ,
127- success ( result ) {
127+ success ( result , options ) {
128128 result . eventId = eventId ;
129- successFun ( result , callback ) ;
129+ successFun ( result , options , callback ) ;
130130 } ,
131- failure ( result ) {
131+ failure ( result , options ) {
132132 if ( result . error ) {
133133 result . error . eventId = eventId ;
134134 }
135135 result . eventId = eventId ;
136- failedFunc ( result ) ;
136+ failedFunc ( result , options ) ;
137137 }
138138 } ) ;
139139 }
@@ -143,7 +143,7 @@ export class GetGridCellInfosService extends CommonServiceBase {
143143 * @description 数据集查询完成,执行此方法。
144144 * @param {Object } result - 服务器返回的结果对象。
145145 */
146- getDatasetInfoCompleted ( result , callback ) {
146+ getDatasetInfoCompleted ( result , options , callback ) {
147147 var me = this ;
148148 result = Util . transformResult ( result ) ;
149149 me . datasetType = result . datasetInfo . type ;
@@ -152,7 +152,7 @@ export class GetGridCellInfosService extends CommonServiceBase {
152152
153153 /**
154154 * @function GetGridCellInfosService.prototype.queryGridInfos
155- * @description 执行服务,查询数据集栅格信息信息 。
155+ * @description 执行服务,查询数据集栅格信息 。
156156 */
157157 queryGridInfos ( callback ) {
158158 var me = this ;
@@ -169,8 +169,8 @@ export class GetGridCellInfosService extends CommonServiceBase {
169169 * @description 数据集查询失败,执行此方法。
170170 * @param {Object } result - 服务器返回的结果对象。
171171 */
172- getDatasetInfoFailed ( result ) {
172+ getDatasetInfoFailed ( result , options ) {
173173 var me = this ;
174- me . serviceProcessFailed ( result ) ;
174+ me . serviceProcessFailed ( result , options ) ;
175175 }
176176}
0 commit comments