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 54a8315406b6efe5be4f5e32300b01c39c9577c0 (refs/remotes/origin/test) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f 54a8315406b6efe5be4f5e32300b01c39c9577c0 # timeout=10 Commit message: "Merge branch 'feat-公安未读弹窗' into test" > /usr/local/git/bin/git rev-list --no-walk bdb23ebacdece2c0b019d8b8436e1d252528e023 # timeout=10 [badp-bcxin-web-5.x-vue] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins16583118274631253917.sh + cd /data/jenkins/workspace/badp-bcxin-web-5.x-vue + npm install added 15 packages, and removed 6 packages in 4s + npm run build > hello-world@0.1.0 build > vue-cli-service build - Building for production... DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 3 │ @import 'public'; │ ^^^^^^^^ ╵ stdin 3:9 root stylesheet DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 4 │ @import 'forms'; │ ^^^^^^^ ╵ stdin 4:9 root stylesheet DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 5 │ @import '_view'; │ ^^^^^^^ ╵ stdin 5:9 root stylesheet DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 6 │ @import '_activity'; │ ^^^^^^^^^^^ ╵ stdin 6:9 root stylesheet DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 7 │ @import '_flowPanel'; │ ^^^^^^^^^^^^ ╵ stdin 7:9 root stylesheet DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import "home_variables"; //首页自定义皮肤变量 │ ^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import "home_variables"; //首页自定义皮肤变量 │ ^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api DEPRECATION WARNING [mixed-decls]: Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested rule. To opt into the new behavior, wrap the declaration in `& {}`. More info: https://sass-lang.com/d/mixed-decls ╷ 3477 │ ┌ .icon-log { 3478 │ │ position: absolute; 3479 │ │ bottom: -16px; 3480 │ │ left: 0; 3481 │ │ z-index: 999; 3482 │ │ cursor: pointer; 3483 │ │ 3484 │ │ } │ └─── nested rule 3485 │ position: relative; │ ^^^^^^^^^^^^^^^^^^ declaration ╵ src/assets/style/_forms.scss 3485:7 @import stdin 4:9 root stylesheet WARNING: 18 repetitive deprecation warnings omitted. WARNING Compiled with 88 warnings5:33:47 PM Module Warning (from ./node_modules/@vue/cli-plugin-eslint/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:79:19: 77 | this.$api.grtUnreadMsgListApi({},{ 78 | onSucess: res => { > 79 | console.log('公安未读消息', res) | ^ 80 | if(res.status == 200){ 81 | this.notices=res.data.data 82 | this.notices.sort((a,b)=>{ error: Unexpected console statement (no-console) at src/components/PoliceNoticePop.vue:86:23: 84 | }) 85 | if(this.notices){ > 86 | console.log(this.notices) | ^ 87 | // this.detail(this.notices[0]) 88 | } 89 | } error: Unexpected console statement (no-console) at src/components/PoliceNoticePop.vue:99:7: 97 | // }, 98 | handleReply(row) { > 99 | console.log('回复', row) | ^ 100 | this.$api.hasPermissionToForm('__DXZvc8mnEmDqMARhK7G', '__1s1CEOcmoHo8sZRNEYh', { 101 | onSucess: (response) => { 102 | console.log('hasPermissionToForm', response.data.data) error: Unexpected console statement (no-console) at src/components/PoliceNoticePop.vue:102:15: 100 | this.$api.hasPermissionToForm('__DXZvc8mnEmDqMARhK7G', '__1s1CEOcmoHo8sZRNEYh', { 101 | onSucess: (response) => { > 102 | console.log('hasPermissionToForm', response.data.data) | ^ 103 | if (response.data.data) { 104 | this.showDetail = true; 105 | if(location.href.indexOf("localhost")>-1) { 5 errors found. Module Warning (from ./node_modules/@vue/cli-plugin-eslint/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/@vue/cli-plugin-eslint/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/@vue/cli-plugin-eslint/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/@vue/cli-plugin-eslint/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/@vue/cli-plugin-eslint/node_modules/eslint-loader/index.js): error: Parsing error: x-invalid-end-tag (vue/no-parsing-error) at src/views/Home.vue:382:89: 380 |
381 | 由于北京新冠疫情形势整体好转,首都防疫举措调整,经总队研究决定, 382 | style="color:red;font-weight: 700;">正式全面恢复保安员证考试工作,并落实好以下要求:
| ^ 383 | 参与考试的保安员及校师资人员均需持有48小时核酸阴性证明; 384 |
385 | 保安培训学校做好扫码测温及环境消杀等工作; error: The "obpm-main-appbar" component has been registered but not used (vue/no-unused-components) at src/views/Home.vue:487:5: 485 | }, 486 | components: { > 487 | "obpm-main-appbar": main_appbar, | ^ 488 | main_navbar, 489 | main_content, 490 | main_domain, error: The "platAd" component has been registered but not used (vue/no-unused-components) at src/views/Home.vue:492:5: 490 | main_domain, 491 | IMPop, > 492 | platAd, | ^ 493 | platAdPop, 494 | PoliceNoticePop, 495 | supervisionPop, error: Unexpected console statement (no-console) at src/views/Home.vue:510:13: 508 | this.activeHome() 509 | this.applist()//查询左边下拉应用列表 > 510 | console.log(this.$refs.mainNavBar.data) | ^ 511 | if (state.defaultFirst == 1) { 512 | this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data) 513 | } error: Unexpected side effect in "applicationName" computed property (vue/no-side-effects-in-computed-properties) at src/views/Home.vue:522:11: 520 | if (this.$store.state.appmenusShow) { 521 | this.$nextTick(() => { > 522 | this.showApp = true | ^ 523 | this.$refs.mychild.setMaincontent(false) // 调用子组件的方法 524 | this.applist()//查询左边下拉应用列表 525 | console.log(this.$refs.mainNavBar.data) error: Unexpected console statement (no-console) at src/views/Home.vue:525:11: 523 | this.$refs.mychild.setMaincontent(false) // 调用子组件的方法 524 | this.applist()//查询左边下拉应用列表 > 525 | console.log(this.$refs.mainNavBar.data) | ^ 526 | if (this.$store.state.defaultFirst == 1) { 527 | // this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data) 528 | } error: Unexpected console statement (no-console) at src/views/Home.vue:538:7: 536 | currentAppName = this.$store.getters.currentAppName 537 | } > 538 | console.log(currentAppName) | ^ 539 | return currentAppName; 540 | }, 541 | showInstance() { error: Unexpected console statement (no-console) at src/views/Home.vue:650:11: 648 | } 649 | this.otherNotice = arr; > 650 | console.log("this.otherNotice---->", this.otherNotice) | ^ 651 | } 652 | } 653 | ) error: Unexpected console statement (no-console) at src/views/Home.vue:660:11: 658 | if (res.status == 200) { 659 | let listArr = res.data.data > 660 | console.log('公安未读消息', listArr) | ^ 661 | if (listArr.length) { 662 | this.policeNotices = listArr.sort((a,b)=>{ 663 | return (new Date(b.item_senddate)-new Date(a.item_senddate)) error: Unexpected console statement (no-console) at src/views/Home.vue:672:11: 670 | // }) 671 | } > 672 | console.log('公安未读消息1111', this.policeNotices.length) | ^ 673 | // this.policeNoticePop() 674 | if (this.policeNotices.length>0) {//提醒时间段有弹窗提醒 675 | this.policeNoticePop() error: Unexpected console statement (no-console) at src/views/Home.vue:685:11: 683 | if (res.data.errcode == 0) { 684 | let listArr = res.data.data.data > 685 | console.log(listArr) | ^ 686 | if (listArr.length) { 687 | listArr.forEach(item => { 688 | if (currDate(true) >= item.items.__G3lF6FIrSTspuF06jEr.value && currDate(true) <= item.items.__eG17lW4psp4yq1aT0Pt.value) {//在当前时间范围内提醒 error: Unexpected console statement (no-console) at src/views/Home.vue:701:5: 699 | ) 700 | > 701 | console.log('organizationLevels',organizationLevels)//obpm.config.js定义全局变量organizationLevels | ^ 702 | if(organizationLevels.indexOf('Premium')>-1){ 703 | this.baseServiceOptions=this.$root.roleLevelsPermissionData&&this.$root.roleLevelsPermissionData.baseServiceOptions 704 | console.log('this.baseServiceOptions',this.baseServiceOptions) error: Unexpected console statement (no-console) at src/views/Home.vue:704:7: 702 | if(organizationLevels.indexOf('Premium')>-1){ 703 | this.baseServiceOptions=this.$root.roleLevelsPermissionData&&this.$root.roleLevelsPermissionData.baseServiceOptions > 704 | console.log('this.baseServiceOptions',this.baseServiceOptions) | ^ 705 | } 706 | 707 | }, error: Unexpected console statement (no-console) at src/views/Home.vue:781:7: 779 | // 检查并显示密码修改提示 780 | checkPasswordUpdateNotice() { > 781 | console.log('this.updatePasswordType', this.updatePasswordType, this.updatePasswordMsg) | ^ 782 | if (this.updatePasswordType && this.updatePasswordMsg) { 783 | this.updatePwdDialogVisible = true 784 | if (this.updatePasswordType === '2') { error: Unexpected console statement (no-console) at src/views/Home.vue:808:11: 806 | this.$api.isSupervisedApi(domainId, { 807 | onSucess: res => { > 808 | console.log('res11', res) | ^ 809 | if (res.data.data) { 810 | console.log('res.data.data监管归属', res.data.data) 811 | this.isSupervisedInfoCompletedData = res.data.data error: Unexpected console statement (no-console) at src/views/Home.vue:810:13: 808 | console.log('res11', res) 809 | if (res.data.data) { > 810 | console.log('res.data.data监管归属', res.data.data) | ^ 811 | this.isSupervisedInfoCompletedData = res.data.data 812 | console.log(this.isSupervisedInfoCompletedData) 813 | if (res.data.data.superviseCompleted && res.data.data.infoCompleted) { error: Unexpected console statement (no-console) at src/views/Home.vue:812:13: 810 | console.log('res.data.data监管归属', res.data.data) 811 | this.isSupervisedInfoCompletedData = res.data.data > 812 | console.log(this.isSupervisedInfoCompletedData) | ^ 813 | if (res.data.data.superviseCompleted && res.data.data.infoCompleted) { 814 | this.supervisionDialogVisible = false;//有填写监管归属,隐藏监管归属弹窗 815 | } error: Unexpected console statement (no-console) at src/views/Home.vue:824:11: 822 | onError: erro => { 823 | this.supervisionDialogVisible = false;//错误,隐藏弹窗,默认让客户可以用 > 824 | console.log('erro11', erro) | ^ 825 | } 826 | }) 827 | }, error: Unexpected console statement (no-console) at src/views/Home.vue:852:13: 850 | { 851 | onSucess: res => { > 852 | console.log(res.data.data.placeOfRegister) | ^ 853 | if (res.data.data.placeOfRegister && res.data.data.placeOfRegister.province.name.indexOf('北京') > -1) { 854 | this.systemNoticeDialogVisible = true 855 | this.placeOfRegister_bjFlag = true error: Unexpected console statement (no-console) at src/views/Home.vue:889:11: 887 | this.$api.getEnterpriseUserinfo(localStorage.getItem("domainId"), { 888 | onSucess: res => { > 889 | console.log('res11',res) | ^ 890 | if (res.data.status == 200) { 891 | let isValidLonlat=res.data.data.isValidLonlat;//判断企业是否完善经纬度,没有完善强提醒 892 | console.log('this.domainAdmin',this.domainAdmin) error: Unexpected console statement (no-console) at src/views/Home.vue:892:13: 890 | if (res.data.status == 200) { 891 | let isValidLonlat=res.data.data.isValidLonlat;//判断企业是否完善经纬度,没有完善强提醒 > 892 | console.log('this.domainAdmin',this.domainAdmin) | ^ 893 | if(this.domainAdmin&&isValidLonlat&&this.network){//是组织管理员以及没有完善经纬度--强提醒 894 | this.domainLonLatPopDialogVisible=true 895 | } error: Unexpected console statement (no-console) at src/views/Home.vue:1160:17: 1158 | { 1159 | onSucess: res => { > 1160 | console.log('res', res) | ^ 1161 | let shopToken = res.data && res.data.accessToken || '' 1162 | resolve(shopToken) 1163 | } error: Unexpected console statement (no-console) at src/views/Home.vue:1204:17: 1202 | { 1203 | onSucess: res => { > 1204 | console.log('res', res) | ^ 1205 | let shopToken = res.data && res.data.accessToken || '' 1206 | resolve(shopToken) 1207 | } error: Unexpected console statement (no-console) at src/views/Home.vue:1255:13: 1253 | onSucess: response => { 1254 | if (response.data && response.data.errmsg == "ok") { > 1255 | console.log(response.data) | ^ 1256 | if (response.data.data.data.length) { 1257 | let arr = [] 1258 | response.data.data.data.forEach((item, index) => { error: Unexpected console statement (no-console) at src/views/Home.vue:1274:15: 1272 | 1273 | }) > 1274 | console.log(arr) | ^ 1275 | arr.sort((a, b) => { return Number(a.cateSort) - Number(b.cateSort) }) //分类排序cateSort 1276 | 1277 | const titleMap = {} error: Unexpected console statement (no-console) at src/views/Home.vue:1321:15: 1319 | } 1320 | } > 1321 | console.log(arr3) | ^ 1322 | this.applistArr = arr3 1323 | 1324 | } error: Unexpected console statement (no-console) at src/views/Home.vue:1362:13: 1360 | onSucess: res => { 1361 | if (res.status == 200) { > 1362 | console.log("res--->", res.status); | ^ 1363 | } 1364 | } 1365 | }) error: Unexpected console statement (no-console) at src/views/Home.vue:1465:11: 1463 | }, 1464 | onError: error => { > 1465 | console.log(error); | ^ 1466 | } 1467 | }); 1468 | }, error: Unexpected console statement (no-console) at src/views/Home.vue:1583:7: 1581 | 1582 | closeTab: function (tab, tabindex) {//关闭当前选项卡,选中前一个选项卡 > 1583 | console.log(tab) | ^ 1584 | console.log(tabindex) 1585 | if (this.$store.state.searchDataStore.length) { 1586 | this.$store.state.searchDataStore.forEach((item, index) => { error: Unexpected console statement (no-console) at src/views/Home.vue:1584:7: 1582 | closeTab: function (tab, tabindex) {//关闭当前选项卡,选中前一个选项卡 1583 | console.log(tab) > 1584 | console.log(tabindex) | ^ 1585 | if (this.$store.state.searchDataStore.length) { 1586 | this.$store.state.searchDataStore.forEach((item, index) => { 1587 | if (item.appId == tab.appId && item.viewId == tab.actionContent) { error: Unexpected console statement (no-console) at src/views/Home.vue:1599:7: 1597 | }) 1598 | } > 1599 | console.log(this.$store.state.searchDataStore) | ^ 1600 | let tabs = this.tabs; 1601 | if (tabindex >= 0) { //点击X关闭 1602 | console.log(JSON.stringify(this.tabs)) error: Unexpected console statement (no-console) at src/views/Home.vue:1602:9: 1600 | let tabs = this.tabs; 1601 | if (tabindex >= 0) { //点击X关闭 > 1602 | console.log(JSON.stringify(this.tabs)) | ^ 1603 | tabs.splice(tabindex, 1); 1604 | if (tab.active) { 1605 | if (tabs.length > 0 && ((tabs.length - 1) >= tabindex)) { error: Unexpected console statement (no-console) at src/views/Home.vue:1678:13: 1676 | onSucess: res => { 1677 | this.isOrganizationPromoter = res.data.data.isOrganizationPromoter; > 1678 | console.info('promoter', this.isOrganizationPromoter); | ^ 1679 | } 1680 | }) 1681 | } 33 errors found. Module Warning (from ./node_modules/@vue/cli-plugin-eslint/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/@vue/cli-plugin-eslint/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/@vue/cli-plugin-eslint/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 |