Started by user unknown or anonymous Running as SYSTEM Building in workspace /data/jenkins/workspace/badp-bcxin-web-5.x-vue The recommended git tool is: NONE using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/badp-bcxin-web-5.x-vue/.git # timeout=10 Fetching changes from the remote Git repository > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-vue.git # timeout=10 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-vue.git > /usr/local/git/bin/git --version # timeout=10 > git --version # 'git version 2.43.0' using GIT_ASKPASS to set credentials gitlab凭据 > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-vue.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 Checking out Revision cacb9c6ebb67086789fe72773964665893af4369 (refs/remotes/origin/test) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f cacb9c6ebb67086789fe72773964665893af4369 # timeout=10 Commit message: "fix: 修正电子围栏多边形图层为线段图层并优化坐标数据处理" > /usr/local/git/bin/git rev-list --no-walk 9aa609ffe0f2e2a1915b1943e1655e660455d501 # timeout=10 [badp-bcxin-web-5.x-vue] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins17362081568407119214.sh + cd /data/jenkins/workspace/badp-bcxin-web-5.x-vue + npm install npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'gcoord@1.0.7', npm WARN EBADENGINE required: { node: '>=16.11.0' }, npm WARN EBADENGINE current: { node: 'v16.0.0', npm: '7.10.0' } npm WARN EBADENGINE } up to date in 3s 257 packages are looking for funding run `npm fund` for details + npm run build > hello-world@0.1.0 build > vue-cli-service build - Building for production... DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 3 │ @import 'public'; │ ^^^^^^^^ ╵ stdin 3:9 root stylesheet DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 4 │ @import 'forms'; │ ^^^^^^^ ╵ stdin 4:9 root stylesheet DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 5 │ @import '_view'; │ ^^^^^^^ ╵ stdin 5:9 root stylesheet DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 6 │ @import '_activity'; │ ^^^^^^^^^^^ ╵ stdin 6:9 root stylesheet DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 7 │ @import '_flowPanel'; │ ^^^^^^^^^^^^ ╵ stdin 7:9 root stylesheet DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import "home_variables"; //首页自定义皮肤变量 │ ^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import "home_variables"; //首页自定义皮肤变量 │ ^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [mixed-decls]: Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested rule. To opt into the new behavior, wrap the declaration in `& {}`. More info: https://sass-lang.com/d/mixed-decls ╷ 3477 │ ┌ .icon-log { 3478 │ │ position: absolute; 3479 │ │ bottom: -16px; 3480 │ │ left: 0; 3481 │ │ z-index: 999; 3482 │ │ cursor: pointer; 3483 │ │ 3484 │ │ } │ └─── nested rule 3485 │ position: relative; │ ^^^^^^^^^^^^^^^^^^ declaration ╵ src/assets/style/_forms.scss 3485:7 @import stdin 4:9 root stylesheet WARNING: 18 repetitive deprecation warnings omitted. WARNING Compiled with 3 warnings2:12:36 PM Module Warning (from ./node_modules/@vue/cli-plugin-eslint/node_modules/eslint-loader/index.js): error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:177:9: 175 | clickRail(evt, feature) { 176 | if (feature) { > 177 | console.log(feature); | ^ 178 | const rails = feature.get("features"); 179 | if (rails && rails.length === 1) { 180 | this.showRailInfoFromList = false; error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:183:11: 181 | const rail = rails[0]; 182 | const info = rail.get("props"); > 183 | console.log("clickRailInfo", info); | ^ 184 | this.showRailInfo({ info }); 185 | } else { 186 | if (feature.get("props")) { error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:189:13: 187 | this.showRailInfoFromList = false; 188 | const info = feature.get("props"); > 189 | console.log("clickRailInfo", info); | ^ 190 | this.showRailInfo({ info }); 191 | } else { 192 | // 如果是聚合点就下钻一级 error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:202:7: 200 | 201 | onRailLayerChange(features) { > 202 | console.log(features); | ^ 203 | if (features && features.length === 1) { 204 | const feature = features[0]; 205 | const type = feature.get("type"); error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:207:11: 205 | const type = feature.get("type"); 206 | if (type && !this.showRailInfoFromList) { > 207 | console.log(type); | ^ 208 | if (type === "polygon" || type === "Polygon") { 209 | const geometry = feature.get("geometry"); 210 | // const view = this.$refs.map.map.getView(); error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:273:7: 271 | this.electronicFenceInfo = JSON.parse(JSON.stringify(this.info)); 272 | this.electronicFenceInfo = {}; > 273 | console.log(this.station); | ^ 274 | this.$nextTick(() => { 275 | this.$refs.electronicFenceEdit.updateStation({ 276 | stationName: this.station.name, error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:288:7: 286 | */ 287 | async electronicFenceEditFn({ data }) { > 288 | console.log("编辑某条电子围栏", data); | ^ 289 | this.showRailInfoFromList = true; 290 | // this.map.clearMap(); 291 | this.isElectronicFenceDialog = false; error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:296:7: 294 | const rail = await getRailDetailAccess(data.id); 295 | this.info = { ...rail, ...this.electronicFenceInfo }; // 弹框信息 > 296 | console.log(this.info); | ^ 297 | this.isElectronicFenceEditDialog = true; 298 | // 显示可编辑围栏区域 299 | this.showMapEditor(data); error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:302:7: 300 | }, 301 | delElectronic(data) { > 302 | console.log(data); | ^ 303 | let params = { 304 | id: data.data.id, 305 | }; error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:308:11: 306 | deleteRailAccess(params) 307 | .then((res) => { > 308 | console.log("deleteRailAccess", res); | ^ 309 | this.$refs["electronicFence"].getRails(); 310 | this.$message({ 311 | message: "删除成功", error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:316:11: 314 | }) 315 | .catch((err) => { > 316 | console.log(err); | ^ 317 | }); 318 | }, 319 | error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:331:11: 329 | }) 330 | .then((res) => { > 331 | console.log("searchRail", res); | ^ 332 | if (res) { 333 | this.electronicFenceData = res; 334 | } else { error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:373:7: 371 | showPolygonEditor({ geos }) { 372 | let list = geos.map((item) => [item.lon, item.lat]); > 373 | console.log(list); | ^ 374 | this.layers.railLayer.features = [ 375 | { 376 | type: "polygon", error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:387:7: 385 | center: list[0], 386 | }); > 387 | console.log(this.layers.railLayer.features); | ^ 388 | }, 389 | showCribEditor({ geos }) { 390 | let list = geos.map((item) => [item.lon, item.lat]); error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:391:7: 389 | showCribEditor({ geos }) { 390 | let list = geos.map((item) => [item.lon, item.lat]); > 391 | console.log(list); | ^ 392 | this.layers.railLayer.features = [ 393 | { 394 | type: "polygon", error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:405:7: 403 | center: list[0], 404 | }); > 405 | console.log(this.layers.railLayer.features); | ^ 406 | }, 407 | showCircleEditor({ geos, radius }) { 408 | const [center] = geos.map((item) => [item.lon, item.lat]); error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:409:7: 407 | showCircleEditor({ geos, radius }) { 408 | const [center] = geos.map((item) => [item.lon, item.lat]); > 409 | console.log(center); | ^ 410 | this.layers.railLayer.features = [ 411 | { 412 | type: "Circle", error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:426:7: 424 | }, 425 | drawRail(type) { > 426 | console.log("drawRail", type); | ^ 427 | // this.layers.railLayer.features = [] 428 | this.drawType = type; 429 | }, error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:432:7: 430 | drawend(evt, map) { 431 | const { feature } = evt; > 432 | console.log(this.drawType); | ^ 433 | this.layers.railLayer.features = []; // 清空上一个电子围栏 434 | const geometry = feature.getGeometry(); 435 | if (this.drawType === "Rectangle" || this.drawType === "Polygon") { error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:440:9: 438 | return utils.convertCoordinate(coordinate, "84-gd"); 439 | }); > 440 | console.log(coordinates); | ^ 441 | console.log(convertCoordinates); 442 | const params = { 443 | geos: convertCoordinates.map((item) => { error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:441:9: 439 | }); 440 | console.log(coordinates); > 441 | console.log(convertCoordinates); | ^ 442 | const params = { 443 | geos: convertCoordinates.map((item) => { 444 | return { error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:450:9: 448 | }), 449 | }; > 450 | console.log(params); | ^ 451 | this.$refs.electronicFenceEdit.updateGeometry(params); 452 | } else if (this.drawType === "Circle") { 453 | const center = geometry.getCenter(); error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:454:9: 452 | } else if (this.drawType === "Circle") { 453 | const center = geometry.getCenter(); > 454 | console.log(center); | ^ 455 | const geoRadius = geometry.getRadius(); // 半径 456 | const metersPerUnit = map.getView().getProjection().getMetersPerUnit(); // 半径以米为单位 457 | const radius = (geoRadius * metersPerUnit).toFixed(2); error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:458:9: 456 | const metersPerUnit = map.getView().getProjection().getMetersPerUnit(); // 半径以米为单位 457 | const radius = (geoRadius * metersPerUnit).toFixed(2); > 458 | console.log(radius); | ^ 459 | const convertCoordinates = utils.convertCoordinate(center, "84-gd"); 460 | const params = { 461 | geos: [ error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:469:9: 467 | radius, 468 | }; > 469 | console.log(params); | ^ 470 | this.$refs.electronicFenceEdit.updateGeometry(params); 471 | } 472 | }, error: Unexpected console statement (no-console) at src/views/ElectronicFence.vue:481:8: 479 | onSucess: (res) => { 480 | let list = res.data.data.map(item => [item.longitude, item.latitude]); > 481 | console.log('list',list) | ^ 482 | this.layers.stationLayer.features = [ 483 | { 484 | type: "polyline", 26 errors found. You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable */ to ignore all warnings in a file. warning asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. Assets: fonts/Source Han Sans CN Regular.552b3917.eot (8.14 MiB) fonts/Source Han Sans CN Regular.d1fb7855.woff (5.1 MiB) img/fontawesome-webfont.912ec66d.svg (434 KiB) fonts/Source Han Sans CN Regular.50f2d6d6.ttf (8.14 MiB) img/Source Han Sans CN Regular.63d44fde.svg (17.8 MiB) js/about.dc96db9c.js (2.9 MiB) js/app.6755812d.js (4.51 MiB) js/rail.9ef790ff.js (1.88 MiB) iwebapp/pdfjs/core/pdf.js (584 KiB) iwebapp/pdfjs/core/pdf.worker.js (723 KiB) js/esdk-obs-browserjs.min.js (304 KiB) pdf/word/pdfjs/build/pdf.js (774 KiB) iwebapp/pdfjs/pdf-8cc3ba5958.viewer.js (1.37 MiB) iwebapp/pdfjs/pdf-34bd0a9d29.viewer.js (1.36 MiB) pdf/word/pdfjs/build/pdf.js.map (1.48 MiB) pdf/word/pdfjs/build/pdf.worker.js (1.66 MiB) pdf/word/pdfjs/build/pdf.worker.js.map (3.39 MiB) pdf/word/pdfjs/web/viewer.js (655 KiB) pdf/word/pdfjs/web/viewer.js.map (751 KiB) UEditor/jsp/lib/commons-codec-1.9.jar (258 KiB) pdf/word/iWebOffice2015.cab (12.4 MiB) UEditor/third-party/highcharts/highcharts.src.js (434 KiB) UEditor/third-party/jquery-1.10.2.js (267 KiB) UEditor/third-party/snapscreen/UEditorSnapscreen.exe (508 KiB) UEditor/ueditor.all.min.js (373 KiB) UEditor/ueditor.all.js (1.06 MiB) warning entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance. Entrypoints: app (7.4 MiB) js/about.dc96db9c.js js/app.6755812d.js File Size Gzipped dist/UEditor/ueditor.all.min.js 373.46 KiB 100.76 KiB dist/js/esdk-obs-browserjs.min.js 303.80 KiB 78.74 KiB dist/iwebapp/pdfjs/jquery-1.11.3.min.j 93.71 KiB 32.54 KiB s dist/js/jquery-1.11.3.min.js 93.71 KiB 32.54 KiB dist/pdf/word/jquery.min.js 93.54 KiB 32.48 KiB dist/UEditor/third-party/jquery-1.10.2 90.92 KiB 32.06 KiB .min.js dist/js/swiper.min.js 64.88 KiB 16.44 KiB dist/UEditor/third-party/webuploader/w 56.91 KiB 18.66 KiB ebuploader.min.js dist/UEditor/third-party/webuploader/w 45.99 KiB 14.37 KiB ebuploader.html5only.min.js dist/UEditor/third-party/webuploader/w 45.81 KiB 15.77 KiB ebuploader.custom.min.js dist/UEditor/third-party/webuploader/w 38.87 KiB 12.03 KiB ebuploader.withoutimage.min.js dist/UEditor/third-party/webuploader/w 32.81 KiB 10.64 KiB ebuploader.flashonly.min.js dist/UEditor/third-party/xss.min.js 27.11 KiB 6.38 KiB dist/pdf/word/viewer.min.js 20.21 KiB 6.41 KiB dist/UEditor/third-party/zeroclipboard 18.51 KiB 6.52 KiB /ZeroClipboard.min.js dist/pdf/word/sweetalert.min.js 16.58 KiB 5.29 KiB dist/pdf/word/toastr.min.js 16.47 KiB 3.19 KiB dist/iwebapp/pdfjs/require.min.js 14.86 KiB 6.08 KiB dist/pdf/word/require.min.js 14.86 KiB 6.08 KiB dist/UEditor/ueditor.parse.min.js 14.45 KiB 5.01 KiB dist/js/app.6755812d.js 4614.25 KiB 889.52 KiB dist/js/about.dc96db9c.js 2965.91 KiB 848.27 KiB dist/js/rail.9ef790ff.js 1924.66 KiB 650.15 KiB dist/pdf/word/pdfjs/build/pdf.worker.j 1700.94 KiB 322.13 KiB s dist/iwebapp/pdfjs/pdf-8cc3ba5958.view 1404.33 KiB 367.49 KiB er.js dist/iwebapp/pdfjs/pdf-34bd0a9d29.view 1397.68 KiB 362.42 KiB er.js dist/UEditor/ueditor.all.js 1086.60 KiB 213.79 KiB dist/pdf/word/pdfjs/build/pdf.js 774.32 KiB 145.03 KiB dist/iwebapp/pdfjs/core/pdf.worker.js 723.11 KiB 213.91 KiB dist/pdf/word/pdfjs/web/viewer.js 654.78 KiB 99.17 KiB dist/iwebapp/pdfjs/core/pdf.js 584.12 KiB 161.00 KiB dist/UEditor/third-party/highcharts/hi 433.95 KiB 123.75 KiB ghcharts.src.js dist/UEditor/third-party/jquery-1.10.2 266.80 KiB 79.12 KiB .js dist/UEditor/third-party/webuploader/w 226.46 KiB 48.94 KiB ebuploader.js dist/UEditor/third-party/video-js/vide 212.98 KiB 56.36 KiB o.dev.js dist/UEditor/third-party/webuploader/w 193.52 KiB 43.01 KiB ebuploader.custom.js dist/UEditor/third-party/webuploader/w 182.25 KiB 39.11 KiB ebuploader.html5only.js dist/UEditor/third-party/SyntaxHighlig 155.77 KiB 43.52 KiB hter/shCore.js dist/UEditor/third-party/codemirror/co 154.89 KiB 35.91 KiB demirror.js dist/UEditor/third-party/webuploader/w 148.40 KiB 31.44 KiB ebuploader.withoutimage.js dist/UEditor/third-party/highcharts/hi 137.55 KiB 50.63 KiB ghcharts.js dist/UEditor/third-party/webuploader/w 135.64 KiB 29.89 KiB ebuploader.flashonly.js dist/pdf/word/WebOffice.js 135.19 KiB 30.89 KiB dist/UEditor/dialogs/image/image.js 125.19 KiB 55.10 KiB dist/pdf/word/iWebOffice2015.js 112.08 KiB 50.77 KiB dist/UEditor/third-party/highcharts/mo 98.32 KiB 22.42 KiB dules/canvas-tools.src.js dist/js/china.js 61.26 KiB 43.82 KiB dist/iwebapp/pdfjs/stamp/laydate/layda 58.98 KiB 15.29 KiB te.js dist/UEditor/third-party/highcharts/hi 58.77 KiB 16.33 KiB ghcharts-more.src.js dist/UEditor/third-party/highcharts/mo 56.52 KiB 15.35 KiB dules/canvas-tools.js dist/UEditor/third-party/video-js/vide 54.09 KiB 16.62 KiB o.js dist/UEditor/dialogs/wordimage/tangram 46.41 KiB 12.48 KiB .js dist/UEditor/third-party/zeroclipboard 42.20 KiB 9.15 KiB /ZeroClipboard.js dist/UEditor/ueditor.parse.js 35.91 KiB 7.93 KiB dist/pdf/word/util.js 30.10 KiB 8.77 KiB dist/UEditor/dialogs/video/video.js 29.78 KiB 7.62 KiB dist/UEditor/dialogs/attachment/attach 29.67 KiB 6.63 KiB ment.js dist/UEditor/lang/en/en.js 28.72 KiB 8.24 KiB dist/pdf/word/l10n.js 28.57 KiB 8.09 KiB dist/UEditor/dialogs/scrawl/scrawl.js 26.51 KiB 5.97 KiB dist/UEditor/lang/zh-cn/zh-cn.js 25.88 KiB 8.55 KiB dist/UEditor/third-party/highcharts/mo 25.16 KiB 7.84 KiB dules/map.src.js dist/UEditor/ueditor.config.js 22.75 KiB 8.44 KiB dist/UEditor/third-party/highcharts/hi 21.30 KiB 7.91 KiB ghcharts-more.js dist/pdf/word/pdfjs/web/debugger.js 18.48 KiB 4.89 KiB dist/pdf/word/compatibility.js 17.70 KiB 5.38 KiB dist/UEditor/third-party/highcharts/mo 16.86 KiB 5.73 KiB dules/exporting.src.js dist/UEditor/third-party/highcharts/mo 15.14 KiB 4.81 KiB dules/data.src.js dist/UEditor/dialogs/background/backgr 14.04 KiB 3.56 KiB ound.js dist/pdf/word/tray.js 12.95 KiB 3.86 KiB dist/iwebapp/pdfjs/require.config.js 12.60 KiB 3.15 KiB dist/pdf/word/require.config.js 12.38 KiB 3.05 KiB dist/UEditor/dialogs/template/config.j 12.19 KiB 2.50 KiB s dist/UEditor/third-party/highcharts/ad 11.38 KiB 3.82 KiB apters/standalone-framework.src.js dist/UEditor/dialogs/charts/charts.js 10.89 KiB 3.34 KiB dist/UEditor/third-party/highcharts/mo 10.69 KiB 3.16 KiB dules/drilldown.src.js dist/UEditor/third-party/highcharts/mo 9.88 KiB 4.03 KiB dules/map.js dist/UEditor/dialogs/table/edittable.j 8.72 KiB 2.01 KiB s dist/UEditor/third-party/highcharts/ad 8.72 KiB 3.18 KiB apters/prototype-adapter.src.js dist/UEditor/third-party/highcharts/mo 8.18 KiB 2.56 KiB dules/annotations.src.js dist/UEditor/dialogs/music/music.js 7.64 KiB 2.16 KiB dist/UEditor/third-party/highcharts/ad 7.61 KiB 2.91 KiB apters/mootools-adapter.src.js dist/pdf/word/watermark.js 7.55 KiB 1.90 KiB dist/js/chunk-5542956f.948de053.js 7.09 KiB 2.23 KiB dist/UEditor/third-party/highcharts/mo 7.08 KiB 3.07 KiB dules/exporting.js dist/UEditor/third-party/highcharts/mo 6.38 KiB 2.33 KiB dules/funnel.src.js dist/UEditor/dialogs/emotion/emotion.j 6.15 KiB 2.03 KiB s dist/UEditor/third-party/highcharts/mo 5.42 KiB 1.95 KiB dules/drilldown.js dist/UEditor/third-party/highcharts/ad 4.95 KiB 2.15 KiB apters/standalone-framework.js dist/UEditor/dialogs/spechars/spechars 4.56 KiB 2.37 KiB .js dist/UEditor/third-party/highcharts/th 4.38 KiB 1.21 KiB emes/gray.js dist/UEditor/third-party/highcharts/mo 4.33 KiB 1.89 KiB dules/data.js dist/UEditor/dialogs/searchreplace/sea 4.30 KiB 1.27 KiB rchreplace.js dist/UEditor/third-party/highcharts/th 4.25 KiB 1.20 KiB emes/dark-blue.js dist/UEditor/third-party/highcharts/th 4.24 KiB 1.21 KiB emes/dark-green.js dist/UEditor/dialogs/wordimage/wordima 4.05 KiB 1.95 KiB ge.js dist/js/chunk-36958f06.148bd038.js 3.57 KiB 1.48 KiB dist/UEditor/third-party/highcharts/mo 3.32 KiB 1.52 KiB dules/annotations.js dist/UEditor/third-party/highcharts/ad 3.23 KiB 1.33 KiB apters/prototype-adapter.js dist/js/chunk-2d2163d7.ef5a6647.js 3.02 KiB 0.85 KiB dist/UEditor/third-party/highcharts/mo 2.79 KiB 1.12 KiB dules/no-data-to-display.src.js dist/UEditor/dialogs/internal.js 2.54 KiB 0.98 KiB dist/UEditor/third-party/highcharts/ad 2.21 KiB 1.06 KiB apters/mootools-adapter.js dist/pdf/word/obpm.showMessage.js 2.09 KiB 0.74 KiB dist/UEditor/third-party/highcharts/mo 1.93 KiB 1.08 KiB dules/funnel.js dist/UEditor/third-party/highcharts/th 1.75 KiB 0.65 KiB emes/grid.js dist/UEditor/third-party/highcharts/th 1.72 KiB 0.64 KiB emes/skies.js dist/UEditor/dialogs/template/template 1.55 KiB 0.67 KiB .js dist/UEditor/dialogs/help/help.js 1.47 KiB 0.70 KiB dist/UEditor/dialogs/charts/chart.conf 1.38 KiB 0.44 KiB ig.js dist/js/obpm.config.js 1.36 KiB 0.57 KiB dist/js/obsConfig.js 1.33 KiB 0.70 KiB dist/UEditor/third-party/highcharts/mo 1.33 KiB 0.70 KiB dules/no-data-to-display.js dist/UEditor/third-party/highcharts/mo 1.10 KiB 0.49 KiB dules/heatmap.src.js dist/UEditor/third-party/highcharts/mo 0.52 KiB 0.37 KiB dules/heatmap.js dist/iwebapp/pdfjs/viewer-df538bd63b.c 111.81 KiB 18.55 KiB ss dist/iwebapp/pdfjs/viewer-afb3d53c48.c 111.71 KiB 18.53 KiB ss dist/pdf/word/pdfjs/web/viewer.css 58.42 KiB 9.25 KiB dist/UEditor/themes/default/css/uedito 42.73 KiB 6.84 KiB r.css dist/UEditor/themes/default/css/uedito 34.12 KiB 5.53 KiB r.min.css dist/UEditor/third-party/video-js/vide 20.82 KiB 5.45 KiB o-js.css dist/UEditor/dialogs/image/image.css 17.71 KiB 3.46 KiB dist/UEditor/dialogs/video/video.css 14.57 KiB 3.10 KiB dist/UEditor/dialogs/attachment/attach 14.05 KiB 2.81 KiB ment.css dist/UEditor/third-party/video-js/vide 11.18 KiB 2.53 KiB o-js.min.css dist/iwebapp/pdfjs/stamp/laydate/theme 9.16 KiB 2.21 KiB /default/laydate.css dist/UEditor/third-party/SyntaxHighlig 6.95 KiB 1.31 KiB hter/shCoreDefault.css dist/UEditor/dialogs/scrawl/scrawl.css 3.73 KiB 0.97 KiB dist/UEditor/third-party/codemirror/co 2.82 KiB 0.90 KiB demirror.css dist/UEditor/dialogs/charts/charts.css 2.54 KiB 0.81 KiB dist/UEditor/dialogs/background/backgr 2.34 KiB 0.87 KiB ound.css dist/UEditor/dialogs/emotion/emotion.c 1.76 KiB 0.53 KiB ss dist/UEditor/themes/default/dialogbase 1.65 KiB 0.81 KiB .css dist/UEditor/dialogs/music/music.css 1.64 KiB 0.63 KiB dist/UEditor/dialogs/table/edittable.c 1.16 KiB 0.41 KiB ss dist/UEditor/dialogs/template/template 1.01 KiB 0.49 KiB .css dist/UEditor/third-party/webuploader/w 0.50 KiB 0.29 KiB ebuploader.css dist/UEditor/dialogs/help/help.css 0.38 KiB 0.20 KiB dist/UEditor/themes/iframe.css 0.04 KiB 0.06 KiB Images and other types of assets omitted. DONE Build complete. The dist directory is ready to be deployed. INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html + rm -rf /data/workspace/badp-bcxin-web-5.x-static/badp-bcxin-web-5.x-vue + cp -r dist /data/workspace/badp-bcxin-web-5.x-static/badp-bcxin-web-5.x-vue Finished: SUCCESS