12:16:32 Started by user unknown or anonymous
12:16:32 Running as SYSTEM
12:16:32 Building in workspace /data/jenkins/workspace/badp-bcxin-web-5.x-vue
12:16:32 The recommended git tool is: NONE
12:16:32 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
12:16:32 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/badp-bcxin-web-5.x-vue/.git # timeout=10
12:16:32 Fetching changes from the remote Git repository
12:16:32 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-vue.git # timeout=10
12:16:32 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-vue.git
12:16:32 > /usr/local/git/bin/git --version # timeout=10
12:16:32 > git --version # 'git version 2.43.0'
12:16:32 using GIT_ASKPASS to set credentials gitlab凭据
12:16:32 > /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
12:16:32 > /usr/local/git/bin/git rev-parse origin/test^{commit} # timeout=10
12:16:32 Checking out Revision eaa7f31f07ab7698fb20bd2f09eb50beb0bc9b27 (origin/test)
12:16:32 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
12:16:32 > /usr/local/git/bin/git checkout -f eaa7f31f07ab7698fb20bd2f09eb50beb0bc9b27 # timeout=10
12:16:32 Commit message: "Merge branch 'feat-替换obs上传' into test"
12:16:32 > /usr/local/git/bin/git rev-list --no-walk eaa7f31f07ab7698fb20bd2f09eb50beb0bc9b27 # timeout=10
12:16:32 [badp-bcxin-web-5.x-vue] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins6426403703021765146.sh
12:16:32 + cd /data/jenkins/workspace/badp-bcxin-web-5.x-vue
12:16:32 + npm install
12:16:33 npm WARN EBADENGINE Unsupported engine {
12:16:33 npm WARN EBADENGINE package: 'gcoord@1.0.7',
12:16:33 npm WARN EBADENGINE required: { node: '>=16.11.0' },
12:16:33 npm WARN EBADENGINE current: { node: 'v16.0.0', npm: '7.10.0' }
12:16:33 npm WARN EBADENGINE }
12:16:35
12:16:35 up to date in 2s
12:16:35
12:16:35 249 packages are looking for funding
12:16:35 run `npm fund` for details
12:16:35 + npm run build
12:16:35
12:16:35 > hello-world@0.1.0 build
12:16:35 > vue-cli-service build
12:16:35
12:16:35
12:16:35 - Building for production...
12:16:37 Browserslist: caniuse-lite is outdated. Please run:
12:16:37 npx update-browserslist-db@latest
12:16:37 Why you should do it regularly: https://github.com/browserslist/update-db#readme
12:16:37 Browserslist: caniuse-lite is outdated. Please run:
12:16:37 npx update-browserslist-db@latest
12:16:37 Why you should do it regularly: https://github.com/browserslist/update-db#readme
12:16:40 Browserslist: caniuse-lite is outdated. Please run:
12:16:40 npx update-browserslist-db@latest
12:16:40 Why you should do it regularly: https://github.com/browserslist/update-db#readme
12:16:41 Browserslist: caniuse-lite is outdated. Please run:
12:16:41 npx update-browserslist-db@latest
12:16:41 Why you should do it regularly: https://github.com/browserslist/update-db#readme
12:16:41 Browserslist: caniuse-lite is outdated. Please run:
12:16:41 npx update-browserslist-db@latest
12:16:41 Why you should do it regularly: https://github.com/browserslist/update-db#readme
12:16:41 Browserslist: caniuse-lite is outdated. Please run:
12:16:41 npx update-browserslist-db@latest
12:16:41 Why you should do it regularly: https://github.com/browserslist/update-db#readme
12:16:41 Browserslist: caniuse-lite is outdated. Please run:
12:16:41 npx update-browserslist-db@latest
12:16:41 Why you should do it regularly: https://github.com/browserslist/update-db#readme
12:16:45 Browserslist: caniuse-lite is outdated. Please run:
12:16:45 npx update-browserslist-db@latest
12:16:45 Why you should do it regularly: https://github.com/browserslist/update-db#readme
12:17:03 WARNING Compiled with 11 warnings12:17:03 PM
12:17:03
12:17:03 Module Warning (from ./node_modules/eslint-loader/index.js):
12:17:03 error: Unexpected console statement (no-console) at src/components/application.vue:35:9:
12:17:03 33 | },
12:17:03 34 | mounted() {
12:17:03 > 35 | console.log('homeTemplateBoradType', this.showBktHome)
12:17:03 | ^
12:17:03 36 | },
12:17:03 37 | components:{
12:17:03 38 | homeBoard,
12:17:03
12:17:03
12:17:03 1 error found.
12:17:03
12:17:03 Module Warning (from ./node_modules/eslint-loader/index.js):
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:80:13:
12:17:03 78 | else {
12:17:03 79 | this.organizationLevels=organizationLevels.split(',')//obpm.config.js定义全局变量organizationLevels
12:17:03 > 80 | console.log('organizationLevels',organizationLevels)//obpm.config.js定义全局变量organizationLevels
12:17:03 | ^
12:17:03 81 | if(this.organizationLevels&&this.organizationLevels.includes('Premium')){
12:17:03 82 | this.appLevelsList()
12:17:03 83 | }else{
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:98:13:
12:17:03 96 | key: ""
12:17:03 97 | }
12:17:03 > 98 | console.log(this.$listeners)
12:17:03 | ^
12:17:03 99 | this.addTab(param)
12:17:03 100 | },
12:17:03 101 | applistIframe() {//查询应用列表
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:109:25:
12:17:03 107 |
12:17:03 108 | if (response.data && response.data.errmsg == "ok") {
12:17:03 > 109 | console.log(response.data)
12:17:03 | ^
12:17:03 110 | if (response.data.data.data.length) {
12:17:03 111 | let arr = []
12:17:03 112 | response.data.data.data.forEach((item, index) => {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:128:29:
12:17:03 126 |
12:17:03 127 | })
12:17:03 > 128 | console.log(arr)
12:17:03 | ^
12:17:03 129 | arr.sort((a, b) => { return Number(a.cateSort) - Number(b.cateSort) }) //分类排序cateSort
12:17:03 130 |
12:17:03 131 | const titleMap = {}
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:189:29:
12:17:03 187 | }
12:17:03 188 | }
12:17:03 > 189 | console.log(arr2)
12:17:03 | ^
12:17:03 190 | this.appcateArrList = arr2
12:17:03 191 |
12:17:03 192 | //前端缓存本地代码块--切换不同组织的所有应用列表
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:221:29:
12:17:03 219 | parsedData = JSON.parse(jsonString);
12:17:03 220 | } catch (e) {
12:17:03 > 221 | console.warn('解析 resource.data 失败:', e, resource.data);
12:17:03 | ^
12:17:03 222 | // 如果解析失败,尝试使用正则表达式提取
12:17:03 223 | const iconMatch = resource.data.match(/icon:\s*['"]([^'"]+)['"]/);
12:17:03 224 | const urlMatch = resource.data.match(/url:\s*['"]([^'"]+)['"]/);
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:294:33:
12:17:03 292 | } catch (e) {
12:17:03 293 | // 如果 URL 解析失败(可能是相对路径或特殊格式),使用字符串替换方式
12:17:03 > 294 | console.warn('URL 解析失败,使用字符串替换方式:', e, url);
12:17:03 | ^
12:17:03 295 |
12:17:03 296 | // 使用正则表达式替换或添加参数
12:17:03 297 | if (token) {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:321:21:
12:17:03 319 |
12:17:03 320 | const actionContent = url || resource.id || '';
12:17:03 > 321 | console.log('actionContent:', actionContent);
12:17:03 | ^
12:17:03 322 |
12:17:03 323 | // 构建 ico 字段(JSON字符串格式)
12:17:03 324 | const icoString = icon ? JSON.stringify({
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:388:13:
12:17:03 386 | },
12:17:03 387 | async loadAppMenu(appId, name) {//点击应用列表查询左边应用菜单
12:17:03 > 388 | console.log(this.$parent.$parent.$parent.$parent)
12:17:03 | ^
12:17:03 389 | console.log('当前appId', appId)
12:17:03 390 |
12:17:03 391 | // 判断是否为第三方应用
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:389:13:
12:17:03 387 | async loadAppMenu(appId, name) {//点击应用列表查询左边应用菜单
12:17:03 388 | console.log(this.$parent.$parent.$parent.$parent)
12:17:03 > 389 | console.log('当前appId', appId)
12:17:03 | ^
12:17:03 390 |
12:17:03 391 | // 判断是否为第三方应用
12:17:03 392 | if (appId && appId.startsWith('third_party')) {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:398:21:
12:17:03 396 | // 实际项目中可能需要根据具体业务逻辑获取 categoryId
12:17:03 397 | const categoryId = appId || 'default'; // 示例: third_party_category_123
12:17:03 > 398 | console.log('第三方应用类别ID:', categoryId);
12:17:03 | ^
12:17:03 399 |
12:17:03 400 | // 使用现有的 API 调用方式
12:17:03 401 | this.$api.getRbacCategoryResources(categoryId, {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:403:29:
12:17:03 401 | this.$api.getRbacCategoryResources(categoryId, {
12:17:03 402 | onSucess: (response) => {
12:17:03 > 403 | console.log('第三方应用资源:', response);
12:17:03 | ^
12:17:03 404 | // 构建第三方应用菜单
12:17:03 405 | if (response && response.data && response.data.data) {
12:17:03 406 | // 注意:实际数据在 response.data.data 中
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:408:33:
12:17:03 406 | // 注意:实际数据在 response.data.data 中
12:17:03 407 | const menus = this.transformRbacResourcesToMenus(response.data.data);
12:17:03 > 408 | console.log('转换后的菜单结构:', menus);
12:17:03 | ^
12:17:03 409 |
12:17:03 410 | // 将菜单数据存储到 Vuex store 中
12:17:03 411 | this.$store.commit('loadMenus', { appId: appId, menus: menus });
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:419:29:
12:17:03 417 | },
12:17:03 418 | onError: (error) => {
12:17:03 > 419 | console.error('获取第三方应用资源失败:', error);
12:17:03 | ^
12:17:03 420 | }
12:17:03 421 | });
12:17:03 422 |
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:426:21:
12:17:03 424 | return;
12:17:03 425 | } catch (error) {
12:17:03 > 426 | console.error('获取第三方应用资源失败:', error);
12:17:03 | ^
12:17:03 427 | }
12:17:03 428 | }
12:17:03 429 |
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:439:17:
12:17:03 437 | }
12:17:03 438 | if (appId == '__Hab04s0VNDPrjFZ3Xlo') {//挂图作战直接打开项目中心首页
12:17:03 > 439 | console.log(this.$parent.$parent)
12:17:03 | ^
12:17:03 440 | this.$parent.$parent.$parent.$parent.navtopmenuclick(1)
12:17:03 441 | return
12:17:03 442 | }
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:448:17:
12:17:03 446 |
12:17:03 447 | if (appId == '__aNKPFCBuZfyQNzlnlZ9') { //商城pc前端入口
12:17:03 > 448 | console.log(this.$parent.$parent)
12:17:03 | ^
12:17:03 449 | this.$parent.$parent.$parent.$parent.navtopmenuclick(100)
12:17:03 450 | return
12:17:03 451 | }
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:453:17:
12:17:03 451 | }
12:17:03 452 | if (appId == '__ZG0ZtjrEhvNbj2rlOsF') { //企业钱包前端入口
12:17:03 > 453 | console.log(this.$parent.$parent)
12:17:03 | ^
12:17:03 454 | this.$parent.$parent.$parent.$parent.navtopmenuclick(101)
12:17:03 455 | return
12:17:03 456 | }
12:17:03
12:17:03
12:17:03 18 errors found.
12:17:03
12:17:03 Module Warning (from ./node_modules/eslint-loader/index.js):
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:83:13:
12:17:03 81 | else {
12:17:03 82 | this.organizationLevels=organizationLevels.split(',')//obpm.config.js定义全局变量organizationLevels
12:17:03 > 83 | console.log('organizationLevels',organizationLevels)//obpm.config.js定义全局变量organizationLevels
12:17:03 | ^
12:17:03 84 | if(this.organizationLevels&&this.organizationLevels.includes('Premium')){
12:17:03 85 | this.appLevelsList()
12:17:03 86 | }else{
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:101:13:
12:17:03 99 | key: ""
12:17:03 100 | }
12:17:03 > 101 | console.log(this.$listeners)
12:17:03 | ^
12:17:03 102 | this.addTab(param)
12:17:03 103 | },
12:17:03 104 | applistIframe() {//查询应用列表
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:112:25:
12:17:03 110 |
12:17:03 111 | if (response.data && response.data.errmsg == "ok") {
12:17:03 > 112 | console.log(response.data)
12:17:03 | ^
12:17:03 113 | if (response.data.data.data.length) {
12:17:03 114 | let arr = []
12:17:03 115 | response.data.data.data.forEach((item, index) => {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:131:29:
12:17:03 129 |
12:17:03 130 | })
12:17:03 > 131 | console.log(arr)
12:17:03 | ^
12:17:03 132 | arr.sort((a, b) => { return Number(a.cateSort) - Number(b.cateSort) }) //分类排序cateSort
12:17:03 133 |
12:17:03 134 | const titleMap = {}
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:192:29:
12:17:03 190 | }
12:17:03 191 | }
12:17:03 > 192 | console.log(arr2)
12:17:03 | ^
12:17:03 193 | this.appcateArrList = arr2
12:17:03 194 |
12:17:03 195 | //前端缓存本地代码块--切换不同组织的所有应用列表
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:224:29:
12:17:03 222 | parsedData = JSON.parse(jsonString);
12:17:03 223 | } catch (e) {
12:17:03 > 224 | console.warn('解析 resource.data 失败:', e, resource.data);
12:17:03 | ^
12:17:03 225 | // 如果解析失败,尝试使用正则表达式提取
12:17:03 226 | const iconMatch = resource.data.match(/icon:\s*['"]([^'"]+)['"]/);
12:17:03 227 | const urlMatch = resource.data.match(/url:\s*['"]([^'"]+)['"]/);
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:297:33:
12:17:03 295 | } catch (e) {
12:17:03 296 | // 如果 URL 解析失败(可能是相对路径或特殊格式),使用字符串替换方式
12:17:03 > 297 | console.warn('URL 解析失败,使用字符串替换方式:', e, url);
12:17:03 | ^
12:17:03 298 |
12:17:03 299 | // 使用正则表达式替换或添加参数
12:17:03 300 | if (token) {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:324:21:
12:17:03 322 |
12:17:03 323 | const actionContent = url || resource.id || '';
12:17:03 > 324 | console.log('actionContent:', actionContent);
12:17:03 | ^
12:17:03 325 |
12:17:03 326 | // 构建 ico 字段(JSON字符串格式)
12:17:03 327 | const icoString = icon ? JSON.stringify({
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:391:13:
12:17:03 389 | },
12:17:03 390 | loadAppMenu(appId, name) {//点击应用列表查询左边应用菜单
12:17:03 > 391 | console.log(this.$parent.$parent.$parent.$parent)
12:17:03 | ^
12:17:03 392 | console.log('当前appId', appId)
12:17:03 393 |
12:17:03 394 | // 判断是否为第三方应用
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:392:13:
12:17:03 390 | loadAppMenu(appId, name) {//点击应用列表查询左边应用菜单
12:17:03 391 | console.log(this.$parent.$parent.$parent.$parent)
12:17:03 > 392 | console.log('当前appId', appId)
12:17:03 | ^
12:17:03 393 |
12:17:03 394 | // 判断是否为第三方应用
12:17:03 395 | if (appId && appId.startsWith('third_party')) {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:401:21:
12:17:03 399 | // 实际项目中可能需要根据具体业务逻辑获取 categoryId
12:17:03 400 | const categoryId = appId || 'default'; // 示例: third_party_category_123
12:17:03 > 401 | console.log('第三方应用类别ID:', categoryId);
12:17:03 | ^
12:17:03 402 |
12:17:03 403 | // 使用现有的 API 调用方式
12:17:03 404 | this.$api.getRbacCategoryResources(categoryId, {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:406:29:
12:17:03 404 | this.$api.getRbacCategoryResources(categoryId, {
12:17:03 405 | onSucess: (response) => {
12:17:03 > 406 | console.log('第三方应用资源:', response);
12:17:03 | ^
12:17:03 407 | // 构建第三方应用菜单
12:17:03 408 | if (response && response.data && response.data.data) {
12:17:03 409 | // 注意:实际数据在 response.data.data 中
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:411:33:
12:17:03 409 | // 注意:实际数据在 response.data.data 中
12:17:03 410 | const menus = this.transformRbacResourcesToMenus(response.data.data);
12:17:03 > 411 | console.log('转换后的菜单结构:', menus);
12:17:03 | ^
12:17:03 412 |
12:17:03 413 | // 将菜单数据存储到 Vuex store 中
12:17:03 414 | this.$store.commit('loadMenus', { appId: appId, menus: menus });
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:420:29:
12:17:03 418 | },
12:17:03 419 | onError: (error) => {
12:17:03 > 420 | console.error('获取第三方应用资源失败:', error);
12:17:03 | ^
12:17:03 421 | }
12:17:03 422 | });
12:17:03 423 |
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:427:21:
12:17:03 425 | return;
12:17:03 426 | } catch (error) {
12:17:03 > 427 | console.error('获取第三方应用资源失败:', error);
12:17:03 | ^
12:17:03 428 | }
12:17:03 429 | }
12:17:03 430 | let httpsUrl = location.origin;//获取url各个环境地址--比如http://localhost:4000
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:439:17:
12:17:03 437 | }
12:17:03 438 | if (appId == '__Hab04s0VNDPrjFZ3Xlo') {//挂图作战直接打开项目中心首页
12:17:03 > 439 | console.log(this.$parent.$parent)
12:17:03 | ^
12:17:03 440 | this.$parent.$parent.$parent.$parent.navtopmenuclick(1)
12:17:03 441 | return
12:17:03 442 | }
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:448:17:
12:17:03 446 |
12:17:03 447 | if (appId == '__aNKPFCBuZfyQNzlnlZ9') { //商城pc前端入口
12:17:03 > 448 | console.log(this.$parent.$parent)
12:17:03 | ^
12:17:03 449 | this.$parent.$parent.$parent.$parent.navtopmenuclick(100)
12:17:03 450 | return
12:17:03 451 | }
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:453:17:
12:17:03 451 | }
12:17:03 452 | if (appId == '__ZG0ZtjrEhvNbj2rlOsF') { //企业钱包前端入口
12:17:03 > 453 | console.log(this.$parent.$parent)
12:17:03 | ^
12:17:03 454 | this.$parent.$parent.$parent.$parent.navtopmenuclick(101)
12:17:03 455 | return
12:17:03 456 | }
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeAllAppNew.vue:458:17:
12:17:03 456 | }
12:17:03 457 | if (appId == '111') { //行业考培大屏
12:17:03 > 458 | console.log('行业考培大屏')
12:17:03 | ^
12:17:03 459 | const imgSrc = require('@/assets/images/bktImgs/大屏图片.jpg')
12:17:03 460 | this.$alert(
12:17:03 461 | `<div style="text-align:center"><img src="${imgSrc}" style="max-width:100%"></div>`,
12:17:03
12:17:03
12:17:03 19 errors found.
12:17:03
12:17:03 Module Warning (from ./node_modules/eslint-loader/index.js):
12:17:03 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:57:9:
12:17:03 55 | },
12:17:03 56 | created() {
12:17:03 > 57 | console.log(this.$root.user)
12:17:03 | ^
12:17:03 58 | this.network = __network__
12:17:03 59 | if(this.network){
12:17:03 60 | this.getLocation();
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:177:24:
12:17:03 175 | if(response.data.data){
12:17:03 176 | this.hiredDate=response.data.data.hiredDate
12:17:03 > 177 | console.log(this.hiredDate)
12:17:03 | ^
12:17:03 178 | this.hiredDateToNow=diffDate(response.data.data.hiredDate,getNowFormatDate())
12:17:03 179 | }
12:17:03 180 | }
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:191:23:
12:17:03 189 | onSucess: response => {
12:17:03 190 | if(response.data.data){
12:17:03 > 191 | console.log(response.data.data)
12:17:03 | ^
12:17:03 192 | if(response.data.data.datas.length){
12:17:03 193 | this.getAnnouncementFirst=response.data.data.datas[0]
12:17:03 194 | }else{
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:229:21:
12:17:03 227 | function onComplete (data) {
12:17:03 228 | // data是具体的定位信息
12:17:03 > 229 | console.log('定位成功信息:', data.addressComponent.city);
12:17:03 | ^
12:17:03 230 | self.city = (data.addressComponent && data.addressComponent.city);
12:17:03 231 | AMap.plugin('AMap.Weather', function() {
12:17:03 232 | console.log(self.city)
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:232:25:
12:17:03 230 | self.city = (data.addressComponent && data.addressComponent.city);
12:17:03 231 | AMap.plugin('AMap.Weather', function() {
12:17:03 > 232 | console.log(self.city)
12:17:03 | ^
12:17:03 233 | var weather = new AMap.Weather();
12:17:03 234 | weather.getLive(self.city, function(err, data) {
12:17:03 235 | if (!err) {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:236:33:
12:17:03 234 | weather.getLive(self.city, function(err, data) {
12:17:03 235 | if (!err) {
12:17:03 > 236 | console.log(data)
12:17:03 | ^
12:17:03 237 | self.cityInfo=data
12:17:03 238 | if(data.weather.indexOf('晴')>-1){
12:17:03 239 | self.weatherImg=self.sun
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:270:21:
12:17:03 268 | function onError (data) {
12:17:03 269 | // 定位出错
12:17:03 > 270 | console.log('定位失败错误:', data);
12:17:03 | ^
12:17:03 271 | self.city=''//定位失败隐藏
12:17:03 272 | // 调用IP定位
12:17:03 273 | self.getLngLatLocation();
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:283:21:
12:17:03 281 | if (status === 'complete' && result.info === 'OK') {
12:17:03 282 | // 查询成功,result即为当前所在城市信息
12:17:03 > 283 | console.log('通过ip获取当前城市:', result);
12:17:03 | ^
12:17:03 284 | // 逆向地理编码
12:17:03 285 | AMap.plugin('AMap.Geocoder', function () {
12:17:03 286 | var geocoder = new AMap.Geocoder({
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:295:25:
12:17:03 293 | if (status === 'complete' && data.info === 'OK') {
12:17:03 294 | // result为对应的地理位置详细信息
12:17:03 > 295 | console.log(data);
12:17:03 | ^
12:17:03 296 | }
12:17:03 297 | });
12:17:03 298 | });
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:316:20:
12:17:03 314 | // loading.close();//关闭加载
12:17:03 315 | // });
12:17:03 > 316 | console.log('banner______________',response.data.data.data)
12:17:03 | ^
12:17:03 317 | if(response.data.data.data){
12:17:03 318 | let Arry=[]
12:17:03 319 | response.data.data.data.forEach(item=>{
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/homeWelcomeNew.vue:328:24:
12:17:03 326 | })
12:17:03 327 | this.bannerArr=Arry.slice(0,3)
12:17:03 > 328 | console.log(this.bannerArr)
12:17:03 | ^
12:17:03 329 | }
12:17:03 330 | }
12:17:03 331 | })
12:17:03
12:17:03
12:17:03 11 errors found.
12:17:03
12:17:03 Module Warning (from ./node_modules/eslint-loader/index.js):
12:17:03 error: Unexpected console statement (no-console) at src/components/main_content.vue:247:7:
12:17:03 245 | onTabClick: function(tab,index) {
12:17:03 246 | // debugger
12:17:03 > 247 | console.log(tab)
12:17:03 | ^
12:17:03 248 | console.log(index)
12:17:03 249 | this.$emit("active-tab", tab,index);
12:17:03 250 | //点击tab标签左边菜单显示对应的应用--bcx新增功能
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/main_content.vue:248:7:
12:17:03 246 | // debugger
12:17:03 247 | console.log(tab)
12:17:03 > 248 | console.log(index)
12:17:03 | ^
12:17:03 249 | this.$emit("active-tab", tab,index);
12:17:03 250 | //点击tab标签左边菜单显示对应的应用--bcx新增功能
12:17:03 251 | let appId=tab.appId
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/main_content.vue:265:9:
12:17:03 263 | this.$root.appid = appId;
12:17:03 264 | }
12:17:03 > 265 | console.log(tab)
12:17:03 | ^
12:17:03 266 | this.setMaincontent(false)
12:17:03 267 | this.$parent.showApp=true
12:17:03 268 | this.$parent.showWait=false
12:17:03
12:17:03
12:17:03 3 errors found.
12:17:03
12:17:03 Module Warning (from ./node_modules/eslint-loader/index.js):
12:17:03 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:312:4:
12:17:03 310 | }
12:17:03 311 |
12:17:03 > 312 | console.log("formData.value-->",formData.value)
12:17:03 | ^
12:17:03 313 |
12:17:03 314 |
12:17:03 315 | if(formData.value && formData.value.length > 0) {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:465:4:
12:17:03 463 |
12:17:03 464 | uploadSuccess(response, file, fileList) {
12:17:03 > 465 | console.log(file);
12:17:03 | ^
12:17:03 466 | console.log(fileList);
12:17:03 467 | let obj = {
12:17:03 468 | name: response.data[0].fileName,
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:466:4:
12:17:03 464 | uploadSuccess(response, file, fileList) {
12:17:03 465 | console.log(file);
12:17:03 > 466 | console.log(fileList);
12:17:03 | ^
12:17:03 467 | let obj = {
12:17:03 468 | name: response.data[0].fileName,
12:17:03 469 | path: response.data[0].filePath,
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:571:4:
12:17:03 569 |
12:17:03 570 | handleRemove(file, fileList) {
12:17:03 > 571 | console.log("file--->",file);
12:17:03 | ^
12:17:03 572 | console.log(fileList);
12:17:03 573 | let appId = this.$root.appid;
12:17:03 574 | let formId = this.field.formId;
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:572:4:
12:17:03 570 | handleRemove(file, fileList) {
12:17:03 571 | console.log("file--->",file);
12:17:03 > 572 | console.log(fileList);
12:17:03 | ^
12:17:03 573 | let appId = this.$root.appid;
12:17:03 574 | let formId = this.field.formId;
12:17:03 575 | let docId = this.field.docId;
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:586:7:
12:17:03 584 | }
12:17:03 585 | }
12:17:03 > 586 | console.log("this.field.value--->",this.field.value);
12:17:03 | ^
12:17:03 587 | }
12:17:03 588 | if (this.field.refreshOnChanged){
12:17:03 589 | // this.$parent.refresh(this.field.id);
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:671:4:
12:17:03 669 | return false
12:17:03 670 | }
12:17:03 > 671 | console.log("当前的network=",__network__);
12:17:03 | ^
12:17:03 672 |
12:17:03 673 | if(__network__){//obs文件上传不走下面代码
12:17:03 674 | return
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:703:6:
12:17:03 701 | context: that,
12:17:03 702 | onSuccess: function(responseData) {
12:17:03 > 703 | console.log("responseData--->",e)
12:17:03 | ^
12:17:03 704 | if(responseData && responseData.length > 0) {
12:17:03 705 | let uploadTime = '';
12:17:03 706 | let date = new Date();
12:17:03
12:17:03
12:17:03 8 errors found.
12:17:03
12:17:03 Module Warning (from ./node_modules/eslint-loader/index.js):
12:17:03 error: Unexpected console statement (no-console) at src/components/qrcodeDialog.vue:83:15:
12:17:03 81 | },
12:17:03 82 | onError: (error) => {
12:17:03 > 83 | console.error("获取paas_token失败:", error);
12:17:03 | ^
12:17:03 84 | reject(error);
12:17:03 85 | }
12:17:03 86 | });
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/qrcodeDialog.vue:140:9:
12:17:03 138 | return false;
12:17:03 139 | } catch (error) {
12:17:03 > 140 | console.error("获取邀请码失败:", error);
12:17:03 | ^
12:17:03 141 | this.savingInviteCode = false;
12:17:03 142 | return false;
12:17:03 143 | }
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/qrcodeDialog.vue:188:13:
12:17:03 186 | },
12:17:03 187 | onError: (error) => {
12:17:03 > 188 | console.error("查询已有邀请码失败:", error);
12:17:03 | ^
12:17:03 189 | resolve(null);
12:17:03 190 | }
12:17:03 191 | });
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/components/qrcodeDialog.vue:222:13:
12:17:03 220 | },
12:17:03 221 | onError: (error) => {
12:17:03 > 222 | console.error("保存邀请码失败:", error);
12:17:03 | ^
12:17:03 223 |
12:17:03 224 | // 检查是否是邀请码重复错误
12:17:03 225 | if (error.response && error.response.data) {
12:17:03
12:17:03
12:17:03 4 errors found.
12:17:03
12:17:03 Module Warning (from ./node_modules/eslint-loader/index.js):
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:517:13:
12:17:03 515 | this.activeHome()
12:17:03 516 | this.applist()//查询左边下拉应用列表
12:17:03 > 517 | console.log(this.$refs.mainNavBar.data)
12:17:03 | ^
12:17:03 518 | if (state.defaultFirst == 1) {
12:17:03 519 | this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data)
12:17:03 520 | }
12:17:03
12:17:03
12:17:03 error: Unexpected side effect in "applicationName" computed property (vue/no-side-effects-in-computed-properties) at src/views/Home.vue:539:11:
12:17:03 537 | if (this.$store.state.appmenusShow) {
12:17:03 538 | this.$nextTick(() => {
12:17:03 > 539 | this.showApp = true
12:17:03 | ^
12:17:03 540 | this.$refs.mychild.setMaincontent(false) // 调用子组件的方法
12:17:03 541 | this.applist()//查询左边下拉应用列表
12:17:03 542 | console.log(this.$refs.mainNavBar.data)
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:542:11:
12:17:03 540 | this.$refs.mychild.setMaincontent(false) // 调用子组件的方法
12:17:03 541 | this.applist()//查询左边下拉应用列表
12:17:03 > 542 | console.log(this.$refs.mainNavBar.data)
12:17:03 | ^
12:17:03 543 | if (this.$store.state.defaultFirst == 1) {
12:17:03 544 | // this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data)
12:17:03 545 | }
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:555:7:
12:17:03 553 | currentAppName = this.$store.getters.currentAppName
12:17:03 554 | }
12:17:03 > 555 | console.log(currentAppName)
12:17:03 | ^
12:17:03 556 | return currentAppName;
12:17:03 557 | },
12:17:03 558 | showInstance() {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:675:11:
12:17:03 673 | }
12:17:03 674 | this.otherNotice = arr;
12:17:03 > 675 | console.log("this.otherNotice---->", this.otherNotice)
12:17:03 | ^
12:17:03 676 | }
12:17:03 677 | }
12:17:03 678 | )
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:686:11:
12:17:03 684 | if (res.data.errcode == 0) {
12:17:03 685 | let listArr = res.data.data.data
12:17:03 > 686 | console.log(listArr)
12:17:03 | ^
12:17:03 687 | if (listArr.length) {
12:17:03 688 | listArr.forEach(item => {
12:17:03 689 | if (currDate(true) >= item.items.__G3lF6FIrSTspuF06jEr.value && currDate(true) <= item.items.__eG17lW4psp4yq1aT0Pt.value) {//在当前时间范围内提醒
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:705:11:
12:17:03 703 | if (res.status == 200) {
12:17:03 704 | let listArr = res.data.data
12:17:03 > 705 | console.log('公安未读消息', listArr)
12:17:03 | ^
12:17:03 706 | if (listArr.length) {
12:17:03 707 | this.policeNotices = listArr.sort((a,b)=>{
12:17:03 708 | return (new Date(b.item_senddate)-new Date(a.item_senddate))
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:717:11:
12:17:03 715 | // })
12:17:03 716 | }
12:17:03 > 717 | console.log('公安未读消息1111', this.policeNotices.length)
12:17:03 | ^
12:17:03 718 | // this.policeNoticePop()
12:17:03 719 | if (this.policeNotices.length>0 && !this.showBktHome) {//提醒时间段有弹窗提醒
12:17:03 720 | setTimeout(() => {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:727:9:
12:17:03 725 | },
12:17:03 726 | onError: err => {
12:17:03 > 727 | console.log(err)
12:17:03 | ^
12:17:03 728 | }
12:17:03 729 | }
12:17:03 730 | )
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:731:5:
12:17:03 729 | }
12:17:03 730 | )
12:17:03 > 731 | console.log('organizationLevels',organizationLevels)//obpm.config.js定义全局变量organizationLevels
12:17:03 | ^
12:17:03 732 | if(organizationLevels.indexOf('Premium')>-1){
12:17:03 733 | this.baseServiceOptions=this.$root.roleLevelsPermissionData&&this.$root.roleLevelsPermissionData.baseServiceOptions
12:17:03 734 | console.log('this.baseServiceOptions',this.baseServiceOptions)
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:734:7:
12:17:03 732 | if(organizationLevels.indexOf('Premium')>-1){
12:17:03 733 | this.baseServiceOptions=this.$root.roleLevelsPermissionData&&this.$root.roleLevelsPermissionData.baseServiceOptions
12:17:03 > 734 | console.log('this.baseServiceOptions',this.baseServiceOptions)
12:17:03 | ^
12:17:03 735 | }
12:17:03 736 |
12:17:03 737 | },
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:811:7:
12:17:03 809 | // 检查并显示密码修改提示
12:17:03 810 | checkPasswordUpdateNotice() {
12:17:03 > 811 | console.log('this.updatePasswordType', this.updatePasswordType, this.updatePasswordMsg)
12:17:03 | ^
12:17:03 812 | if (this.updatePasswordType && this.updatePasswordMsg) {
12:17:03 813 | this.updatePwdDialogVisible = true
12:17:03 814 | if (this.updatePasswordType === '2') {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:838:11:
12:17:03 836 | this.$api.isSupervisedApi(domainId, {
12:17:03 837 | onSucess: res => {
12:17:03 > 838 | console.log('res11', res)
12:17:03 | ^
12:17:03 839 | if (res.data.data) {
12:17:03 840 | console.log('res.data.data监管归属', res.data.data)
12:17:03 841 | this.isSupervisedInfoCompletedData = res.data.data
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:840:13:
12:17:03 838 | console.log('res11', res)
12:17:03 839 | if (res.data.data) {
12:17:03 > 840 | console.log('res.data.data监管归属', res.data.data)
12:17:03 | ^
12:17:03 841 | this.isSupervisedInfoCompletedData = res.data.data
12:17:03 842 | console.log(this.isSupervisedInfoCompletedData)
12:17:03 843 | if (res.data.data.superviseCompleted && res.data.data.infoCompleted) {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:842:13:
12:17:03 840 | console.log('res.data.data监管归属', res.data.data)
12:17:03 841 | this.isSupervisedInfoCompletedData = res.data.data
12:17:03 > 842 | console.log(this.isSupervisedInfoCompletedData)
12:17:03 | ^
12:17:03 843 | if (res.data.data.superviseCompleted && res.data.data.infoCompleted) {
12:17:03 844 | this.supervisionDialogVisible = false;//有填写监管归属,隐藏监管归属弹窗
12:17:03 845 | }
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:854:11:
12:17:03 852 | onError: erro => {
12:17:03 853 | this.supervisionDialogVisible = false;//错误,隐藏弹窗,默认让客户可以用
12:17:03 > 854 | console.log('erro11', erro)
12:17:03 | ^
12:17:03 855 | }
12:17:03 856 | })
12:17:03 857 | },
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:882:13:
12:17:03 880 | {
12:17:03 881 | onSucess: res => {
12:17:03 > 882 | console.log(res.data.data.placeOfRegister)
12:17:03 | ^
12:17:03 883 | if (res.data.data.placeOfRegister && res.data.data.placeOfRegister.province.name.indexOf('北京') > -1) {
12:17:03 884 | this.systemNoticeDialogVisible = true
12:17:03 885 | this.placeOfRegister_bjFlag = true
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:925:11:
12:17:03 923 | this.$api.getEnterpriseUserinfo(localStorage.getItem("domainId"), {
12:17:03 924 | onSucess: res => {
12:17:03 > 925 | console.log('res11',res)
12:17:03 | ^
12:17:03 926 | if (res.data.status == 200) {
12:17:03 927 | let isValidLonlat=res.data.data.isValidLonlat;//判断企业是否完善经纬度,没有完善强提醒
12:17:03 928 | console.log('this.domainAdmin',this.domainAdmin)
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:928:13:
12:17:03 926 | if (res.data.status == 200) {
12:17:03 927 | let isValidLonlat=res.data.data.isValidLonlat;//判断企业是否完善经纬度,没有完善强提醒
12:17:03 > 928 | console.log('this.domainAdmin',this.domainAdmin)
12:17:03 | ^
12:17:03 929 | if(this.domainAdmin&&isValidLonlat&&this.network){//是组织管理员以及没有完善经纬度--强提醒
12:17:03 930 | this.domainLonLatPopDialogVisible=true
12:17:03 931 | }
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:1202:17:
12:17:03 1200 | {
12:17:03 1201 | onSucess: res => {
12:17:03 > 1202 | console.log('res', res)
12:17:03 | ^
12:17:03 1203 | let shopToken = res.data && res.data.accessToken || ''
12:17:03 1204 | resolve(shopToken)
12:17:03 1205 | }
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:1246:17:
12:17:03 1244 | {
12:17:03 1245 | onSucess: res => {
12:17:03 > 1246 | console.log('res', res)
12:17:03 | ^
12:17:03 1247 | let shopToken = res.data && res.data.accessToken || ''
12:17:03 1248 | resolve(shopToken)
12:17:03 1249 | }
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:1297:13:
12:17:03 1295 | onSucess: response => {
12:17:03 1296 | if (response.data && response.data.errmsg == "ok") {
12:17:03 > 1297 | console.log(response.data)
12:17:03 | ^
12:17:03 1298 | if (response.data.data.data.length) {
12:17:03 1299 | let arr = []
12:17:03 1300 | response.data.data.data.forEach((item, index) => {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:1316:15:
12:17:03 1314 |
12:17:03 1315 | })
12:17:03 > 1316 | console.log(arr)
12:17:03 | ^
12:17:03 1317 | arr.sort((a, b) => { return Number(a.cateSort) - Number(b.cateSort) }) //分类排序cateSort
12:17:03 1318 |
12:17:03 1319 | const titleMap = {}
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:1363:15:
12:17:03 1361 | }
12:17:03 1362 | }
12:17:03 > 1363 | console.log(arr3)
12:17:03 | ^
12:17:03 1364 | this.applistArr = arr3
12:17:03 1365 |
12:17:03 1366 | }
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:1404:13:
12:17:03 1402 | onSucess: res => {
12:17:03 1403 | if (res.status == 200) {
12:17:03 > 1404 | console.log("res--->", res.status);
12:17:03 | ^
12:17:03 1405 | }
12:17:03 1406 | }
12:17:03 1407 | })
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:1507:11:
12:17:03 1505 | },
12:17:03 1506 | onError: error => {
12:17:03 > 1507 | console.log(error);
12:17:03 | ^
12:17:03 1508 | }
12:17:03 1509 | });
12:17:03 1510 | },
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:1625:7:
12:17:03 1623 |
12:17:03 1624 | closeTab: function (tab, tabindex) {//关闭当前选项卡,选中前一个选项卡
12:17:03 > 1625 | console.log(tab)
12:17:03 | ^
12:17:03 1626 | console.log(tabindex)
12:17:03 1627 | if (this.$store.state.searchDataStore.length) {
12:17:03 1628 | this.$store.state.searchDataStore.forEach((item, index) => {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:1626:7:
12:17:03 1624 | closeTab: function (tab, tabindex) {//关闭当前选项卡,选中前一个选项卡
12:17:03 1625 | console.log(tab)
12:17:03 > 1626 | console.log(tabindex)
12:17:03 | ^
12:17:03 1627 | if (this.$store.state.searchDataStore.length) {
12:17:03 1628 | this.$store.state.searchDataStore.forEach((item, index) => {
12:17:03 1629 | if (item.appId == tab.appId && item.viewId == tab.actionContent) {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:1641:7:
12:17:03 1639 | })
12:17:03 1640 | }
12:17:03 > 1641 | console.log(this.$store.state.searchDataStore)
12:17:03 | ^
12:17:03 1642 | let tabs = this.tabs;
12:17:03 1643 | if (tabindex >= 0) { //点击X关闭
12:17:03 1644 | console.log(JSON.stringify(this.tabs))
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:1644:9:
12:17:03 1642 | let tabs = this.tabs;
12:17:03 1643 | if (tabindex >= 0) { //点击X关闭
12:17:03 > 1644 | console.log(JSON.stringify(this.tabs))
12:17:03 | ^
12:17:03 1645 | tabs.splice(tabindex, 1);
12:17:03 1646 | if (tab.active) {
12:17:03 1647 | if (tabs.length > 0 && ((tabs.length - 1) >= tabindex)) {
12:17:03
12:17:03
12:17:03 error: Unexpected console statement (no-console) at src/views/Home.vue:1720:13:
12:17:03 1718 | onSucess: res => {
12:17:03 1719 | this.isOrganizationPromoter = res.data.data.isOrganizationPromoter;
12:17:03 > 1720 | console.info('promoter', this.isOrganizationPromoter);
12:17:03 | ^
12:17:03 1721 | }
12:17:03 1722 | })
12:17:03 1723 | }
12:17:03
12:17:03
12:17:03 31 errors found.
12:17:03
12:17:03 You may use special comments to disable some warnings.
12:17:03 Use // eslint-disable-next-line to ignore the next line.
12:17:03 Use /* eslint-disable */ to ignore all warnings in a file.
12:17:03 warning in ./src/api.js
12:17:03
12:17:03 Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
12:17:03
12:17:03 /data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/api.js
12:17:03 57:5 error Unexpected console statement no-console
12:17:03 587:5 error Unexpected console statement no-console
12:17:03 740:5 error Unexpected console statement no-console
12:17:03
12:17:03 ✖ 3 problems (3 errors, 0 warnings)
12:17:03
12:17:03
12:17:03 @ ./src/main.js 14:0-27 38:21-24 361:4-7 380:4-7
12:17:03 @ multi ./src/main.js
12:17:03
12:17:03 warning
12:17:03
12:17:03 asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
12:17:03 This can impact web performance.
12:17:03 Assets:
12:17:03 fonts/Source Han Sans CN Regular.552b3917.eot (8.14 MiB)
12:17:03 img/大屏图片.adbf5de7.jpg (1.17 MiB)
12:17:03 fonts/Source Han Sans CN Regular.d1fb7855.woff (5.1 MiB)
12:17:03 img/fontawesome-webfont.912ec66d.svg (434 KiB)
12:17:03 img/background.646883a5.jpg (363 KiB)
12:17:03 fonts/Source Han Sans CN Regular.50f2d6d6.ttf (8.14 MiB)
12:17:03 img/Source Han Sans CN Regular.63d44fde.svg (17.8 MiB)
12:17:03 js/about.a357ab65.js (2.83 MiB)
12:17:03 js/app.1e3e1089.js (4.82 MiB)
12:17:03 js/chunk-720230dc.2f48f60d.js (408 KiB)
12:17:03 js/rail.6b389e55.js (2.49 MiB)
12:17:03 iwebapp/pdfjs/core/pdf.js (584 KiB)
12:17:03 iwebapp/pdfjs/core/pdf.worker.js (723 KiB)
12:17:03 js/esdk-obs-browserjs.min.js (304 KiB)
12:17:03 pdf/word/pdfjs/build/pdf.js (774 KiB)
12:17:03 iwebapp/pdfjs/pdf-34bd0a9d29.viewer.js (1.36 MiB)
12:17:03 iwebapp/pdfjs/pdf-8cc3ba5958.viewer.js (1.37 MiB)
12:17:03 pdf/word/pdfjs/build/pdf.js.map (1.48 MiB)
12:17:03 pdf/word/pdfjs/build/pdf.worker.js (1.66 MiB)
12:17:03 pdf/word/pdfjs/build/pdf.worker.js.map (3.39 MiB)
12:17:03 pdf/word/pdfjs/web/viewer.js (655 KiB)
12:17:03 pdf/word/pdfjs/web/viewer.js.map (751 KiB)
12:17:03 UEditor/jsp/lib/commons-codec-1.9.jar (258 KiB)
12:17:03 pdf/word/iWebOffice2015.cab (12.4 MiB)
12:17:03 UEditor/third-party/highcharts/highcharts.src.js (434 KiB)
12:17:03 UEditor/third-party/snapscreen/UEditorSnapscreen.exe (508 KiB)
12:17:03 UEditor/third-party/jquery-1.10.2.js (267 KiB)
12:17:03 UEditor/ueditor.all.min.js (373 KiB)
12:17:03 UEditor/ueditor.all.js (1.06 MiB)
12:17:03
12:17:03 warning
12:17:03
12:17:03 entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
12:17:03 Entrypoints:
12:17:03 app (7.65 MiB)
12:17:03 js/about.a357ab65.js
12:17:03 js/app.1e3e1089.js
12:17:03
12:17:03
12:17:04 File Size Gzipped
12:17:04
12:17:04 dist/UEditor/ueditor.all.min.js 373.46 KiB 100.76 KiB
12:17:04 dist/js/esdk-obs-browserjs.min.js 303.80 KiB 78.74 KiB
12:17:04 dist/iwebapp/pdfjs/jquery-1.11.3.min.j 93.71 KiB 32.54 KiB
12:17:04 s
12:17:04 dist/js/jquery-1.11.3.min.js 93.71 KiB 32.54 KiB
12:17:04 dist/pdf/word/jquery.min.js 93.54 KiB 32.48 KiB
12:17:04 dist/UEditor/third-party/jquery-1.10.2 90.92 KiB 32.06 KiB
12:17:04 .min.js
12:17:04 dist/js/swiper.min.js 64.88 KiB 16.44 KiB
12:17:04 dist/UEditor/third-party/webuploader/w 56.91 KiB 18.66 KiB
12:17:04 ebuploader.min.js
12:17:04 dist/UEditor/third-party/webuploader/w 45.99 KiB 14.37 KiB
12:17:04 ebuploader.html5only.min.js
12:17:04 dist/UEditor/third-party/webuploader/w 45.81 KiB 15.77 KiB
12:17:04 ebuploader.custom.min.js
12:17:04 dist/UEditor/third-party/webuploader/w 38.87 KiB 12.03 KiB
12:17:04 ebuploader.withoutimage.min.js
12:17:04 dist/UEditor/third-party/webuploader/w 32.81 KiB 10.64 KiB
12:17:04 ebuploader.flashonly.min.js
12:17:04 dist/UEditor/third-party/xss.min.js 27.11 KiB 6.38 KiB
12:17:04 dist/pdf/word/viewer.min.js 20.21 KiB 6.41 KiB
12:17:04 dist/UEditor/third-party/zeroclipboard 18.51 KiB 6.52 KiB
12:17:04 /ZeroClipboard.min.js
12:17:04 dist/pdf/word/sweetalert.min.js 16.58 KiB 5.29 KiB
12:17:04 dist/pdf/word/toastr.min.js 16.47 KiB 3.19 KiB
12:17:04 dist/iwebapp/pdfjs/require.min.js 14.86 KiB 6.08 KiB
12:17:04 dist/pdf/word/require.min.js 14.86 KiB 6.08 KiB
12:17:04 dist/UEditor/ueditor.parse.min.js 14.45 KiB 5.01 KiB
12:17:04 dist/js/app.1e3e1089.js 4934.65 KiB 972.10 KiB
12:17:04 dist/js/about.a357ab65.js 2893.96 KiB 824.29 KiB
12:17:04 dist/js/rail.6b389e55.js 2550.09 KiB 848.60 KiB
12:17:04 dist/pdf/word/pdfjs/build/pdf.worker.j 1700.94 KiB 322.13 KiB
12:17:04 s
12:17:04 dist/iwebapp/pdfjs/pdf-8cc3ba5958.view 1404.33 KiB 367.49 KiB
12:17:04 er.js
12:17:04 dist/iwebapp/pdfjs/pdf-34bd0a9d29.view 1397.68 KiB 362.42 KiB
12:17:04 er.js
12:17:04 dist/UEditor/ueditor.all.js 1086.60 KiB 213.79 KiB
12:17:04 dist/pdf/word/pdfjs/build/pdf.js 774.32 KiB 145.03 KiB
12:17:04 dist/iwebapp/pdfjs/core/pdf.worker.js 723.11 KiB 213.91 KiB
12:17:04 dist/pdf/word/pdfjs/web/viewer.js 654.78 KiB 99.17 KiB
12:17:04 dist/iwebapp/pdfjs/core/pdf.js 584.12 KiB 161.00 KiB
12:17:04 dist/UEditor/third-party/highcharts/hi 433.95 KiB 123.75 KiB
12:17:04 ghcharts.src.js
12:17:04 dist/js/chunk-720230dc.2f48f60d.js 407.73 KiB 133.31 KiB
12:17:04 dist/UEditor/third-party/jquery-1.10.2 266.80 KiB 79.12 KiB
12:17:04 .js
12:17:04 dist/UEditor/third-party/webuploader/w 226.46 KiB 48.94 KiB
12:17:04 ebuploader.js
12:17:04 dist/UEditor/third-party/video-js/vide 212.98 KiB 56.36 KiB
12:17:04 o.dev.js
12:17:04 dist/UEditor/third-party/webuploader/w 193.52 KiB 43.01 KiB
12:17:04 ebuploader.custom.js
12:17:04 dist/UEditor/third-party/webuploader/w 182.25 KiB 39.11 KiB
12:17:04 ebuploader.html5only.js
12:17:04 dist/UEditor/third-party/SyntaxHighlig 155.77 KiB 43.52 KiB
12:17:04 hter/shCore.js
12:17:04 dist/UEditor/third-party/codemirror/co 154.89 KiB 35.91 KiB
12:17:04 demirror.js
12:17:04 dist/UEditor/third-party/webuploader/w 148.40 KiB 31.44 KiB
12:17:04 ebuploader.withoutimage.js
12:17:04 dist/UEditor/third-party/highcharts/hi 137.55 KiB 50.63 KiB
12:17:04 ghcharts.js
12:17:04 dist/UEditor/third-party/webuploader/w 135.64 KiB 29.89 KiB
12:17:04 ebuploader.flashonly.js
12:17:04 dist/pdf/word/WebOffice.js 135.19 KiB 30.89 KiB
12:17:04 dist/UEditor/dialogs/image/image.js 125.19 KiB 55.10 KiB
12:17:04 dist/pdf/word/iWebOffice2015.js 112.08 KiB 50.77 KiB
12:17:04 dist/UEditor/third-party/highcharts/mo 98.32 KiB 22.42 KiB
12:17:04 dules/canvas-tools.src.js
12:17:04 dist/js/china.js 61.26 KiB 43.82 KiB
12:17:04 dist/iwebapp/pdfjs/stamp/laydate/layda 58.98 KiB 15.29 KiB
12:17:04 te.js
12:17:04 dist/UEditor/third-party/highcharts/hi 58.77 KiB 16.33 KiB
12:17:04 ghcharts-more.src.js
12:17:04 dist/UEditor/third-party/highcharts/mo 56.52 KiB 15.35 KiB
12:17:04 dules/canvas-tools.js
12:17:04 dist/UEditor/third-party/video-js/vide 54.09 KiB 16.62 KiB
12:17:04 o.js
12:17:04 dist/UEditor/dialogs/wordimage/tangram 46.41 KiB 12.48 KiB
12:17:04 .js
12:17:04 dist/UEditor/third-party/zeroclipboard 42.20 KiB 9.15 KiB
12:17:04 /ZeroClipboard.js
12:17:04 dist/js/certificate.ee1fb4fb.js 40.81 KiB 10.22 KiB
12:17:04 dist/js/chunk-381941e5.40d14043.js 39.03 KiB 9.74 KiB
12:17:04 dist/UEditor/ueditor.parse.js 35.91 KiB 7.93 KiB
12:17:04 dist/pdf/word/util.js 30.10 KiB 8.77 KiB
12:17:04 dist/UEditor/dialogs/video/video.js 29.78 KiB 7.62 KiB
12:17:04 dist/UEditor/dialogs/attachment/attach 29.67 KiB 6.63 KiB
12:17:04 ment.js
12:17:04 dist/UEditor/lang/en/en.js 28.72 KiB 8.24 KiB
12:17:04 dist/pdf/word/l10n.js 28.57 KiB 8.09 KiB
12:17:04 dist/UEditor/dialogs/scrawl/scrawl.js 26.51 KiB 5.97 KiB
12:17:04 dist/UEditor/lang/zh-cn/zh-cn.js 25.88 KiB 8.55 KiB
12:17:04 dist/UEditor/third-party/highcharts/mo 25.16 KiB 7.84 KiB
12:17:04 dules/map.src.js
12:17:04 dist/UEditor/ueditor.config.js 22.75 KiB 8.44 KiB
12:17:04 dist/UEditor/third-party/highcharts/hi 21.30 KiB 7.91 KiB
12:17:04 ghcharts-more.js
12:17:04 dist/pdf/word/pdfjs/web/debugger.js 18.48 KiB 4.89 KiB
12:17:04 dist/pdf/word/compatibility.js 17.70 KiB 5.38 KiB
12:17:04 dist/UEditor/third-party/highcharts/mo 16.86 KiB 5.73 KiB
12:17:04 dules/exporting.src.js
12:17:04 dist/UEditor/third-party/highcharts/mo 15.14 KiB 4.81 KiB
12:17:04 dules/data.src.js
12:17:04 dist/UEditor/dialogs/background/backgr 14.04 KiB 3.56 KiB
12:17:04 ound.js
12:17:04 dist/pdf/word/tray.js 12.95 KiB 3.86 KiB
12:17:04 dist/iwebapp/pdfjs/require.config.js 12.60 KiB 3.15 KiB
12:17:04 dist/pdf/word/require.config.js 12.38 KiB 3.05 KiB
12:17:04 dist/UEditor/dialogs/template/config.j 12.19 KiB 2.50 KiB
12:17:04 s
12:17:04 dist/UEditor/third-party/highcharts/ad 11.38 KiB 3.82 KiB
12:17:04 apters/standalone-framework.src.js
12:17:04 dist/UEditor/dialogs/charts/charts.js 10.89 KiB 3.34 KiB
12:17:04 dist/UEditor/third-party/highcharts/mo 10.69 KiB 3.16 KiB
12:17:04 dules/drilldown.src.js
12:17:04 dist/UEditor/third-party/highcharts/mo 9.88 KiB 4.03 KiB
12:17:04 dules/map.js
12:17:04 dist/UEditor/dialogs/table/edittable.j 8.72 KiB 2.01 KiB
12:17:04 s
12:17:04 dist/UEditor/third-party/highcharts/ad 8.72 KiB 3.18 KiB
12:17:04 apters/prototype-adapter.src.js
12:17:04 dist/UEditor/third-party/highcharts/mo 8.18 KiB 2.56 KiB
12:17:04 dules/annotations.src.js
12:17:04 dist/UEditor/dialogs/music/music.js 7.64 KiB 2.16 KiB
12:17:04 dist/UEditor/third-party/highcharts/ad 7.61 KiB 2.91 KiB
12:17:04 apters/mootools-adapter.src.js
12:17:04 dist/pdf/word/watermark.js 7.55 KiB 1.90 KiB
12:17:04 dist/UEditor/third-party/highcharts/mo 7.08 KiB 3.07 KiB
12:17:04 dules/exporting.js
12:17:04 dist/UEditor/third-party/highcharts/mo 6.38 KiB 2.33 KiB
12:17:04 dules/funnel.src.js
12:17:04 dist/UEditor/dialogs/emotion/emotion.j 6.15 KiB 2.03 KiB
12:17:04 s
12:17:04 dist/UEditor/third-party/highcharts/mo 5.42 KiB 1.95 KiB
12:17:04 dules/drilldown.js
12:17:04 dist/UEditor/third-party/highcharts/ad 4.95 KiB 2.15 KiB
12:17:04 apters/standalone-framework.js
12:17:04 dist/UEditor/dialogs/spechars/spechars 4.56 KiB 2.37 KiB
12:17:04 .js
12:17:04 dist/UEditor/third-party/highcharts/th 4.38 KiB 1.21 KiB
12:17:04 emes/gray.js
12:17:04 dist/UEditor/third-party/highcharts/mo 4.33 KiB 1.89 KiB
12:17:04 dules/data.js
12:17:04 dist/UEditor/dialogs/searchreplace/sea 4.30 KiB 1.27 KiB
12:17:04 rchreplace.js
12:17:04 dist/UEditor/third-party/highcharts/th 4.25 KiB 1.20 KiB
12:17:04 emes/dark-blue.js
12:17:04 dist/UEditor/third-party/highcharts/th 4.24 KiB 1.21 KiB
12:17:04 emes/dark-green.js
12:17:04 dist/UEditor/dialogs/wordimage/wordima 4.05 KiB 1.95 KiB
12:17:04 ge.js
12:17:04 dist/UEditor/third-party/highcharts/mo 3.32 KiB 1.52 KiB
12:17:04 dules/annotations.js
12:17:04 dist/UEditor/third-party/highcharts/ad 3.23 KiB 1.33 KiB
12:17:04 apters/prototype-adapter.js
12:17:04 dist/UEditor/third-party/highcharts/mo 2.79 KiB 1.12 KiB
12:17:04 dules/no-data-to-display.src.js
12:17:04 dist/UEditor/dialogs/internal.js 2.54 KiB 0.98 KiB
12:17:04 dist/UEditor/third-party/highcharts/ad 2.21 KiB 1.06 KiB
12:17:04 apters/mootools-adapter.js
12:17:04 dist/pdf/word/obpm.showMessage.js 2.09 KiB 0.74 KiB
12:17:04 dist/UEditor/third-party/highcharts/mo 1.93 KiB 1.08 KiB
12:17:04 dules/funnel.js
12:17:04 dist/UEditor/third-party/highcharts/th 1.75 KiB 0.65 KiB
12:17:04 emes/grid.js
12:17:04 dist/UEditor/third-party/highcharts/th 1.72 KiB 0.64 KiB
12:17:04 emes/skies.js
12:17:04 dist/UEditor/dialogs/template/template 1.55 KiB 0.67 KiB
12:17:04 .js
12:17:04 dist/UEditor/dialogs/help/help.js 1.47 KiB 0.70 KiB
12:17:04 dist/UEditor/dialogs/charts/chart.conf 1.38 KiB 0.44 KiB
12:17:04 ig.js
12:17:04 dist/UEditor/third-party/highcharts/mo 1.33 KiB 0.70 KiB
12:17:04 dules/no-data-to-display.js
12:17:04 dist/UEditor/third-party/highcharts/mo 1.10 KiB 0.49 KiB
12:17:04 dules/heatmap.src.js
12:17:04 dist/js/obsConfig.js 0.93 KiB 0.58 KiB
12:17:04 dist/UEditor/third-party/highcharts/mo 0.52 KiB 0.37 KiB
12:17:04 dules/heatmap.js
12:17:04 dist/js/obpm.config.js 0.33 KiB 0.24 KiB
12:17:04 dist/iwebapp/pdfjs/viewer-df538bd63b.c 111.81 KiB 18.55 KiB
12:17:04 ss
12:17:04 dist/iwebapp/pdfjs/viewer-afb3d53c48.c 111.71 KiB 18.53 KiB
12:17:04 ss
12:17:04 dist/pdf/word/pdfjs/web/viewer.css 58.42 KiB 9.25 KiB
12:17:04 dist/UEditor/themes/default/css/uedito 42.73 KiB 6.84 KiB
12:17:04 r.css
12:17:04 dist/UEditor/themes/default/css/uedito 34.12 KiB 5.53 KiB
12:17:04 r.min.css
12:17:04 dist/UEditor/third-party/video-js/vide 20.82 KiB 5.45 KiB
12:17:04 o-js.css
12:17:04 dist/UEditor/dialogs/image/image.css 17.71 KiB 3.46 KiB
12:17:04 dist/UEditor/dialogs/video/video.css 14.57 KiB 3.10 KiB
12:17:04 dist/UEditor/dialogs/attachment/attach 14.05 KiB 2.81 KiB
12:17:04 ment.css
12:17:04 dist/UEditor/third-party/video-js/vide 11.18 KiB 2.53 KiB
12:17:04 o-js.min.css
12:17:04 dist/iwebapp/pdfjs/stamp/laydate/theme 9.16 KiB 2.21 KiB
12:17:04 /default/laydate.css
12:17:04 dist/UEditor/third-party/SyntaxHighlig 6.95 KiB 1.31 KiB
12:17:04 hter/shCoreDefault.css
12:17:04 dist/UEditor/dialogs/scrawl/scrawl.css 3.73 KiB 0.97 KiB
12:17:04 dist/UEditor/third-party/codemirror/co 2.82 KiB 0.90 KiB
12:17:04 demirror.css
12:17:04 dist/UEditor/dialogs/charts/charts.css 2.54 KiB 0.81 KiB
12:17:04 dist/UEditor/dialogs/background/backgr 2.34 KiB 0.87 KiB
12:17:04 ound.css
12:17:04 dist/UEditor/dialogs/emotion/emotion.c 1.76 KiB 0.53 KiB
12:17:04 ss
12:17:04 dist/UEditor/themes/default/dialogbase 1.65 KiB 0.81 KiB
12:17:04 .css
12:17:04 dist/UEditor/dialogs/music/music.css 1.64 KiB 0.63 KiB
12:17:04 dist/UEditor/dialogs/table/edittable.c 1.16 KiB 0.41 KiB
12:17:04 ss
12:17:04 dist/UEditor/dialogs/template/template 1.01 KiB 0.49 KiB
12:17:04 .css
12:17:04 dist/UEditor/third-party/webuploader/w 0.50 KiB 0.29 KiB
12:17:04 ebuploader.css
12:17:04 dist/UEditor/dialogs/help/help.css 0.38 KiB 0.20 KiB
12:17:04 dist/UEditor/themes/iframe.css 0.04 KiB 0.06 KiB
12:17:04
12:17:04 Images and other types of assets omitted.
12:17:04
12:17:04 DONE Build complete. The dist directory is ready to be deployed.
12:17:04 INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
12:17:04
12:17:04 + rm -rf /data/workspace/badp-bcxin-web-5.x-vue
12:17:04 + cp -r dist /data/workspace/badp-bcxin-web-5.x-vue
12:17:05 + chmod 755 /data/workspace/badp-bcxin-web-5.x-vue -R
12:17:05 Finished: SUCCESS