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 origin/test^{commit} # timeout=10 Checking out Revision 8d7668d4111aef8d0c6768377154c632c394626e (origin/test) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f 8d7668d4111aef8d0c6768377154c632c394626e # timeout=10 Commit message: "Merge branch 'feat-移动端适配' into test" > /usr/local/git/bin/git rev-list --no-walk a076ef261de60b9a5703ecd0b65a011ca28b243a # timeout=10 [badp-bcxin-web-5.x-vue] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins2536043074594303740.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 2s 249 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 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 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 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 warnings6:32:03 PM Module Warning (from ./node_modules/eslint-loader/index.js): error: Unexpected console statement (no-console) at src/components/excel_upload.vue:400:19: 398 | errMessage += arr[i] + '\n' 399 | } > 400 | console.log("errMessage-->",errMessage) | ^ 401 | // this.$notify.error({ 402 | // title: response.data.errmsg, 403 | // message: `${errMessage}` 1 error 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://${process.env.VUE_APP_OBS_BUCKETNAME}.${process.env.VUE_APP_OBS_URL_SERVER}/${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:311:4: 309 | } 310 | > 311 | console.log("formData.value-->",formData.value) | ^ 312 | 313 | 314 | if(formData.value && formData.value.length > 0) { error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:464:4: 462 | 463 | uploadSuccess(response, file, fileList) { > 464 | console.log(file); | ^ 465 | console.log(fileList); 466 | let obj = { 467 | name: response.data[0].fileName, error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:465:4: 463 | uploadSuccess(response, file, fileList) { 464 | console.log(file); > 465 | console.log(fileList); | ^ 466 | let obj = { 467 | name: response.data[0].fileName, 468 | path: response.data[0].filePath, error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:570:4: 568 | 569 | handleRemove(file, fileList) { > 570 | console.log("file--->",file); | ^ 571 | console.log(fileList); 572 | let appId = this.$root.appid; 573 | let formId = this.field.formId; error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:571:4: 569 | handleRemove(file, fileList) { 570 | console.log("file--->",file); > 571 | console.log(fileList); | ^ 572 | let appId = this.$root.appid; 573 | let formId = this.field.formId; 574 | let docId = this.field.docId; error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:585:7: 583 | } 584 | } > 585 | console.log("this.field.value--->",this.field.value); | ^ 586 | } 587 | if (this.field.refreshOnChanged){ 588 | // this.$parent.refresh(this.field.id); error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:670:4: 668 | return false 669 | } > 670 | console.log("当前的network=",__network__); | ^ 671 | 672 | if(__network__){//obs文件上传不走下面代码 673 | return error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:697:9: 695 | 696 | obsFile(e){//obs文件上传 > 697 | console.log(e) | ^ 698 | //去掉文件名称空格start 699 | let form = new FormData(); 700 | form.append("files", e.file); error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:707:4: 705 | }) 706 | form.get('files') > 707 | console.log(form.get('files')) | ^ 708 | e.file=form.get('files') 709 | //去掉文件名称空格end 710 | error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:733:5: 731 | SourceFile:e.file //获取file文件 732 | }).then(function(result) { > 733 | console.log(result) | ^ 734 | 735 | if(result.CommonMsg.Status < 300){ 736 | error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:737:6: 735 | if(result.CommonMsg.Status < 300){ 736 | > 737 | console.log('Create object:' + objectKey + ' successfully!\n'); | ^ 738 | var httpurl=`https://${process.env.VUE_APP_OBS_BUCKETNAME}.${process.env.VUE_APP_OBS_URL_SERVER}/${objectKey}` 739 | httpurl = convertCdnPath(httpurl); 740 | 11 errors found. Module Warning (from ./node_modules/eslint-loader/index.js): error: Unexpected console statement (no-console) at src/components/o_user_select.vue:606:11: 604 | onSucess: (res) => { 605 | this.tableData = res.data.data; > 606 | console.log(this.tableData); | ^ 607 | }, 608 | }); 609 | }, error: Unexpected console statement (no-console) at src/components/o_user_select.vue:715:7: 713 | this.selectedUsers = arrID; 714 | this.selectedUsersList = arr; > 715 | console.log("this.selectedUsersList---->", this.selectedUsersList); | ^ 716 | }, 717 | 718 | /** error: Unexpected console statement (no-console) at src/components/o_user_select.vue:831:7: 829 | //加载更多在线用户 830 | onlinesLoadingMore() { > 831 | console.log(111); | ^ 832 | this.loadingIcon = true; 833 | let pageSize = 10; 834 | API.getOnlines(this.onlinesPage++, pageSize, { 3 errors found. Module Warning (from ./node_modules/eslint-loader/index.js): error: Unexpected console statement (no-console) at src/components/pop.vue:68:7: 66 | this.formList = newRowData; //拷贝一份存储对象引用不同地址 67 | this.OperType = type; > 68 | console.log(this.formList.parentId) | ^ 69 | if (this.OperType == 0) { 70 | this.title = this.agreementTitle; 71 | 1 error found. Module Warning (from ./node_modules/eslint-loader/index.js): error: Unexpected console statement (no-console) at src/components/qrcodeDialog.vue:83:15: 81 | }, 82 | onError: (error) => { > 83 | console.error("获取paas_token失败:", error); | ^ 84 | reject(error); 85 | } 86 | }); error: Unexpected console statement (no-console) at src/components/qrcodeDialog.vue:140:9: 138 | return false; 139 | } catch (error) { > 140 | console.error("获取邀请码失败:", error); | ^ 141 | this.savingInviteCode = false; 142 | return false; 143 | } error: Unexpected console statement (no-console) at src/components/qrcodeDialog.vue:188:13: 186 | }, 187 | onError: (error) => { > 188 | console.error("查询已有邀请码失败:", error); | ^ 189 | resolve(null); 190 | } 191 | }); error: Unexpected console statement (no-console) at src/components/qrcodeDialog.vue:222:13: 220 | }, 221 | onError: (error) => { > 222 | console.error("保存邀请码失败:", error); | ^ 223 | 224 | // 检查是否是邀请码重复错误 225 | if (error.response && error.response.data) { 4 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:1779:13: 1777 | if (res.data.errcode === 0) { 1778 | let url = res.data.data.content; > 1779 | console.log(url); | ^ 1780 | let queryString = act.dispatcherParams; 1781 | let isForm = url.search("form.html") != -1; //兼容good的url的写法(后期改) 1782 | let isView = url.search("view.html") != -1; //兼容good的url的写法(后期改) error: Unexpected console statement (no-console) at src/components/view_delegate.vue:1800:13: 1798 | let isExternalLink = false; 1799 | > 1800 | console.log("编辑流程"); | ^ 1801 | console.log(url); 1802 | if (url && url.indexOf("processHtmlTem.html") > -1) { 1803 | API.softwareApplication(this.openParams.appId, { error: Unexpected console statement (no-console) at src/components/view_delegate.vue:1801:13: 1799 | 1800 | console.log("编辑流程"); > 1801 | console.log(url); | ^ 1802 | if (url && url.indexOf("processHtmlTem.html") > -1) { 1803 | API.softwareApplication(this.openParams.appId, { 1804 | onSucess: (res) => { error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2269:9: 2267 | let sc = this.excelSelectList; 2268 | let selectColumns = sc && sc.length > 0 ? sc.join(",") : ""; > 2269 | console.log('导出', exparams) | ^ 2270 | let obj = { 2271 | selectColumns, 2272 | selectDocIds: selectDocId, error: Unexpected 'debugger' statement (no-debugger) at src/components/view_delegate.vue:2290:9: 2288 | } 2289 | } > 2290 | debugger | ^ 2291 | console.log(view) 2292 | if (view.searchFormId != undefined) { 2293 | //高级查询 error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2291:9: 2289 | } 2290 | debugger > 2291 | console.log(view) | ^ 2292 | if (view.searchFormId != undefined) { 2293 | //高级查询 2294 | let sfd = this.$refs.delegate.getSearchformBuildData(); error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2295:11: 2293 | //高级查询 2294 | let sfd = this.$refs.delegate.getSearchformBuildData(); > 2295 | console.log('sfd', sfd) | ^ 2296 | console.log('sd', sd) 2297 | sd = Object.assign(sd, sfd);//导出全部--获取高筛搜索条件sfd 2298 | obj.items = sd; error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2296:11: 2294 | let sfd = this.$refs.delegate.getSearchformBuildData(); 2295 | console.log('sfd', sfd) > 2296 | console.log('sd', sd) | ^ 2297 | sd = Object.assign(sd, sfd);//导出全部--获取高筛搜索条件sfd 2298 | obj.items = sd; 2299 | } error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2320:17: 2318 | window.clearInterval(this.task); 2319 | } > 2320 | console.log(excelRowCount); | ^ 2321 | if (excelRowCount == 10000) { 2322 | process = 100; 2323 | this.$message({ error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2403:7: 2401 | 2402 | onAction(act) { > 2403 | console.log(act); | ^ 2404 | //绑定视图的处理事件 2405 | let actId = act.id; 2406 | let activityType = act.type; error: Unexpected 'debugger' statement (no-debugger) at src/components/view_delegate.vue:2686:7: 2684 | formData = { ...formData, ...this.$route.query }; 2685 | } > 2686 | debugger | ^ 2687 | let divId = act.id; 2688 | let actType = act.type; 2689 | error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2828:19: 2826 | let columns = this.copyColumns; 2827 | let selectAll = []; > 2828 | console.log(columns) | ^ 2829 | for (let i = 0; i < columns.length; i++) { 2830 | if (columns[i].visible4ExpExcel) { 2831 | excelColumns.push(columns[i]); 20 errors found. Module Warning (from ./node_modules/eslint-loader/index.js): error: Unexpected side effect in "template" computed property (vue/no-side-effects-in-computed-properties) at src/components/form_normalform.vue:378:11: 376 | 377 | if (!data.formTemplate.template) { > 378 | this.isShowFormActivity = false; | ^ 379 | return { 380 | components: { authority }, 381 | template: "
", error: Unexpected console statement (no-console) at src/components/form_normalform.vue:433:7: 431 | let that=this; 432 | window.addEventListener('message',function(e){//监听弹窗关闭-bcx > 433 | console.log('e',e) | ^ 434 | if(e.data){ 435 | that.jumpPopup=false 436 | } error: Unexpected console statement (no-console) at src/components/form_normalform.vue:448:7: 446 | // 处理include-control 自动增大逻辑 447 | handleIncludeControlBug() { > 448 | console.log('触发了') | ^ 449 | this.timeIds.forEach(id => { 450 | clearInterval(id) 451 | }) error: Unexpected console statement (no-console) at src/components/form_normalform.vue:463:7: 461 | }, 462 | handleIncludeControlRefresh(controls, cb) { > 463 | console.log('controls', controls) | ^ 464 | // resize 计算会走这里 465 | // include可能原本就被隐藏 这里要集合 466 | let affectedIncludeControls = [] error: Unexpected console statement (no-console) at src/components/form_normalform.vue:473:7: 471 | } 472 | }) > 473 | console.log('affectedIncludeControls获取Dom对象', affectedIncludeControls) | ^ 474 | this.$nextTick(() => { 475 | cb() //这个执行的是handleIncludeControlComputed(controls)(); 476 | affectedIncludeControls.forEach(itm => { error: Unexpected console statement (no-console) at src/components/form_normalform.vue:483:9: 481 | handleIncludeControlComputed(controls) { 482 | controls.forEach(item => { > 483 | console.log('item.parentNode', item.parentNode) | ^ 484 | let pw = item.parentNode.clientWidth - (parseFloat(getComputedStyle(item.parentNode).paddingLeft) + parseFloat(getComputedStyle(item.parentNode).paddingRight)) 485 | console.log('pw', pw) 486 | if (pw > 0) { error: Unexpected console statement (no-console) at src/components/form_normalform.vue:485:9: 483 | console.log('item.parentNode', item.parentNode) 484 | let pw = item.parentNode.clientWidth - (parseFloat(getComputedStyle(item.parentNode).paddingLeft) + parseFloat(getComputedStyle(item.parentNode).paddingRight)) > 485 | console.log('pw', pw) | ^ 486 | if (pw > 0) { 487 | item.style.width = pw + 'px' //增加父元素固定宽度'.include-control' 与 '.tab-control' 488 | } else { error: Unexpected console statement (no-console) at src/components/form_normalform.vue:490:13: 488 | } else { 489 | let id = setTimeout(() => { > 490 | console.log(111) | ^ 491 | // resize 计算会走这里 492 | // include可能原本就被隐藏 这里要集合 493 | if (item.style.display !== 'none') { error: Unexpected console statement (no-console) at src/components/form_normalform.vue:500:15: 498 | } 499 | this.$nextTick(() => { > 500 | console.log('bb', parseFloat(getComputedStyle(item.parentNode).paddingLeft)); | ^ 501 | let pw = item.parentNode.clientWidth - (parseFloat(getComputedStyle(item.parentNode).paddingLeft) + parseFloat(getComputedStyle(item.parentNode).paddingRight)) 502 | if (pw > 0) { 503 | console.log('item.parentNode', item.parentNode) error: Unexpected console statement (no-console) at src/components/form_normalform.vue:503:17: 501 | let pw = item.parentNode.clientWidth - (parseFloat(getComputedStyle(item.parentNode).paddingLeft) + parseFloat(getComputedStyle(item.parentNode).paddingRight)) 502 | if (pw > 0) { > 503 | console.log('item.parentNode', item.parentNode) | ^ 504 | item.style.width = pw + 'px' //增加父元素固定宽度'.include-control' 与 '.tab-control' 505 | item.style.display = "block" 506 | clearInterval(id) error: Unexpected console statement (no-console) at src/components/form_normalform.vue:609:15: 607 | signatureid, 608 | function (data) { > 609 | console.log(data); | ^ 610 | } 611 | ); 612 | break; error: Unexpected console statement (no-console) at src/components/form_normalform.vue:774:7: 772 | initForm({ appId, formId, docId }) { 773 | let openParams = this.openParams; > 774 | console.log(docId); | ^ 775 | if (openParams.appId) { 776 | this.$root.appid = openParams.appId; //如果有多个软件,当从首页进入表单,需要把当前页当前数据的appId赋值给全局变量,否则有可能导致软件的appId拿错 777 | } error: Unexpected console statement (no-console) at src/components/form_normalform.vue:799:9: 797 | obj = this.setParams(openParams.urlParams, obj); 798 | } > 799 | console.log("获取表单。。。"); | ^ 800 | API.getForm( 801 | appId, 802 | formId, error: Unexpected console statement (no-console) at src/components/form_normalform.vue:938:29: 936 | signatureid, 937 | function (data) { > 938 | console.log(data); | ^ 939 | } 940 | ); 941 | break; error: Unexpected console statement (no-console) at src/components/form_normalform.vue:996:21: 994 | for (let i = 0; i < data.fields.length; i++) { 995 | if (data.fields[i].isModified) { > 996 | console.log("111", showLog); | ^ 997 | showLog = true; 998 | break; 999 | } error: Unexpected console statement (no-console) at src/components/form_normalform.vue:1179:7: 1177 | params = { ...params, ...this.$route.query }; 1178 | } > 1179 | console.log(params); | ^ 1180 | API.getForm(appId, formId, docId, params, { 1181 | onSucess: (res) => { 1182 | let fd = res.data.data; error: Unexpected console statement (no-console) at src/components/form_normalform.vue:1236:19: 1234 | //表单嵌套tab判断传递参数 1235 | fields[i].exparams = op.exparams; > 1236 | console.log(fields[i].exparams); | ^ 1237 | } 1238 | if (fields[i].tabs && fields[i].tabs.length > 0) { 1239 | for (let j = 0; j < fields[i].tabs.length; j++) { error: Unexpected console statement (no-console) at src/components/form_normalform.vue:1470:19: 1468 | fields.forEach((f, i) => { 1469 | if (field.id == f.id) { > 1470 | console.log(fields[i].type); | ^ 1471 | fields[i].value = field.value; //只能更新value,而不能简单做对象替换,field.value绑定在组件v-model上,如果直接替换只是数组内存指针简单变更 1472 | fields[i].options = field.options; 1473 | fields[i].tabs = field.tabs; error: Unexpected console statement (no-console) at src/components/form_normalform.vue:1511:7: 1509 | 1510 | handleClose(done) { > 1511 | console.log('done',done) | ^ 1512 | done(); 1513 | if (this.isDialogOpenExternalLink) { 1514 | let appId = this.openParams.appId; error: Unexpected console statement (no-console) at src/components/form_normalform.vue:2405:15: 2403 | } 2404 | } else if (response.data.errcode == 0) {//请求成功返回 > 2405 | console.log('response.data', response.data) | ^ 2406 | console.log('activityType', activityType) 2407 | if (response.data.actionStep === 'AfterAction' && activityType == 34) {//activityType=34才提示 2408 | this.$message({ type: 'success', message: '操作成功' }) error: Unexpected console statement (no-console) at src/components/form_normalform.vue:2406:15: 2404 | } else if (response.data.errcode == 0) {//请求成功返回 2405 | console.log('response.data', response.data) > 2406 | console.log('activityType', activityType) | ^ 2407 | if (response.data.actionStep === 'AfterAction' && activityType == 34) {//activityType=34才提示 2408 | this.$message({ type: 'success', message: '操作成功' }) 2409 | } error: Unexpected console statement (no-console) at src/components/form_normalform.vue:2591:7: 2589 | doSave(num, actId, withOld, subDoc, act) { 2590 | // debugger > 2591 | console.log(777); | ^ 2592 | let openParams = this.openParams; 2593 | let that = this; 2594 | let transferrData = ""; error: Unexpected console statement (no-console) at src/components/form_normalform.vue:3456:13: 3454 | API.executeCustom(appId, actId, obj, params, { 3455 | onSucess: (res) => { > 3456 | console.log(res); | ^ 3457 | let errcode = res.data.errcode; 3458 | if (errcode == 0) { 3459 | let errmsg = act.name + this.$t("success"); 23 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) img/大屏图片.adbf5de7.jpg (1.17 MiB) fonts/Source Han Sans CN Regular.d1fb7855.woff (5.1 MiB) img/fontawesome-webfont.912ec66d.svg (434 KiB) img/background.646883a5.jpg (363 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.a357ab65.js (2.83 MiB) js/app.cfafd487.js (4.81 MiB) js/chunk-720230dc.2f48f60d.js (408 KiB) js/rail.3a48f649.js (2.49 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-34bd0a9d29.viewer.js (1.36 MiB) 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 (655 KiB) pdf/word/pdfjs/web/viewer.js.map (751 KiB) UEditor/jsp/lib/commons-codec-1.9.jar (258 KiB) 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) pdf/word/iWebOffice2015.cab (12.4 MiB) 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.64 MiB) js/about.a357ab65.js js/app.cfafd487.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.cfafd487.js 4928.58 KiB 973.60 KiB dist/js/about.a357ab65.js 2893.96 KiB 824.29 KiB dist/js/rail.3a48f649.js 2551.01 KiB 848.75 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/js/chunk-720230dc.2f48f60d.js 407.73 KiB 133.31 KiB 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/js/chunk-381941e5.40d14043.js 39.03 KiB 9.74 KiB dist/UEditor/ueditor.parse.js 35.91 KiB 7.93 KiB dist/js/certificate.ea7d9e8b.js 34.39 KiB 8.79 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/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/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/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/js/obsConfig.js 0.93 KiB 0.58 KiB dist/UEditor/third-party/highcharts/mo 0.52 KiB 0.37 KiB dules/heatmap.js dist/js/obpm.config.js 0.33 KiB 0.24 KiB 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-vue + cp -r dist /data/workspace/badp-bcxin-web-5.x-vue + chmod 755 /data/workspace/badp-bcxin-web-5.x-vue -R Finished: SUCCESS