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 a9cdee04f86bb244df0bfd51e1395ecbfae4b61b (refs/remotes/origin/test) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f a9cdee04f86bb244df0bfd51e1395ecbfae4b61b # timeout=10 Commit message: "Merge branch 'feat-试卷管理' into test" > /usr/local/git/bin/git rev-list --no-walk c63f03b4b70822378e04dc584924b5c5fe888392 # timeout=10 [badp-bcxin-web-5.x-vue] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins6000667739543000659.sh + cd /data/jenkins/workspace/badp-bcxin-web-5.x-vue + npm install npm WARN ERESOLVE overriding peer dependency npm WARN Found: echarts@4.9.0 npm WARN node_modules/echarts npm WARN echarts@"^4.9.0" from the root project npm WARN 1 more (v-ol-map) npm WARN npm WARN Could not resolve dependency: npm WARN peer echarts@">=5.0.0" from ol-echarts@4.0.1 npm WARN node_modules/ol-echarts npm WARN ol-echarts@"^4.0.1" from v-ol-map@1.17.9 npm WARN node_modules/v-ol-map 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 } npm WARN deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported npm WARN deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin npm WARN deprecated loupe@2.3.4: Please upgrade to 2.3.7 which fixes GHSA-4q6p-r6v2-jvc5 npm WARN deprecated vue-i18n@8.27.2: Vue I18n v8.x has reached EOL and is no longer actively maintained. About maintenance status, see https://vue-i18n.intlify.dev/guide/maintenance.html added 355 packages, removed 196 packages, and changed 353 packages in 11s 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 105 warnings1:55:22 PM Module Warning (from ./node_modules/eslint-loader/index.js): error: Duplicated key 'loading' (vue/no-dupe-keys) at src/components/PoliceNoticePop.vue:54:7: 52 | loading: false, 53 | url: "", > 54 | loading: false, | ^ 55 | }; 56 | }, 57 | watch: { error: Unexpected console statement (no-console) at src/components/PoliceNoticePop.vue:80:19: 78 | this.$api.grtUnreadMsgListApi({},{ 79 | onSucess: res => { > 80 | console.log('公安未读消息', res) | ^ 81 | if(res.status == 200){ 82 | this.notices=res.data.data 83 | this.notices.sort((a,b)=>{ error: Unexpected console statement (no-console) at src/components/PoliceNoticePop.vue:87:23: 85 | }) 86 | if(this.notices){ > 87 | console.log(this.notices) | ^ 88 | // this.detail(this.notices[0]) 89 | } 90 | } error: Unexpected console statement (no-console) at src/components/PoliceNoticePop.vue:100:7: 98 | // }, 99 | handleReply(row) { > 100 | console.log('回复', row) | ^ 101 | this.$api.hasPermissionToForm('__DXZvc8mnEmDqMARhK7G', '__1s1CEOcmoHo8sZRNEYh', { 102 | onSucess: (response) => { 103 | console.log('hasPermissionToForm', response.data.data) error: Unexpected console statement (no-console) at src/components/PoliceNoticePop.vue:103:15: 101 | this.$api.hasPermissionToForm('__DXZvc8mnEmDqMARhK7G', '__1s1CEOcmoHo8sZRNEYh', { 102 | onSucess: (response) => { > 103 | console.log('hasPermissionToForm', response.data.data) | ^ 104 | if (response.data.data) { 105 | this.showDetail = true; 106 | if(location.href.indexOf("localhost")>-1) { 5 errors found. Module Warning (from ./node_modules/eslint-loader/index.js): error: Duplicated key 'pickerOptions1' (vue/no-dupe-keys) at src/components/main_meter.vue:151:7: 149 | } 150 | }, > 151 | pickerOptions1: { | ^ 152 | disabledDate: time => { 153 | return new Date(this.endDay).getTime() < time.getTime(); 154 | } error: Unexpected console statement (no-console) at src/components/main_meter.vue:210:7: 208 | }, 209 | handleCheckChange() { > 210 | console.log("showMode---->",this.showMode); | ^ 211 | let startTime = this.writeCurrentDate(this.startDay), 212 | endTime = this.writeCurrentDate(this.endDay); 213 | let appId = this.$root.appid; 2 errors found. 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: Expected to return a value in "includeHeight" computed property (vue/return-in-computed-property) at src/components/view_listview.vue:1280:18: 1278 | }, 1279 | computed: { > 1280 | includeHeight() {//根据每页的页码条数,来动态增加表格列表的高度 | ^ 1281 | let pagination = this.view.pagination; 1282 | if (pagination) { 1283 | let pagesize = this.pagesize; error: Unexpected console statement (no-console) at src/components/view_listview.vue:1339:13: 1337 | let data = this.$refs.searchform.buildSearchData() 1338 | searchData = JSON.parse(JSON.stringify(data)); > 1339 | console.log(data) | ^ 1340 | this.getData('', '', searchData); 1341 | } else { 1342 | this.getData('', '', searchData); error: Unexpected console statement (no-console) at src/components/view_listview.vue:1366:5: 1364 | ); 1365 | > 1366 | console.log(document.documentElement.clientHeight); | ^ 1367 | 1368 | console.log(this.openParams); 1369 | }, error: Unexpected console statement (no-console) at src/components/view_listview.vue:1368:5: 1366 | console.log(document.documentElement.clientHeight); 1367 | > 1368 | console.log(this.openParams); | ^ 1369 | }, 1370 | updated() { 1371 | //更新生命周期触发 error: Unexpected console statement (no-console) at src/components/view_listview.vue:1484:7: 1482 | }, 1483 | handleTableScroll() { > 1484 | console.log("滚动"); | ^ 1485 | this.isShowfilterTip = false; 1486 | // let scrollL = this.$refs.multipleTable.bodyWrapper.scrollLeft 1487 | }, error: Unexpected console statement (no-console) at src/components/view_listview.vue:1947:7: 1945 | getWidth(val, auto) { 1946 | //auto为true开启自动排版 > 1947 | console.log(this.delegateWidth); | ^ 1948 | // if(this.delegateWidth>0){ 1949 | // sessionStorage.setItem('delegateWidthT',this.delegateWidth) 1950 | // this.delegateWidthT=sessionStorage.getItem('delegateWidthT')||'' //缓存获取本地sessionStorage获取适配宽度 error: Unexpected console statement (no-console) at src/components/view_listview.vue:1970:7: 1968 | //视图列按钮操作 1969 | buttonClick(column, row) { > 1970 | console.log(column); | ^ 1971 | let op = this.openParams; 1972 | let id = column.id, 1973 | parentView = column.parentView, error: Unexpected console statement (no-console) at src/components/view_listview.vue:2146:7: 2144 | //删除或导入数据后重新请求加载数据 2145 | reloadListView() { > 2146 | console.log('重新加载数据') | ^ 2147 | this.$refs.multipleTable && this.$refs.multipleTable.clearSelection()//刷新重置数据 2148 | let filterInfo = this.filterInformations; 2149 | this.reloadListViewRandom = new Date().getTime(); error: Unexpected console statement (no-console) at src/components/view_listview.vue:2175:7: 2173 | 2174 | selectInit(row, index) { > 2175 | console.log(row); | ^ 2176 | 2177 | // this.delegateWidthT=sessionStorage.getItem('delegateWidthT')||'' //缓存获取本地sessionStorage获取适配宽度 2178 | error: Unexpected console statement (no-console) at src/components/view_listview.vue:2291:7: 2289 | //包含元素当前页打开,新建默认打开 2290 | getRowKeys(row) { > 2291 | console.log("row--->", row) | ^ 2292 | console.log("row.id--->", row.id) 2293 | console.log("row.docId--->", row.docId) 2294 | // return row.id; error: Unexpected console statement (no-console) at src/components/view_listview.vue:2292:7: 2290 | getRowKeys(row) { 2291 | console.log("row--->", row) > 2292 | console.log("row.id--->", row.id) | ^ 2293 | console.log("row.docId--->", row.docId) 2294 | // return row.id; 2295 | return row.docId;//修改为选中docId error: Unexpected console statement (no-console) at src/components/view_listview.vue:2293:7: 2291 | console.log("row--->", row) 2292 | console.log("row.id--->", row.id) > 2293 | console.log("row.docId--->", row.docId) | ^ 2294 | // return row.id; 2295 | return row.docId;//修改为选中docId 2296 | }, error: Unexpected console statement (no-console) at src/components/view_listview.vue:2300:7: 2298 | getData(page, size, searchData, sortData, filterInformations) { 2299 | // debugger > 2300 | console.log(this.isOpenTemplate) | ^ 2301 | if (this.$refs.searchform && this.isOpenTemplate && this.$store.state.searchFlag == 0) { 2302 | if (localStorage.getItem('homeTemplateBoradType') != 'rtpayTemplate') {//rt默认视图不走高筛 2303 | searchData = this.$refs.searchform.buildSearchData() error: Unexpected console statement (no-console) at src/components/view_listview.vue:2325:7: 2323 | page = this.currentPage //查询当前页码 2324 | } > 2325 | console.log(searchData); | ^ 2326 | console.log(this.$route.query); 2327 | // this.isRunGetData = true;//暂时没用到 2328 | this.tableLoading = true; error: Unexpected console statement (no-console) at src/components/view_listview.vue:2326:7: 2324 | } 2325 | console.log(searchData); > 2326 | console.log(this.$route.query); | ^ 2327 | // this.isRunGetData = true;//暂时没用到 2328 | this.tableLoading = true; 2329 | this.isShowfilterTip = false; error: Unexpected console statement (no-console) at src/components/view_listview.vue:2334:7: 2332 | 2333 | > 2334 | console.log(searchData) | ^ 2335 | this.getViewData( 2336 | page, 2337 | size, error: Unexpected console statement (no-console) at src/components/view_listview.vue:2343:9: 2341 | ).then((response) => { 2342 | let docs = response.data.data; > 2343 | console.log(docs); | ^ 2344 | this.documents = response.data.data; 2345 | this.pagesize = size ? size : view.pageLines ? parseInt(view.pageLines) : 10; 2346 | let row_count = response.data.row_count; error: Unexpected console statement (no-console) at src/components/view_listview.vue:2413:11: 2411 | tds.push(rows); 2412 | }); > 2413 | console.log(tableColumns); | ^ 2414 | // 将列的数据传递给 view_delegate 父组件 2415 | this.$emit("columns", tableColumns); 2416 | error: Unexpected console statement (no-console) at src/components/view_listview.vue:2424:11: 2422 | this.tableData = tds; //表单视图的数据tableData 2423 | // debugger > 2424 | console.log(this.tableSelection) | ^ 2425 | if (this.tableSelection && this.tableSelection.length > 0) { 2426 | this.$nextTick(function () { 2427 | for (let i = 0; i < this.tableData.length; i++) { error: Unexpected console statement (no-console) at src/components/view_listview.vue:2492:7: 2490 | //模拟数据请求 2491 | getViewData(page, size, searchData, sortData, filterInformations) { > 2492 | console.log(this.$route.query); | ^ 2493 | console.log(this.openParams); 2494 | let openParams = this.openParams; 2495 | let treeData = ""; error: Unexpected console statement (no-console) at src/components/view_listview.vue:2493:7: 2491 | getViewData(page, size, searchData, sortData, filterInformations) { 2492 | console.log(this.$route.query); > 2493 | console.log(this.openParams); | ^ 2494 | let openParams = this.openParams; 2495 | let treeData = ""; 2496 | let treeName = ""; error: Unexpected console statement (no-console) at src/components/view_listview.vue:2542:11: 2540 | } 2541 | > 2542 | console.log(5555); | ^ 2543 | console.log(this.openParams); 2544 | 2545 | this.$api.getViewData( error: Unexpected console statement (no-console) at src/components/view_listview.vue:2543:11: 2541 | 2542 | console.log(5555); > 2543 | console.log(this.openParams); | ^ 2544 | 2545 | this.$api.getViewData( 2546 | //普通视图接口 error: Unexpected console statement (no-console) at src/components/view_listview.vue:2674:15: 2672 | }); 2673 | this.tableData = tds; > 2674 | console.log("this.tableData--->", this.tableData); | ^ 2675 | } else { 2676 | this.tableData = []; 2677 | } 24 errors found. Module Warning (from ./node_modules/eslint-loader/index.js): error: Parsing error: x-invalid-end-tag (vue/no-parsing-error) at src/views/Home.vue:384:89: 382 |
383 | 由于北京新冠疫情形势整体好转,首都防疫举措调整,经总队研究决定, 384 | style="color:red;font-weight: 700;">正式全面恢复保安员证考试工作,并落实好以下要求:
| ^ 385 | 参与考试的保安员及校师资人员均需持有48小时核酸阴性证明; 386 |
387 | 保安培训学校做好扫码测温及环境消杀等工作; error: The "obpm-main-appbar" component has been registered but not used (vue/no-unused-components) at src/views/Home.vue:490:5: 488 | }, 489 | components: { > 490 | "obpm-main-appbar": main_appbar, | ^ 491 | main_navbar, 492 | main_content, 493 | main_domain, error: The "platAd" component has been registered but not used (vue/no-unused-components) at src/views/Home.vue:495:5: 493 | main_domain, 494 | IMPop, > 495 | platAd, | ^ 496 | platAdPop, 497 | PoliceNoticePop, 498 | supervisionPop, error: Unexpected console statement (no-console) at src/views/Home.vue:513:13: 511 | this.activeHome() 512 | this.applist()//查询左边下拉应用列表 > 513 | console.log(this.$refs.mainNavBar.data) | ^ 514 | if (state.defaultFirst == 1) { 515 | this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data) 516 | } error: Unexpected side effect in "applicationName" computed property (vue/no-side-effects-in-computed-properties) at src/views/Home.vue:528:11: 526 | if (this.$store.state.appmenusShow) { 527 | this.$nextTick(() => { > 528 | this.showApp = true | ^ 529 | this.$refs.mychild.setMaincontent(false) // 调用子组件的方法 530 | this.applist()//查询左边下拉应用列表 531 | console.log(this.$refs.mainNavBar.data) error: Unexpected console statement (no-console) at src/views/Home.vue:531:11: 529 | this.$refs.mychild.setMaincontent(false) // 调用子组件的方法 530 | this.applist()//查询左边下拉应用列表 > 531 | console.log(this.$refs.mainNavBar.data) | ^ 532 | if (this.$store.state.defaultFirst == 1) { 533 | // this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data) 534 | } error: Unexpected console statement (no-console) at src/views/Home.vue:544:7: 542 | currentAppName = this.$store.getters.currentAppName 543 | } > 544 | console.log(currentAppName) | ^ 545 | return currentAppName; 546 | }, 547 | showInstance() { error: Unexpected console statement (no-console) at src/views/Home.vue:656:11: 654 | } 655 | this.otherNotice = arr; > 656 | console.log("this.otherNotice---->", this.otherNotice) | ^ 657 | } 658 | } 659 | ) error: Unexpected console statement (no-console) at src/views/Home.vue:667:11: 665 | if (res.data.errcode == 0) { 666 | let listArr = res.data.data.data > 667 | console.log(listArr) | ^ 668 | if (listArr.length) { 669 | listArr.forEach(item => { 670 | if (currDate(true) >= item.items.__G3lF6FIrSTspuF06jEr.value && currDate(true) <= item.items.__eG17lW4psp4yq1aT0Pt.value) {//在当前时间范围内提醒 error: Unexpected console statement (no-console) at src/views/Home.vue:686:11: 684 | if (res.status == 200) { 685 | let listArr = res.data.data > 686 | console.log('公安未读消息', listArr) | ^ 687 | if (listArr.length) { 688 | this.policeNotices = listArr.sort((a,b)=>{ 689 | return (new Date(b.item_senddate)-new Date(a.item_senddate)) error: Unexpected console statement (no-console) at src/views/Home.vue:698:11: 696 | // }) 697 | } > 698 | console.log('公安未读消息1111', this.policeNotices.length) | ^ 699 | // this.policeNoticePop() 700 | if (this.policeNotices.length>0 && !this.showBktHome) {//提醒时间段有弹窗提醒 701 | setTimeout(() => { error: Unexpected console statement (no-console) at src/views/Home.vue:709:5: 707 | } 708 | ) > 709 | console.log('organizationLevels',organizationLevels)//obpm.config.js定义全局变量organizationLevels | ^ 710 | if(organizationLevels.indexOf('Premium')>-1){ 711 | this.baseServiceOptions=this.$root.roleLevelsPermissionData&&this.$root.roleLevelsPermissionData.baseServiceOptions 712 | console.log('this.baseServiceOptions',this.baseServiceOptions) error: Unexpected console statement (no-console) at src/views/Home.vue:712:7: 710 | if(organizationLevels.indexOf('Premium')>-1){ 711 | this.baseServiceOptions=this.$root.roleLevelsPermissionData&&this.$root.roleLevelsPermissionData.baseServiceOptions > 712 | console.log('this.baseServiceOptions',this.baseServiceOptions) | ^ 713 | } 714 | 715 | }, error: Unexpected console statement (no-console) at src/views/Home.vue:789:7: 787 | // 检查并显示密码修改提示 788 | checkPasswordUpdateNotice() { > 789 | console.log('this.updatePasswordType', this.updatePasswordType, this.updatePasswordMsg) | ^ 790 | if (this.updatePasswordType && this.updatePasswordMsg) { 791 | this.updatePwdDialogVisible = true 792 | if (this.updatePasswordType === '2') { error: Unexpected console statement (no-console) at src/views/Home.vue:816:11: 814 | this.$api.isSupervisedApi(domainId, { 815 | onSucess: res => { > 816 | console.log('res11', res) | ^ 817 | if (res.data.data) { 818 | console.log('res.data.data监管归属', res.data.data) 819 | this.isSupervisedInfoCompletedData = res.data.data error: Unexpected console statement (no-console) at src/views/Home.vue:818:13: 816 | console.log('res11', res) 817 | if (res.data.data) { > 818 | console.log('res.data.data监管归属', res.data.data) | ^ 819 | this.isSupervisedInfoCompletedData = res.data.data 820 | console.log(this.isSupervisedInfoCompletedData) 821 | if (res.data.data.superviseCompleted && res.data.data.infoCompleted) { error: Unexpected console statement (no-console) at src/views/Home.vue:820:13: 818 | console.log('res.data.data监管归属', res.data.data) 819 | this.isSupervisedInfoCompletedData = res.data.data > 820 | console.log(this.isSupervisedInfoCompletedData) | ^ 821 | if (res.data.data.superviseCompleted && res.data.data.infoCompleted) { 822 | this.supervisionDialogVisible = false;//有填写监管归属,隐藏监管归属弹窗 823 | } error: Unexpected console statement (no-console) at src/views/Home.vue:832:11: 830 | onError: erro => { 831 | this.supervisionDialogVisible = false;//错误,隐藏弹窗,默认让客户可以用 > 832 | console.log('erro11', erro) | ^ 833 | } 834 | }) 835 | }, error: Unexpected console statement (no-console) at src/views/Home.vue:860:13: 858 | { 859 | onSucess: res => { > 860 | console.log(res.data.data.placeOfRegister) | ^ 861 | if (res.data.data.placeOfRegister && res.data.data.placeOfRegister.province.name.indexOf('北京') > -1) { 862 | this.systemNoticeDialogVisible = true 863 | this.placeOfRegister_bjFlag = true error: Unexpected console statement (no-console) at src/views/Home.vue:903:11: 901 | this.$api.getEnterpriseUserinfo(localStorage.getItem("domainId"), { 902 | onSucess: res => { > 903 | console.log('res11',res) | ^ 904 | if (res.data.status == 200) { 905 | let isValidLonlat=res.data.data.isValidLonlat;//判断企业是否完善经纬度,没有完善强提醒 906 | console.log('this.domainAdmin',this.domainAdmin) error: Unexpected console statement (no-console) at src/views/Home.vue:906:13: 904 | if (res.data.status == 200) { 905 | let isValidLonlat=res.data.data.isValidLonlat;//判断企业是否完善经纬度,没有完善强提醒 > 906 | console.log('this.domainAdmin',this.domainAdmin) | ^ 907 | if(this.domainAdmin&&isValidLonlat&&this.network){//是组织管理员以及没有完善经纬度--强提醒 908 | this.domainLonLatPopDialogVisible=true 909 | } error: Unexpected console statement (no-console) at src/views/Home.vue:1174:17: 1172 | { 1173 | onSucess: res => { > 1174 | console.log('res', res) | ^ 1175 | let shopToken = res.data && res.data.accessToken || '' 1176 | resolve(shopToken) 1177 | } error: Unexpected console statement (no-console) at src/views/Home.vue:1218:17: 1216 | { 1217 | onSucess: res => { > 1218 | console.log('res', res) | ^ 1219 | let shopToken = res.data && res.data.accessToken || '' 1220 | resolve(shopToken) 1221 | } error: Unexpected console statement (no-console) at src/views/Home.vue:1269:13: 1267 | onSucess: response => { 1268 | if (response.data && response.data.errmsg == "ok") { > 1269 | console.log(response.data) | ^ 1270 | if (response.data.data.data.length) { 1271 | let arr = [] 1272 | response.data.data.data.forEach((item, index) => { error: Unexpected console statement (no-console) at src/views/Home.vue:1288:15: 1286 | 1287 | }) > 1288 | console.log(arr) | ^ 1289 | arr.sort((a, b) => { return Number(a.cateSort) - Number(b.cateSort) }) //分类排序cateSort 1290 | 1291 | const titleMap = {} error: Unexpected console statement (no-console) at src/views/Home.vue:1335:15: 1333 | } 1334 | } > 1335 | console.log(arr3) | ^ 1336 | this.applistArr = arr3 1337 | 1338 | } error: Unexpected console statement (no-console) at src/views/Home.vue:1376:13: 1374 | onSucess: res => { 1375 | if (res.status == 200) { > 1376 | console.log("res--->", res.status); | ^ 1377 | } 1378 | } 1379 | }) error: Unexpected console statement (no-console) at src/views/Home.vue:1479:11: 1477 | }, 1478 | onError: error => { > 1479 | console.log(error); | ^ 1480 | } 1481 | }); 1482 | }, error: Unexpected console statement (no-console) at src/views/Home.vue:1597:7: 1595 | 1596 | closeTab: function (tab, tabindex) {//关闭当前选项卡,选中前一个选项卡 > 1597 | console.log(tab) | ^ 1598 | console.log(tabindex) 1599 | if (this.$store.state.searchDataStore.length) { 1600 | this.$store.state.searchDataStore.forEach((item, index) => { error: Unexpected console statement (no-console) at src/views/Home.vue:1598:7: 1596 | closeTab: function (tab, tabindex) {//关闭当前选项卡,选中前一个选项卡 1597 | console.log(tab) > 1598 | console.log(tabindex) | ^ 1599 | if (this.$store.state.searchDataStore.length) { 1600 | this.$store.state.searchDataStore.forEach((item, index) => { 1601 | if (item.appId == tab.appId && item.viewId == tab.actionContent) { error: Unexpected console statement (no-console) at src/views/Home.vue:1613:7: 1611 | }) 1612 | } > 1613 | console.log(this.$store.state.searchDataStore) | ^ 1614 | let tabs = this.tabs; 1615 | if (tabindex >= 0) { //点击X关闭 1616 | console.log(JSON.stringify(this.tabs)) error: Unexpected console statement (no-console) at src/views/Home.vue:1616:9: 1614 | let tabs = this.tabs; 1615 | if (tabindex >= 0) { //点击X关闭 > 1616 | console.log(JSON.stringify(this.tabs)) | ^ 1617 | tabs.splice(tabindex, 1); 1618 | if (tab.active) { 1619 | if (tabs.length > 0 && ((tabs.length - 1) >= tabindex)) { error: Unexpected console statement (no-console) at src/views/Home.vue:1692:13: 1690 | onSucess: res => { 1691 | this.isOrganizationPromoter = res.data.data.isOrganizationPromoter; > 1692 | console.info('promoter', this.isOrganizationPromoter); | ^ 1693 | } 1694 | }) 1695 | } 33 errors found. Module Warning (from ./node_modules/eslint-loader/index.js): error: The "RTContainerTop" component has been registered but not used (vue/no-unused-components) at src/components/RT/homeBoardRTNew_Home.vue:49:5: 47 | }, 48 | components: { > 49 | RTContainerTop, | ^ 50 | RTContainerWK, 51 | RTContainerznzs, 52 | RTContainerwork, error: Unexpected console statement (no-console) at src/components/RT/homeBoardRTNew_Home.vue:66:13: 64 | { 65 | onSucess: (response) => { > 66 | console.log(response.data); | ^ 67 | this.roleshow = response.data.show || false; 68 | }, 69 | } 2 errors found. Module Warning (from ./node_modules/eslint-loader/index.js): error: The "obpm-main-appbar" component has been registered but not used (vue/no-unused-components) at src/views/HomeRT.vue:405:5: 403 | }, 404 | components: { > 405 | "obpm-main-appbar": main_appbar, | ^ 406 | main_navbar, 407 | main_content, 408 | main_domain, error: The "platAd" component has been registered but not used (vue/no-unused-components) at src/views/HomeRT.vue:410:5: 408 | main_domain, 409 | IMPop, > 410 | platAd, | ^ 411 | platAdPop, 412 | UpdatePasswordDialog 413 | }, error: Unexpected console statement (no-console) at src/views/HomeRT.vue:426:13: 424 | this.activeHome(); 425 | this.applist(); //查询左边下拉应用列表 > 426 | console.log(this.$refs.mainNavBar.data); | ^ 427 | if (state.defaultFirst == 1) { 428 | this.$refs.mainNavBar.defaultClickFirst( 429 | this.$refs.mainNavBar.data error: Unexpected side effect in "applicationName" computed property (vue/no-side-effects-in-computed-properties) at src/views/HomeRT.vue:440:11: 438 | if (this.$store.state.appmenusShow) { 439 | this.$nextTick(() => { > 440 | this.showApp = true; | ^ 441 | this.$refs.mychild.setMaincontent(false); // 调用子组件的方法 442 | this.applist(); //查询左边下拉应用列表 443 | console.log(this.$refs.mainNavBar.data); error: Unexpected console statement (no-console) at src/views/HomeRT.vue:443:11: 441 | this.$refs.mychild.setMaincontent(false); // 调用子组件的方法 442 | this.applist(); //查询左边下拉应用列表 > 443 | console.log(this.$refs.mainNavBar.data); | ^ 444 | if (this.$store.state.defaultFirst == 1) { 445 | this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data); 446 | } error: Unexpected console statement (no-console) at src/views/HomeRT.vue:460:7: 458 | currentAppName = this.$store.getters.currentAppName; 459 | } > 460 | console.log(currentAppName); | ^ 461 | return currentAppName; 462 | }, 463 | showInstance() { error: Unexpected console statement (no-console) at src/views/HomeRT.vue:528:11: 526 | } 527 | this.otherNotice = arr; > 528 | console.log("this.otherNotice---->", this.otherNotice); | ^ 529 | }, 530 | } 531 | ); error: Unexpected console statement (no-console) at src/views/HomeRT.vue:622:7: 620 | // 检查并显示密码修改提示 621 | checkPasswordUpdateNotice() { > 622 | console.log('this.updatePasswordType', this.updatePasswordType, this.updatePasswordMsg) | ^ 623 | if (this.updatePasswordType && this.updatePasswordMsg) { 624 | this.updatePwdDialogVisible = true 625 | if (this.updatePasswordType === '2') { error: Unexpected console statement (no-console) at src/views/HomeRT.vue:670:13: 668 | { 669 | onSucess: (response) => { > 670 | console.log(response.data); | ^ 671 | this.roleshow = response.data.show || false; 672 | if (!this.roleshow) { 673 | this.navtopmenuclick(6); error: Unexpected console statement (no-console) at src/views/HomeRT.vue:687:13: 685 | onSucess: (response) => { 686 | if (response.data && response.data.errmsg == "ok") { > 687 | console.log(response.data); | ^ 688 | if (response.data.data.data.length) { 689 | let arr = []; 690 | response.data.data.data.forEach((item, index) => { error: Unexpected console statement (no-console) at src/views/HomeRT.vue:708:15: 706 | arr.push(obj); 707 | }); > 708 | console.log(arr); | ^ 709 | arr.sort((a, b) => { 710 | return Number(a.cateSort) - Number(b.cateSort); 711 | }); //分类排序cateSort error: Unexpected console statement (no-console) at src/views/HomeRT.vue:768:15: 766 | } 767 | } > 768 | console.log(arr2); | ^ 769 | arr2.forEach((its) => { 770 | its.isSubshow = false; 771 | }); error: Unexpected console statement (no-console) at src/views/HomeRT.vue:820:11: 818 | this.$api.organizationsIDApi(id, { 819 | onSucess: (res) => { > 820 | console.log(res); | ^ 821 | console.log(res.data.data.placeOfRegister); 822 | if ( 823 | res.data.data.placeOfRegister && error: Unexpected console statement (no-console) at src/views/HomeRT.vue:821:11: 819 | onSucess: (res) => { 820 | console.log(res); > 821 | console.log(res.data.data.placeOfRegister); | ^ 822 | if ( 823 | res.data.data.placeOfRegister && 824 | res.data.data.placeOfRegister.province.name.indexOf("北京") > -1 error: Unexpected console statement (no-console) at src/views/HomeRT.vue:876:11: 874 | this.$api.getEnterpriseUserinfo(localStorage.getItem("domainId"), { 875 | onSucess: (res) => { > 876 | console.log(res); | ^ 877 | if (res.data.status == 200) { 878 | document.title = res.data.data.sysName || ""; //系统名称 879 | //获取icon图标 error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1160:13: 1158 | onSucess: (response) => { 1159 | if (response.data && response.data.errmsg == "ok") { > 1160 | console.log(response.data); | ^ 1161 | if (response.data.data.data.length) { 1162 | let arr = []; 1163 | response.data.data.data.forEach((item, index) => { error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1181:15: 1179 | arr.push(obj); 1180 | }); > 1181 | console.log(arr); | ^ 1182 | arr.sort((a, b) => { 1183 | return Number(a.cateSort) - Number(b.cateSort); 1184 | }); //分类排序cateSort error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1237:15: 1235 | } 1236 | } > 1237 | console.log(arr3); | ^ 1238 | this.applistArr = arr3; 1239 | 1240 | //前端缓存本地代码块--切换不同组织的所有应用列表 error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1297:13: 1295 | onSucess: (res) => { 1296 | if (res.status == 200) { > 1297 | console.log("res--->", res.status); | ^ 1298 | } 1299 | }, 1300 | }); error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1373:11: 1371 | }, 1372 | onError: (error) => { > 1373 | console.log(error); | ^ 1374 | }, 1375 | }); 1376 | }, error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1500:7: 1498 | closeTab: function (tab, tabindex) { 1499 | //关闭当前选项卡,选中前一个选项卡 > 1500 | console.log(tab) | ^ 1501 | console.log(tabindex) 1502 | if(this.$store.state.searchDataStore.length){ 1503 | this.$store.state.searchDataStore.forEach((item,index)=>{ error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1501:7: 1499 | //关闭当前选项卡,选中前一个选项卡 1500 | console.log(tab) > 1501 | console.log(tabindex) | ^ 1502 | if(this.$store.state.searchDataStore.length){ 1503 | this.$store.state.searchDataStore.forEach((item,index)=>{ 1504 | if(item.appId==tab.appId&&item.viewId==tab.actionContent){ error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1516:7: 1514 | }) 1515 | } > 1516 | console.log(this.$store.state.searchDataStore) | ^ 1517 | let tabs = this.tabs; 1518 | if (tabindex >= 0) { 1519 | //点击X关闭 error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1520:9: 1518 | if (tabindex >= 0) { 1519 | //点击X关闭 > 1520 | console.log(JSON.stringify(this.tabs)); | ^ 1521 | tabs.splice(tabindex, 1); 1522 | if (tab.active) { 1523 | if (tabs.length > 0 && tabs.length - 1 >= tabindex) { 24 errors found. Module Warning (from ./node_modules/eslint-loader/index.js): error: The 'messagesList' variable inside 'v-for' directive should be replaced with a computed property that returns filtered array instead. You should not mix 'v-for' with 'v-if' (vue/no-use-v-if-with-v-for) at src/components/information.vue:148:68: 146 |
147 |