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 5421129b51a93938f4f82d65bddd368272e1e214 (refs/remotes/origin/test)
> /usr/local/git/bin/git config core.sparsecheckout # timeout=10
> /usr/local/git/bin/git checkout -f 5421129b51a93938f4f82d65bddd368272e1e214 # timeout=10
Commit message: "ad"
> /usr/local/git/bin/git rev-list --no-walk 5421129b51a93938f4f82d65bddd368272e1e214 # timeout=10
[badp-bcxin-web-5.x-vue] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins12592909257634447613.sh
+ cd /data/jenkins/workspace/badp-bcxin-web-5.x-vue
+ npm install
added 1576 packages in 16s
+ 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
WARNING Compiled with 85 warnings4:43:12 PM
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:370:89:
368 |
369 | 由于北京新冠疫情形势整体好转,首都防疫举措调整,经总队研究决定, 370 | style="color:red;font-weight: 700;">正式全面恢复保安员证考试工作,并落实好以下要求:
| ^
371 | ① 参与考试的保安员及校师资人员均需持有48小时核酸阴性证明;
372 |
373 | ② 保安培训学校做好扫码测温及环境消杀等工作;
error: The "obpm-main-appbar" component has been registered but not used (vue/no-unused-components) at src/views/Home.vue:448:5:
446 | },
447 | components: {
> 448 | "obpm-main-appbar": main_appbar,
| ^
449 | main_navbar,
450 | main_content,
451 | main_domain,
error: The "platAd" component has been registered but not used (vue/no-unused-components) at src/views/Home.vue:453:5:
451 | main_domain,
452 | IMPop,
> 453 | platAd,
| ^
454 | platAdPop,
455 | supervisionPop,
456 | domainLonLatPop,
error: Unexpected console statement (no-console) at src/views/Home.vue:469:13:
467 | this.activeHome()
468 | this.applist()//查询左边下拉应用列表
> 469 | console.log(this.$refs.mainNavBar.data)
| ^
470 | if (state.defaultFirst == 1) {
471 | this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data)
472 | }
error: Unexpected side effect in "applicationName" computed property (vue/no-side-effects-in-computed-properties) at src/views/Home.vue:481:11:
479 | if (this.$store.state.appmenusShow) {
480 | this.$nextTick(() => {
> 481 | this.showApp = true
| ^
482 | this.$refs.mychild.setMaincontent(false) // 调用子组件的方法
483 | this.applist()//查询左边下拉应用列表
484 | console.log(this.$refs.mainNavBar.data)
error: Unexpected console statement (no-console) at src/views/Home.vue:484:11:
482 | this.$refs.mychild.setMaincontent(false) // 调用子组件的方法
483 | this.applist()//查询左边下拉应用列表
> 484 | console.log(this.$refs.mainNavBar.data)
| ^
485 | if (this.$store.state.defaultFirst == 1) {
486 | // this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data)
487 | }
error: Unexpected console statement (no-console) at src/views/Home.vue:497:7:
495 | currentAppName = this.$store.getters.currentAppName
496 | }
> 497 | console.log(currentAppName)
| ^
498 | return currentAppName;
499 | },
500 | showInstance() {
error: Unexpected console statement (no-console) at src/views/Home.vue:608:11:
606 | }
607 | this.otherNotice = arr;
> 608 | console.log("this.otherNotice---->", this.otherNotice)
| ^
609 | }
610 | }
611 | )
error: Unexpected console statement (no-console) at src/views/Home.vue:619:11:
617 | if (res.data.errcode == 0) {
618 | let listArr = res.data.data.data
> 619 | console.log(listArr)
| ^
620 | if (listArr.length) {
621 | listArr.forEach(item => {
622 | if (currDate(true) >= item.items.__G3lF6FIrSTspuF06jEr.value && currDate(true) <= item.items.__eG17lW4psp4yq1aT0Pt.value) {//在当前时间范围内提醒
error: Unexpected console statement (no-console) at src/views/Home.vue:635:5:
633 | )
634 |
> 635 | console.log('organizationLevels',organizationLevels)//obpm.config.js定义全局变量organizationLevels
| ^
636 | if(organizationLevels.indexOf('Premium')>-1){
637 | this.baseServiceOptions=this.$root.roleLevelsPermissionData&&this.$root.roleLevelsPermissionData.baseServiceOptions
638 | console.log('this.baseServiceOptions',this.baseServiceOptions)
error: Unexpected console statement (no-console) at src/views/Home.vue:638:7:
636 | if(organizationLevels.indexOf('Premium')>-1){
637 | this.baseServiceOptions=this.$root.roleLevelsPermissionData&&this.$root.roleLevelsPermissionData.baseServiceOptions
> 638 | console.log('this.baseServiceOptions',this.baseServiceOptions)
| ^
639 | }
640 |
641 | },
error: Unexpected console statement (no-console) at src/views/Home.vue:705:11:
703 | this.$api.isSupervisedApi(domainId, {
704 | onSucess: res => {
> 705 | console.log('res11', res)
| ^
706 | if (res.data.data) {
707 | console.log('res.data.data监管归属', res.data.data)
708 | this.isSupervisedInfoCompletedData = res.data.data
error: Unexpected console statement (no-console) at src/views/Home.vue:707:13:
705 | console.log('res11', res)
706 | if (res.data.data) {
> 707 | console.log('res.data.data监管归属', res.data.data)
| ^
708 | this.isSupervisedInfoCompletedData = res.data.data
709 | console.log(this.isSupervisedInfoCompletedData)
710 | if (res.data.data.superviseCompleted && res.data.data.infoCompleted) {
error: Unexpected console statement (no-console) at src/views/Home.vue:709:13:
707 | console.log('res.data.data监管归属', res.data.data)
708 | this.isSupervisedInfoCompletedData = res.data.data
> 709 | console.log(this.isSupervisedInfoCompletedData)
| ^
710 | if (res.data.data.superviseCompleted && res.data.data.infoCompleted) {
711 | this.supervisionDialogVisible = false;//有填写监管归属,隐藏监管归属弹窗
712 | }
error: Unexpected console statement (no-console) at src/views/Home.vue:721:11:
719 | onError: erro => {
720 | this.supervisionDialogVisible = false;//错误,隐藏弹窗,默认让客户可以用
> 721 | console.log('erro11', erro)
| ^
722 | }
723 | })
724 | },
error: Unexpected console statement (no-console) at src/views/Home.vue:749:13:
747 | {
748 | onSucess: res => {
> 749 | console.log(res.data.data.placeOfRegister)
| ^
750 | if (res.data.data.placeOfRegister && res.data.data.placeOfRegister.province.name.indexOf('北京') > -1) {
751 | this.systemNoticeDialogVisible = true
752 | this.placeOfRegister_bjFlag = true
error: Unexpected console statement (no-console) at src/views/Home.vue:786:11:
784 | this.$api.getEnterpriseUserinfo(localStorage.getItem("domainId"), {
785 | onSucess: res => {
> 786 | console.log('res11',res)
| ^
787 | if (res.data.status == 200) {
788 | let isValidLonlat=res.data.data.isValidLonlat;//判断企业是否完善经纬度,没有完善强提醒
789 | console.log('this.domainAdmin',this.domainAdmin)
error: Unexpected console statement (no-console) at src/views/Home.vue:789:13:
787 | if (res.data.status == 200) {
788 | let isValidLonlat=res.data.data.isValidLonlat;//判断企业是否完善经纬度,没有完善强提醒
> 789 | console.log('this.domainAdmin',this.domainAdmin)
| ^
790 | if(this.domainAdmin&&isValidLonlat&&this.network){//是组织管理员以及没有完善经纬度--强提醒
791 | this.domainLonLatPopDialogVisible=true
792 | }
error: Unexpected console statement (no-console) at src/views/Home.vue:1051:17:
1049 | {
1050 | onSucess: res => {
> 1051 | console.log('res', res)
| ^
1052 | let shopToken = res.data && res.data.accessToken || ''
1053 | resolve(shopToken)
1054 | }
error: Unexpected console statement (no-console) at src/views/Home.vue:1095:17:
1093 | {
1094 | onSucess: res => {
> 1095 | console.log('res', res)
| ^
1096 | let shopToken = res.data && res.data.accessToken || ''
1097 | resolve(shopToken)
1098 | }
error: Unexpected console statement (no-console) at src/views/Home.vue:1146:13:
1144 | onSucess: response => {
1145 | if (response.data && response.data.errmsg == "ok") {
> 1146 | console.log(response.data)
| ^
1147 | if (response.data.data.data.length) {
1148 | let arr = []
1149 | response.data.data.data.forEach((item, index) => {
error: Unexpected console statement (no-console) at src/views/Home.vue:1165:15:
1163 |
1164 | })
> 1165 | console.log(arr)
| ^
1166 | arr.sort((a, b) => { return Number(a.cateSort) - Number(b.cateSort) }) //分类排序cateSort
1167 |
1168 | const titleMap = {}
error: Unexpected console statement (no-console) at src/views/Home.vue:1212:15:
1210 | }
1211 | }
> 1212 | console.log(arr3)
| ^
1213 | this.applistArr = arr3
1214 |
1215 | }
error: Unexpected console statement (no-console) at src/views/Home.vue:1253:13:
1251 | onSucess: res => {
1252 | if (res.status == 200) {
> 1253 | console.log("res--->", res.status);
| ^
1254 | }
1255 | }
1256 | })
error: Unexpected console statement (no-console) at src/views/Home.vue:1356:11:
1354 | },
1355 | onError: error => {
> 1356 | console.log(error);
| ^
1357 | }
1358 | });
1359 | },
error: Unexpected console statement (no-console) at src/views/Home.vue:1474:7:
1472 |
1473 | closeTab: function (tab, tabindex) {//关闭当前选项卡,选中前一个选项卡
> 1474 | console.log(tab)
| ^
1475 | console.log(tabindex)
1476 | if (this.$store.state.searchDataStore.length) {
1477 | this.$store.state.searchDataStore.forEach((item, index) => {
error: Unexpected console statement (no-console) at src/views/Home.vue:1475:7:
1473 | closeTab: function (tab, tabindex) {//关闭当前选项卡,选中前一个选项卡
1474 | console.log(tab)
> 1475 | console.log(tabindex)
| ^
1476 | if (this.$store.state.searchDataStore.length) {
1477 | this.$store.state.searchDataStore.forEach((item, index) => {
1478 | if (item.appId == tab.appId && item.viewId == tab.actionContent) {
error: Unexpected console statement (no-console) at src/views/Home.vue:1490:7:
1488 | })
1489 | }
> 1490 | console.log(this.$store.state.searchDataStore)
| ^
1491 | let tabs = this.tabs;
1492 | if (tabindex >= 0) { //点击X关闭
1493 | console.log(JSON.stringify(this.tabs))
error: Unexpected console statement (no-console) at src/views/Home.vue:1493:9:
1491 | let tabs = this.tabs;
1492 | if (tabindex >= 0) { //点击X关闭
> 1493 | console.log(JSON.stringify(this.tabs))
| ^
1494 | tabs.splice(tabindex, 1);
1495 | if (tab.active) {
1496 | if (tabs.length > 0 && ((tabs.length - 1) >= tabindex)) {
error: Unexpected console statement (no-console) at src/views/Home.vue:1569:13:
1567 | onSucess: res => {
1568 | this.isOrganizationPromoter = res.data.data.isOrganizationPromoter;
> 1569 | console.info('promoter', this.isOrganizationPromoter);
| ^
1570 | }
1571 | })
1572 | }
30 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:378:5:
376 | },
377 | components: {
> 378 | "obpm-main-appbar": main_appbar,
| ^
379 | main_navbar,
380 | main_content,
381 | main_domain,
error: The "platAd" component has been registered but not used (vue/no-unused-components) at src/views/HomeRT.vue:383:5:
381 | main_domain,
382 | IMPop,
> 383 | platAd,
| ^
384 | platAdPop,
385 | },
386 |
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:398:13:
396 | this.activeHome();
397 | this.applist(); //查询左边下拉应用列表
> 398 | console.log(this.$refs.mainNavBar.data);
| ^
399 | if (state.defaultFirst == 1) {
400 | this.$refs.mainNavBar.defaultClickFirst(
401 | this.$refs.mainNavBar.data
error: Unexpected side effect in "applicationName" computed property (vue/no-side-effects-in-computed-properties) at src/views/HomeRT.vue:412:11:
410 | if (this.$store.state.appmenusShow) {
411 | this.$nextTick(() => {
> 412 | this.showApp = true;
| ^
413 | this.$refs.mychild.setMaincontent(false); // 调用子组件的方法
414 | this.applist(); //查询左边下拉应用列表
415 | console.log(this.$refs.mainNavBar.data);
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:415:11:
413 | this.$refs.mychild.setMaincontent(false); // 调用子组件的方法
414 | this.applist(); //查询左边下拉应用列表
> 415 | console.log(this.$refs.mainNavBar.data);
| ^
416 | if (this.$store.state.defaultFirst == 1) {
417 | this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data);
418 | }
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:432:7:
430 | currentAppName = this.$store.getters.currentAppName;
431 | }
> 432 | console.log(currentAppName);
| ^
433 | return currentAppName;
434 | },
435 | showInstance() {
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:499:11:
497 | }
498 | this.otherNotice = arr;
> 499 | console.log("this.otherNotice---->", this.otherNotice);
| ^
500 | },
501 | }
502 | );
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:607:13:
605 | {
606 | onSucess: (response) => {
> 607 | console.log(response.data);
| ^
608 | this.roleshow = response.data.show || false;
609 | if (!this.roleshow) {
610 | this.navtopmenuclick(6);
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:624:13:
622 | onSucess: (response) => {
623 | if (response.data && response.data.errmsg == "ok") {
> 624 | console.log(response.data);
| ^
625 | if (response.data.data.data.length) {
626 | let arr = [];
627 | response.data.data.data.forEach((item, index) => {
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:645:15:
643 | arr.push(obj);
644 | });
> 645 | console.log(arr);
| ^
646 | arr.sort((a, b) => {
647 | return Number(a.cateSort) - Number(b.cateSort);
648 | }); //分类排序cateSort
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:705:15:
703 | }
704 | }
> 705 | console.log(arr2);
| ^
706 | arr2.forEach((its) => {
707 | its.isSubshow = false;
708 | });
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:757:11:
755 | this.$api.organizationsIDApi(id, {
756 | onSucess: (res) => {
> 757 | console.log(res);
| ^
758 | console.log(res.data.data.placeOfRegister);
759 | if (
760 | res.data.data.placeOfRegister &&
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:758:11:
756 | onSucess: (res) => {
757 | console.log(res);
> 758 | console.log(res.data.data.placeOfRegister);
| ^
759 | if (
760 | res.data.data.placeOfRegister &&
761 | res.data.data.placeOfRegister.province.name.indexOf("北京") > -1
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:813:11:
811 | this.$api.getEnterpriseUserinfo(localStorage.getItem("domainId"), {
812 | onSucess: (res) => {
> 813 | console.log(res);
| ^
814 | if (res.data.status == 200) {
815 | document.title = res.data.data.sysName || ""; //系统名称
816 | //获取icon图标
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1097:13:
1095 | onSucess: (response) => {
1096 | if (response.data && response.data.errmsg == "ok") {
> 1097 | console.log(response.data);
| ^
1098 | if (response.data.data.data.length) {
1099 | let arr = [];
1100 | response.data.data.data.forEach((item, index) => {
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1118:15:
1116 | arr.push(obj);
1117 | });
> 1118 | console.log(arr);
| ^
1119 | arr.sort((a, b) => {
1120 | return Number(a.cateSort) - Number(b.cateSort);
1121 | }); //分类排序cateSort
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1174:15:
1172 | }
1173 | }
> 1174 | console.log(arr3);
| ^
1175 | this.applistArr = arr3;
1176 |
1177 | //前端缓存本地代码块--切换不同组织的所有应用列表
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1234:13:
1232 | onSucess: (res) => {
1233 | if (res.status == 200) {
> 1234 | console.log("res--->", res.status);
| ^
1235 | }
1236 | },
1237 | });
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1310:11:
1308 | },
1309 | onError: (error) => {
> 1310 | console.log(error);
| ^
1311 | },
1312 | });
1313 | },
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1437:7:
1435 | closeTab: function (tab, tabindex) {
1436 | //关闭当前选项卡,选中前一个选项卡
> 1437 | console.log(tab)
| ^
1438 | console.log(tabindex)
1439 | if(this.$store.state.searchDataStore.length){
1440 | this.$store.state.searchDataStore.forEach((item,index)=>{
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1438:7:
1436 | //关闭当前选项卡,选中前一个选项卡
1437 | console.log(tab)
> 1438 | console.log(tabindex)
| ^
1439 | if(this.$store.state.searchDataStore.length){
1440 | this.$store.state.searchDataStore.forEach((item,index)=>{
1441 | if(item.appId==tab.appId&&item.viewId==tab.actionContent){
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1453:7:
1451 | })
1452 | }
> 1453 | console.log(this.$store.state.searchDataStore)
| ^
1454 | let tabs = this.tabs;
1455 | if (tabindex >= 0) {
1456 | //点击X关闭
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1457:9:
1455 | if (tabindex >= 0) {
1456 | //点击X关闭
> 1457 | console.log(JSON.stringify(this.tabs));
| ^
1458 | tabs.splice(tabindex, 1);
1459 | if (tab.active) {
1460 | if (tabs.length > 0 && tabs.length - 1 >= tabindex) {
23 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 |