10:01:09 Started by user unknown or anonymous
10:01:09 Running as SYSTEM
10:01:09 Building in workspace /data/jenkins/workspace/badp-bcxin-web-5.x-vue
10:01:09 The recommended git tool is: NONE
10:01:09 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
10:01:09 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/badp-bcxin-web-5.x-vue/.git # timeout=10
10:01:09 Fetching changes from the remote Git repository
10:01:09 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-vue.git # timeout=10
10:01:09 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-vue.git
10:01:09 > /usr/local/git/bin/git --version # timeout=10
10:01:10 > git --version # 'git version 2.43.0'
10:01:10 using GIT_ASKPASS to set credentials gitlab凭据
10:01:10 > /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
10:01:11 > /usr/local/git/bin/git rev-parse 9766dead333f9106004ccba5b9623e70243b9ad8^{commit} # timeout=10
10:01:11 Checking out Revision 9766dead333f9106004ccba5b9623e70243b9ad8 (detached)
10:01:11 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
10:01:11 > /usr/local/git/bin/git checkout -f 9766dead333f9106004ccba5b9623e70243b9ad8 # timeout=10
10:01:11 Commit message: "Merge branch 'feat-替换obs上传' into test"
10:01:11 > /usr/local/git/bin/git rev-list --no-walk 0b13673668f0008f32bad8234dbf51c67220e1b2 # timeout=10
10:01:11 [badp-bcxin-web-5.x-vue] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins2929987842894492205.sh
10:01:11 + cd /data/jenkins/workspace/badp-bcxin-web-5.x-vue
10:01:11 + npm install
10:01:13 npm WARN EBADENGINE Unsupported engine {
10:01:13 npm WARN EBADENGINE package: 'gcoord@1.0.7',
10:01:13 npm WARN EBADENGINE required: { node: '>=16.11.0' },
10:01:13 npm WARN EBADENGINE current: { node: 'v16.0.0', npm: '7.10.0' }
10:01:13 npm WARN EBADENGINE }
10:01:21
10:01:21 up to date in 10s
10:01:21
10:01:21 249 packages are looking for funding
10:01:21 run `npm fund` for details
10:01:21 + npm run build
10:01:22
10:01:22 > hello-world@0.1.0 build
10:01:22 > vue-cli-service build --mode production
10:01:22
10:01:23
10:01:23 - Building for production...
10:01:25 Browserslist: caniuse-lite is outdated. Please run:
10:01:25 npx update-browserslist-db@latest
10:01:25 Why you should do it regularly: https://github.com/browserslist/update-db#readme
10:01:31 Browserslist: caniuse-lite is outdated. Please run:
10:01:31 npx update-browserslist-db@latest
10:01:31 Why you should do it regularly: https://github.com/browserslist/update-db#readme
10:01:44 Browserslist: caniuse-lite is outdated. Please run:
10:01:44 npx update-browserslist-db@latest
10:01:44 Why you should do it regularly: https://github.com/browserslist/update-db#readme
10:01:48 Browserslist: caniuse-lite is outdated. Please run:
10:01:48 npx update-browserslist-db@latest
10:01:48 Why you should do it regularly: https://github.com/browserslist/update-db#readme
10:01:48 Browserslist: caniuse-lite is outdated. Please run:
10:01:48 npx update-browserslist-db@latest
10:01:48 Why you should do it regularly: https://github.com/browserslist/update-db#readme
10:01:48 Browserslist: caniuse-lite is outdated. Please run:
10:01:48 npx update-browserslist-db@latest
10:01:48 Why you should do it regularly: https://github.com/browserslist/update-db#readme
10:01:48 Browserslist: caniuse-lite is outdated. Please run:
10:01:48 npx update-browserslist-db@latest
10:01:48 Why you should do it regularly: https://github.com/browserslist/update-db#readme
10:02:01 Browserslist: caniuse-lite is outdated. Please run:
10:02:01 npx update-browserslist-db@latest
10:02:01 Why you should do it regularly: https://github.com/browserslist/update-db#readme
10:03:49 WARNING Compiled with 11 warnings10:03:49 AM
10:03:49
10:03:49 Module Warning (from ./node_modules/eslint-loader/index.js):
10:03:49 error: Unexpected console statement (no-console) at src/components/application.vue:35:9:
10:03:49 33 | },
10:03:49 34 | mounted() {
10:03:49 > 35 | console.log('homeTemplateBoradType', this.showBktHome)
10:03:49 | ^
10:03:49 36 | },
10:03:49 37 | components:{
10:03:49 38 | homeBoard,
10:03:49
10:03:49
10:03:49 1 error found.
10:03:49
10:03:49 Module Warning (from ./node_modules/eslint-loader/index.js):
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:80:13:
10:03:49 78 | else {
10:03:49 79 | this.organizationLevels=organizationLevels.split(',')//obpm.config.js定义全局变量organizationLevels
10:03:49 > 80 | console.log('organizationLevels',organizationLevels)//obpm.config.js定义全局变量organizationLevels
10:03:49 | ^
10:03:49 81 | if(this.organizationLevels&&this.organizationLevels.includes('Premium')){
10:03:49 82 | this.appLevelsList()
10:03:49 83 | }else{
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:98:13:
10:03:49 96 | key: ""
10:03:49 97 | }
10:03:49 > 98 | console.log(this.$listeners)
10:03:49 | ^
10:03:49 99 | this.addTab(param)
10:03:49 100 | },
10:03:49 101 | applistIframe() {//查询应用列表
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:109:25:
10:03:49 107 |
10:03:49 108 | if (response.data && response.data.errmsg == "ok") {
10:03:49 > 109 | console.log(response.data)
10:03:49 | ^
10:03:49 110 | if (response.data.data.data.length) {
10:03:49 111 | let arr = []
10:03:49 112 | response.data.data.data.forEach((item, index) => {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:128:29:
10:03:49 126 |
10:03:49 127 | })
10:03:49 > 128 | console.log(arr)
10:03:49 | ^
10:03:49 129 | arr.sort((a, b) => { return Number(a.cateSort) - Number(b.cateSort) }) //分类排序cateSort
10:03:49 130 |
10:03:49 131 | const titleMap = {}
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:189:29:
10:03:49 187 | }
10:03:49 188 | }
10:03:49 > 189 | console.log(arr2)
10:03:49 | ^
10:03:49 190 | this.appcateArrList = arr2
10:03:49 191 |
10:03:49 192 | //前端缓存本地代码块--切换不同组织的所有应用列表
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:221:29:
10:03:49 219 | parsedData = JSON.parse(jsonString);
10:03:49 220 | } catch (e) {
10:03:49 > 221 | console.warn('解析 resource.data 失败:', e, resource.data);
10:03:49 | ^
10:03:49 222 | // 如果解析失败,尝试使用正则表达式提取
10:03:49 223 | const iconMatch = resource.data.match(/icon:\s*['"]([^'"]+)['"]/);
10:03:49 224 | const urlMatch = resource.data.match(/url:\s*['"]([^'"]+)['"]/);
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:294:33:
10:03:49 292 | } catch (e) {
10:03:49 293 | // 如果 URL 解析失败(可能是相对路径或特殊格式),使用字符串替换方式
10:03:49 > 294 | console.warn('URL 解析失败,使用字符串替换方式:', e, url);
10:03:49 | ^
10:03:49 295 |
10:03:49 296 | // 使用正则表达式替换或添加参数
10:03:49 297 | if (token) {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:321:21:
10:03:49 319 |
10:03:49 320 | const actionContent = url || resource.id || '';
10:03:49 > 321 | console.log('actionContent:', actionContent);
10:03:49 | ^
10:03:49 322 |
10:03:49 323 | // 构建 ico 字段(JSON字符串格式)
10:03:49 324 | const icoString = icon ? JSON.stringify({
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:388:13:
10:03:49 386 | },
10:03:49 387 | async loadAppMenu(appId, name) {//点击应用列表查询左边应用菜单
10:03:49 > 388 | console.log(this.$parent.$parent.$parent.$parent)
10:03:49 | ^
10:03:49 389 | console.log('当前appId', appId)
10:03:49 390 |
10:03:49 391 | // 判断是否为第三方应用
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:389:13:
10:03:49 387 | async loadAppMenu(appId, name) {//点击应用列表查询左边应用菜单
10:03:49 388 | console.log(this.$parent.$parent.$parent.$parent)
10:03:49 > 389 | console.log('当前appId', appId)
10:03:49 | ^
10:03:49 390 |
10:03:49 391 | // 判断是否为第三方应用
10:03:49 392 | if (appId && appId.startsWith('third_party')) {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:398:21:
10:03:49 396 | // 实际项目中可能需要根据具体业务逻辑获取 categoryId
10:03:49 397 | const categoryId = appId || 'default'; // 示例: third_party_category_123
10:03:49 > 398 | console.log('第三方应用类别ID:', categoryId);
10:03:49 | ^
10:03:49 399 |
10:03:49 400 | // 使用现有的 API 调用方式
10:03:49 401 | this.$api.getRbacCategoryResources(categoryId, {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:403:29:
10:03:49 401 | this.$api.getRbacCategoryResources(categoryId, {
10:03:49 402 | onSucess: (response) => {
10:03:49 > 403 | console.log('第三方应用资源:', response);
10:03:49 | ^
10:03:49 404 | // 构建第三方应用菜单
10:03:49 405 | if (response && response.data && response.data.data) {
10:03:49 406 | // 注意:实际数据在 response.data.data 中
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:408:33:
10:03:49 406 | // 注意:实际数据在 response.data.data 中
10:03:49 407 | const menus = this.transformRbacResourcesToMenus(response.data.data);
10:03:49 > 408 | console.log('转换后的菜单结构:', menus);
10:03:49 | ^
10:03:49 409 |
10:03:49 410 | // 将菜单数据存储到 Vuex store 中
10:03:49 411 | this.$store.commit('loadMenus', { appId: appId, menus: menus });
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:417:29:
10:03:49 415 | },
10:03:49 416 | onError: (error) => {
10:03:49 > 417 | console.error('获取第三方应用资源失败:', error);
10:03:49 | ^
10:03:49 418 | }
10:03:49 419 | });
10:03:49 420 |
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:424:21:
10:03:49 422 | return;
10:03:49 423 | } catch (error) {
10:03:49 > 424 | console.error('获取第三方应用资源失败:', error);
10:03:49 | ^
10:03:49 425 | }
10:03:49 426 | }
10:03:49 427 |
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:437:17:
10:03:49 435 | }
10:03:49 436 | if (appId == '__Hab04s0VNDPrjFZ3Xlo') {//挂图作战直接打开项目中心首页
10:03:49 > 437 | console.log(this.$parent.$parent)
10:03:49 | ^
10:03:49 438 | this.$parent.$parent.$parent.$parent.navtopmenuclick(1)
10:03:49 439 | return
10:03:49 440 | }
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:446:17:
10:03:49 444 |
10:03:49 445 | if (appId == '__aNKPFCBuZfyQNzlnlZ9') { //商城pc前端入口
10:03:49 > 446 | console.log(this.$parent.$parent)
10:03:49 | ^
10:03:49 447 | this.$parent.$parent.$parent.$parent.navtopmenuclick(100)
10:03:49 448 | return
10:03:49 449 | }
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:451:17:
10:03:49 449 | }
10:03:49 450 | if (appId == '__ZG0ZtjrEhvNbj2rlOsF') { //企业钱包前端入口
10:03:49 > 451 | console.log(this.$parent.$parent)
10:03:49 | ^
10:03:49 452 | this.$parent.$parent.$parent.$parent.navtopmenuclick(101)
10:03:49 453 | return
10:03:49 454 | }
10:03:49
10:03:49
10:03:49 18 errors found.
10:03:49
10:03:49 Module Warning (from ./node_modules/eslint-loader/index.js):
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:83:13:
10:03:49 81 | else {
10:03:49 82 | this.organizationLevels=organizationLevels.split(',')//obpm.config.js定义全局变量organizationLevels
10:03:49 > 83 | console.log('organizationLevels',organizationLevels)//obpm.config.js定义全局变量organizationLevels
10:03:49 | ^
10:03:49 84 | if(this.organizationLevels&&this.organizationLevels.includes('Premium')){
10:03:49 85 | this.appLevelsList()
10:03:49 86 | }else{
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:101:13:
10:03:49 99 | key: ""
10:03:49 100 | }
10:03:49 > 101 | console.log(this.$listeners)
10:03:49 | ^
10:03:49 102 | this.addTab(param)
10:03:49 103 | },
10:03:49 104 | applistIframe() {//查询应用列表
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:112:25:
10:03:49 110 |
10:03:49 111 | if (response.data && response.data.errmsg == "ok") {
10:03:49 > 112 | console.log(response.data)
10:03:49 | ^
10:03:49 113 | if (response.data.data.data.length) {
10:03:49 114 | let arr = []
10:03:49 115 | response.data.data.data.forEach((item, index) => {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:131:29:
10:03:49 129 |
10:03:49 130 | })
10:03:49 > 131 | console.log(arr)
10:03:49 | ^
10:03:49 132 | arr.sort((a, b) => { return Number(a.cateSort) - Number(b.cateSort) }) //分类排序cateSort
10:03:49 133 |
10:03:49 134 | const titleMap = {}
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:192:29:
10:03:49 190 | }
10:03:49 191 | }
10:03:49 > 192 | console.log(arr2)
10:03:49 | ^
10:03:49 193 | this.appcateArrList = arr2
10:03:49 194 |
10:03:49 195 | //前端缓存本地代码块--切换不同组织的所有应用列表
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:224:29:
10:03:49 222 | parsedData = JSON.parse(jsonString);
10:03:49 223 | } catch (e) {
10:03:49 > 224 | console.warn('解析 resource.data 失败:', e, resource.data);
10:03:49 | ^
10:03:49 225 | // 如果解析失败,尝试使用正则表达式提取
10:03:49 226 | const iconMatch = resource.data.match(/icon:\s*['"]([^'"]+)['"]/);
10:03:49 227 | const urlMatch = resource.data.match(/url:\s*['"]([^'"]+)['"]/);
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:297:33:
10:03:49 295 | } catch (e) {
10:03:49 296 | // 如果 URL 解析失败(可能是相对路径或特殊格式),使用字符串替换方式
10:03:49 > 297 | console.warn('URL 解析失败,使用字符串替换方式:', e, url);
10:03:49 | ^
10:03:49 298 |
10:03:49 299 | // 使用正则表达式替换或添加参数
10:03:49 300 | if (token) {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:324:21:
10:03:49 322 |
10:03:49 323 | const actionContent = url || resource.id || '';
10:03:49 > 324 | console.log('actionContent:', actionContent);
10:03:49 | ^
10:03:49 325 |
10:03:49 326 | // 构建 ico 字段(JSON字符串格式)
10:03:49 327 | const icoString = icon ? JSON.stringify({
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:391:13:
10:03:49 389 | },
10:03:49 390 | loadAppMenu(appId, name) {//点击应用列表查询左边应用菜单
10:03:49 > 391 | console.log(this.$parent.$parent.$parent.$parent)
10:03:49 | ^
10:03:49 392 | console.log('当前appId', appId)
10:03:49 393 |
10:03:49 394 | // 判断是否为第三方应用
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:392:13:
10:03:49 390 | loadAppMenu(appId, name) {//点击应用列表查询左边应用菜单
10:03:49 391 | console.log(this.$parent.$parent.$parent.$parent)
10:03:49 > 392 | console.log('当前appId', appId)
10:03:49 | ^
10:03:49 393 |
10:03:49 394 | // 判断是否为第三方应用
10:03:49 395 | if (appId && appId.startsWith('third_party')) {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:401:21:
10:03:49 399 | // 实际项目中可能需要根据具体业务逻辑获取 categoryId
10:03:49 400 | const categoryId = appId || 'default'; // 示例: third_party_category_123
10:03:49 > 401 | console.log('第三方应用类别ID:', categoryId);
10:03:49 | ^
10:03:49 402 |
10:03:49 403 | // 使用现有的 API 调用方式
10:03:49 404 | this.$api.getRbacCategoryResources(categoryId, {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:406:29:
10:03:49 404 | this.$api.getRbacCategoryResources(categoryId, {
10:03:49 405 | onSucess: (response) => {
10:03:49 > 406 | console.log('第三方应用资源:', response);
10:03:49 | ^
10:03:49 407 | // 构建第三方应用菜单
10:03:49 408 | if (response && response.data && response.data.data) {
10:03:49 409 | // 注意:实际数据在 response.data.data 中
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:411:33:
10:03:49 409 | // 注意:实际数据在 response.data.data 中
10:03:49 410 | const menus = this.transformRbacResourcesToMenus(response.data.data);
10:03:49 > 411 | console.log('转换后的菜单结构:', menus);
10:03:49 | ^
10:03:49 412 |
10:03:49 413 | // 将菜单数据存储到 Vuex store 中
10:03:49 414 | this.$store.commit('loadMenus', { appId: appId, menus: menus });
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:420:29:
10:03:49 418 | },
10:03:49 419 | onError: (error) => {
10:03:49 > 420 | console.error('获取第三方应用资源失败:', error);
10:03:49 | ^
10:03:49 421 | }
10:03:49 422 | });
10:03:49 423 |
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:427:21:
10:03:49 425 | return;
10:03:49 426 | } catch (error) {
10:03:49 > 427 | console.error('获取第三方应用资源失败:', error);
10:03:49 | ^
10:03:49 428 | }
10:03:49 429 | }
10:03:49 430 | let httpsUrl = location.origin;//获取url各个环境地址--比如http://localhost:4000
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:439:17:
10:03:49 437 | }
10:03:49 438 | if (appId == '__Hab04s0VNDPrjFZ3Xlo') {//挂图作战直接打开项目中心首页
10:03:49 > 439 | console.log(this.$parent.$parent)
10:03:49 | ^
10:03:49 440 | this.$parent.$parent.$parent.$parent.navtopmenuclick(1)
10:03:49 441 | return
10:03:49 442 | }
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:448:17:
10:03:49 446 |
10:03:49 447 | if (appId == '__aNKPFCBuZfyQNzlnlZ9') { //商城pc前端入口
10:03:49 > 448 | console.log(this.$parent.$parent)
10:03:49 | ^
10:03:49 449 | this.$parent.$parent.$parent.$parent.navtopmenuclick(100)
10:03:49 450 | return
10:03:49 451 | }
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:453:17:
10:03:49 451 | }
10:03:49 452 | if (appId == '__ZG0ZtjrEhvNbj2rlOsF') { //企业钱包前端入口
10:03:49 > 453 | console.log(this.$parent.$parent)
10:03:49 | ^
10:03:49 454 | this.$parent.$parent.$parent.$parent.navtopmenuclick(101)
10:03:49 455 | return
10:03:49 456 | }
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:458:17:
10:03:49 456 | }
10:03:49 457 | if (appId == '111') { //行业考培大屏
10:03:49 > 458 | console.log('行业考培大屏')
10:03:49 | ^
10:03:49 459 | const imgSrc = require('@/assets/images/bktImgs/大屏图片.jpg')
10:03:49 460 | this.$alert(
10:03:49 461 | `<div style="text-align:center"><img src="${imgSrc}" style="max-width:100%"></div>`,
10:03:49
10:03:49
10:03:49 19 errors found.
10:03:49
10:03:49 Module Warning (from ./node_modules/eslint-loader/index.js):
10:03:49 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:57:9:
10:03:49 55 | },
10:03:49 56 | created() {
10:03:49 > 57 | console.log(this.$root.user)
10:03:49 | ^
10:03:49 58 | this.network = __network__
10:03:49 59 | if(this.network){
10:03:49 60 | this.getLocation();
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:154:24:
10:03:49 152 | if(response.data.data){
10:03:49 153 | this.hiredDate=response.data.data.hiredDate
10:03:49 > 154 | console.log(this.hiredDate)
10:03:49 | ^
10:03:49 155 | this.hiredDateToNow=diffDate(response.data.data.hiredDate,getNowFormatDate())
10:03:49 156 | }
10:03:49 157 | }
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:168:23:
10:03:49 166 | onSucess: response => {
10:03:49 167 | if(response.data.data){
10:03:49 > 168 | console.log(response.data.data)
10:03:49 | ^
10:03:49 169 | if(response.data.data.datas.length){
10:03:49 170 | this.getAnnouncementFirst=response.data.data.datas[0]
10:03:49 171 | }else{
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:206:21:
10:03:49 204 | function onComplete (data) {
10:03:49 205 | // data是具体的定位信息
10:03:49 > 206 | console.log('定位成功信息:', data.addressComponent.city);
10:03:49 | ^
10:03:49 207 | self.city = (data.addressComponent && data.addressComponent.city);
10:03:49 208 | AMap.plugin('AMap.Weather', function() {
10:03:49 209 | console.log(self.city)
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:209:25:
10:03:49 207 | self.city = (data.addressComponent && data.addressComponent.city);
10:03:49 208 | AMap.plugin('AMap.Weather', function() {
10:03:49 > 209 | console.log(self.city)
10:03:49 | ^
10:03:49 210 | var weather = new AMap.Weather();
10:03:49 211 | weather.getLive(self.city, function(err, data) {
10:03:49 212 | if (!err) {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:213:33:
10:03:49 211 | weather.getLive(self.city, function(err, data) {
10:03:49 212 | if (!err) {
10:03:49 > 213 | console.log(data)
10:03:49 | ^
10:03:49 214 | self.cityInfo=data
10:03:49 215 | if(data.weather.indexOf('晴')>-1){
10:03:49 216 | self.weatherImg=self.sun
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:247:21:
10:03:49 245 | function onError (data) {
10:03:49 246 | // 定位出错
10:03:49 > 247 | console.log('定位失败错误:', data);
10:03:49 | ^
10:03:49 248 | self.city=''//定位失败隐藏
10:03:49 249 | // 调用IP定位
10:03:49 250 | self.getLngLatLocation();
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:260:21:
10:03:49 258 | if (status === 'complete' && result.info === 'OK') {
10:03:49 259 | // 查询成功,result即为当前所在城市信息
10:03:49 > 260 | console.log('通过ip获取当前城市:', result);
10:03:49 | ^
10:03:49 261 | // 逆向地理编码
10:03:49 262 | AMap.plugin('AMap.Geocoder', function () {
10:03:49 263 | var geocoder = new AMap.Geocoder({
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:272:25:
10:03:49 270 | if (status === 'complete' && data.info === 'OK') {
10:03:49 271 | // result为对应的地理位置详细信息
10:03:49 > 272 | console.log(data);
10:03:49 | ^
10:03:49 273 | }
10:03:49 274 | });
10:03:49 275 | });
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:293:20:
10:03:49 291 | // loading.close();//关闭加载
10:03:49 292 | // });
10:03:49 > 293 | console.log('banner______________',response.data.data.data)
10:03:49 | ^
10:03:49 294 | if(response.data.data.data){
10:03:49 295 | let Arry=[]
10:03:49 296 | response.data.data.data.forEach(item=>{
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:305:24:
10:03:49 303 | })
10:03:49 304 | this.bannerArr=Arry.slice(0,3)
10:03:49 > 305 | console.log(this.bannerArr)
10:03:49 | ^
10:03:49 306 | }
10:03:49 307 | }
10:03:49 308 | })
10:03:49
10:03:49
10:03:49 11 errors found.
10:03:49
10:03:49 Module Warning (from ./node_modules/eslint-loader/index.js):
10:03:49 error: Unexpected console statement (no-console) at src/components/main_content.vue:237:7:
10:03:49 235 | onTabClick: function(tab,index) {
10:03:49 236 | // debugger
10:03:49 > 237 | console.log(tab)
10:03:49 | ^
10:03:49 238 | console.log(index)
10:03:49 239 | this.$emit("active-tab", tab,index);
10:03:49 240 | //点击tab标签左边菜单显示对应的应用--bcx新增功能
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/main_content.vue:238:7:
10:03:49 236 | // debugger
10:03:49 237 | console.log(tab)
10:03:49 > 238 | console.log(index)
10:03:49 | ^
10:03:49 239 | this.$emit("active-tab", tab,index);
10:03:49 240 | //点击tab标签左边菜单显示对应的应用--bcx新增功能
10:03:49 241 | let appId=tab.appId
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/main_content.vue:255:9:
10:03:49 253 | this.$root.appid = appId;
10:03:49 254 | }
10:03:49 > 255 | console.log(tab)
10:03:49 | ^
10:03:49 256 | this.setMaincontent(false)
10:03:49 257 | this.$parent.showApp=true
10:03:49 258 | this.$parent.showWait=false
10:03:49
10:03:49
10:03:49 3 errors found.
10:03:49
10:03:49 Module Warning (from ./node_modules/eslint-loader/index.js):
10:03:49 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:311:4:
10:03:49 309 | }
10:03:49 310 |
10:03:49 > 311 | console.log("formData.value-->",formData.value)
10:03:49 | ^
10:03:49 312 |
10:03:49 313 |
10:03:49 314 | if(formData.value && formData.value.length > 0) {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:464:4:
10:03:49 462 |
10:03:49 463 | uploadSuccess(response, file, fileList) {
10:03:49 > 464 | console.log(file);
10:03:49 | ^
10:03:49 465 | console.log(fileList);
10:03:49 466 | let obj = {
10:03:49 467 | name: response.data[0].fileName,
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:465:4:
10:03:49 463 | uploadSuccess(response, file, fileList) {
10:03:49 464 | console.log(file);
10:03:49 > 465 | console.log(fileList);
10:03:49 | ^
10:03:49 466 | let obj = {
10:03:49 467 | name: response.data[0].fileName,
10:03:49 468 | path: response.data[0].filePath,
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:570:4:
10:03:49 568 |
10:03:49 569 | handleRemove(file, fileList) {
10:03:49 > 570 | console.log("file--->",file);
10:03:49 | ^
10:03:49 571 | console.log(fileList);
10:03:49 572 | let appId = this.$root.appid;
10:03:49 573 | let formId = this.field.formId;
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:571:4:
10:03:49 569 | handleRemove(file, fileList) {
10:03:49 570 | console.log("file--->",file);
10:03:49 > 571 | console.log(fileList);
10:03:49 | ^
10:03:49 572 | let appId = this.$root.appid;
10:03:49 573 | let formId = this.field.formId;
10:03:49 574 | let docId = this.field.docId;
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:585:7:
10:03:49 583 | }
10:03:49 584 | }
10:03:49 > 585 | console.log("this.field.value--->",this.field.value);
10:03:49 | ^
10:03:49 586 | }
10:03:49 587 | if (this.field.refreshOnChanged){
10:03:49 588 | // this.$parent.refresh(this.field.id);
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:702:6:
10:03:49 700 | context: that,
10:03:49 701 | onSuccess: function(responseData) {
10:03:49 > 702 | console.log("responseData--->",e)
10:03:49 | ^
10:03:49 703 | if(responseData && responseData.length > 0) {
10:03:49 704 | let uploadTime = '';
10:03:49 705 | let date = new Date();
10:03:49
10:03:49
10:03:49 7 errors found.
10:03:49
10:03:49 Module Warning (from ./node_modules/eslint-loader/index.js):
10:03:49 error: Unexpected console statement (no-console) at src/components/qrcodeDialog.vue:26:7:
10:03:49 24 | this.employeeId = localStorage.getItem('employeeId');
10:03:49 25 | this.organizationsId = localStorage.getItem('domainId');
10:03:49 > 26 | console.info('href', window.location.href);
10:03:49 | ^
10:03:49 27 | let domainUrl = window.location.href.split('/')[2];
10:03:49 28 | console.info('domain url', domainUrl);
10:03:49 29 | // this.inviteUrl = `https://v5qy.te.baibaodun.com.cn/static/signon/fronts/#/register?shareEmployeeId=${this.employeeId}&shareOrganizationId=${this.organizationsId}`;
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/components/qrcodeDialog.vue:28:7:
10:03:49 26 | console.info('href', window.location.href);
10:03:49 27 | let domainUrl = window.location.href.split('/')[2];
10:03:49 > 28 | console.info('domain url', domainUrl);
10:03:49 | ^
10:03:49 29 | // this.inviteUrl = `https://v5qy.te.baibaodun.com.cn/static/signon/fronts/#/register?shareEmployeeId=${this.employeeId}&shareOrganizationId=${this.organizationsId}`;
10:03:49 30 | this.inviteUrl = `https://${domainUrl}/static/signon/fronts/#/register?shareEmployeeId=${this.employeeId}&shareOrganizationId=${this.organizationsId}`;
10:03:49 31 | this.showDialog = newVal;
10:03:49
10:03:49
10:03:49 2 errors found.
10:03:49
10:03:49 Module Warning (from ./node_modules/eslint-loader/index.js):
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:510:13:
10:03:49 508 | this.activeHome()
10:03:49 509 | this.applist()//查询左边下拉应用列表
10:03:49 > 510 | console.log(this.$refs.mainNavBar.data)
10:03:49 | ^
10:03:49 511 | if (state.defaultFirst == 1) {
10:03:49 512 | this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data)
10:03:49 513 | }
10:03:49
10:03:49
10:03:49 error: Unexpected side effect in "applicationName" computed property (vue/no-side-effects-in-computed-properties) at src/views/Home.vue:529:11:
10:03:49 527 | if (this.$store.state.appmenusShow) {
10:03:49 528 | this.$nextTick(() => {
10:03:49 > 529 | this.showApp = true
10:03:49 | ^
10:03:49 530 | this.$refs.mychild.setMaincontent(false) // 调用子组件的方法
10:03:49 531 | this.applist()//查询左边下拉应用列表
10:03:49 532 | console.log(this.$refs.mainNavBar.data)
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:532:11:
10:03:49 530 | this.$refs.mychild.setMaincontent(false) // 调用子组件的方法
10:03:49 531 | this.applist()//查询左边下拉应用列表
10:03:49 > 532 | console.log(this.$refs.mainNavBar.data)
10:03:49 | ^
10:03:49 533 | if (this.$store.state.defaultFirst == 1) {
10:03:49 534 | // this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data)
10:03:49 535 | }
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:545:7:
10:03:49 543 | currentAppName = this.$store.getters.currentAppName
10:03:49 544 | }
10:03:49 > 545 | console.log(currentAppName)
10:03:49 | ^
10:03:49 546 | return currentAppName;
10:03:49 547 | },
10:03:49 548 | showInstance() {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:665:11:
10:03:49 663 | }
10:03:49 664 | this.otherNotice = arr;
10:03:49 > 665 | console.log("this.otherNotice---->", this.otherNotice)
10:03:49 | ^
10:03:49 666 | }
10:03:49 667 | }
10:03:49 668 | )
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:676:11:
10:03:49 674 | if (res.data.errcode == 0) {
10:03:49 675 | let listArr = res.data.data.data
10:03:49 > 676 | console.log(listArr)
10:03:49 | ^
10:03:49 677 | if (listArr.length) {
10:03:49 678 | listArr.forEach(item => {
10:03:49 679 | if (currDate(true) >= item.items.__G3lF6FIrSTspuF06jEr.value && currDate(true) <= item.items.__eG17lW4psp4yq1aT0Pt.value) {//在当前时间范围内提醒
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:695:11:
10:03:49 693 | if (res.status == 200) {
10:03:49 694 | let listArr = res.data.data
10:03:49 > 695 | console.log('公安未读消息', listArr)
10:03:49 | ^
10:03:49 696 | if (listArr.length) {
10:03:49 697 | this.policeNotices = listArr.sort((a,b)=>{
10:03:49 698 | return (new Date(b.item_senddate)-new Date(a.item_senddate))
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:707:11:
10:03:49 705 | // })
10:03:49 706 | }
10:03:49 > 707 | console.log('公安未读消息1111', this.policeNotices.length)
10:03:49 | ^
10:03:49 708 | // this.policeNoticePop()
10:03:49 709 | if (this.policeNotices.length>0 && !this.showBktHome) {//提醒时间段有弹窗提醒
10:03:49 710 | setTimeout(() => {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:717:9:
10:03:49 715 | },
10:03:49 716 | onError: err => {
10:03:49 > 717 | console.log(err)
10:03:49 | ^
10:03:49 718 | }
10:03:49 719 | }
10:03:49 720 | )
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:721:5:
10:03:49 719 | }
10:03:49 720 | )
10:03:49 > 721 | console.log('organizationLevels',organizationLevels)//obpm.config.js定义全局变量organizationLevels
10:03:49 | ^
10:03:49 722 | if(organizationLevels.indexOf('Premium')>-1){
10:03:49 723 | this.baseServiceOptions=this.$root.roleLevelsPermissionData&&this.$root.roleLevelsPermissionData.baseServiceOptions
10:03:49 724 | console.log('this.baseServiceOptions',this.baseServiceOptions)
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:724:7:
10:03:49 722 | if(organizationLevels.indexOf('Premium')>-1){
10:03:49 723 | this.baseServiceOptions=this.$root.roleLevelsPermissionData&&this.$root.roleLevelsPermissionData.baseServiceOptions
10:03:49 > 724 | console.log('this.baseServiceOptions',this.baseServiceOptions)
10:03:49 | ^
10:03:49 725 | }
10:03:49 726 |
10:03:49 727 | },
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:801:7:
10:03:49 799 | // 检查并显示密码修改提示
10:03:49 800 | checkPasswordUpdateNotice() {
10:03:49 > 801 | console.log('this.updatePasswordType', this.updatePasswordType, this.updatePasswordMsg)
10:03:49 | ^
10:03:49 802 | if (this.updatePasswordType && this.updatePasswordMsg) {
10:03:49 803 | this.updatePwdDialogVisible = true
10:03:49 804 | if (this.updatePasswordType === '2') {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:828:11:
10:03:49 826 | this.$api.isSupervisedApi(domainId, {
10:03:49 827 | onSucess: res => {
10:03:49 > 828 | console.log('res11', res)
10:03:49 | ^
10:03:49 829 | if (res.data.data) {
10:03:49 830 | console.log('res.data.data监管归属', res.data.data)
10:03:49 831 | this.isSupervisedInfoCompletedData = res.data.data
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:830:13:
10:03:49 828 | console.log('res11', res)
10:03:49 829 | if (res.data.data) {
10:03:49 > 830 | console.log('res.data.data监管归属', res.data.data)
10:03:49 | ^
10:03:49 831 | this.isSupervisedInfoCompletedData = res.data.data
10:03:49 832 | console.log(this.isSupervisedInfoCompletedData)
10:03:49 833 | if (res.data.data.superviseCompleted && res.data.data.infoCompleted) {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:832:13:
10:03:49 830 | console.log('res.data.data监管归属', res.data.data)
10:03:49 831 | this.isSupervisedInfoCompletedData = res.data.data
10:03:49 > 832 | console.log(this.isSupervisedInfoCompletedData)
10:03:49 | ^
10:03:49 833 | if (res.data.data.superviseCompleted && res.data.data.infoCompleted) {
10:03:49 834 | this.supervisionDialogVisible = false;//有填写监管归属,隐藏监管归属弹窗
10:03:49 835 | }
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:844:11:
10:03:49 842 | onError: erro => {
10:03:49 843 | this.supervisionDialogVisible = false;//错误,隐藏弹窗,默认让客户可以用
10:03:49 > 844 | console.log('erro11', erro)
10:03:49 | ^
10:03:49 845 | }
10:03:49 846 | })
10:03:49 847 | },
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:872:13:
10:03:49 870 | {
10:03:49 871 | onSucess: res => {
10:03:49 > 872 | console.log(res.data.data.placeOfRegister)
10:03:49 | ^
10:03:49 873 | if (res.data.data.placeOfRegister && res.data.data.placeOfRegister.province.name.indexOf('北京') > -1) {
10:03:49 874 | this.systemNoticeDialogVisible = true
10:03:49 875 | this.placeOfRegister_bjFlag = true
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:915:11:
10:03:49 913 | this.$api.getEnterpriseUserinfo(localStorage.getItem("domainId"), {
10:03:49 914 | onSucess: res => {
10:03:49 > 915 | console.log('res11',res)
10:03:49 | ^
10:03:49 916 | if (res.data.status == 200) {
10:03:49 917 | let isValidLonlat=res.data.data.isValidLonlat;//判断企业是否完善经纬度,没有完善强提醒
10:03:49 918 | console.log('this.domainAdmin',this.domainAdmin)
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:918:13:
10:03:49 916 | if (res.data.status == 200) {
10:03:49 917 | let isValidLonlat=res.data.data.isValidLonlat;//判断企业是否完善经纬度,没有完善强提醒
10:03:49 > 918 | console.log('this.domainAdmin',this.domainAdmin)
10:03:49 | ^
10:03:49 919 | if(this.domainAdmin&&isValidLonlat&&this.network){//是组织管理员以及没有完善经纬度--强提醒
10:03:49 920 | this.domainLonLatPopDialogVisible=true
10:03:49 921 | }
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:1191:17:
10:03:49 1189 | {
10:03:49 1190 | onSucess: res => {
10:03:49 > 1191 | console.log('res', res)
10:03:49 | ^
10:03:49 1192 | let shopToken = res.data && res.data.accessToken || ''
10:03:49 1193 | resolve(shopToken)
10:03:49 1194 | }
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:1235:17:
10:03:49 1233 | {
10:03:49 1234 | onSucess: res => {
10:03:49 > 1235 | console.log('res', res)
10:03:49 | ^
10:03:49 1236 | let shopToken = res.data && res.data.accessToken || ''
10:03:49 1237 | resolve(shopToken)
10:03:49 1238 | }
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:1286:13:
10:03:49 1284 | onSucess: response => {
10:03:49 1285 | if (response.data && response.data.errmsg == "ok") {
10:03:49 > 1286 | console.log(response.data)
10:03:49 | ^
10:03:49 1287 | if (response.data.data.data.length) {
10:03:49 1288 | let arr = []
10:03:49 1289 | response.data.data.data.forEach((item, index) => {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:1305:15:
10:03:49 1303 |
10:03:49 1304 | })
10:03:49 > 1305 | console.log(arr)
10:03:49 | ^
10:03:49 1306 | arr.sort((a, b) => { return Number(a.cateSort) - Number(b.cateSort) }) //分类排序cateSort
10:03:49 1307 |
10:03:49 1308 | const titleMap = {}
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:1352:15:
10:03:49 1350 | }
10:03:49 1351 | }
10:03:49 > 1352 | console.log(arr3)
10:03:49 | ^
10:03:49 1353 | this.applistArr = arr3
10:03:49 1354 |
10:03:49 1355 | }
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:1393:13:
10:03:49 1391 | onSucess: res => {
10:03:49 1392 | if (res.status == 200) {
10:03:49 > 1393 | console.log("res--->", res.status);
10:03:49 | ^
10:03:49 1394 | }
10:03:49 1395 | }
10:03:49 1396 | })
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:1496:11:
10:03:49 1494 | },
10:03:49 1495 | onError: error => {
10:03:49 > 1496 | console.log(error);
10:03:49 | ^
10:03:49 1497 | }
10:03:49 1498 | });
10:03:49 1499 | },
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:1614:7:
10:03:49 1612 |
10:03:49 1613 | closeTab: function (tab, tabindex) {//关闭当前选项卡,选中前一个选项卡
10:03:49 > 1614 | console.log(tab)
10:03:49 | ^
10:03:49 1615 | console.log(tabindex)
10:03:49 1616 | if (this.$store.state.searchDataStore.length) {
10:03:49 1617 | this.$store.state.searchDataStore.forEach((item, index) => {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:1615:7:
10:03:49 1613 | closeTab: function (tab, tabindex) {//关闭当前选项卡,选中前一个选项卡
10:03:49 1614 | console.log(tab)
10:03:49 > 1615 | console.log(tabindex)
10:03:49 | ^
10:03:49 1616 | if (this.$store.state.searchDataStore.length) {
10:03:49 1617 | this.$store.state.searchDataStore.forEach((item, index) => {
10:03:49 1618 | if (item.appId == tab.appId && item.viewId == tab.actionContent) {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:1630:7:
10:03:49 1628 | })
10:03:49 1629 | }
10:03:49 > 1630 | console.log(this.$store.state.searchDataStore)
10:03:49 | ^
10:03:49 1631 | let tabs = this.tabs;
10:03:49 1632 | if (tabindex >= 0) { //点击X关闭
10:03:49 1633 | console.log(JSON.stringify(this.tabs))
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:1633:9:
10:03:49 1631 | let tabs = this.tabs;
10:03:49 1632 | if (tabindex >= 0) { //点击X关闭
10:03:49 > 1633 | console.log(JSON.stringify(this.tabs))
10:03:49 | ^
10:03:49 1634 | tabs.splice(tabindex, 1);
10:03:49 1635 | if (tab.active) {
10:03:49 1636 | if (tabs.length > 0 && ((tabs.length - 1) >= tabindex)) {
10:03:49
10:03:49
10:03:49 error: Unexpected console statement (no-console) at src/views/Home.vue:1709:13:
10:03:49 1707 | onSucess: res => {
10:03:49 1708 | this.isOrganizationPromoter = res.data.data.isOrganizationPromoter;
10:03:49 > 1709 | console.info('promoter', this.isOrganizationPromoter);
10:03:49 | ^
10:03:49 1710 | }
10:03:49 1711 | })
10:03:49 1712 | }
10:03:49
10:03:49
10:03:49 31 errors found.
10:03:49
10:03:49 You may use special comments to disable some warnings.
10:03:49 Use // eslint-disable-next-line to ignore the next line.
10:03:49 Use /* eslint-disable */ to ignore all warnings in a file.
10:03:49 warning in ./src/api.js
10:03:49
10:03:49 Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
10:03:49
10:03:49 /data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/api.js
10:03:49 57:5 error Unexpected console statement no-console
10:03:49 587:5 error Unexpected console statement no-console
10:03:49 740:5 error Unexpected console statement no-console
10:03:49
10:03:49 ✖ 3 problems (3 errors, 0 warnings)
10:03:49
10:03:49
10:03:49 @ ./src/main.js 14:0-27 38:21-24 361:4-7 380:4-7
10:03:49 @ multi ./src/main.js
10:03:49
10:03:49 warning
10:03:49
10:03:49 asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
10:03:49 This can impact web performance.
10:03:49 Assets:
10:03:49 fonts/Source Han Sans CN Regular.552b3917.eot (8.14 MiB)
10:03:49 img/大屏图片.adbf5de7.jpg (1.17 MiB)
10:03:49 fonts/Source Han Sans CN Regular.d1fb7855.woff (5.1 MiB)
10:03:49 img/fontawesome-webfont.912ec66d.svg (434 KiB)
10:03:49 img/background.646883a5.jpg (363 KiB)
10:03:49 fonts/Source Han Sans CN Regular.50f2d6d6.ttf (8.14 MiB)
10:03:49 img/Source Han Sans CN Regular.63d44fde.svg (17.8 MiB)
10:03:49 js/about.a357ab65.js (2.83 MiB)
10:03:49 js/app.98e3588a.js (4.81 MiB)
10:03:49 js/chunk-720230dc.2f48f60d.js (408 KiB)
10:03:49 js/rail.6b389e55.js (2.49 MiB)
10:03:49 iwebapp/pdfjs/core/pdf.js (584 KiB)
10:03:49 iwebapp/pdfjs/core/pdf.worker.js (723 KiB)
10:03:49 js/esdk-obs-browserjs.min.js (304 KiB)
10:03:49 pdf/word/pdfjs/build/pdf.js (774 KiB)
10:03:49 iwebapp/pdfjs/pdf-34bd0a9d29.viewer.js (1.36 MiB)
10:03:49 iwebapp/pdfjs/pdf-8cc3ba5958.viewer.js (1.37 MiB)
10:03:49 pdf/word/pdfjs/build/pdf.js.map (1.48 MiB)
10:03:49 pdf/word/pdfjs/build/pdf.worker.js (1.66 MiB)
10:03:49 pdf/word/pdfjs/build/pdf.worker.js.map (3.39 MiB)
10:03:49 pdf/word/pdfjs/web/viewer.js (655 KiB)
10:03:49 pdf/word/pdfjs/web/viewer.js.map (751 KiB)
10:03:49 pdf/word/iWebOffice2015.cab (12.4 MiB)
10:03:49 UEditor/jsp/lib/commons-codec-1.9.jar (258 KiB)
10:03:49 UEditor/third-party/jquery-1.10.2.js (267 KiB)
10:03:49 UEditor/third-party/highcharts/highcharts.src.js (434 KiB)
10:03:49 UEditor/third-party/snapscreen/UEditorSnapscreen.exe (508 KiB)
10:03:49 UEditor/ueditor.all.min.js (373 KiB)
10:03:49 UEditor/ueditor.all.js (1.06 MiB)
10:03:49
10:03:49 warning
10:03:49
10:03:49 entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
10:03:49 Entrypoints:
10:03:49 app (7.64 MiB)
10:03:49 js/about.a357ab65.js
10:03:49 js/app.98e3588a.js
10:03:49
10:03:49
10:03:49 File Size Gzipped
10:03:49
10:03:49 dist/UEditor/ueditor.all.min.js 373.46 KiB 100.76 KiB
10:03:49 dist/js/esdk-obs-browserjs.min.js 303.80 KiB 78.74 KiB
10:03:49 dist/iwebapp/pdfjs/jquery-1.11.3.min.j 93.71 KiB 32.54 KiB
10:03:49 s
10:03:49 dist/js/jquery-1.11.3.min.js 93.71 KiB 32.54 KiB
10:03:49 dist/pdf/word/jquery.min.js 93.54 KiB 32.48 KiB
10:03:49 dist/UEditor/third-party/jquery-1.10.2 90.92 KiB 32.06 KiB
10:03:49 .min.js
10:03:49 dist/js/swiper.min.js 64.88 KiB 16.44 KiB
10:03:49 dist/UEditor/third-party/webuploader/w 56.91 KiB 18.66 KiB
10:03:49 ebuploader.min.js
10:03:49 dist/UEditor/third-party/webuploader/w 45.99 KiB 14.37 KiB
10:03:49 ebuploader.html5only.min.js
10:03:49 dist/UEditor/third-party/webuploader/w 45.81 KiB 15.77 KiB
10:03:49 ebuploader.custom.min.js
10:03:49 dist/UEditor/third-party/webuploader/w 38.87 KiB 12.03 KiB
10:03:49 ebuploader.withoutimage.min.js
10:03:49 dist/UEditor/third-party/webuploader/w 32.81 KiB 10.64 KiB
10:03:49 ebuploader.flashonly.min.js
10:03:49 dist/UEditor/third-party/xss.min.js 27.11 KiB 6.38 KiB
10:03:49 dist/pdf/word/viewer.min.js 20.21 KiB 6.41 KiB
10:03:49 dist/UEditor/third-party/zeroclipboard 18.51 KiB 6.52 KiB
10:03:49 /ZeroClipboard.min.js
10:03:49 dist/pdf/word/sweetalert.min.js 16.58 KiB 5.29 KiB
10:03:49 dist/pdf/word/toastr.min.js 16.47 KiB 3.19 KiB
10:03:49 dist/iwebapp/pdfjs/require.min.js 14.86 KiB 6.08 KiB
10:03:49 dist/pdf/word/require.min.js 14.86 KiB 6.08 KiB
10:03:49 dist/UEditor/ueditor.parse.min.js 14.45 KiB 5.01 KiB
10:03:49 dist/js/app.98e3588a.js 4929.19 KiB 973.49 KiB
10:03:49 dist/js/about.a357ab65.js 2893.96 KiB 824.29 KiB
10:03:49 dist/js/rail.6b389e55.js 2550.09 KiB 848.60 KiB
10:03:49 dist/pdf/word/pdfjs/build/pdf.worker.j 1700.94 KiB 322.13 KiB
10:03:49 s
10:03:49 dist/iwebapp/pdfjs/pdf-8cc3ba5958.view 1404.33 KiB 367.49 KiB
10:03:49 er.js
10:03:49 dist/iwebapp/pdfjs/pdf-34bd0a9d29.view 1397.68 KiB 362.42 KiB
10:03:49 er.js
10:03:49 dist/UEditor/ueditor.all.js 1086.60 KiB 213.79 KiB
10:03:49 dist/pdf/word/pdfjs/build/pdf.js 774.32 KiB 145.03 KiB
10:03:49 dist/iwebapp/pdfjs/core/pdf.worker.js 723.11 KiB 213.91 KiB
10:03:49 dist/pdf/word/pdfjs/web/viewer.js 654.78 KiB 99.17 KiB
10:03:49 dist/iwebapp/pdfjs/core/pdf.js 584.12 KiB 161.00 KiB
10:03:49 dist/UEditor/third-party/highcharts/hi 433.95 KiB 123.75 KiB
10:03:49 ghcharts.src.js
10:03:49 dist/js/chunk-720230dc.2f48f60d.js 407.73 KiB 133.31 KiB
10:03:49 dist/UEditor/third-party/jquery-1.10.2 266.80 KiB 79.12 KiB
10:03:49 .js
10:03:49 dist/UEditor/third-party/webuploader/w 226.46 KiB 48.94 KiB
10:03:49 ebuploader.js
10:03:49 dist/UEditor/third-party/video-js/vide 212.98 KiB 56.36 KiB
10:03:49 o.dev.js
10:03:49 dist/UEditor/third-party/webuploader/w 193.52 KiB 43.01 KiB
10:03:49 ebuploader.custom.js
10:03:49 dist/UEditor/third-party/webuploader/w 182.25 KiB 39.11 KiB
10:03:49 ebuploader.html5only.js
10:03:49 dist/UEditor/third-party/SyntaxHighlig 155.77 KiB 43.52 KiB
10:03:49 hter/shCore.js
10:03:49 dist/UEditor/third-party/codemirror/co 154.89 KiB 35.91 KiB
10:03:49 demirror.js
10:03:49 dist/UEditor/third-party/webuploader/w 148.40 KiB 31.44 KiB
10:03:49 ebuploader.withoutimage.js
10:03:49 dist/UEditor/third-party/highcharts/hi 137.55 KiB 50.63 KiB
10:03:49 ghcharts.js
10:03:49 dist/UEditor/third-party/webuploader/w 135.64 KiB 29.89 KiB
10:03:49 ebuploader.flashonly.js
10:03:49 dist/pdf/word/WebOffice.js 135.19 KiB 30.89 KiB
10:03:49 dist/UEditor/dialogs/image/image.js 125.19 KiB 55.10 KiB
10:03:49 dist/pdf/word/iWebOffice2015.js 112.08 KiB 50.77 KiB
10:03:49 dist/UEditor/third-party/highcharts/mo 98.32 KiB 22.42 KiB
10:03:49 dules/canvas-tools.src.js
10:03:49 dist/js/china.js 61.26 KiB 43.82 KiB
10:03:49 dist/iwebapp/pdfjs/stamp/laydate/layda 58.98 KiB 15.29 KiB
10:03:49 te.js
10:03:49 dist/UEditor/third-party/highcharts/hi 58.77 KiB 16.33 KiB
10:03:49 ghcharts-more.src.js
10:03:49 dist/UEditor/third-party/highcharts/mo 56.52 KiB 15.35 KiB
10:03:49 dules/canvas-tools.js
10:03:49 dist/UEditor/third-party/video-js/vide 54.09 KiB 16.62 KiB
10:03:49 o.js
10:03:49 dist/UEditor/dialogs/wordimage/tangram 46.41 KiB 12.48 KiB
10:03:49 .js
10:03:49 dist/UEditor/third-party/zeroclipboard 42.20 KiB 9.15 KiB
10:03:49 /ZeroClipboard.js
10:03:49 dist/js/certificate.ee1fb4fb.js 40.81 KiB 10.22 KiB
10:03:49 dist/js/chunk-381941e5.40d14043.js 39.03 KiB 9.74 KiB
10:03:49 dist/UEditor/ueditor.parse.js 35.91 KiB 7.93 KiB
10:03:49 dist/pdf/word/util.js 30.10 KiB 8.77 KiB
10:03:49 dist/UEditor/dialogs/video/video.js 29.78 KiB 7.62 KiB
10:03:49 dist/UEditor/dialogs/attachment/attach 29.67 KiB 6.63 KiB
10:03:49 ment.js
10:03:49 dist/UEditor/lang/en/en.js 28.72 KiB 8.24 KiB
10:03:49 dist/pdf/word/l10n.js 28.57 KiB 8.09 KiB
10:03:49 dist/UEditor/dialogs/scrawl/scrawl.js 26.51 KiB 5.97 KiB
10:03:49 dist/UEditor/lang/zh-cn/zh-cn.js 25.88 KiB 8.55 KiB
10:03:49 dist/UEditor/third-party/highcharts/mo 25.16 KiB 7.84 KiB
10:03:49 dules/map.src.js
10:03:49 dist/UEditor/ueditor.config.js 22.75 KiB 8.44 KiB
10:03:49 dist/UEditor/third-party/highcharts/hi 21.30 KiB 7.91 KiB
10:03:49 ghcharts-more.js
10:03:49 dist/pdf/word/pdfjs/web/debugger.js 18.48 KiB 4.89 KiB
10:03:49 dist/pdf/word/compatibility.js 17.70 KiB 5.38 KiB
10:03:49 dist/UEditor/third-party/highcharts/mo 16.86 KiB 5.73 KiB
10:03:49 dules/exporting.src.js
10:03:49 dist/UEditor/third-party/highcharts/mo 15.14 KiB 4.81 KiB
10:03:49 dules/data.src.js
10:03:49 dist/UEditor/dialogs/background/backgr 14.04 KiB 3.56 KiB
10:03:49 ound.js
10:03:49 dist/pdf/word/tray.js 12.95 KiB 3.86 KiB
10:03:49 dist/iwebapp/pdfjs/require.config.js 12.60 KiB 3.15 KiB
10:03:49 dist/pdf/word/require.config.js 12.38 KiB 3.05 KiB
10:03:49 dist/UEditor/dialogs/template/config.j 12.19 KiB 2.50 KiB
10:03:49 s
10:03:49 dist/UEditor/third-party/highcharts/ad 11.38 KiB 3.82 KiB
10:03:49 apters/standalone-framework.src.js
10:03:49 dist/UEditor/dialogs/charts/charts.js 10.89 KiB 3.34 KiB
10:03:49 dist/UEditor/third-party/highcharts/mo 10.69 KiB 3.16 KiB
10:03:49 dules/drilldown.src.js
10:03:49 dist/UEditor/third-party/highcharts/mo 9.88 KiB 4.03 KiB
10:03:49 dules/map.js
10:03:49 dist/UEditor/dialogs/table/edittable.j 8.72 KiB 2.01 KiB
10:03:49 s
10:03:49 dist/UEditor/third-party/highcharts/ad 8.72 KiB 3.18 KiB
10:03:49 apters/prototype-adapter.src.js
10:03:49 dist/UEditor/third-party/highcharts/mo 8.18 KiB 2.56 KiB
10:03:49 dules/annotations.src.js
10:03:49 dist/UEditor/dialogs/music/music.js 7.64 KiB 2.16 KiB
10:03:49 dist/UEditor/third-party/highcharts/ad 7.61 KiB 2.91 KiB
10:03:49 apters/mootools-adapter.src.js
10:03:49 dist/pdf/word/watermark.js 7.55 KiB 1.90 KiB
10:03:49 dist/UEditor/third-party/highcharts/mo 7.08 KiB 3.07 KiB
10:03:49 dules/exporting.js
10:03:49 dist/UEditor/third-party/highcharts/mo 6.38 KiB 2.33 KiB
10:03:49 dules/funnel.src.js
10:03:49 dist/UEditor/dialogs/emotion/emotion.j 6.15 KiB 2.03 KiB
10:03:49 s
10:03:49 dist/UEditor/third-party/highcharts/mo 5.42 KiB 1.95 KiB
10:03:49 dules/drilldown.js
10:03:49 dist/UEditor/third-party/highcharts/ad 4.95 KiB 2.15 KiB
10:03:49 apters/standalone-framework.js
10:03:49 dist/UEditor/dialogs/spechars/spechars 4.56 KiB 2.37 KiB
10:03:49 .js
10:03:49 dist/UEditor/third-party/highcharts/th 4.38 KiB 1.21 KiB
10:03:49 emes/gray.js
10:03:49 dist/UEditor/third-party/highcharts/mo 4.33 KiB 1.89 KiB
10:03:49 dules/data.js
10:03:49 dist/UEditor/dialogs/searchreplace/sea 4.30 KiB 1.27 KiB
10:03:49 rchreplace.js
10:03:49 dist/UEditor/third-party/highcharts/th 4.25 KiB 1.20 KiB
10:03:49 emes/dark-blue.js
10:03:49 dist/UEditor/third-party/highcharts/th 4.24 KiB 1.21 KiB
10:03:49 emes/dark-green.js
10:03:49 dist/UEditor/dialogs/wordimage/wordima 4.05 KiB 1.95 KiB
10:03:49 ge.js
10:03:49 dist/UEditor/third-party/highcharts/mo 3.32 KiB 1.52 KiB
10:03:49 dules/annotations.js
10:03:49 dist/UEditor/third-party/highcharts/ad 3.23 KiB 1.33 KiB
10:03:49 apters/prototype-adapter.js
10:03:49 dist/UEditor/third-party/highcharts/mo 2.79 KiB 1.12 KiB
10:03:49 dules/no-data-to-display.src.js
10:03:49 dist/UEditor/dialogs/internal.js 2.54 KiB 0.98 KiB
10:03:49 dist/UEditor/third-party/highcharts/ad 2.21 KiB 1.06 KiB
10:03:49 apters/mootools-adapter.js
10:03:49 dist/pdf/word/obpm.showMessage.js 2.09 KiB 0.74 KiB
10:03:49 dist/UEditor/third-party/highcharts/mo 1.93 KiB 1.08 KiB
10:03:49 dules/funnel.js
10:03:49 dist/UEditor/third-party/highcharts/th 1.75 KiB 0.65 KiB
10:03:49 emes/grid.js
10:03:49 dist/UEditor/third-party/highcharts/th 1.72 KiB 0.64 KiB
10:03:49 emes/skies.js
10:03:49 dist/UEditor/dialogs/template/template 1.55 KiB 0.67 KiB
10:03:49 .js
10:03:49 dist/UEditor/dialogs/help/help.js 1.47 KiB 0.70 KiB
10:03:49 dist/UEditor/dialogs/charts/chart.conf 1.38 KiB 0.44 KiB
10:03:49 ig.js
10:03:49 dist/UEditor/third-party/highcharts/mo 1.33 KiB 0.70 KiB
10:03:49 dules/no-data-to-display.js
10:03:49 dist/UEditor/third-party/highcharts/mo 1.10 KiB 0.49 KiB
10:03:49 dules/heatmap.src.js
10:03:49 dist/js/obsConfig.js 0.93 KiB 0.58 KiB
10:03:49 dist/UEditor/third-party/highcharts/mo 0.52 KiB 0.37 KiB
10:03:49 dules/heatmap.js
10:03:49 dist/js/obpm.config.js 0.33 KiB 0.24 KiB
10:03:49 dist/iwebapp/pdfjs/viewer-df538bd63b.c 111.81 KiB 18.55 KiB
10:03:49 ss
10:03:49 dist/iwebapp/pdfjs/viewer-afb3d53c48.c 111.71 KiB 18.53 KiB
10:03:49 ss
10:03:49 dist/pdf/word/pdfjs/web/viewer.css 58.42 KiB 9.25 KiB
10:03:49 dist/UEditor/themes/default/css/uedito 42.73 KiB 6.84 KiB
10:03:49 r.css
10:03:49 dist/UEditor/themes/default/css/uedito 34.12 KiB 5.53 KiB
10:03:49 r.min.css
10:03:49 dist/UEditor/third-party/video-js/vide 20.82 KiB 5.45 KiB
10:03:49 o-js.css
10:03:49 dist/UEditor/dialogs/image/image.css 17.71 KiB 3.46 KiB
10:03:49 dist/UEditor/dialogs/video/video.css 14.57 KiB 3.10 KiB
10:03:49 dist/UEditor/dialogs/attachment/attach 14.05 KiB 2.81 KiB
10:03:49 ment.css
10:03:49 dist/UEditor/third-party/video-js/vide 11.18 KiB 2.53 KiB
10:03:49 o-js.min.css
10:03:49 dist/iwebapp/pdfjs/stamp/laydate/theme 9.16 KiB 2.21 KiB
10:03:49 /default/laydate.css
10:03:49 dist/UEditor/third-party/SyntaxHighlig 6.95 KiB 1.31 KiB
10:03:49 hter/shCoreDefault.css
10:03:49 dist/UEditor/dialogs/scrawl/scrawl.css 3.73 KiB 0.97 KiB
10:03:49 dist/UEditor/third-party/codemirror/co 2.82 KiB 0.90 KiB
10:03:49 demirror.css
10:03:49 dist/UEditor/dialogs/charts/charts.css 2.54 KiB 0.81 KiB
10:03:49 dist/UEditor/dialogs/background/backgr 2.34 KiB 0.87 KiB
10:03:49 ound.css
10:03:49 dist/UEditor/dialogs/emotion/emotion.c 1.76 KiB 0.53 KiB
10:03:49 ss
10:03:49 dist/UEditor/themes/default/dialogbase 1.65 KiB 0.81 KiB
10:03:49 .css
10:03:49 dist/UEditor/dialogs/music/music.css 1.64 KiB 0.63 KiB
10:03:49 dist/UEditor/dialogs/table/edittable.c 1.16 KiB 0.41 KiB
10:03:49 ss
10:03:49 dist/UEditor/dialogs/template/template 1.01 KiB 0.49 KiB
10:03:49 .css
10:03:49 dist/UEditor/third-party/webuploader/w 0.50 KiB 0.29 KiB
10:03:49 ebuploader.css
10:03:49 dist/UEditor/dialogs/help/help.css 0.38 KiB 0.20 KiB
10:03:49 dist/UEditor/themes/iframe.css 0.04 KiB 0.06 KiB
10:03:49
10:03:49 Images and other types of assets omitted.
10:03:49
10:03:49 DONE Build complete. The dist directory is ready to be deployed.
10:03:49 INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
10:03:49
10:03:50 + rm -rf /data/workspace/badp-bcxin-web-5.x-vue
10:03:50 + cp -r dist /data/workspace/badp-bcxin-web-5.x-vue
10:03:50 + chmod 755 /data/workspace/badp-bcxin-web-5.x-vue -R
10:03:50 Finished: SUCCESS