20:17:17 Started by user unknown or anonymous
20:17:17 Running as SYSTEM
20:17:17 Building in workspace /data/jenkins/workspace/badp-bcxin-web-5.x-vue
20:17:17 The recommended git tool is: NONE
20:17:17 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
20:17:17 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/badp-bcxin-web-5.x-vue/.git # timeout=10
20:17:17 Fetching changes from the remote Git repository
20:17:17 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-vue.git # timeout=10
20:17:17 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-vue.git
20:17:17 > /usr/local/git/bin/git --version # timeout=10
20:17:17 > git --version # 'git version 2.43.0'
20:17:17 using GIT_ASKPASS to set credentials gitlab凭据
20:17:17 > /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
20:17:18 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10
20:17:18 Checking out Revision b004b4209a8e9db7714b27901eb28b8ff6c94942 (refs/remotes/origin/test)
20:17:18 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
20:17:18 > /usr/local/git/bin/git checkout -f b004b4209a8e9db7714b27901eb28b8ff6c94942 # timeout=10
20:17:18 Commit message: "Merge branch 'feat-试卷管理' into test"
20:17:18 > /usr/local/git/bin/git rev-list --no-walk 59fd9e9b7ff08903d9128fe6e9e3b6b5fc283729 # timeout=10
20:17:18 [badp-bcxin-web-5.x-vue] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins1526715723699082775.sh
20:17:18 + cd /data/jenkins/workspace/badp-bcxin-web-5.x-vue
20:17:18 + npm install
20:17:20 npm WARN ERESOLVE overriding peer dependency
20:17:20 npm WARN Found: echarts@4.9.0
20:17:20 npm WARN node_modules/echarts
20:17:20 npm WARN echarts@"^4.9.0" from the root project
20:17:20 npm WARN 1 more (v-ol-map)
20:17:20 npm WARN
20:17:20 npm WARN Could not resolve dependency:
20:17:20 npm WARN peer echarts@">=5.0.0" from ol-echarts@4.0.1
20:17:20 npm WARN node_modules/ol-echarts
20:17:20 npm WARN ol-echarts@"^4.0.1" from v-ol-map@1.17.9
20:17:20 npm WARN node_modules/v-ol-map
20:17:22 npm WARN EBADENGINE Unsupported engine {
20:17:22 npm WARN EBADENGINE package: 'gcoord@1.0.7',
20:17:22 npm WARN EBADENGINE required: { node: '>=16.11.0' },
20:17:22 npm WARN EBADENGINE current: { node: 'v16.0.0', npm: '7.10.0' }
20:17:22 npm WARN EBADENGINE }
20:17:23
20:17:23 up to date in 5s
20:17:23
20:17:23 249 packages are looking for funding
20:17:23 run `npm fund` for details
20:17:23 + npm run build
20:17:23
20:17:23 > hello-world@0.1.0 build
20:17:23 > vue-cli-service build
20:17:23
20:17:23
20:17:23 - Building for production...
20:17:28 Browserslist: caniuse-lite is outdated. Please run:
20:17:28 npx update-browserslist-db@latest
20:17:28 Why you should do it regularly: https://github.com/browserslist/update-db#readme
20:17:28 Browserslist: caniuse-lite is outdated. Please run:
20:17:28 npx update-browserslist-db@latest
20:17:28 Why you should do it regularly: https://github.com/browserslist/update-db#readme
20:17:30 Browserslist: caniuse-lite is outdated. Please run:
20:17:30 npx update-browserslist-db@latest
20:17:30 Why you should do it regularly: https://github.com/browserslist/update-db#readme
20:17:30 Browserslist: caniuse-lite is outdated. Please run:
20:17:30 npx update-browserslist-db@latest
20:17:30 Why you should do it regularly: https://github.com/browserslist/update-db#readme
20:17:30 Browserslist: caniuse-lite is outdated. Please run:
20:17:30 npx update-browserslist-db@latest
20:17:30 Why you should do it regularly: https://github.com/browserslist/update-db#readme
20:17:33 Browserslist: caniuse-lite is outdated. Please run:
20:17:33 npx update-browserslist-db@latest
20:17:33 Why you should do it regularly: https://github.com/browserslist/update-db#readme
20:17:55 WARNING Compiled with 4 warnings8:17:55 PM
20:17:55
20:17:55 Module Warning (from ./node_modules/eslint-loader/index.js):
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:454:9:
20:17:55 452 | this.getList()
20:17:55 453 | } catch (error) {
20:17:55 > 454 | console.error('初始化数据失败:', error)
20:17:55 | ^
20:17:55 455 | this.$message.error('初始化数据失败')
20:17:55 456 | } finally {
20:17:55 457 | this.loading = false
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:482:11:
20:17:55 480 | this.$api.getOrganizationIndustry({
20:17:55 481 | onSucess: response => {
20:17:55 > 482 | console.log('当前组织所属行业', response.data.data)
20:17:55 | ^
20:17:55 483 | this.industryOptions = response.data.data.map(item => ({
20:17:55 484 | value: item.id,
20:17:55 485 | label: item.name,
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:490:11:
20:17:55 488 | },
20:17:55 489 | onError: error => {
20:17:55 > 490 | console.log(error)
20:17:55 | ^
20:17:55 491 | }
20:17:55 492 | })
20:17:55 493 | },
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:499:11:
20:17:55 497 | this.$api.getOrganizationRegion({
20:17:55 498 | onSucess: response => {
20:17:55 > 499 | console.log('当前组织所属地区', response.data.data)
20:17:55 | ^
20:17:55 500 | this.queryParams.regionCode = RegionUtil.getRegionCodeArrayByDistrictCode(response.data.data[0].districtcode)
20:17:55 501 | this.queryParams.region = RegionUtil.getFullRegionByDistrictCode(response.data.data[0].districtcode)
20:17:55 502 | },
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:504:11:
20:17:55 502 | },
20:17:55 503 | onError: error => {
20:17:55 > 504 | console.log(error)
20:17:55 | ^
20:17:55 505 | }
20:17:55 506 | })
20:17:55 507 | },
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:521:11:
20:17:55 519 | label: item.name,
20:17:55 520 | }))
20:17:55 > 521 | console.log('industryOptions', this.industryOptions)
20:17:55 | ^
20:17:55 522 | },
20:17:55 523 | onError: error => {
20:17:55 524 | console.log(error)
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:524:11:
20:17:55 522 | },
20:17:55 523 | onError: error => {
20:17:55 > 524 | console.log(error)
20:17:55 | ^
20:17:55 525 | }
20:17:55 526 | })
20:17:55 527 | },
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:542:11:
20:17:55 540 | label: item.name,
20:17:55 541 | }))
20:17:55 > 542 | console.log('organizationOptions', this.organizationOptions)
20:17:55 | ^
20:17:55 543 | },
20:17:55 544 | onError: error => {
20:17:55 545 | console.log(error)
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:545:11:
20:17:55 543 | },
20:17:55 544 | onError: error => {
20:17:55 > 545 | console.log(error)
20:17:55 | ^
20:17:55 546 | }
20:17:55 547 | })
20:17:55 548 | },
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:563:11:
20:17:55 561 | }))
20:17:55 562 | }))
20:17:55 > 563 | console.log('regionOptions', this.regionOptions)
20:17:55 | ^
20:17:55 564 | },
20:17:55 565 | onError: error => {
20:17:55 566 | console.log(error)
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:566:11:
20:17:55 564 | },
20:17:55 565 | onError: error => {
20:17:55 > 566 | console.log(error)
20:17:55 | ^
20:17:55 567 | }
20:17:55 568 | })
20:17:55 569 | },
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:586:11:
20:17:55 584 | label: item.item_subjectname,
20:17:55 585 | }))
20:17:55 > 586 | console.log('subjectOptions', this.subjectOptions)
20:17:55 | ^
20:17:55 587 | },
20:17:55 588 | onError: error => {
20:17:55 589 | console.log(error)
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:589:11:
20:17:55 587 | },
20:17:55 588 | onError: error => {
20:17:55 > 589 | console.log(error)
20:17:55 | ^
20:17:55 590 | }
20:17:55 591 | })
20:17:55 592 | },
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:616:15:
20:17:55 614 | this.list = response.data.data
20:17:55 615 | this.total = Number(response.data.count)
20:17:55 > 616 | console.log('getPaperList', this.list, this.total)
20:17:55 | ^
20:17:55 617 | } else {
20:17:55 618 | this.list = []
20:17:55 619 | this.total = 0
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:624:13:
20:17:55 622 | },
20:17:55 623 | onError: error => {
20:17:55 > 624 | console.log(error)
20:17:55 | ^
20:17:55 625 | }
20:17:55 626 | })
20:17:55 627 | } catch (error) {
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:628:9:
20:17:55 626 | })
20:17:55 627 | } catch (error) {
20:17:55 > 628 | console.error('获取考试列表失败:', error)
20:17:55 | ^
20:17:55 629 | this.$message.error('获取考试列表失败')
20:17:55 630 | } finally {
20:17:55 631 | this.loading = false
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:661:7:
20:17:55 659 | district: { code: value[2], name: CodeToText[value[2]] },
20:17:55 660 | };
20:17:55 > 661 | console.log('handleRegionChange', this.queryParams.region)
20:17:55 | ^
20:17:55 662 | this.queryParams.subject = ''
20:17:55 663 |
20:17:55 664 | },
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:700:7:
20:17:55 698 | },
20:17:55 699 | handleEdit(row) {
20:17:55 > 700 | console.log('编辑:', row)
20:17:55 | ^
20:17:55 701 | this.$router.push({
20:17:55 702 | path: '/random-exam',
20:17:55 703 | query: { examId: row.id, viewOnly: false }
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:725:13:
20:17:55 723 | this.$api.deletePapers( { ids }, {
20:17:55 724 | onSucess: response => {
20:17:55 > 725 | console.log('deletePapers', response)
20:17:55 | ^
20:17:55 726 | if (response.status === 200) {
20:17:55 727 | this.$message.success('删除成功!')
20:17:55 728 | this.selectedRows = []
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:736:13:
20:17:55 734 | },
20:17:55 735 | onError: error => {
20:17:55 > 736 | console.log(error)
20:17:55 | ^
20:17:55 737 | }
20:17:55 738 | })
20:17:55 739 | } catch (error) {
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/ExamList.vue:741:11:
20:17:55 739 | } catch (error) {
20:17:55 740 | if (error !== 'cancel') {
20:17:55 > 741 | console.error('删除失败:', error)
20:17:55 | ^
20:17:55 742 | this.$message.error('删除失败')
20:17:55 743 | }
20:17:55 744 | }
20:17:55
20:17:55
20:17:55 21 errors found.
20:17:55
20:17:55 Module Warning (from ./node_modules/eslint-loader/index.js):
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:483:7:
20:17:55 481 | }
20:17:55 482 | } catch (error) {
20:17:55 > 483 | console.error('初始化数据失败:', error)
20:17:55 | ^
20:17:55 484 | this.$message.error('初始化数据失败')
20:17:55 485 | } finally {
20:17:55 486 | this.loading = false
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:503:11:
20:17:55 501 | label: item.name,
20:17:55 502 | }))
20:17:55 > 503 | console.log('industryOptions', this.industryOptions)
20:17:55 | ^
20:17:55 504 | },
20:17:55 505 | onError: error => {
20:17:55 506 | console.log(error)
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:506:11:
20:17:55 504 | },
20:17:55 505 | onError: error => {
20:17:55 > 506 | console.log(error)
20:17:55 | ^
20:17:55 507 | }
20:17:55 508 | })
20:17:55 509 | },
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:514:11:
20:17:55 512 | this.$api.getOrganizationIndustry({
20:17:55 513 | onSucess: response => {
20:17:55 > 514 | console.log('当前组织所属行业', response.data.data)
20:17:55 | ^
20:17:55 515 | this.industryOptions = response.data.data.map(item => ({
20:17:55 516 | value: item.id,
20:17:55 517 | label: item.name,
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:523:11:
20:17:55 521 | },
20:17:55 522 | onError: error => {
20:17:55 > 523 | console.log(error)
20:17:55 | ^
20:17:55 524 | }
20:17:55 525 | })
20:17:55 526 | },
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:534:11:
20:17:55 532 | this.regionCode = RegionUtil.getRegionCodeArrayByDistrictCode(response.data.data[0].districtcode)
20:17:55 533 | this.region = RegionUtil.getFullRegionByDistrictCode(response.data.data[0].districtcode)
20:17:55 > 534 | console.log('当前组织所属地区', this.regionCode, this.region)
20:17:55 | ^
20:17:55 535 | },
20:17:55 536 | onError: error => {
20:17:55 537 | console.log(error)
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:537:11:
20:17:55 535 | },
20:17:55 536 | onError: error => {
20:17:55 > 537 | console.log(error)
20:17:55 | ^
20:17:55 538 | }
20:17:55 539 | })
20:17:55 540 | },
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:555:11:
20:17:55 553 | label: item.name,
20:17:55 554 | }))
20:17:55 > 555 | console.log('organizationOptions', this.organizationOptions)
20:17:55 | ^
20:17:55 556 | },
20:17:55 557 | onError: error => {
20:17:55 558 | console.log(error)
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:558:11:
20:17:55 556 | },
20:17:55 557 | onError: error => {
20:17:55 > 558 | console.log(error)
20:17:55 | ^
20:17:55 559 | }
20:17:55 560 | })
20:17:55 561 | },
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:576:11:
20:17:55 574 | }))
20:17:55 575 | }))
20:17:55 > 576 | console.log('regionOptions', this.regionOptions)
20:17:55 | ^
20:17:55 577 | },
20:17:55 578 | onError: error => {
20:17:55 579 | console.log(error)
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:579:11:
20:17:55 577 | },
20:17:55 578 | onError: error => {
20:17:55 > 579 | console.log(error)
20:17:55 | ^
20:17:55 580 | }
20:17:55 581 | })
20:17:55 582 | },
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:600:11:
20:17:55 598 | label: item.item_subjectname,
20:17:55 599 | }))
20:17:55 > 600 | console.log('subjectOptions', this.subjectOptions)
20:17:55 | ^
20:17:55 601 | },
20:17:55 602 | onError: error => {
20:17:55 603 | console.log(error)
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:603:11:
20:17:55 601 | },
20:17:55 602 | onError: error => {
20:17:55 > 603 | console.log(error)
20:17:55 | ^
20:17:55 604 | }
20:17:55 605 | })
20:17:55 606 | },
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:616:13:
20:17:55 614 | this.$api.getPaperDetail( data, {
20:17:55 615 | onSucess: response => {
20:17:55 > 616 | console.log('getPaperDetail', response.data.data)
20:17:55 | ^
20:17:55 617 | let res = response.data.data[0]
20:17:55 618 | this.getSubjectOptions()
20:17:55 619 | // 机构回显
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:655:13:
20:17:55 653 | },
20:17:55 654 | onError: error => {
20:17:55 > 655 | console.log(error)
20:17:55 | ^
20:17:55 656 | }
20:17:55 657 | })
20:17:55 658 | } catch (error) {
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:659:9:
20:17:55 657 | })
20:17:55 658 | } catch (error) {
20:17:55 > 659 | console.error('加载考试详情失败:', error)
20:17:55 | ^
20:17:55 660 | this.$message.error('加载考试详情失败')
20:17:55 661 | } finally {
20:17:55 662 | this.loading = false
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:685:7:
20:17:55 683 | // 所属地区
20:17:55 684 | handleRegionChange(value) {
20:17:55 > 685 | console.log('handleRegionChange', value)
20:17:55 | ^
20:17:55 686 | if (this.examForm.organization && this.examForm.regionCode) {
20:17:55 687 | this.getSubjectOptions()
20:17:55 688 | }
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:694:7:
20:17:55 692 | district: { code: value[2], name: CodeToText[value[2]] },
20:17:55 693 | };
20:17:55 > 694 | console.log('handleRegionChange2222', this.examForm.region)
20:17:55 | ^
20:17:55 695 | this.examForm.subject = ''
20:17:55 696 | },
20:17:55 697 | // 考试科目
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:699:7:
20:17:55 697 | // 考试科目
20:17:55 698 | handleSubjectChange(value) {
20:17:55 > 699 | console.log('handleSubjectChange', value)
20:17:55 | ^
20:17:55 700 | this.rules = []
20:17:55 701 | },
20:17:55 702 | showRuleDialog() {
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:731:7:
20:17:55 729 | }
20:17:55 730 |
20:17:55 > 731 | console.log('rules:', this.rules)
20:17:55 | ^
20:17:55 732 | this.ruleDialogVisible = false
20:17:55 733 | },
20:17:55 734 | handleEditRule(rule) {
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:735:7:
20:17:55 733 | },
20:17:55 734 | handleEditRule(rule) {
20:17:55 > 735 | console.log('handleEdit', rule)
20:17:55 | ^
20:17:55 736 | if(rule.level==1) {
20:17:55 737 | this.ruleDialogVisible = true
20:17:55 738 | this.$nextTick(() => {
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:769:7:
20:17:55 767 |
20:17:55 768 | handleAddSubRule(rule) {
20:17:55 > 769 | console.log('handleAddSubRule', rule)
20:17:55 | ^
20:17:55 770 | if (rule.level == 1) {
20:17:55 771 | this.$refs.subRuleDialog.bankId = rule.id
20:17:55 772 | } else {
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:796:9:
20:17:55 794 | this.$set(this.currentRule, 'questionTypes', subRules[0].questionTypes)
20:17:55 795 | this.$set(this.currentRule, 'difficulties', subRules[0].difficulties)
20:17:55 > 796 | console.log('更新', this.currentRule);
20:17:55 | ^
20:17:55 797 |
20:17:55 798 | } else {
20:17:55 799 | // 新增模式 - subRules可能包含多个规则
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:820:9:
20:17:55 818 | type: 'warning'
20:17:55 819 | }).then(() => {
20:17:55 > 820 | console.log('删除规则:', this.rules, rule.id)
20:17:55 | ^
20:17:55 821 | this.removeRuleFromTree(this.rules, rule.id)
20:17:55 822 |
20:17:55 823 | // 同步更新RuleDialog的preSelectedBanks
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:967:9:
20:17:55 965 | // creatorName: sessionStorage.getItem('myProfileName') || JSON.parse(localStorage.getItem('userInfo')).name || '系统管理员'
20:17:55 966 | // }
20:17:55 > 967 | console.log('提交数据', submitData)
20:17:55 | ^
20:17:55 968 | this.loading = true
20:17:55 969 | // 编辑时需要包含examId
20:17:55 970 | if (this.mode === 'edit') {
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:974:15:
20:17:55 972 | this.$api.updatePaper( submitData, {
20:17:55 973 | onSucess: response => {
20:17:55 > 974 | console.log('更新成功', response)
20:17:55 | ^
20:17:55 975 | if (response.status === 200) {
20:17:55 976 | this.$message.success('更新成功')
20:17:55 977 | this.$router.push({
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:983:15:
20:17:55 981 | },
20:17:55 982 | onError: error => {
20:17:55 > 983 | console.log(error)
20:17:55 | ^
20:17:55 984 | }
20:17:55 985 | })
20:17:55 986 | } else{
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:989:15:
20:17:55 987 | this.$api.createPaper( submitData, {
20:17:55 988 | onSucess: response => {
20:17:55 > 989 | console.log('新增成功', response)
20:17:55 | ^
20:17:55 990 | if (response.status === 200) {
20:17:55 991 | this.$message.success('保存成功')
20:17:55 992 | this.$router.push({
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:998:15:
20:17:55 996 | },
20:17:55 997 | onError: error => {
20:17:55 > 998 | console.log(error)
20:17:55 | ^
20:17:55 999 | }
20:17:55 1000 | })
20:17:55 1001 | }
20:17:55
20:17:55
20:17:55 error: Unexpected console statement (no-console) at src/components/RandomExam.vue:1003:9:
20:17:55 1001 | }
20:17:55 1002 | } catch (error) {
20:17:55 > 1003 | console.error('保存失败:', error)
20:17:55 | ^
20:17:55 1004 | this.$message.error('保存失败')
20:17:55 1005 | } finally {
20:17:55 1006 | this.loading = false
20:17:55
20:17:55
20:17:55 30 errors found.
20:17:55
20:17:55 You may use special comments to disable some warnings.
20:17:55 Use // eslint-disable-next-line to ignore the next line.
20:17:55 Use /* eslint-disable */ to ignore all warnings in a file.
20:17:55 warning
20:17:55
20:17:55 asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
20:17:55 This can impact web performance.
20:17:55 Assets:
20:17:55 fonts/Source Han Sans CN Regular.552b3917.eot (8.14 MiB)
20:17:55 fonts/Source Han Sans CN Regular.d1fb7855.woff (5.1 MiB)
20:17:55 img/fontawesome-webfont.912ec66d.svg (434 KiB)
20:17:55 img/background.646883a5.jpg (363 KiB)
20:17:55 fonts/Source Han Sans CN Regular.50f2d6d6.ttf (8.14 MiB)
20:17:55 img/Source Han Sans CN Regular.63d44fde.svg (17.8 MiB)
20:17:55 js/about.7e951115.js (2.83 MiB)
20:17:55 js/app.6c027daa.js (4.68 MiB)
20:17:55 js/chunk-28d02cc0.33b07170.js (305 KiB)
20:17:55 js/rail.4ce24306.js (2.49 MiB)
20:17:55 iwebapp/pdfjs/core/pdf.js (584 KiB)
20:17:55 iwebapp/pdfjs/core/pdf.worker.js (723 KiB)
20:17:55 js/esdk-obs-browserjs.min.js (304 KiB)
20:17:55 pdf/word/pdfjs/build/pdf.js (774 KiB)
20:17:55 iwebapp/pdfjs/pdf-8cc3ba5958.viewer.js (1.37 MiB)
20:17:55 iwebapp/pdfjs/pdf-34bd0a9d29.viewer.js (1.36 MiB)
20:17:55 pdf/word/pdfjs/build/pdf.js.map (1.48 MiB)
20:17:55 pdf/word/pdfjs/build/pdf.worker.js (1.66 MiB)
20:17:55 pdf/word/pdfjs/build/pdf.worker.js.map (3.39 MiB)
20:17:55 pdf/word/pdfjs/web/viewer.js.map (751 KiB)
20:17:55 pdf/word/pdfjs/web/viewer.js (655 KiB)
20:17:55 UEditor/jsp/lib/commons-codec-1.9.jar (258 KiB)
20:17:55 pdf/word/iWebOffice2015.cab (12.4 MiB)
20:17:55 UEditor/third-party/jquery-1.10.2.js (267 KiB)
20:17:55 UEditor/third-party/highcharts/highcharts.src.js (434 KiB)
20:17:55 UEditor/third-party/snapscreen/UEditorSnapscreen.exe (508 KiB)
20:17:55 UEditor/ueditor.all.min.js (373 KiB)
20:17:55 UEditor/ueditor.all.js (1.06 MiB)
20:17:55
20:17:55 warning
20:17:55
20:17:55 entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
20:17:55 Entrypoints:
20:17:55 app (7.51 MiB)
20:17:55 js/about.7e951115.js
20:17:55 js/app.6c027daa.js
20:17:55
20:17:55
20:17:56 File Size Gzipped
20:17:56
20:17:56 dist/UEditor/ueditor.all.min.js 373.46 KiB 100.76 KiB
20:17:56 dist/js/esdk-obs-browserjs.min.js 303.80 KiB 78.74 KiB
20:17:56 dist/iwebapp/pdfjs/jquery-1.11.3.min.j 93.71 KiB 32.54 KiB
20:17:56 s
20:17:56 dist/js/jquery-1.11.3.min.js 93.71 KiB 32.54 KiB
20:17:56 dist/pdf/word/jquery.min.js 93.54 KiB 32.48 KiB
20:17:56 dist/UEditor/third-party/jquery-1.10.2 90.92 KiB 32.06 KiB
20:17:56 .min.js
20:17:56 dist/js/swiper.min.js 64.88 KiB 16.44 KiB
20:17:56 dist/UEditor/third-party/webuploader/w 56.91 KiB 18.66 KiB
20:17:56 ebuploader.min.js
20:17:56 dist/UEditor/third-party/webuploader/w 45.99 KiB 14.37 KiB
20:17:56 ebuploader.html5only.min.js
20:17:56 dist/UEditor/third-party/webuploader/w 45.81 KiB 15.77 KiB
20:17:56 ebuploader.custom.min.js
20:17:56 dist/UEditor/third-party/webuploader/w 38.87 KiB 12.03 KiB
20:17:56 ebuploader.withoutimage.min.js
20:17:56 dist/UEditor/third-party/webuploader/w 32.81 KiB 10.64 KiB
20:17:56 ebuploader.flashonly.min.js
20:17:56 dist/UEditor/third-party/xss.min.js 27.11 KiB 6.38 KiB
20:17:56 dist/pdf/word/viewer.min.js 20.21 KiB 6.41 KiB
20:17:56 dist/UEditor/third-party/zeroclipboard 18.51 KiB 6.52 KiB
20:17:56 /ZeroClipboard.min.js
20:17:56 dist/pdf/word/sweetalert.min.js 16.58 KiB 5.29 KiB
20:17:56 dist/pdf/word/toastr.min.js 16.47 KiB 3.19 KiB
20:17:56 dist/iwebapp/pdfjs/require.min.js 14.86 KiB 6.08 KiB
20:17:56 dist/pdf/word/require.min.js 14.86 KiB 6.08 KiB
20:17:56 dist/UEditor/ueditor.parse.min.js 14.45 KiB 5.01 KiB
20:17:56 dist/js/app.6c027daa.js 4793.08 KiB 961.10 KiB
20:17:56 dist/js/about.7e951115.js 2895.41 KiB 824.94 KiB
20:17:56 dist/js/rail.4ce24306.js 2550.63 KiB 848.61 KiB
20:17:56 dist/pdf/word/pdfjs/build/pdf.worker.j 1700.94 KiB 322.13 KiB
20:17:56 s
20:17:56 dist/iwebapp/pdfjs/pdf-8cc3ba5958.view 1404.33 KiB 367.49 KiB
20:17:56 er.js
20:17:56 dist/iwebapp/pdfjs/pdf-34bd0a9d29.view 1397.68 KiB 362.42 KiB
20:17:56 er.js
20:17:56 dist/UEditor/ueditor.all.js 1086.60 KiB 213.79 KiB
20:17:56 dist/pdf/word/pdfjs/build/pdf.js 774.32 KiB 145.03 KiB
20:17:56 dist/iwebapp/pdfjs/core/pdf.worker.js 723.11 KiB 213.91 KiB
20:17:56 dist/pdf/word/pdfjs/web/viewer.js 654.78 KiB 99.17 KiB
20:17:56 dist/iwebapp/pdfjs/core/pdf.js 584.12 KiB 161.00 KiB
20:17:56 dist/UEditor/third-party/highcharts/hi 433.95 KiB 123.75 KiB
20:17:56 ghcharts.src.js
20:17:56 dist/js/chunk-28d02cc0.33b07170.js 305.48 KiB 98.53 KiB
20:17:56 dist/UEditor/third-party/jquery-1.10.2 266.80 KiB 79.12 KiB
20:17:56 .js
20:17:56 dist/UEditor/third-party/webuploader/w 226.46 KiB 48.94 KiB
20:17:56 ebuploader.js
20:17:56 dist/UEditor/third-party/video-js/vide 212.98 KiB 56.36 KiB
20:17:56 o.dev.js
20:17:56 dist/UEditor/third-party/webuploader/w 193.52 KiB 43.01 KiB
20:17:56 ebuploader.custom.js
20:17:56 dist/UEditor/third-party/webuploader/w 182.25 KiB 39.11 KiB
20:17:56 ebuploader.html5only.js
20:17:56 dist/UEditor/third-party/SyntaxHighlig 155.77 KiB 43.52 KiB
20:17:56 hter/shCore.js
20:17:56 dist/UEditor/third-party/codemirror/co 154.89 KiB 35.91 KiB
20:17:56 demirror.js
20:17:56 dist/UEditor/third-party/webuploader/w 148.40 KiB 31.44 KiB
20:17:56 ebuploader.withoutimage.js
20:17:56 dist/UEditor/third-party/highcharts/hi 137.55 KiB 50.63 KiB
20:17:56 ghcharts.js
20:17:56 dist/UEditor/third-party/webuploader/w 135.64 KiB 29.89 KiB
20:17:56 ebuploader.flashonly.js
20:17:56 dist/pdf/word/WebOffice.js 135.19 KiB 30.89 KiB
20:17:56 dist/UEditor/dialogs/image/image.js 125.19 KiB 55.10 KiB
20:17:56 dist/pdf/word/iWebOffice2015.js 112.08 KiB 50.77 KiB
20:17:56 dist/js/chunk-7f638a58.0dcf71a4.js 106.53 KiB 35.96 KiB
20:17:56 dist/UEditor/third-party/highcharts/mo 98.32 KiB 22.42 KiB
20:17:56 dules/canvas-tools.src.js
20:17:56 dist/js/certificate.57e948f5.js 87.73 KiB 21.09 KiB
20:17:56 dist/js/china.js 61.26 KiB 43.82 KiB
20:17:56 dist/iwebapp/pdfjs/stamp/laydate/layda 58.98 KiB 15.29 KiB
20:17:56 te.js
20:17:56 dist/UEditor/third-party/highcharts/hi 58.77 KiB 16.33 KiB
20:17:56 ghcharts-more.src.js
20:17:56 dist/UEditor/third-party/highcharts/mo 56.52 KiB 15.35 KiB
20:17:56 dules/canvas-tools.js
20:17:56 dist/UEditor/third-party/video-js/vide 54.09 KiB 16.62 KiB
20:17:56 o.js
20:17:56 dist/UEditor/dialogs/wordimage/tangram 46.41 KiB 12.48 KiB
20:17:56 .js
20:17:56 dist/UEditor/third-party/zeroclipboard 42.20 KiB 9.15 KiB
20:17:56 /ZeroClipboard.js
20:17:56 dist/UEditor/ueditor.parse.js 35.91 KiB 7.93 KiB
20:17:56 dist/pdf/word/util.js 30.10 KiB 8.77 KiB
20:17:56 dist/UEditor/dialogs/video/video.js 29.78 KiB 7.62 KiB
20:17:56 dist/UEditor/dialogs/attachment/attach 29.67 KiB 6.63 KiB
20:17:56 ment.js
20:17:56 dist/UEditor/lang/en/en.js 28.72 KiB 8.24 KiB
20:17:56 dist/pdf/word/l10n.js 28.57 KiB 8.09 KiB
20:17:56 dist/UEditor/dialogs/scrawl/scrawl.js 26.51 KiB 5.97 KiB
20:17:56 dist/UEditor/lang/zh-cn/zh-cn.js 25.88 KiB 8.55 KiB
20:17:56 dist/UEditor/third-party/highcharts/mo 25.16 KiB 7.84 KiB
20:17:56 dules/map.src.js
20:17:56 dist/UEditor/ueditor.config.js 22.75 KiB 8.44 KiB
20:17:56 dist/UEditor/third-party/highcharts/hi 21.30 KiB 7.91 KiB
20:17:56 ghcharts-more.js
20:17:56 dist/pdf/word/pdfjs/web/debugger.js 18.48 KiB 4.89 KiB
20:17:56 dist/pdf/word/compatibility.js 17.70 KiB 5.38 KiB
20:17:56 dist/UEditor/third-party/highcharts/mo 16.86 KiB 5.73 KiB
20:17:56 dules/exporting.src.js
20:17:56 dist/UEditor/third-party/highcharts/mo 15.14 KiB 4.81 KiB
20:17:56 dules/data.src.js
20:17:56 dist/UEditor/dialogs/background/backgr 14.04 KiB 3.56 KiB
20:17:56 ound.js
20:17:56 dist/pdf/word/tray.js 12.95 KiB 3.86 KiB
20:17:56 dist/iwebapp/pdfjs/require.config.js 12.60 KiB 3.15 KiB
20:17:56 dist/pdf/word/require.config.js 12.38 KiB 3.05 KiB
20:17:56 dist/UEditor/dialogs/template/config.j 12.19 KiB 2.50 KiB
20:17:56 s
20:17:56 dist/UEditor/third-party/highcharts/ad 11.38 KiB 3.82 KiB
20:17:56 apters/standalone-framework.src.js
20:17:56 dist/UEditor/dialogs/charts/charts.js 10.89 KiB 3.34 KiB
20:17:56 dist/UEditor/third-party/highcharts/mo 10.69 KiB 3.16 KiB
20:17:56 dules/drilldown.src.js
20:17:56 dist/UEditor/third-party/highcharts/mo 9.88 KiB 4.03 KiB
20:17:56 dules/map.js
20:17:56 dist/UEditor/dialogs/table/edittable.j 8.72 KiB 2.01 KiB
20:17:56 s
20:17:56 dist/UEditor/third-party/highcharts/ad 8.72 KiB 3.18 KiB
20:17:56 apters/prototype-adapter.src.js
20:17:56 dist/UEditor/third-party/highcharts/mo 8.18 KiB 2.56 KiB
20:17:56 dules/annotations.src.js
20:17:56 dist/UEditor/dialogs/music/music.js 7.64 KiB 2.16 KiB
20:17:56 dist/UEditor/third-party/highcharts/ad 7.61 KiB 2.91 KiB
20:17:56 apters/mootools-adapter.src.js
20:17:56 dist/pdf/word/watermark.js 7.55 KiB 1.90 KiB
20:17:56 dist/UEditor/third-party/highcharts/mo 7.08 KiB 3.07 KiB
20:17:56 dules/exporting.js
20:17:56 dist/UEditor/third-party/highcharts/mo 6.38 KiB 2.33 KiB
20:17:56 dules/funnel.src.js
20:17:56 dist/UEditor/dialogs/emotion/emotion.j 6.15 KiB 2.03 KiB
20:17:56 s
20:17:56 dist/UEditor/third-party/highcharts/mo 5.42 KiB 1.95 KiB
20:17:56 dules/drilldown.js
20:17:56 dist/UEditor/third-party/highcharts/ad 4.95 KiB 2.15 KiB
20:17:56 apters/standalone-framework.js
20:17:56 dist/UEditor/dialogs/spechars/spechars 4.56 KiB 2.37 KiB
20:17:56 .js
20:17:56 dist/UEditor/third-party/highcharts/th 4.38 KiB 1.21 KiB
20:17:56 emes/gray.js
20:17:56 dist/UEditor/third-party/highcharts/mo 4.33 KiB 1.89 KiB
20:17:56 dules/data.js
20:17:56 dist/UEditor/dialogs/searchreplace/sea 4.30 KiB 1.27 KiB
20:17:56 rchreplace.js
20:17:56 dist/UEditor/third-party/highcharts/th 4.25 KiB 1.20 KiB
20:17:56 emes/dark-blue.js
20:17:56 dist/UEditor/third-party/highcharts/th 4.24 KiB 1.21 KiB
20:17:56 emes/dark-green.js
20:17:56 dist/UEditor/dialogs/wordimage/wordima 4.05 KiB 1.95 KiB
20:17:56 ge.js
20:17:56 dist/UEditor/third-party/highcharts/mo 3.32 KiB 1.52 KiB
20:17:56 dules/annotations.js
20:17:56 dist/UEditor/third-party/highcharts/ad 3.23 KiB 1.33 KiB
20:17:56 apters/prototype-adapter.js
20:17:56 dist/UEditor/third-party/highcharts/mo 2.79 KiB 1.12 KiB
20:17:56 dules/no-data-to-display.src.js
20:17:56 dist/UEditor/dialogs/internal.js 2.54 KiB 0.98 KiB
20:17:56 dist/UEditor/third-party/highcharts/ad 2.21 KiB 1.06 KiB
20:17:56 apters/mootools-adapter.js
20:17:56 dist/pdf/word/obpm.showMessage.js 2.09 KiB 0.74 KiB
20:17:56 dist/UEditor/third-party/highcharts/mo 1.93 KiB 1.08 KiB
20:17:56 dules/funnel.js
20:17:56 dist/UEditor/third-party/highcharts/th 1.75 KiB 0.65 KiB
20:17:56 emes/grid.js
20:17:56 dist/UEditor/third-party/highcharts/th 1.72 KiB 0.64 KiB
20:17:56 emes/skies.js
20:17:56 dist/UEditor/dialogs/template/template 1.55 KiB 0.67 KiB
20:17:56 .js
20:17:56 dist/UEditor/dialogs/help/help.js 1.47 KiB 0.70 KiB
20:17:56 dist/UEditor/dialogs/charts/chart.conf 1.38 KiB 0.44 KiB
20:17:56 ig.js
20:17:56 dist/js/obpm.config.js 1.36 KiB 0.57 KiB
20:17:56 dist/js/obsConfig.js 1.33 KiB 0.70 KiB
20:17:56 dist/UEditor/third-party/highcharts/mo 1.33 KiB 0.70 KiB
20:17:56 dules/no-data-to-display.js
20:17:56 dist/UEditor/third-party/highcharts/mo 1.10 KiB 0.49 KiB
20:17:56 dules/heatmap.src.js
20:17:56 dist/UEditor/third-party/highcharts/mo 0.52 KiB 0.37 KiB
20:17:56 dules/heatmap.js
20:17:56 dist/iwebapp/pdfjs/viewer-df538bd63b.c 111.81 KiB 18.55 KiB
20:17:56 ss
20:17:56 dist/iwebapp/pdfjs/viewer-afb3d53c48.c 111.71 KiB 18.53 KiB
20:17:56 ss
20:17:56 dist/pdf/word/pdfjs/web/viewer.css 58.42 KiB 9.25 KiB
20:17:56 dist/UEditor/themes/default/css/uedito 42.73 KiB 6.84 KiB
20:17:56 r.css
20:17:56 dist/UEditor/themes/default/css/uedito 34.12 KiB 5.53 KiB
20:17:56 r.min.css
20:17:56 dist/UEditor/third-party/video-js/vide 20.82 KiB 5.45 KiB
20:17:56 o-js.css
20:17:56 dist/UEditor/dialogs/image/image.css 17.71 KiB 3.46 KiB
20:17:56 dist/UEditor/dialogs/video/video.css 14.57 KiB 3.10 KiB
20:17:56 dist/UEditor/dialogs/attachment/attach 14.05 KiB 2.81 KiB
20:17:56 ment.css
20:17:56 dist/UEditor/third-party/video-js/vide 11.18 KiB 2.53 KiB
20:17:56 o-js.min.css
20:17:56 dist/iwebapp/pdfjs/stamp/laydate/theme 9.16 KiB 2.21 KiB
20:17:56 /default/laydate.css
20:17:56 dist/UEditor/third-party/SyntaxHighlig 6.95 KiB 1.31 KiB
20:17:56 hter/shCoreDefault.css
20:17:56 dist/UEditor/dialogs/scrawl/scrawl.css 3.73 KiB 0.97 KiB
20:17:56 dist/UEditor/third-party/codemirror/co 2.82 KiB 0.90 KiB
20:17:56 demirror.css
20:17:56 dist/UEditor/dialogs/charts/charts.css 2.54 KiB 0.81 KiB
20:17:56 dist/UEditor/dialogs/background/backgr 2.34 KiB 0.87 KiB
20:17:56 ound.css
20:17:56 dist/UEditor/dialogs/emotion/emotion.c 1.76 KiB 0.53 KiB
20:17:56 ss
20:17:56 dist/UEditor/themes/default/dialogbase 1.65 KiB 0.81 KiB
20:17:56 .css
20:17:56 dist/UEditor/dialogs/music/music.css 1.64 KiB 0.63 KiB
20:17:56 dist/UEditor/dialogs/table/edittable.c 1.16 KiB 0.41 KiB
20:17:56 ss
20:17:56 dist/UEditor/dialogs/template/template 1.01 KiB 0.49 KiB
20:17:56 .css
20:17:56 dist/UEditor/third-party/webuploader/w 0.50 KiB 0.29 KiB
20:17:56 ebuploader.css
20:17:56 dist/UEditor/dialogs/help/help.css 0.38 KiB 0.20 KiB
20:17:56 dist/UEditor/themes/iframe.css 0.04 KiB 0.06 KiB
20:17:56
20:17:56 Images and other types of assets omitted.
20:17:56
20:17:56 DONE Build complete. The dist directory is ready to be deployed.
20:17:56 INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
20:17:56
20:17:57 + rm -rf /data/workspace/badp-bcxin-web-5.x-vue
20:17:57 + cp -r dist /data/workspace/badp-bcxin-web-5.x-vue
20:17:57 + chmod 755 /data/workspace/badp-bcxin-web-5.x-vue -R
20:17:57 Finished: SUCCESS