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 20e45c352fefe5b05f1b4a5915495847909fc2a0 (refs/remotes/origin/test) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f 20e45c352fefe5b05f1b4a5915495847909fc2a0 # timeout=10 Commit message: "feat: 合并master代码" > /usr/local/git/bin/git rev-list --no-walk 20e45c352fefe5b05f1b4a5915495847909fc2a0 # timeout=10 [badp-bcxin-web-5.x-vue] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins4127129434753108247.sh + cd /data/jenkins/workspace/badp-bcxin-web-5.x-vue + npm install up to date in 3s 123 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... Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme WARNING Compiled with 10 warnings1:19:34 PM Module Warning (from ./node_modules/eslint-loader/index.js): error: Elements in iteration expect to have 'v-bind:key' directives (vue/require-v-for-key) at src/components/approvers.vue:206:29: 204 | :style="{'display':(item.fileList)?'block':'none'}"> 205 | 附件: > 206 | | ^ 207 | {{its.name}} 208 | 209 | error: 'index' is defined but never used (vue/no-unused-vars) at src/components/approvers.vue:206:60: 204 | :style="{'display':(item.fileList)?'block':'none'}"> 205 | 附件: > 206 | | ^ 207 | {{its.name}} 208 | 209 | 2 errors found. Module Warning (from ./node_modules/eslint-loader/index.js): error: Expected to return a value in "field" computed property (vue/return-in-computed-property) at src/components/o_button.vue:66:12: 64 | props: ["id"], 65 | computed: { > 66 | field: function () { | ^ 67 | let formData = this.$parent.findField(this.id); 68 | let data = {}; 69 | switch (formData.activity.type) { 1 error found. Module Warning (from ./node_modules/eslint-loader/index.js): error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:579:5: 577 | }, 578 | created(){ > 579 | console.log('props', this.$props) | ^ 580 | }, 581 | beforeCreate(){ 582 | error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:610:9: 608 | return 609 | } > 610 | console.log('e', e) | ^ 611 | let form=new FormData(); 612 | form.append("files",e.file) 613 | console.log(form) error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:613:9: 611 | let form=new FormData(); 612 | form.append("files",e.file) > 613 | console.log(form) | ^ 614 | form.forEach(function (value, key) { 615 | if (value instanceof File) { 616 | form.set(key, value, value.name.replace(/ /g, ''))//去掉文件名称所有空格 error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:636:17: 634 | { 635 | onSucess: response => { > 636 | console.log(response.data.data) | ^ 637 | if(response.data.data.length){ 638 | let obj={ 639 | name:response.data.data[0].fileName, error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:658:12: 656 | }, 657 | (res)=>{ > 658 | console.log(res) | ^ 659 | }, 660 | e.file.uid, 661 | error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:665:9: 663 | }, 664 | obsFile(e){//obs文件上传 > 665 | console.log(e) | ^ 666 | //去掉文件名称空格start 667 | let form = new FormData(); 668 | form.append("files", e.file); error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:675:4: 673 | }) 674 | form.get('files') > 675 | console.log(form.get('files')) | ^ 676 | e.file=form.get('files') 677 | //去掉文件名称空格end 678 | error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:701:5: 699 | SourceFile:e.file //获取file文件 700 | }).then(function(result) { > 701 | console.log(result) | ^ 702 | 703 | if(result.CommonMsg.Status < 300){ 704 | error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:705:6: 703 | if(result.CommonMsg.Status < 300){ 704 | > 705 | console.log('Create object:' + objectKey + ' successfully!\n'); | ^ 706 | var httpurl=`https://${BucketName}.${urlserver}/${objectKey}` 707 | 708 | let uploadTime = ''; error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:735:8: 733 | }, 734 | handleRemove(file, fileList){ > 735 | console.log(file) | ^ 736 | this.fileList.forEach((item,index)=>{ 737 | if(item.uid == file.uid){ 738 | this.fileList.splice(index,1) error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:744:6: 742 | handleExceed(files, fileList) { //文件超出个数限制时的钩子 743 | if(this.field.limitNumber=="1"){//上传限制一张用覆盖的方式重新上传 > 744 | console.log(files[0]) | ^ 745 | files[0].uid=new Date().getTime() 746 | this.fileList=[] 747 | let e={file:files[0]} error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:862:11: 860 | viewId: "", 861 | }; > 862 | console.log("-3---->", document); | ^ 863 | this.$api.InitiateWorkFlow(appId, docId, document, { 864 | onSucess: (response) => { 865 | let status; error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:1323:7: 1321 | //保存重新编辑的意见 1322 | updateSuggestion() { > 1323 | console.log("更新编辑的数据-->"); | ^ 1324 | console.log(this.inputSecond); 1325 | let opinion = this.inputSecond; 1326 | if(!opinion) { error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:1324:7: 1322 | updateSuggestion() { 1323 | console.log("更新编辑的数据-->"); > 1324 | console.log(this.inputSecond); | ^ 1325 | let opinion = this.inputSecond; 1326 | if(!opinion) { 1327 | this.$message({ error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:1362:11: 1360 | API.deleteMostUseSuggestion(employeeId, opId, { 1361 | onSucess: (response) => { > 1362 | console.log(response.data.data); | ^ 1363 | //后台返回500,未执行以下步骤 1364 | if (response.data.data) { 1365 | let delId = response.data.data.id; error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:1381:7: 1379 | //添加意见 1380 | addSuggestion() { > 1381 | console.log(this.input); | ^ 1382 | const employeeId = localStorage.getItem("employeeId") || this.$store.state.userId ; 1383 | 1384 | let opinion = this.input; error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:1387:11: 1385 | API.AddMostUseSuggestion(employeeId, opinion, { 1386 | onSucess: (response) => { > 1387 | console.log(response.data.data); | ^ 1388 | let newSuggest = response.data.data; 1389 | this.allSuggests.push(newSuggest); 1390 | this.input = ""; error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:1809:25: 1807 | let subUserids = '' 1808 | if(s.subFlowApproverData && s.subFlowApproverData.approver && s.subFlowApproverData.approver.length > 0) { > 1809 | console.log("subFlowApproverData-->",s.subFlowApproverData) | ^ 1810 | s.subFlowApproverData.approver[0].userids.forEach(el => { 1811 | subUserids += el + ";"; 1812 | }); error: Unexpected 'debugger' statement (no-debugger) at src/components/form_new_flowpanel.vue:2060:7: 2058 | let docId = formData.id; 2059 | // 这里多加上 上传附件 > 2060 | debugger | ^ 2061 | allData.fileList = this.fileList 2062 | let document = allData; 2063 | error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:2179:9: 2177 | ); 2178 | } catch (error) { > 2179 | console.log(error); | ^ 2180 | } 2181 | 2182 | }, error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:2186:7: 2184 | //隐藏小意见框 2185 | hiddenSuggest() { > 2186 | console.log("隐藏小意见框"); | ^ 2187 | this.isOrSuggest = !this.isOrSuggest; 2188 | }, 2189 | error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:2280:9: 2278 | viewId: "", 2279 | }; > 2280 | console.log(document) | ^ 2281 | API.getFlowPanel(appId, docId, document, { 2282 | onSucess: (response) => { 2283 | let nodesArr = response.data.data.nextNodes; 22 errors found. Module Warning (from ./node_modules/eslint-loader/index.js): error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:387:9: 385 | listUp(index) { 386 | if (index == 0) { > 387 | console.log("最顶部-->"); | ^ 388 | } else { 389 | let arr = this.field.value; 390 | arr[index] = arr.splice(index - 1, 1, arr[index])[0]; error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:397:9: 395 | listDown(index) { 396 | if (index == this.field.value.length - 1) { > 397 | console.log("最底部-->"); | ^ 398 | } else { 399 | let arr = this.field.value; 400 | arr[index] = arr.splice(index + 1, 1, arr[index])[0]; error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:419:4: 417 | 418 | uploadImg(e){ > 419 | console.log(e.file) | ^ 420 | //obs文件上传start 421 | if(__network__){ 422 | this.obsFile(e)//obs文件上传 error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:668:5: 666 | } 667 | link.href = op + "/runtime/file/download?filename=" + encodeURI(file.name) + "&filepath=" + file.path+'&v='+new Date().getTime(); > 668 | console.log(link.href) | ^ 669 | link.setAttribute('download', file.name); 670 | link.click(); 671 | } error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:676:6: 674 | handleExceed(files, fileList) { //文件超出个数限制时的钩子 675 | if(this.field.limitNumber=="1"){//上传限制一张用覆盖的方式重新上传 > 676 | console.log(files[0]) | ^ 677 | files[0].uid=new Date().getTime() 678 | this.field.value=[] 679 | let e={file:files[0]} error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:850:4: 848 | }) 849 | form.get('files') > 850 | console.log(form.get('files')) | ^ 851 | e.file=form.get('files') 852 | //去掉文件名称空格end 853 | error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:876:5: 874 | SourceFile:e.file //获取file文件 875 | }).then(function(result) { > 876 | console.log(result) | ^ 877 | 878 | if(result.CommonMsg.Status < 300){ 879 | error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:880:6: 878 | if(result.CommonMsg.Status < 300){ 879 | > 880 | console.log('Create object:' + objectKey + ' successfully!\n'); | ^ 881 | var httpurl=`https://${BucketName}.${urlserver}/${objectKey}` 882 | httpurl = convertCdnPath(httpurl); 883 | // let ob = {}; 8 errors found. Module Warning (from ./node_modules/eslint-loader/index.js): error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:310:4: 308 | } 309 | > 310 | console.log("formData.value-->",formData.value) | ^ 311 | 312 | 313 | if(formData.value && formData.value.length > 0) { error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:463:4: 461 | 462 | uploadSuccess(response, file, fileList) { > 463 | console.log(file); | ^ 464 | console.log(fileList); 465 | let obj = { 466 | name: response.data[0].fileName, error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:464:4: 462 | uploadSuccess(response, file, fileList) { 463 | console.log(file); > 464 | console.log(fileList); | ^ 465 | let obj = { 466 | name: response.data[0].fileName, 467 | path: response.data[0].filePath, error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:569:4: 567 | 568 | handleRemove(file, fileList) { > 569 | console.log("file--->",file); | ^ 570 | console.log(fileList); 571 | let appId = this.$root.appid; 572 | let formId = this.field.formId; error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:570:4: 568 | handleRemove(file, fileList) { 569 | console.log("file--->",file); > 570 | console.log(fileList); | ^ 571 | let appId = this.$root.appid; 572 | let formId = this.field.formId; 573 | let docId = this.field.docId; error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:584:7: 582 | } 583 | } > 584 | console.log("this.field.value--->",this.field.value); | ^ 585 | } 586 | if (this.field.refreshOnChanged){ 587 | // this.$parent.refresh(this.field.id); error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:696:9: 694 | 695 | obsFile(e){//obs文件上传 > 696 | console.log(e) | ^ 697 | //去掉文件名称空格start 698 | let form = new FormData(); 699 | form.append("files", e.file); error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:706:4: 704 | }) 705 | form.get('files') > 706 | console.log(form.get('files')) | ^ 707 | e.file=form.get('files') 708 | //去掉文件名称空格end 709 | error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:732:5: 730 | SourceFile:e.file //获取file文件 731 | }).then(function(result) { > 732 | console.log(result) | ^ 733 | 734 | if(result.CommonMsg.Status < 300){ 735 | error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:736:6: 734 | if(result.CommonMsg.Status < 300){ 735 | > 736 | console.log('Create object:' + objectKey + ' successfully!\n'); | ^ 737 | var httpurl=`https://${BucketName}.${urlserver}/${objectKey}` 738 | httpurl = convertCdnPath(httpurl); 739 | 10 errors found. Module Warning (from ./node_modules/eslint-loader/index.js): error: Unexpected console statement (no-console) at src/components/view_delegate.vue:460:7: 458 | init(isCloseDialog) { 459 | // debugger > 460 | console.log(this.jumpParams); | ^ 461 | let op = this.openParams; 462 | let exparams = {}; 463 | if (op.exparams) { error: Unexpected console statement (no-console) at src/components/view_delegate.vue:676:7: 674 | //包含元素弹出层和当前页打开都是使用这个刷新 675 | closeDialog(isSave) { > 676 | console.log(this.viewType) | ^ 677 | this.$refs.delegate.reloadListView(); 678 | if (!isSave) { 679 | this.dialogVisible = false; error: Unexpected console statement (no-console) at src/components/view_delegate.vue:724:9: 722 | } 723 | if ((st && st == "tab") || (st && st == "include")) { > 724 | console.log(exparams); | ^ 725 | console.log(5455); 726 | //如果是控件选项卡 727 | exparams.parentId = op.parentId; error: Unexpected console statement (no-console) at src/components/view_delegate.vue:725:9: 723 | if ((st && st == "tab") || (st && st == "include")) { 724 | console.log(exparams); > 725 | console.log(5455); | ^ 726 | //如果是控件选项卡 727 | exparams.parentId = op.parentId; 728 | exparams.isRelate = op.isRelate; error: Unexpected console statement (no-console) at src/components/view_delegate.vue:730:7: 728 | exparams.isRelate = op.isRelate; 729 | } > 730 | console.info('delegate 1', appId); | ^ 731 | this.$api.getViewTemplate(appId, viewId, exparams, { 732 | onSucess: (response) => { 733 | // alert(88) error: Unexpected console statement (no-console) at src/components/view_delegate.vue:736:11: 734 | this.loading = true; 735 | > 736 | console.info('response', response); | ^ 737 | if (response.data.data) { 738 | if (!response.data.data.activities) { 739 | //后台配置的视图操作按钮为0 error: Unexpected 'debugger' statement (no-debugger) at src/components/view_delegate.vue:1519:19: 1517 | break; 1518 | case 16: //导出excel > 1519 | debugger | ^ 1520 | this.isBlockClick = false; 1521 | this.currentClickBtnAct = act; 1522 | let excelColumns = []; error: Unexpected console statement (no-console) at src/components/view_delegate.vue:1525:19: 1523 | let columns = this.copyColumns; 1524 | let selectAll = []; > 1525 | console.log(columns) | ^ 1526 | for (let i = 0; i < columns.length; i++) { 1527 | if (columns[i].visible4ExpExcel) { 1528 | excelColumns.push(columns[i]); error: Unexpected console statement (no-console) at src/components/view_delegate.vue:1775:13: 1773 | if (res.data.errcode === 0) { 1774 | let url = res.data.data.content; > 1775 | console.log(url); | ^ 1776 | let queryString = act.dispatcherParams; 1777 | let isForm = url.search("form.html") != -1; //兼容good的url的写法(后期改) 1778 | let isView = url.search("view.html") != -1; //兼容good的url的写法(后期改) error: Unexpected console statement (no-console) at src/components/view_delegate.vue:1796:13: 1794 | let isExternalLink = false; 1795 | > 1796 | console.log("编辑流程"); | ^ 1797 | console.log(url); 1798 | if (url && url.indexOf("processHtmlTem.html") > -1) { 1799 | API.softwareApplication(this.openParams.appId, { error: Unexpected console statement (no-console) at src/components/view_delegate.vue:1797:13: 1795 | 1796 | console.log("编辑流程"); > 1797 | console.log(url); | ^ 1798 | if (url && url.indexOf("processHtmlTem.html") > -1) { 1799 | API.softwareApplication(this.openParams.appId, { 1800 | onSucess: (res) => { error: Unexpected console statement (no-console) at src/components/view_delegate.vue:1881:21: 1879 | if (isOpenCurrentSoftwareData) { 1880 | let formParams = ""; > 1881 | console.log(obj); | ^ 1882 | for (let key in obj) { 1883 | if ( 1884 | key != "name" && error: Unexpected 'debugger' statement (no-debugger) at src/components/view_delegate.vue:2272:9: 2270 | } 2271 | } > 2272 | debugger | ^ 2273 | console.log(view) 2274 | if (view.searchFormId != undefined) { 2275 | //高级查询 error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2273:9: 2271 | } 2272 | debugger > 2273 | console.log(view) | ^ 2274 | if (view.searchFormId != undefined) { 2275 | //高级查询 2276 | let sfd = this.$refs.delegate.getSearchformBuildData(); error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2277:11: 2275 | //高级查询 2276 | let sfd = this.$refs.delegate.getSearchformBuildData(); > 2277 | console.log('sfd', sfd) | ^ 2278 | console.log('sd', sd) 2279 | sd = Object.assign(sd, sfd);//导出全部--获取高筛搜索条件sfd 2280 | obj.items = sd; error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2278:11: 2276 | let sfd = this.$refs.delegate.getSearchformBuildData(); 2277 | console.log('sfd', sfd) > 2278 | console.log('sd', sd) | ^ 2279 | sd = Object.assign(sd, sfd);//导出全部--获取高筛搜索条件sfd 2280 | obj.items = sd; 2281 | } error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2302:17: 2300 | window.clearInterval(this.task); 2301 | } > 2302 | console.log(excelRowCount); | ^ 2303 | if (excelRowCount == 10000) { 2304 | process = 100; 2305 | this.$message({ error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2385:7: 2383 | 2384 | onAction(act) { > 2385 | console.log(act); | ^ 2386 | //绑定视图的处理事件 2387 | let actId = act.id; 2388 | let activityType = act.type; error: Unexpected 'debugger' statement (no-debugger) at src/components/view_delegate.vue:2668:7: 2666 | formData = { ...formData, ...this.$route.query }; 2667 | } > 2668 | debugger | ^ 2669 | let divId = act.id; 2670 | let actType = act.type; 2671 | error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2810:19: 2808 | let columns = this.copyColumns; 2809 | let selectAll = []; > 2810 | console.log(columns) | ^ 2811 | for (let i = 0; i < columns.length; i++) { 2812 | if (columns[i].visible4ExpExcel) { 2813 | excelColumns.push(columns[i]); 20 errors found. Module Warning (from ./node_modules/eslint-loader/index.js): error: Unexpected console statement (no-console) at src/components/view_mapview.vue:275:11: 273 | ls.search(currentLocation); 274 | ls.setSearchCompleteCallback(function (rs) { > 275 | console.log(rs); | ^ 276 | if (rs.Hr) { 277 | let point = rs.Hr[0].point; 278 | that.center = { error: Unexpected console statement (no-console) at src/components/view_mapview.vue:285:9: 283 | }); 284 | > 285 | console.log( | ^ 286 | this.openParams.appId, 287 | this.view.id, 288 | "_____________________" error: Unexpected console statement (no-console) at src/components/view_mapview.vue:303:15: 301 | // let myGeo = new BMap.Geocoder(); 302 | let view = this.view; > 303 | console.log( | ^ 304 | view, 305 | viewData, 306 | "###################################" error: Unexpected console statement (no-console) at src/components/view_mapview.vue:331:17: 329 | } 330 | } catch (error) { > 331 | console.log(error); | ^ 332 | } 333 | 334 | this.$nextTick(() => { error: Unexpected console statement (no-console) at src/components/view_mapview.vue:337:19: 335 | setTimeout(() => { 336 | this.viewDataList = viewData; > 337 | console.log( | ^ 338 | this.viewDataList, 339 | "###############%@#%@#%@#%@#%#@" 340 | ); error: Unexpected console statement (no-console) at src/components/view_mapview.vue:473:7: 471 | }, 472 | zoomEnd(e) { > 473 | console.log(e); | ^ 474 | this.zoom = e.target.getZoom(); 475 | }, 476 | //右键放大 error: Unexpected console statement (no-console) at src/components/view_mapview.vue:486:7: 484 | this.zoom = 19; 485 | } > 486 | console.log(this.zoom); | ^ 487 | }, 488 | //右键缩小 489 | reduceMap(e) { error: Unexpected console statement (no-console) at src/components/view_mapview.vue:507:7: 505 | //有问题,隐藏 506 | this.markerHidden = false; > 507 | console.log(BMap); | ^ 508 | console.log(map); 509 | }, 510 | infoWindowClose() { error: Unexpected console statement (no-console) at src/components/view_mapview.vue:508:7: 506 | this.markerHidden = false; 507 | console.log(BMap); > 508 | console.log(map); | ^ 509 | }, 510 | infoWindowClose() { 511 | this.currentShowId = ""; error: Unexpected console statement (no-console) at src/components/view_mapview.vue:538:7: 536 | searchBox(e) { 537 | this.isActive = !this.isActive; > 538 | console.log(e); | ^ 539 | }, 540 | Delete(id) { 541 | let that = this; error: Unexpected console statement (no-console) at src/components/view_mapview.vue:542:7: 540 | Delete(id) { 541 | let that = this; > 542 | console.log("删除", id); | ^ 543 | let arr = []; 544 | arr.push(id); 545 | this.$api.batchRemoveDocuments(this.openParams.appId, arr, { 11 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 in ./src/main.js Module Warning (from ./node_modules/thread-loader/dist/cjs.js): /data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/main.js 361:3 error Unexpected console statement no-console 366:9 error Unexpected console statement no-console 380:3 error Unexpected console statement no-console ✖ 3 problems (3 errors, 0 warnings) @ multi ./src/main.js 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.3025686d.js (3.43 MiB) js/app.67ed0aa4.js (4.5 MiB) iwebapp/pdfjs/core/pdf.js (584 KiB) iwebapp/pdfjs/core/pdf.worker.js (723 KiB) iwebapp/pdfjs/pdf-34bd0a9d29.viewer.js (1.36 MiB) 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) 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.map (751 KiB) pdf/word/pdfjs/web/viewer.js (655 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.93 MiB) js/about.3025686d.js js/app.67ed0aa4.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.67ed0aa4.js 4604.19 KiB 888.49 KiB dist/js/about.3025686d.js 3515.42 KiB 1019.70 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.96 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-5d6b8caa.94619290.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/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.6bf82c87.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/js/chunk-2d0aaba3.43d33297.js 1.95 KiB 0.87 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/js/chunk-f90c670c.d526e087.js 1.70 KiB 0.91 KiB 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