Started by user unknown or anonymous
Running as SYSTEM
Building in workspace /data/jenkins/workspace/badp-bcxin-web-5.x-vue
The recommended git tool is: NONE
using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
> /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/badp-bcxin-web-5.x-vue/.git # timeout=10
Fetching changes from the remote Git repository
> /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-vue.git # timeout=10
Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-vue.git
> /usr/local/git/bin/git --version # timeout=10
> git --version # 'git version 2.43.0'
using GIT_ASKPASS to set credentials gitlab凭据
> /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-vue.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10
Checking out Revision 4ac8b6f63c1bf4192912686325fb4d26746a92c6 (refs/remotes/origin/test)
> /usr/local/git/bin/git config core.sparsecheckout # timeout=10
> /usr/local/git/bin/git checkout -f 4ac8b6f63c1bf4192912686325fb4d26746a92c6 # timeout=10
Commit message: "feat: 修复已知问题"
> /usr/local/git/bin/git rev-list --no-walk 4ac8b6f63c1bf4192912686325fb4d26746a92c6 # timeout=10
[badp-bcxin-web-5.x-vue] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins6794084181153538018.sh
+ cd /data/jenkins/workspace/badp-bcxin-web-5.x-vue
+ npm install
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'gcoord@1.0.7',
npm WARN EBADENGINE required: { node: '>=16.11.0' },
npm WARN EBADENGINE current: { node: 'v16.0.0', npm: '7.10.0' }
npm WARN EBADENGINE }
changed 1 package in 3s
123 packages are looking for funding
run `npm fund` for details
+ npm run build
> hello-world@0.1.0 build
> vue-cli-service build
- Building for production...
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
WARNING Compiled with 80 warnings5:57:51 PM
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Duplicated key 'pickerOptions1' (vue/no-dupe-keys) at src/components/main_meter.vue:151:7:
149 | }
150 | },
> 151 | pickerOptions1: {
| ^
152 | disabledDate: time => {
153 | return new Date(this.endDay).getTime() < time.getTime();
154 | }
error: Unexpected console statement (no-console) at src/components/main_meter.vue:210:7:
208 | },
209 | handleCheckChange() {
> 210 | console.log("showMode---->",this.showMode);
| ^
211 | let startTime = this.writeCurrentDate(this.startDay),
212 | endTime = this.writeCurrentDate(this.endDay);
213 | let appId = this.$root.appid;
2 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Elements in iteration expect to have 'v-bind:key' directives (vue/require-v-for-key) at src/components/approvers.vue:206:29:
204 | :style="{'display':(item.fileList)?'block':'none'}">
205 | 附件:
> 206 |
| ^
207 | {{its.name}}
208 |
209 |
error: 'index' is defined but never used (vue/no-unused-vars) at src/components/approvers.vue:206:60:
204 | :style="{'display':(item.fileList)?'block':'none'}">
205 | 附件:
> 206 |
| ^
207 | {{its.name}}
208 |
209 |
2 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Expected to return a value in "field" computed property (vue/return-in-computed-property) at src/components/o_button.vue:66:12:
64 | props: ["id"],
65 | computed: {
> 66 | field: function () {
| ^
67 | let formData = this.$parent.findField(this.id);
68 | let data = {};
69 | switch (formData.activity.type) {
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Expected to return a value in "includeHeight" computed property (vue/return-in-computed-property) at src/components/view_listview.vue:1280:18:
1278 | },
1279 | computed: {
> 1280 | includeHeight() {//根据每页的页码条数,来动态增加表格列表的高度
| ^
1281 | let pagination = this.view.pagination;
1282 | if (pagination) {
1283 | let pagesize = this.pagesize;
error: Unexpected console statement (no-console) at src/components/view_listview.vue:1339:13:
1337 | let data = this.$refs.searchform.buildSearchData()
1338 | searchData = JSON.parse(JSON.stringify(data));
> 1339 | console.log(data)
| ^
1340 | this.getData('', '', searchData);
1341 | } else {
1342 | this.getData('', '', searchData);
error: Unexpected console statement (no-console) at src/components/view_listview.vue:1366:5:
1364 | );
1365 |
> 1366 | console.log(document.documentElement.clientHeight);
| ^
1367 |
1368 | console.log(this.openParams);
1369 | },
error: Unexpected console statement (no-console) at src/components/view_listview.vue:1368:5:
1366 | console.log(document.documentElement.clientHeight);
1367 |
> 1368 | console.log(this.openParams);
| ^
1369 | },
1370 | updated() {
1371 | //更新生命周期触发
error: Unexpected console statement (no-console) at src/components/view_listview.vue:1484:7:
1482 | },
1483 | handleTableScroll() {
> 1484 | console.log("滚动");
| ^
1485 | this.isShowfilterTip = false;
1486 | // let scrollL = this.$refs.multipleTable.bodyWrapper.scrollLeft
1487 | },
error: Unexpected console statement (no-console) at src/components/view_listview.vue:1947:7:
1945 | getWidth(val, auto) {
1946 | //auto为true开启自动排版
> 1947 | console.log(this.delegateWidth);
| ^
1948 | // if(this.delegateWidth>0){
1949 | // sessionStorage.setItem('delegateWidthT',this.delegateWidth)
1950 | // this.delegateWidthT=sessionStorage.getItem('delegateWidthT')||'' //缓存获取本地sessionStorage获取适配宽度
error: Unexpected console statement (no-console) at src/components/view_listview.vue:1970:7:
1968 | //视图列按钮操作
1969 | buttonClick(column, row) {
> 1970 | console.log(column);
| ^
1971 | let op = this.openParams;
1972 | let id = column.id,
1973 | parentView = column.parentView,
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2146:7:
2144 | //删除或导入数据后重新请求加载数据
2145 | reloadListView() {
> 2146 | console.log('重新加载数据')
| ^
2147 | this.$refs.multipleTable && this.$refs.multipleTable.clearSelection()//刷新重置数据
2148 | let filterInfo = this.filterInformations;
2149 | this.reloadListViewRandom = new Date().getTime();
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2175:7:
2173 |
2174 | selectInit(row, index) {
> 2175 | console.log(row);
| ^
2176 |
2177 | // this.delegateWidthT=sessionStorage.getItem('delegateWidthT')||'' //缓存获取本地sessionStorage获取适配宽度
2178 |
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2291:7:
2289 | //包含元素当前页打开,新建默认打开
2290 | getRowKeys(row) {
> 2291 | console.log("row--->", row)
| ^
2292 | console.log("row.id--->", row.id)
2293 | console.log("row.docId--->", row.docId)
2294 | // return row.id;
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2292:7:
2290 | getRowKeys(row) {
2291 | console.log("row--->", row)
> 2292 | console.log("row.id--->", row.id)
| ^
2293 | console.log("row.docId--->", row.docId)
2294 | // return row.id;
2295 | return row.docId;//修改为选中docId
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2293:7:
2291 | console.log("row--->", row)
2292 | console.log("row.id--->", row.id)
> 2293 | console.log("row.docId--->", row.docId)
| ^
2294 | // return row.id;
2295 | return row.docId;//修改为选中docId
2296 | },
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2300:7:
2298 | getData(page, size, searchData, sortData, filterInformations) {
2299 | // debugger
> 2300 | console.log(this.isOpenTemplate)
| ^
2301 | if (this.$refs.searchform && this.isOpenTemplate && this.$store.state.searchFlag == 0) {
2302 | if (localStorage.getItem('homeTemplateBoradType') != 'rtpayTemplate') {//rt默认视图不走高筛
2303 | searchData = this.$refs.searchform.buildSearchData()
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2325:7:
2323 | page = this.currentPage //查询当前页码
2324 | }
> 2325 | console.log(searchData);
| ^
2326 | console.log(this.$route.query);
2327 | // this.isRunGetData = true;//暂时没用到
2328 | this.tableLoading = true;
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2326:7:
2324 | }
2325 | console.log(searchData);
> 2326 | console.log(this.$route.query);
| ^
2327 | // this.isRunGetData = true;//暂时没用到
2328 | this.tableLoading = true;
2329 | this.isShowfilterTip = false;
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2334:7:
2332 |
2333 |
> 2334 | console.log(searchData)
| ^
2335 | this.getViewData(
2336 | page,
2337 | size,
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2343:9:
2341 | ).then((response) => {
2342 | let docs = response.data.data;
> 2343 | console.log(docs);
| ^
2344 | this.documents = response.data.data;
2345 | this.pagesize = size ? size : view.pageLines ? parseInt(view.pageLines) : 10;
2346 | let row_count = response.data.row_count;
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2413:11:
2411 | tds.push(rows);
2412 | });
> 2413 | console.log(tableColumns);
| ^
2414 | // 将列的数据传递给 view_delegate 父组件
2415 | this.$emit("columns", tableColumns);
2416 |
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2424:11:
2422 | this.tableData = tds; //表单视图的数据tableData
2423 | // debugger
> 2424 | console.log(this.tableSelection)
| ^
2425 | if (this.tableSelection && this.tableSelection.length > 0) {
2426 | this.$nextTick(function () {
2427 | for (let i = 0; i < this.tableData.length; i++) {
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2492:7:
2490 | //模拟数据请求
2491 | getViewData(page, size, searchData, sortData, filterInformations) {
> 2492 | console.log(this.$route.query);
| ^
2493 | console.log(this.openParams);
2494 | let openParams = this.openParams;
2495 | let treeData = "";
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2493:7:
2491 | getViewData(page, size, searchData, sortData, filterInformations) {
2492 | console.log(this.$route.query);
> 2493 | console.log(this.openParams);
| ^
2494 | let openParams = this.openParams;
2495 | let treeData = "";
2496 | let treeName = "";
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2542:11:
2540 | }
2541 |
> 2542 | console.log(5555);
| ^
2543 | console.log(this.openParams);
2544 |
2545 | this.$api.getViewData(
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2543:11:
2541 |
2542 | console.log(5555);
> 2543 | console.log(this.openParams);
| ^
2544 |
2545 | this.$api.getViewData(
2546 | //普通视图接口
error: Unexpected console statement (no-console) at src/components/view_listview.vue:2674:15:
2672 | });
2673 | this.tableData = tds;
> 2674 | console.log("this.tableData--->", this.tableData);
| ^
2675 | } else {
2676 | this.tableData = [];
2677 | }
24 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Parsing error: x-invalid-end-tag (vue/no-parsing-error) at src/views/Home.vue:370:89:
368 |
369 | 由于北京新冠疫情形势整体好转,首都防疫举措调整,经总队研究决定, 370 | style="color:red;font-weight: 700;">正式全面恢复保安员证考试工作,并落实好以下要求:
| ^
371 | ① 参与考试的保安员及校师资人员均需持有48小时核酸阴性证明;
372 |
373 | ② 保安培训学校做好扫码测温及环境消杀等工作;
error: The "obpm-main-appbar" component has been registered but not used (vue/no-unused-components) at src/views/Home.vue:448:5:
446 | },
447 | components: {
> 448 | "obpm-main-appbar": main_appbar,
| ^
449 | main_navbar,
450 | main_content,
451 | main_domain,
error: The "platAd" component has been registered but not used (vue/no-unused-components) at src/views/Home.vue:453:5:
451 | main_domain,
452 | IMPop,
> 453 | platAd,
| ^
454 | platAdPop,
455 | supervisionPop,
456 | domainLonLatPop,
error: Unexpected console statement (no-console) at src/views/Home.vue:469:13:
467 | this.activeHome()
468 | this.applist()//查询左边下拉应用列表
> 469 | console.log(this.$refs.mainNavBar.data)
| ^
470 | if (state.defaultFirst == 1) {
471 | this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data)
472 | }
error: Unexpected side effect in "applicationName" computed property (vue/no-side-effects-in-computed-properties) at src/views/Home.vue:481:11:
479 | if (this.$store.state.appmenusShow) {
480 | this.$nextTick(() => {
> 481 | this.showApp = true
| ^
482 | this.$refs.mychild.setMaincontent(false) // 调用子组件的方法
483 | this.applist()//查询左边下拉应用列表
484 | console.log(this.$refs.mainNavBar.data)
error: Unexpected console statement (no-console) at src/views/Home.vue:484:11:
482 | this.$refs.mychild.setMaincontent(false) // 调用子组件的方法
483 | this.applist()//查询左边下拉应用列表
> 484 | console.log(this.$refs.mainNavBar.data)
| ^
485 | if (this.$store.state.defaultFirst == 1) {
486 | // this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data)
487 | }
error: Unexpected console statement (no-console) at src/views/Home.vue:497:7:
495 | currentAppName = this.$store.getters.currentAppName
496 | }
> 497 | console.log(currentAppName)
| ^
498 | return currentAppName;
499 | },
500 | showInstance() {
error: Unexpected console statement (no-console) at src/views/Home.vue:608:11:
606 | }
607 | this.otherNotice = arr;
> 608 | console.log("this.otherNotice---->", this.otherNotice)
| ^
609 | }
610 | }
611 | )
error: Unexpected console statement (no-console) at src/views/Home.vue:619:11:
617 | if (res.data.errcode == 0) {
618 | let listArr = res.data.data.data
> 619 | console.log(listArr)
| ^
620 | if (listArr.length) {
621 | listArr.forEach(item => {
622 | if (currDate(true) >= item.items.__G3lF6FIrSTspuF06jEr.value && currDate(true) <= item.items.__eG17lW4psp4yq1aT0Pt.value) {//在当前时间范围内提醒
error: Unexpected console statement (no-console) at src/views/Home.vue:635:5:
633 | )
634 |
> 635 | console.log('organizationLevels',organizationLevels)//obpm.config.js定义全局变量organizationLevels
| ^
636 | if(organizationLevels.indexOf('Premium')>-1){
637 | this.baseServiceOptions=this.$root.roleLevelsPermissionData&&this.$root.roleLevelsPermissionData.baseServiceOptions
638 | console.log('this.baseServiceOptions',this.baseServiceOptions)
error: Unexpected console statement (no-console) at src/views/Home.vue:638:7:
636 | if(organizationLevels.indexOf('Premium')>-1){
637 | this.baseServiceOptions=this.$root.roleLevelsPermissionData&&this.$root.roleLevelsPermissionData.baseServiceOptions
> 638 | console.log('this.baseServiceOptions',this.baseServiceOptions)
| ^
639 | }
640 |
641 | },
error: Unexpected console statement (no-console) at src/views/Home.vue:705:11:
703 | this.$api.isSupervisedApi(domainId, {
704 | onSucess: res => {
> 705 | console.log('res11', res)
| ^
706 | if (res.data.data) {
707 | console.log('res.data.data监管归属', res.data.data)
708 | this.isSupervisedInfoCompletedData = res.data.data
error: Unexpected console statement (no-console) at src/views/Home.vue:707:13:
705 | console.log('res11', res)
706 | if (res.data.data) {
> 707 | console.log('res.data.data监管归属', res.data.data)
| ^
708 | this.isSupervisedInfoCompletedData = res.data.data
709 | console.log(this.isSupervisedInfoCompletedData)
710 | if (res.data.data.superviseCompleted && res.data.data.infoCompleted) {
error: Unexpected console statement (no-console) at src/views/Home.vue:709:13:
707 | console.log('res.data.data监管归属', res.data.data)
708 | this.isSupervisedInfoCompletedData = res.data.data
> 709 | console.log(this.isSupervisedInfoCompletedData)
| ^
710 | if (res.data.data.superviseCompleted && res.data.data.infoCompleted) {
711 | this.supervisionDialogVisible = false;//有填写监管归属,隐藏监管归属弹窗
712 | }
error: Unexpected console statement (no-console) at src/views/Home.vue:721:11:
719 | onError: erro => {
720 | this.supervisionDialogVisible = false;//错误,隐藏弹窗,默认让客户可以用
> 721 | console.log('erro11', erro)
| ^
722 | }
723 | })
724 | },
error: Unexpected console statement (no-console) at src/views/Home.vue:749:13:
747 | {
748 | onSucess: res => {
> 749 | console.log(res.data.data.placeOfRegister)
| ^
750 | if (res.data.data.placeOfRegister && res.data.data.placeOfRegister.province.name.indexOf('北京') > -1) {
751 | this.systemNoticeDialogVisible = true
752 | this.placeOfRegister_bjFlag = true
error: Unexpected console statement (no-console) at src/views/Home.vue:786:11:
784 | this.$api.getEnterpriseUserinfo(localStorage.getItem("domainId"), {
785 | onSucess: res => {
> 786 | console.log('res11',res)
| ^
787 | if (res.data.status == 200) {
788 | let isValidLonlat=res.data.data.isValidLonlat;//判断企业是否完善经纬度,没有完善强提醒
789 | console.log('this.domainAdmin',this.domainAdmin)
error: Unexpected console statement (no-console) at src/views/Home.vue:789:13:
787 | if (res.data.status == 200) {
788 | let isValidLonlat=res.data.data.isValidLonlat;//判断企业是否完善经纬度,没有完善强提醒
> 789 | console.log('this.domainAdmin',this.domainAdmin)
| ^
790 | if(this.domainAdmin&&isValidLonlat&&this.network){//是组织管理员以及没有完善经纬度--强提醒
791 | this.domainLonLatPopDialogVisible=true
792 | }
error: Unexpected console statement (no-console) at src/views/Home.vue:1051:17:
1049 | {
1050 | onSucess: res => {
> 1051 | console.log('res', res)
| ^
1052 | let shopToken = res.data && res.data.accessToken || ''
1053 | resolve(shopToken)
1054 | }
error: Unexpected console statement (no-console) at src/views/Home.vue:1095:17:
1093 | {
1094 | onSucess: res => {
> 1095 | console.log('res', res)
| ^
1096 | let shopToken = res.data && res.data.accessToken || ''
1097 | resolve(shopToken)
1098 | }
error: Unexpected console statement (no-console) at src/views/Home.vue:1146:13:
1144 | onSucess: response => {
1145 | if (response.data && response.data.errmsg == "ok") {
> 1146 | console.log(response.data)
| ^
1147 | if (response.data.data.data.length) {
1148 | let arr = []
1149 | response.data.data.data.forEach((item, index) => {
error: Unexpected console statement (no-console) at src/views/Home.vue:1165:15:
1163 |
1164 | })
> 1165 | console.log(arr)
| ^
1166 | arr.sort((a, b) => { return Number(a.cateSort) - Number(b.cateSort) }) //分类排序cateSort
1167 |
1168 | const titleMap = {}
error: Unexpected console statement (no-console) at src/views/Home.vue:1212:15:
1210 | }
1211 | }
> 1212 | console.log(arr3)
| ^
1213 | this.applistArr = arr3
1214 |
1215 | }
error: Unexpected console statement (no-console) at src/views/Home.vue:1253:13:
1251 | onSucess: res => {
1252 | if (res.status == 200) {
> 1253 | console.log("res--->", res.status);
| ^
1254 | }
1255 | }
1256 | })
error: Unexpected console statement (no-console) at src/views/Home.vue:1356:11:
1354 | },
1355 | onError: error => {
> 1356 | console.log(error);
| ^
1357 | }
1358 | });
1359 | },
error: Unexpected console statement (no-console) at src/views/Home.vue:1474:7:
1472 |
1473 | closeTab: function (tab, tabindex) {//关闭当前选项卡,选中前一个选项卡
> 1474 | console.log(tab)
| ^
1475 | console.log(tabindex)
1476 | if (this.$store.state.searchDataStore.length) {
1477 | this.$store.state.searchDataStore.forEach((item, index) => {
error: Unexpected console statement (no-console) at src/views/Home.vue:1475:7:
1473 | closeTab: function (tab, tabindex) {//关闭当前选项卡,选中前一个选项卡
1474 | console.log(tab)
> 1475 | console.log(tabindex)
| ^
1476 | if (this.$store.state.searchDataStore.length) {
1477 | this.$store.state.searchDataStore.forEach((item, index) => {
1478 | if (item.appId == tab.appId && item.viewId == tab.actionContent) {
error: Unexpected console statement (no-console) at src/views/Home.vue:1490:7:
1488 | })
1489 | }
> 1490 | console.log(this.$store.state.searchDataStore)
| ^
1491 | let tabs = this.tabs;
1492 | if (tabindex >= 0) { //点击X关闭
1493 | console.log(JSON.stringify(this.tabs))
error: Unexpected console statement (no-console) at src/views/Home.vue:1493:9:
1491 | let tabs = this.tabs;
1492 | if (tabindex >= 0) { //点击X关闭
> 1493 | console.log(JSON.stringify(this.tabs))
| ^
1494 | tabs.splice(tabindex, 1);
1495 | if (tab.active) {
1496 | if (tabs.length > 0 && ((tabs.length - 1) >= tabindex)) {
error: Unexpected console statement (no-console) at src/views/Home.vue:1569:13:
1567 | onSucess: res => {
1568 | this.isOrganizationPromoter = res.data.data.isOrganizationPromoter;
> 1569 | console.info('promoter', this.isOrganizationPromoter);
| ^
1570 | }
1571 | })
1572 | }
30 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: The "RTContainerTop" component has been registered but not used (vue/no-unused-components) at src/components/RT/homeBoardRTNew_Home.vue:49:5:
47 | },
48 | components: {
> 49 | RTContainerTop,
| ^
50 | RTContainerWK,
51 | RTContainerznzs,
52 | RTContainerwork,
error: Unexpected console statement (no-console) at src/components/RT/homeBoardRTNew_Home.vue:66:13:
64 | {
65 | onSucess: (response) => {
> 66 | console.log(response.data);
| ^
67 | this.roleshow = response.data.show || false;
68 | },
69 | }
2 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: The "obpm-main-appbar" component has been registered but not used (vue/no-unused-components) at src/views/HomeRT.vue:378:5:
376 | },
377 | components: {
> 378 | "obpm-main-appbar": main_appbar,
| ^
379 | main_navbar,
380 | main_content,
381 | main_domain,
error: The "platAd" component has been registered but not used (vue/no-unused-components) at src/views/HomeRT.vue:383:5:
381 | main_domain,
382 | IMPop,
> 383 | platAd,
| ^
384 | platAdPop,
385 | },
386 |
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:398:13:
396 | this.activeHome();
397 | this.applist(); //查询左边下拉应用列表
> 398 | console.log(this.$refs.mainNavBar.data);
| ^
399 | if (state.defaultFirst == 1) {
400 | this.$refs.mainNavBar.defaultClickFirst(
401 | this.$refs.mainNavBar.data
error: Unexpected side effect in "applicationName" computed property (vue/no-side-effects-in-computed-properties) at src/views/HomeRT.vue:412:11:
410 | if (this.$store.state.appmenusShow) {
411 | this.$nextTick(() => {
> 412 | this.showApp = true;
| ^
413 | this.$refs.mychild.setMaincontent(false); // 调用子组件的方法
414 | this.applist(); //查询左边下拉应用列表
415 | console.log(this.$refs.mainNavBar.data);
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:415:11:
413 | this.$refs.mychild.setMaincontent(false); // 调用子组件的方法
414 | this.applist(); //查询左边下拉应用列表
> 415 | console.log(this.$refs.mainNavBar.data);
| ^
416 | if (this.$store.state.defaultFirst == 1) {
417 | this.$refs.mainNavBar.defaultClickFirst(this.$refs.mainNavBar.data);
418 | }
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:432:7:
430 | currentAppName = this.$store.getters.currentAppName;
431 | }
> 432 | console.log(currentAppName);
| ^
433 | return currentAppName;
434 | },
435 | showInstance() {
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:499:11:
497 | }
498 | this.otherNotice = arr;
> 499 | console.log("this.otherNotice---->", this.otherNotice);
| ^
500 | },
501 | }
502 | );
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:607:13:
605 | {
606 | onSucess: (response) => {
> 607 | console.log(response.data);
| ^
608 | this.roleshow = response.data.show || false;
609 | if (!this.roleshow) {
610 | this.navtopmenuclick(6);
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:624:13:
622 | onSucess: (response) => {
623 | if (response.data && response.data.errmsg == "ok") {
> 624 | console.log(response.data);
| ^
625 | if (response.data.data.data.length) {
626 | let arr = [];
627 | response.data.data.data.forEach((item, index) => {
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:645:15:
643 | arr.push(obj);
644 | });
> 645 | console.log(arr);
| ^
646 | arr.sort((a, b) => {
647 | return Number(a.cateSort) - Number(b.cateSort);
648 | }); //分类排序cateSort
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:705:15:
703 | }
704 | }
> 705 | console.log(arr2);
| ^
706 | arr2.forEach((its) => {
707 | its.isSubshow = false;
708 | });
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:757:11:
755 | this.$api.organizationsIDApi(id, {
756 | onSucess: (res) => {
> 757 | console.log(res);
| ^
758 | console.log(res.data.data.placeOfRegister);
759 | if (
760 | res.data.data.placeOfRegister &&
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:758:11:
756 | onSucess: (res) => {
757 | console.log(res);
> 758 | console.log(res.data.data.placeOfRegister);
| ^
759 | if (
760 | res.data.data.placeOfRegister &&
761 | res.data.data.placeOfRegister.province.name.indexOf("北京") > -1
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:813:11:
811 | this.$api.getEnterpriseUserinfo(localStorage.getItem("domainId"), {
812 | onSucess: (res) => {
> 813 | console.log(res);
| ^
814 | if (res.data.status == 200) {
815 | document.title = res.data.data.sysName || ""; //系统名称
816 | //获取icon图标
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1097:13:
1095 | onSucess: (response) => {
1096 | if (response.data && response.data.errmsg == "ok") {
> 1097 | console.log(response.data);
| ^
1098 | if (response.data.data.data.length) {
1099 | let arr = [];
1100 | response.data.data.data.forEach((item, index) => {
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1118:15:
1116 | arr.push(obj);
1117 | });
> 1118 | console.log(arr);
| ^
1119 | arr.sort((a, b) => {
1120 | return Number(a.cateSort) - Number(b.cateSort);
1121 | }); //分类排序cateSort
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1174:15:
1172 | }
1173 | }
> 1174 | console.log(arr3);
| ^
1175 | this.applistArr = arr3;
1176 |
1177 | //前端缓存本地代码块--切换不同组织的所有应用列表
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1234:13:
1232 | onSucess: (res) => {
1233 | if (res.status == 200) {
> 1234 | console.log("res--->", res.status);
| ^
1235 | }
1236 | },
1237 | });
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1310:11:
1308 | },
1309 | onError: (error) => {
> 1310 | console.log(error);
| ^
1311 | },
1312 | });
1313 | },
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1437:7:
1435 | closeTab: function (tab, tabindex) {
1436 | //关闭当前选项卡,选中前一个选项卡
> 1437 | console.log(tab)
| ^
1438 | console.log(tabindex)
1439 | if(this.$store.state.searchDataStore.length){
1440 | this.$store.state.searchDataStore.forEach((item,index)=>{
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1438:7:
1436 | //关闭当前选项卡,选中前一个选项卡
1437 | console.log(tab)
> 1438 | console.log(tabindex)
| ^
1439 | if(this.$store.state.searchDataStore.length){
1440 | this.$store.state.searchDataStore.forEach((item,index)=>{
1441 | if(item.appId==tab.appId&&item.viewId==tab.actionContent){
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1453:7:
1451 | })
1452 | }
> 1453 | console.log(this.$store.state.searchDataStore)
| ^
1454 | let tabs = this.tabs;
1455 | if (tabindex >= 0) {
1456 | //点击X关闭
error: Unexpected console statement (no-console) at src/views/HomeRT.vue:1457:9:
1455 | if (tabindex >= 0) {
1456 | //点击X关闭
> 1457 | console.log(JSON.stringify(this.tabs));
| ^
1458 | tabs.splice(tabindex, 1);
1459 | if (tab.active) {
1460 | if (tabs.length > 0 && tabs.length - 1 >= tabindex) {
23 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: The 'messagesList' variable inside 'v-for' directive should be replaced with a computed property that returns filtered array instead. You should not mix 'v-for' with 'v-if' (vue/no-use-v-if-with-v-for) at src/components/information.vue:148:68:
146 |
147 |
> 148 | -
| ^
149 |
150 |
151 | 1656 | console.log(obj.webActionUrl); //url跳转
| ^
1657 | var param = {
1658 | id: "notice",
1659 | name: obj.appName,
error: Unexpected console statement (no-console) at src/components/information.vue:1776:11:
1774 | let diffValue = now - sTime;
1775 | if (diffValue < 0) {
> 1776 | console.log("结束日期不能小于开始日期!");
| ^
1777 | }
1778 | let monthC = diffValue / month;
1779 | let weekC = diffValue / (7 * day);
3 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: The 'undefined' variable inside 'v-for' directive should be replaced with a computed property that returns filtered array instead. You should not mix 'v-for' with 'v-if' (vue/no-use-v-if-with-v-for) at src/components/homeManageCockPit.vue:11:71:
9 |
10 |
> 11 | -
| ^
12 | {{its.count}}
13 | {{its.item_title}}
14 |
error: Unexpected console statement (no-console) at src/components/homeManageCockPit.vue:39:21:
37 | this.$api.v3CockPitListApi(data,{
38 | onSucess: response => {
> 39 | console.log(response.data)
| ^
40 | if(response.data.code==0){
41 | this.cockPitListArr=response.data.data
42 | console.log(this.cockPitListArr)
error: Unexpected console statement (no-console) at src/components/homeManageCockPit.vue:42:24:
40 | if(response.data.code==0){
41 | this.cockPitListArr=response.data.data
> 42 | console.log(this.cockPitListArr)
| ^
43 | if(response.data.data.length){
44 | console.log(response.data.data)
45 | response.data.data.forEach(item=>{
error: Unexpected console statement (no-console) at src/components/homeManageCockPit.vue:44:28:
42 | console.log(this.cockPitListArr)
43 | if(response.data.data.length){
> 44 | console.log(response.data.data)
| ^
45 | response.data.data.forEach(item=>{
46 | if(item.children.length){
47 | item.children.forEach(its=>{
error: Unexpected console statement (no-console) at src/components/homeManageCockPit.vue:48:41:
46 | if(item.children.length){
47 | item.children.forEach(its=>{
> 48 | console.log(its)
| ^
49 | let dateli={
50 | id:its.id
51 | }
error: Unexpected console statement (no-console) at src/components/homeManageCockPit.vue:54:53:
52 | this.$api.v3CockPitChildId(dateli,{
53 | onSucess:res=>{
> 54 | console.log(res.data.data.title)
| ^
55 | if(res.data.code==0){
56 | let sum=res.data.data&&res.data.data.data[0].sum
57 | this.cockPitListArr.forEach(ims=>{
error: Unexpected console statement (no-console) at src/components/homeManageCockPit.vue:68:56:
66 | }
67 | })
> 68 | console.log(this.cockPitListArr)
| ^
69 | }
70 | }
71 | })
7 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: The 'undefined' variable inside 'v-for' directive should be replaced with a computed property that returns filtered array instead. You should not mix 'v-for' with 'v-if' (vue/no-use-v-if-with-v-for) at src/components/homeToAlert.vue:8:13:
6 |
7 | - 8 | v-if='its.isshow' @click="listdetailli(its)">
| ^
9 | {{its.item_title}}
10 |
11 |
error: Unexpected console statement (no-console) at src/components/homeToAlert.vue:64:11:
62 | this.$api.v3CockPitListApi(data, {
63 | onSucess: (response) => {
> 64 | console.log(response.data);
| ^
65 | if (response.data.code == 0) {
66 | this.cockPitListArr = response.data.data;
67 | console.log(this.cockPitListArr);
error: Unexpected console statement (no-console) at src/components/homeToAlert.vue:67:13:
65 | if (response.data.code == 0) {
66 | this.cockPitListArr = response.data.data;
> 67 | console.log(this.cockPitListArr);
| ^
68 | if (response.data.data.length) {
69 | console.log(response.data.data);
70 | response.data.data.forEach((item) => {
error: Unexpected console statement (no-console) at src/components/homeToAlert.vue:69:15:
67 | console.log(this.cockPitListArr);
68 | if (response.data.data.length) {
> 69 | console.log(response.data.data);
| ^
70 | response.data.data.forEach((item) => {
71 | if (item.children.length) {
72 | item.children.forEach((its) => {
error: Unexpected console statement (no-console) at src/components/homeToAlert.vue:73:21:
71 | if (item.children.length) {
72 | item.children.forEach((its) => {
> 73 | console.log(its);
| ^
74 | switch (its.item_priority) {
75 | case "紧急":
76 | this.$set(its, "libgcolor", 1);
error: Unexpected console statement (no-console) at src/components/homeToAlert.vue:95:25:
93 | this.$api.v3CockPitChildId(dateli, {
94 | onSucess: (res) => {
> 95 | console.log(res.data.data.title);
| ^
96 | if (res.data.code == 0) {
97 | let sum = res.data.data && res.data.data.data[0].sum;
98 | this.cockPitListArr.forEach((ims) => {
error: Unexpected console statement (no-console) at src/components/homeToAlert.vue:113:27:
111 | }
112 | });
> 113 | console.log(this.cockPitListArr);
| ^
114 | }
115 | },
116 | });
7 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: This 'v-if' should be moved to the wrapper element (vue/no-use-v-if-with-v-for) at src/components/applicationMarket.vue:21:96:
19 |
20 |
> 21 |
| ^
22 |
{{item.title}}
23 |
24 | -
error: This 'v-if' should be moved to the wrapper element (vue/no-use-v-if-with-v-for) at src/components/applicationMarket.vue:43:102:
41 |
42 |
> 43 |
| ^
44 |
{{item.title}}
45 |
46 | -
error: Unexpected console statement (no-console) at src/components/applicationMarket.vue:131:12:
129 | methods: {
130 | scrollEvent(e){//详情滚动事件
> 131 | console.log(e.target.scrollTop)
| ^
132 | if(e.target.scrollTop>200){//超过滚动隐藏
133 | $(".marketDtop").hide()
134 | $(".marketInfoDetail").css("max-height","calc(100% - 110px)")
error: Unexpected console statement (no-console) at src/components/applicationMarket.vue:151:29:
149 | // console.log(response.data)
150 | if(response.data.data.data.length){
> 151 | console.log(response.data.data.data)
| ^
152 | let Arry=[]
153 | response.data.data.data.forEach(item=>{
154 | var obj={}
error: Unexpected console statement (no-console) at src/components/applicationMarket.vue:168:29:
166 | },[]) //设置cur默认类型为数组,并且初始值为空的数组
167 | this.appcateArr=appcateArrResult
> 168 | console.log(this.appcateArr)
| ^
169 | }
170 | }
171 | }
error: Unexpected console statement (no-console) at src/components/applicationMarket.vue:208:29:
206 |
207 | })
> 208 | console.log(arr)
| ^
209 |
210 | const titleMap = {}
211 | const transferObj = arr.reduce((prev, next) => {
error: Unexpected console statement (no-console) at src/components/applicationMarket.vue:223:27:
221 | }, {})
222 |
> 223 | console.log(transferObj)
| ^
224 |
225 | let arr2=[]
226 | for(let i in transferObj){
error: Unexpected console statement (no-console) at src/components/applicationMarket.vue:241:28:
239 | this.appcateArrList=arr2
240 |
> 241 | console.log(this.appcateArrList)
| ^
242 |
243 | }else{
244 | this.appcateArrList=[]//查无数据
error: Unexpected console statement (no-console) at src/components/applicationMarket.vue:290:29:
288 |
289 | })
> 290 | console.log(arr)
| ^
291 |
292 | const titleMap = {}
293 | const transferObj = arr.reduce((prev, next) => {
error: Unexpected console statement (no-console) at src/components/applicationMarket.vue:305:27:
303 | }, {})
304 |
> 305 | console.log(transferObj)
| ^
306 |
307 | let arr2=[]
308 | for(let i in transferObj){
error: Unexpected console statement (no-console) at src/components/applicationMarket.vue:323:28:
321 | this.appcateArrListSearch=arr2
322 |
> 323 | console.log(this.appcateArrListSearch)
| ^
324 |
325 | }else{
326 | this.appcateArrListSearch=[]//查无数据
error: Unexpected console statement (no-console) at src/components/applicationMarket.vue:352:25:
350 | });
351 | if (response.data && response.data.errmsg == "ok") {
> 352 | console.log(response.data.data.data.length)
| ^
353 | if(response.data.data.data.length){
354 | let arr=[]
355 | response.data.data.data.forEach((item,index)=>{
error: Unexpected console statement (no-console) at src/components/applicationMarket.vue:402:28:
400 | })
401 | this.appcateArrList=arr2
> 402 | console.log(this.appcateArrList)
| ^
403 |
404 | }else{
405 | this.appcateArrList=[]
error: Unexpected console statement (no-console) at src/components/applicationMarket.vue:432:31:
430 | if(this.applidetailObj){
431 | this.imgpath=JSON.parse(this.applidetailObj.__9AdBNGeHUy7w8rwfvld.value)[0].path
> 432 | console.log(this.imgpath)
| ^
433 | }
434 | }
435 | }
14 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: This 'v-if' should be moved to the wrapper element (vue/no-use-v-if-with-v-for) at src/components/recommend.vue:13:93:
11 |
12 |
> 13 |
| ^
14 |
{{item.title}}
15 |
16 | -
error: Unexpected console statement (no-console) at src/components/recommend.vue:58:20:
56 | loading.close();//关闭加载
57 | });
> 58 | console.log(response.data.data.data)
| ^
59 | if(response.data.data.data){
60 | let Arry=[]
61 | response.data.data.data.forEach(item=>{
error: Unexpected console statement (no-console) at src/components/recommend.vue:107:29:
105 |
106 | })
> 107 | console.log(arr)
| ^
108 |
109 | const titleMap = {}
110 | const transferObj = arr.reduce((prev, next) => {
error: Unexpected console statement (no-console) at src/components/recommend.vue:138:28:
136 | })
137 | this.appcateArrList=arr2
> 138 | console.log(this.appcateArrList)
| ^
139 |
140 | }else{
141 | this.appcateArrList=[]
4 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/RT/RTContainerGT.vue:253:11:
251 | this.$api.groupSupervisionListApi(this.params, {
252 | onSucess: (response) => {
> 253 | console.log(response);
| ^
254 | this.tableData = response.data;
255 | },
256 | });
error: Unexpected console statement (no-console) at src/components/RT/RTContainerGT.vue:261:11:
259 | this.$api.performanceAppraisalListApi(this.params, {
260 | onSucess: (response) => {
> 261 | console.log(response);
| ^
262 | this.tableData2 = response.data;
263 | },
264 | });
error: Unexpected console statement (no-console) at src/components/RT/RTContainerGT.vue:269:11:
267 | this.$api.AnnualHighlightsListApi(this.params, {
268 | onSucess: (response) => {
> 269 | console.log(response);
| ^
270 | this.tableData3 = response.data;
271 | },
272 | });
error: Unexpected console statement (no-console) at src/components/RT/RTContainerGT.vue:277:11:
275 | this.$api.inServiceListApi(this.params, {
276 | onSucess: (response) => {
> 277 | console.log(response);
| ^
278 | this.tableData4 = response.data;
279 | },
280 | });
error: Unexpected console statement (no-console) at src/components/RT/RTContainerGT.vue:285:11:
283 | this.$api.questionListApi(this.params, {
284 | onSucess: (response) => {
> 285 | console.log(response);
| ^
286 | this.tableData5 = response.data;
287 | },
288 | });
5 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/RT/RTContainerLeader.vue:69:7:
67 | methods: {
68 | leaderli(url) {
> 69 | console.log(url);
| ^
70 | window.open("//" + location.hostname + ":8002" + url);
71 | },
72 | handleBannerChange(idx) {
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/RT/RTContainerNews.vue:111:11:
109 | this.$api.newsCateApi(this.params, {
110 | onSucess: (response) => {
> 111 | console.log(response);
| ^
112 | let newsData = response.data.data.filter((item) => {
113 | return item.item_workbench == "是";
114 | });
error: Unexpected console statement (no-console) at src/components/RT/RTContainerNews.vue:134:11:
132 | this.$api.newslistApi(jsonData, {
133 | onSucess: (response) => {
> 134 | console.log(response.data.data);
| ^
135 | this.tableDataNewsList = response.data.data;
136 | this.tableDataNewsList &&
137 | this.tableDataNewsList.forEach((item) => {
error: Unexpected console statement (no-console) at src/components/RT/RTContainerNews.vue:154:11:
152 | this.$api.newsdetailliApi(jsonData, {
153 | onSucess: (response) => {
> 154 | console.log(response.data.data);
| ^
155 | this.detailContent = response.data.data[0];
156 | if (this.detailContent.item_enclosure) {
157 | this.detailContent.fjArr = JSON.parse(
error: Unexpected console statement (no-console) at src/components/RT/RTContainerNews.vue:166:11:
164 | this.$api.newsdetailReadingApi(jsonData, {
165 | onSucess: (response) => {
> 166 | console.log(response.data.data);
| ^
167 | },
168 | });
169 | },
4 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/RT/RTContainerTop.vue:53:21:
51 | this.$api.workbenchDataEntryApi(this.params,{
52 | onSucess: response => {
> 53 | console.log(response)
| ^
54 | this.tableArr=response.data.datas
55 | console.log(this.tableArr)
56 | this.tableArr.forEach(item=>{
error: Unexpected console statement (no-console) at src/components/RT/RTContainerTop.vue:55:21:
53 | console.log(response)
54 | this.tableArr=response.data.datas
> 55 | console.log(this.tableArr)
| ^
56 | this.tableArr.forEach(item=>{
57 | if(item.item_icon){
58 | this.$set(item,'img',JSON.parse(item.item_icon)[0].path)
2 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/RT/RTContainerWK.vue:44:11:
42 | this.$api.workbenchfiveLibraryApi(this.params, {
43 | onSucess: (response) => {
> 44 | console.log(response);
| ^
45 | this.tableObj = response.data;
46 | },
47 | });
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/RT/RTContainermeet.vue:101:11:
99 | this.$api.jtnetlistApi(this.params, {
100 | onSucess: (response) => {
> 101 | console.log(response);
| ^
102 | this.tableData = response.data.data;
103 | console.log(this.tableData);
104 | },
error: Unexpected console statement (no-console) at src/components/RT/RTContainermeet.vue:103:11:
101 | console.log(response);
102 | this.tableData = response.data.data;
> 103 | console.log(this.tableData);
| ^
104 | },
105 | });
106 | },
error: Unexpected console statement (no-console) at src/components/RT/RTContainermeet.vue:110:11:
108 | this.$api.xxhgzlistApi(this.params, {
109 | onSucess: (response) => {
> 110 | console.log(response);
| ^
111 | this.tableData2 = response.data.data;
112 | console.log(this.tableData2);
113 | },
error: Unexpected console statement (no-console) at src/components/RT/RTContainermeet.vue:112:11:
110 | console.log(response);
111 | this.tableData2 = response.data.data;
> 112 | console.log(this.tableData2);
| ^
113 | },
114 | });
115 | },
error: Unexpected console statement (no-console) at src/components/RT/RTContainermeet.vue:120:11:
118 | this.$api.waitTokenApi(jsonData, {
119 | onSucess: (response) => {
> 120 | console.log(response);
| ^
121 | let resttoken = (response.data&&response.data.id)||"";
122 | if(resttoken){
123 | let loginName=(sessionStorage.getItem('userInfo')&&JSON.parse(sessionStorage.getItem('userInfo')).telephone)||''
error: Unexpected console statement (no-console) at src/components/RT/RTContainermeet.vue:127:19:
125 | this.$api.waitlistApi(jsonDataParam, {
126 | onSucess: (response) => {
> 127 | console.log(response)
| ^
128 | if(response.data.data){
129 | this.tableData=response.data.data
130 | }
6 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/RT/RTContainerwork.vue:90:11:
88 | this.$api.WorkReportApi(this.params, {
89 | onSucess: (response) => {
> 90 | console.log(response);
| ^
91 | this.tableObj = response.data;
92 | },
93 | });
error: Unexpected console statement (no-console) at src/components/RT/RTContainerwork.vue:116:11:
114 | this.$api.gtlistApi(this.params, {
115 | onSucess: (response) => {
> 116 | console.log(response);
| ^
117 | this.tableData = response.data.data;
118 | },
119 | });
error: Unexpected console statement (no-console) at src/components/RT/RTContainerwork.vue:124:11:
122 | this.$api.jdzhyjlistApi(this.params, {
123 | onSucess: (response) => {
> 124 | console.log(response);
| ^
125 | this.tableData2 = response.data.data;
126 | },
127 | });
error: Unexpected console statement (no-console) at src/components/RT/RTContainerwork.vue:132:11:
130 | this.$api.lhzbrblistApi(this.params, {
131 | onSucess: (response) => {
> 132 | console.log(response);
| ^
133 | this.tableData3 = response.data.data;
134 | },
135 | });
4 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/ad.vue:720:7:
718 | },
719 | getEmoticons(item) {
> 720 | console.log("item--->", item);
| ^
721 | this.information += item.type;
722 | },
723 | deleteReplyMessage(el, index, parentIndex) {
error: Unexpected console statement (no-console) at src/components/ad.vue:1500:11:
1498 | let diffValue = now - sTime;
1499 | if (diffValue < 0) {
> 1500 | console.log("结束日期不能小于开始日期!");
| ^
1501 | }
1502 | let monthC = diffValue / month;
1503 | let weekC = diffValue / (7 * day);
2 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/excel_upload.vue:400:19:
398 | errMessage += arr[i] + '\n'
399 | }
> 400 | console.log("errMessage-->",errMessage)
| ^
401 | // this.$notify.error({
402 | // title: response.data.errmsg,
403 | // message: `${errMessage}`
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/form_customize_searchform.vue:27:5:
25 | ],
26 | created: function() {
> 27 | console.log("openParams-->",this.openParams)
| ^
28 | this.initSearchForm({
29 | appId: this.appId,
30 | viewId: this.viewId
error: Unexpected console statement (no-console) at src/components/form_customize_searchform.vue:42:7:
40 | methods: {
41 | findField(id) {
> 42 | console.log(this.appId+'--测试-'+this.viewId)
| ^
43 |
44 | let data = this.formdata
45 |
error: Unexpected console statement (no-console) at src/components/form_customize_searchform.vue:46:7:
44 | let data = this.formdata
45 |
> 46 | console.log('变量:'+this.$store.state.searchFlag)
| ^
47 | for (let i = 0; i < data.fields.length; i++) {
48 | let fld = data.fields[i];
49 | console.log(fld.value)
error: Unexpected console statement (no-console) at src/components/form_customize_searchform.vue:49:9:
47 | for (let i = 0; i < data.fields.length; i++) {
48 | let fld = data.fields[i];
> 49 | console.log(fld.value)
| ^
50 | // data.fields[i].value='1'
51 | console.log(this.$store.state.searchDataStore)
52 | if(this.$store.state.searchDataStore.length){
error: Unexpected console statement (no-console) at src/components/form_customize_searchform.vue:51:9:
49 | console.log(fld.value)
50 | // data.fields[i].value='1'
> 51 | console.log(this.$store.state.searchDataStore)
| ^
52 | if(this.$store.state.searchDataStore.length){
53 | if(this.$store.state.searchFlag==2&&i<=data.fields.length){
54 | console.log(66)
error: Unexpected console statement (no-console) at src/components/form_customize_searchform.vue:54:13:
52 | if(this.$store.state.searchDataStore.length){
53 | if(this.$store.state.searchFlag==2&&i<=data.fields.length){
> 54 | console.log(66)
| ^
55 | this.$store.state.searchDataStore.forEach(item=>{
56 | if(item.appId==this.appId&&item.viewId==this.viewId){
57 | Object.keys(item).forEach((key)=>{
error: Unexpected console statement (no-console) at src/components/form_customize_searchform.vue:59:25:
57 | Object.keys(item).forEach((key)=>{
58 | if(key==fld.name){
> 59 | console.log('测试数据'+item[key])
| ^
60 | this.$set(data.fields[i],'value',item[key])
61 | if(i==data.fields.length-1){
62 | setTimeout(()=>{
error: Unexpected console statement (no-console) at src/components/form_customize_searchform.vue:73:9:
71 | }
72 |
> 73 | console.log(fld)
| ^
74 | if (id == fld.id) return fld;
75 | }
76 |
8 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/form_flowpanel.vue:1041:7:
1039 | let docId = formData.id;
1040 | let document = allData;
> 1041 | console.log("document-1-->", document);
| ^
1042 | if (pJson) {
1043 | //手写签名
1044 | document.signatureJson = JSON.stringify(pJson);
error: Unexpected console statement (no-console) at src/components/form_flowpanel.vue:1093:7:
1091 | //保存重新编辑的意见
1092 | updateSuggestion() {
> 1093 | console.log("更新编辑的数据-->");
| ^
1094 | console.log(this.inputSecond);
1095 | let opinion = this.inputSecond;
1096 | if(!opinion) {
error: Unexpected console statement (no-console) at src/components/form_flowpanel.vue:1094:7:
1092 | updateSuggestion() {
1093 | console.log("更新编辑的数据-->");
> 1094 | console.log(this.inputSecond);
| ^
1095 | let opinion = this.inputSecond;
1096 | if(!opinion) {
1097 | this.$message({
error: Unexpected console statement (no-console) at src/components/form_flowpanel.vue:1133:11:
1131 | API.deleteMostUseSuggestion(employeeId, opId, {
1132 | onSucess: (response) => {
> 1133 | console.log(response.data.data);
| ^
1134 | //后台返回500,未执行以下步骤
1135 | if (response.data.data) {
1136 | let delId = response.data.data.id;
error: Unexpected console statement (no-console) at src/components/form_flowpanel.vue:1152:7:
1150 | //添加意见
1151 | addSuggestion() {
> 1152 | console.log(this.input);
| ^
1153 | let opinion = this.input;
1154 | const employeeId = localStorage.getItem("employeeId") || this.$store.state.userId ;
1155 | API.AddMostUseSuggestion(employeeId, opinion, {
error: Unexpected console statement (no-console) at src/components/form_flowpanel.vue:1157:11:
1155 | API.AddMostUseSuggestion(employeeId, opinion, {
1156 | onSucess: (response) => {
> 1157 | console.log(response.data.data);
| ^
1158 | let newSuggest = response.data.data;
1159 | this.allSuggests.push(newSuggest);
1160 | this.input = "";
error: Unexpected console statement (no-console) at src/components/form_flowpanel.vue:1277:7:
1275 | },
1276 | canvasLeave(e) {
> 1277 | console.log(e);
| ^
1278 | this.existCanvas = true;
1279 | this.canvasMoveUse = false;
1280 | },
error: Unexpected console statement (no-console) at src/components/form_flowpanel.vue:1590:21:
1588 | subFlow.nodeid = subflowData.nodeid;
1589 | document.subFlowApprover.push(subFlow);
> 1590 | console.log("subflowData--->", subflowData);
| ^
1591 | console.log("document--->", document);
1592 | }
1593 | } else {
error: Unexpected console statement (no-console) at src/components/form_flowpanel.vue:1591:21:
1589 | document.subFlowApprover.push(subFlow);
1590 | console.log("subflowData--->", subflowData);
> 1591 | console.log("document--->", document);
| ^
1592 | }
1593 | } else {
1594 | subflowData = Object.assign(
error: Unexpected console statement (no-console) at src/components/form_flowpanel.vue:1944:7:
1942 | //隐藏小意见框
1943 | hiddenSuggest() {
> 1944 | console.log("隐藏小意见框");
| ^
1945 | this.isOrSuggest = !this.isOrSuggest;
1946 | },
1947 |
10 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:579:5:
577 | },
578 | created(){
> 579 | console.log('props', this.$props)
| ^
580 | },
581 | beforeCreate(){
582 |
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:610:9:
608 | return
609 | }
> 610 | console.log('e', e)
| ^
611 | let form=new FormData();
612 | form.append("files",e.file)
613 | console.log(form)
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:613:9:
611 | let form=new FormData();
612 | form.append("files",e.file)
> 613 | console.log(form)
| ^
614 | form.forEach(function (value, key) {
615 | if (value instanceof File) {
616 | form.set(key, value, value.name.replace(/ /g, ''))//去掉文件名称所有空格
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:636:17:
634 | {
635 | onSucess: response => {
> 636 | console.log(response.data.data)
| ^
637 | if(response.data.data.length){
638 | let obj={
639 | name:response.data.data[0].fileName,
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:658:12:
656 | },
657 | (res)=>{
> 658 | console.log(res)
| ^
659 | },
660 | e.file.uid,
661 |
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:665:9:
663 | },
664 | obsFile(e){//obs文件上传
> 665 | console.log(e)
| ^
666 | //去掉文件名称空格start
667 | let form = new FormData();
668 | form.append("files", e.file);
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:675:4:
673 | })
674 | form.get('files')
> 675 | console.log(form.get('files'))
| ^
676 | e.file=form.get('files')
677 | //去掉文件名称空格end
678 |
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:701:5:
699 | SourceFile:e.file //获取file文件
700 | }).then(function(result) {
> 701 | console.log(result)
| ^
702 |
703 | if(result.CommonMsg.Status < 300){
704 |
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:705:6:
703 | if(result.CommonMsg.Status < 300){
704 |
> 705 | console.log('Create object:' + objectKey + ' successfully!\n');
| ^
706 | var httpurl=`https://${BucketName}.${urlserver}/${objectKey}`
707 |
708 | let uploadTime = '';
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:735:8:
733 | },
734 | handleRemove(file, fileList){
> 735 | console.log(file)
| ^
736 | this.fileList.forEach((item,index)=>{
737 | if(item.uid == file.uid){
738 | this.fileList.splice(index,1)
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:744:6:
742 | handleExceed(files, fileList) { //文件超出个数限制时的钩子
743 | if(this.field.limitNumber=="1"){//上传限制一张用覆盖的方式重新上传
> 744 | console.log(files[0])
| ^
745 | files[0].uid=new Date().getTime()
746 | this.fileList=[]
747 | let e={file:files[0]}
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:862:11:
860 | viewId: "",
861 | };
> 862 | console.log("-3---->", document);
| ^
863 | this.$api.InitiateWorkFlow(appId, docId, document, {
864 | onSucess: (response) => {
865 | let status;
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:1323:7:
1321 | //保存重新编辑的意见
1322 | updateSuggestion() {
> 1323 | console.log("更新编辑的数据-->");
| ^
1324 | console.log(this.inputSecond);
1325 | let opinion = this.inputSecond;
1326 | if(!opinion) {
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:1324:7:
1322 | updateSuggestion() {
1323 | console.log("更新编辑的数据-->");
> 1324 | console.log(this.inputSecond);
| ^
1325 | let opinion = this.inputSecond;
1326 | if(!opinion) {
1327 | this.$message({
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:1362:11:
1360 | API.deleteMostUseSuggestion(employeeId, opId, {
1361 | onSucess: (response) => {
> 1362 | console.log(response.data.data);
| ^
1363 | //后台返回500,未执行以下步骤
1364 | if (response.data.data) {
1365 | let delId = response.data.data.id;
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:1381:7:
1379 | //添加意见
1380 | addSuggestion() {
> 1381 | console.log(this.input);
| ^
1382 | const employeeId = localStorage.getItem("employeeId") || this.$store.state.userId ;
1383 |
1384 | let opinion = this.input;
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:1387:11:
1385 | API.AddMostUseSuggestion(employeeId, opinion, {
1386 | onSucess: (response) => {
> 1387 | console.log(response.data.data);
| ^
1388 | let newSuggest = response.data.data;
1389 | this.allSuggests.push(newSuggest);
1390 | this.input = "";
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:1809:25:
1807 | let subUserids = ''
1808 | if(s.subFlowApproverData && s.subFlowApproverData.approver && s.subFlowApproverData.approver.length > 0) {
> 1809 | console.log("subFlowApproverData-->",s.subFlowApproverData)
| ^
1810 | s.subFlowApproverData.approver[0].userids.forEach(el => {
1811 | subUserids += el + ";";
1812 | });
error: Unexpected 'debugger' statement (no-debugger) at src/components/form_new_flowpanel.vue:2061:7:
2059 | let docId = formData.id;
2060 | // 这里多加上 上传附件
> 2061 | debugger
| ^
2062 | allData.fileList = this.fileList
2063 | let document = allData;
2064 |
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:2180:9:
2178 | );
2179 | } catch (error) {
> 2180 | console.log(error);
| ^
2181 | }
2182 |
2183 | },
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:2187:7:
2185 | //隐藏小意见框
2186 | hiddenSuggest() {
> 2187 | console.log("隐藏小意见框");
| ^
2188 | this.isOrSuggest = !this.isOrSuggest;
2189 | },
2190 |
error: Unexpected console statement (no-console) at src/components/form_new_flowpanel.vue:2281:9:
2279 | viewId: "",
2280 | };
> 2281 | console.log(document)
| ^
2282 | API.getFlowPanel(appId, docId, document, {
2283 | onSucess: (response) => {
2284 | let nodesArr = response.data.data.nextNodes;
22 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/form_processHosting_flowpanel.vue:76:7:
74 | // }else if(this.act.type == 58) { //协办
75 | // }
> 76 | console.log("选择合并------>");
| ^
77 | this.nodesList.forEach(item => {
78 | for(let i=0; i 109 | console.log("主办-->")
| ^
110 | this.$api.processHosting(this.openParams.appId, this.openParams._select, array, {
111 | onSucess: response => {
112 | if(response.data.errcode == 0) {
error: Unexpected console statement (no-console) at src/components/form_processHosting_flowpanel.vue:124:9:
122 | })
123 | }else if(this.act.type == 58) { //协办
> 124 | console.log("协办-->");
| ^
125 | this.$api.processCoHosting(this.openParams.appId, this.openParams._select, array, {
126 | onSucess: response => {
127 | if(response.data.errcode == 0) {
error: Unexpected console statement (no-console) at src/components/form_processHosting_flowpanel.vue:144:9:
142 | listUp(index) {
143 | if(index == 0) {
> 144 | console.log("最顶部-->");
| ^
145 | }else {
146 | let arr = this.nodesList;
147 | arr[index] = arr.splice(index-1, 1, arr[index])[0];
error: Unexpected console statement (no-console) at src/components/form_processHosting_flowpanel.vue:156:9:
154 | listDown(index) {
155 | if(index == this.nodesList.length-1) {
> 156 | console.log("最底部-->")
| ^
157 | }else {
158 | let arr = this.nodesList;
159 | arr[index] = arr.splice(index+1, 1, arr[index])[0];
error: Unexpected console statement (no-console) at src/components/form_processHosting_flowpanel.vue:167:9:
165 | if(this.act.type == 57) {
166 | this.nodesList = this.approvers[0].nodes[0].auditors;
> 167 | console.log("加签主办-->",this.nodesList);
| ^
168 | }else if (this.act.type == 58) {
169 | this.nodesList = this.approvers[0].nodes[0].coAuditors;
170 | console.log("加签协办-->",this.nodesList);
error: Unexpected console statement (no-console) at src/components/form_processHosting_flowpanel.vue:170:9:
168 | }else if (this.act.type == 58) {
169 | this.nodesList = this.approvers[0].nodes[0].coAuditors;
> 170 | console.log("加签协办-->",this.nodesList);
| ^
171 | }
172 | },
173 | //获取返回的数据
7 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/form_searchform.vue:51:7:
49 | methods: {
50 | getAllFields(){
> 51 | console.log(this.$parent)
| ^
52 | if(this.$store.state.searchFlag==0){
53 | return this.formdata.fields;
54 | }
error: Unexpected console statement (no-console) at src/components/form_searchform.vue:57:7:
55 | },
56 | findField(id) {
> 57 | console.log(this.appId+'--测试-'+this.viewId)
| ^
58 |
59 | let data = this.formdata
60 | console.log('变量:'+this.$store.state.searchFlag)
error: Unexpected console statement (no-console) at src/components/form_searchform.vue:60:7:
58 |
59 | let data = this.formdata
> 60 | console.log('变量:'+this.$store.state.searchFlag)
| ^
61 | for (let i = 0; i < data.fields.length; i++) {
62 | let fld = data.fields[i];
63 | console.log(fld.value)
error: Unexpected console statement (no-console) at src/components/form_searchform.vue:63:9:
61 | for (let i = 0; i < data.fields.length; i++) {
62 | let fld = data.fields[i];
> 63 | console.log(fld.value)
| ^
64 | // data.fields[i].value='1'
65 | console.log(this.$store.state.searchDataStore)
66 | if(this.$store.state.searchDataStore.length){
error: Unexpected console statement (no-console) at src/components/form_searchform.vue:65:9:
63 | console.log(fld.value)
64 | // data.fields[i].value='1'
> 65 | console.log(this.$store.state.searchDataStore)
| ^
66 | if(this.$store.state.searchDataStore.length){
67 | if(this.$store.state.searchFlag==2&&i<=data.fields.length){
68 | console.log(66)
error: Unexpected console statement (no-console) at src/components/form_searchform.vue:68:13:
66 | if(this.$store.state.searchDataStore.length){
67 | if(this.$store.state.searchFlag==2&&i<=data.fields.length){
> 68 | console.log(66)
| ^
69 | this.$store.state.searchDataStore.forEach(item=>{
70 | if(item.appId==this.appId&&item.viewId==this.viewId){
71 | Object.keys(item).forEach((key)=>{
error: Unexpected console statement (no-console) at src/components/form_searchform.vue:73:25:
71 | Object.keys(item).forEach((key)=>{
72 | if(key==fld.name){
> 73 | console.log('测试数据'+item[key])
| ^
74 | this.$set(data.fields[i],'value',item[key])
75 | if(i==data.fields.length-1){
76 | setTimeout(()=>{
error: Unexpected console statement (no-console) at src/components/form_searchform.vue:79:30:
77 | this.$store.commit('searchFlag',1)
78 | },800)
> 79 | console.log(this.$parent.$parent)
| ^
80 | this.$parent.$parent.openSearchTemplate()//打开高级查询按钮
81 | }
82 | }
error: Unexpected console statement (no-console) at src/components/form_searchform.vue:89:9:
87 | }
88 |
> 89 | console.log(fld)
| ^
90 | if (id == fld.id) return fld;
91 | }
92 |
9 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/homeAdvert.vue:37:20:
35 | // loading.close();//关闭加载
36 | // });
> 37 | console.log("banner______________",response.data.data.data)
| ^
38 | if(response.data.data.data){
39 | let Arry=[]
40 | response.data.data.data.forEach(item=>{
error: Unexpected console statement (no-console) at src/components/homeAdvert.vue:49:24:
47 | })
48 | this.bannerArr=Arry
> 49 | console.log(this.bannerArr)
| ^
50 | }
51 | }
52 | })
2 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:80:13:
78 | else {
79 | this.organizationLevels=organizationLevels.split(',')//obpm.config.js定义全局变量organizationLevels
> 80 | console.log('organizationLevels',organizationLevels)//obpm.config.js定义全局变量organizationLevels
| ^
81 | if(this.organizationLevels&&this.organizationLevels.includes('Premium')){
82 | this.appLevelsList()
83 | }else{
error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:98:13:
96 | key: ""
97 | }
> 98 | console.log(this.$listeners)
| ^
99 | this.addTab(param)
100 | },
101 | applistIframe() {//查询应用列表
error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:109:25:
107 |
108 | if (response.data && response.data.errmsg == "ok") {
> 109 | console.log(response.data)
| ^
110 | if (response.data.data.data.length) {
111 | let arr = []
112 | response.data.data.data.forEach((item, index) => {
error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:128:29:
126 |
127 | })
> 128 | console.log(arr)
| ^
129 | arr.sort((a, b) => { return Number(a.cateSort) - Number(b.cateSort) }) //分类排序cateSort
130 |
131 | const titleMap = {}
error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:189:29:
187 | }
188 | }
> 189 | console.log(arr2)
| ^
190 | this.appcateArrList = arr2
191 |
192 | //前端缓存本地代码块--切换不同组织的所有应用列表
error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:203:13:
201 | },
202 | loadAppMenu(appId, name) {//点击应用列表查询左边应用菜单
> 203 | console.log(this.$parent.$parent.$parent.$parent)
| ^
204 | console.log('当前appId', appId)
205 | let httpsUrl = location.origin;//获取url各个环境地址--比如http://localhost:4000
206 | if (appId == '__TS2n9hoVZ2MjWTPyJH9') {//警保指挥调度台应用直接跳转
error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:204:13:
202 | loadAppMenu(appId, name) {//点击应用列表查询左边应用菜单
203 | console.log(this.$parent.$parent.$parent.$parent)
> 204 | console.log('当前appId', appId)
| ^
205 | let httpsUrl = location.origin;//获取url各个环境地址--比如http://localhost:4000
206 | if (appId == '__TS2n9hoVZ2MjWTPyJH9') {//警保指挥调度台应用直接跳转
207 | this.$nextTick(() => {
error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:214:17:
212 | }
213 | if (appId == '__Hab04s0VNDPrjFZ3Xlo') {//挂图作战直接打开项目中心首页
> 214 | console.log(this.$parent.$parent)
| ^
215 | this.$parent.$parent.$parent.$parent.navtopmenuclick(1)
216 | return
217 | }
error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:223:17:
221 |
222 | if (appId == '__aNKPFCBuZfyQNzlnlZ9') { //商城pc前端入口
> 223 | console.log(this.$parent.$parent)
| ^
224 | this.$parent.$parent.$parent.$parent.navtopmenuclick(100)
225 | return
226 | }
error: Unexpected console statement (no-console) at src/components/homeAllApp.vue:228:17:
226 | }
227 | if (appId == '__ZG0ZtjrEhvNbj2rlOsF') { //企业钱包前端入口
> 228 | console.log(this.$parent.$parent)
| ^
229 | this.$parent.$parent.$parent.$parent.navtopmenuclick(101)
230 | return
231 | }
10 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/homeBoard.vue:55:9:
53 | },
54 | mounted() {
> 55 | console.log(this)
| ^
56 | },
57 | components:{
58 | homeWelcome,
error: The "homeAdvert" component has been registered but not used (vue/no-unused-components) at src/components/homeBoard.vue:59:9:
57 | components:{
58 | homeWelcome,
> 59 | homeAdvert,
| ^
60 | homeToAlert,
61 | homeMyused,
62 | homeAllApp,
error: The "homeMyused" component has been registered but not used (vue/no-unused-components) at src/components/homeBoard.vue:61:9:
59 | homeAdvert,
60 | homeToAlert,
> 61 | homeMyused,
| ^
62 | homeAllApp,
63 | homeManageCockPit,
64 | homeSecCockPit,
error: The "homeSecCockPit" component has been registered but not used (vue/no-unused-components) at src/components/homeBoard.vue:64:9:
62 | homeAllApp,
63 | homeManageCockPit,
> 64 | homeSecCockPit,
| ^
65 | homeCalendarBox
66 | }
67 | }
4 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/homeBoardFree.vue:66:11:
64 | key:""
65 | }
> 66 | console.log(this.$listeners)
| ^
67 | this.addTab(param)
68 | },
69 | applistIframe(){//查询应用列表
error: Unexpected console statement (no-console) at src/components/homeBoardFree.vue:76:25:
74 | onSucess: response => {
75 | if (response.data && response.data.errmsg == "ok") {
> 76 | console.log(response.data)
| ^
77 | if(response.data.data.data.length){
78 | let arr=[]
79 | response.data.data.data.forEach((item,index)=>{
error: Unexpected console statement (no-console) at src/components/homeBoardFree.vue:95:29:
93 |
94 | })
> 95 | console.log(arr)
| ^
96 | arr.sort((a,b)=>{return Number(a.cateSort)-Number(b.cateSort)}) //分类排序cateSort
97 |
98 | const titleMap = {}
error: Unexpected console statement (no-console) at src/components/homeBoardFree.vue:146:28:
144 | }
145 | }
> 146 | console.log(arr2)
| ^
147 | this.appcateArrList=arr2
148 |
149 | if(this.appcateArrList[0].children[0].appid=='__d1qEDy3wYq8VF5KvUoE'){//智能人事(__xkeybkGaZa1SboC9GL1)、机构用户管理(__d1qEDy3wYq8VF5KvUoE)
4 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:325:12:
323 | this.activeIndex=index
324 | var dayobjectStr=new Date(dayobject.day)
> 325 | console.log(dayobjectStr.getFullYear())
| ^
326 | console.log(dayobjectStr.getMonth()+1)
327 | console.log(dayobjectStr.getDate())
328 | let year=dayobjectStr.getFullYear()
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:326:12:
324 | var dayobjectStr=new Date(dayobject.day)
325 | console.log(dayobjectStr.getFullYear())
> 326 | console.log(dayobjectStr.getMonth()+1)
| ^
327 | console.log(dayobjectStr.getDate())
328 | let year=dayobjectStr.getFullYear()
329 | let month=(dayobjectStr.getMonth()+1)<10?'0'+(dayobjectStr.getMonth()+1):(dayobjectStr.getMonth()+1)
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:327:12:
325 | console.log(dayobjectStr.getFullYear())
326 | console.log(dayobjectStr.getMonth()+1)
> 327 | console.log(dayobjectStr.getDate())
| ^
328 | let year=dayobjectStr.getFullYear()
329 | let month=(dayobjectStr.getMonth()+1)<10?'0'+(dayobjectStr.getMonth()+1):(dayobjectStr.getMonth()+1)
330 | let day=dayobjectStr.getDate()<10?'0'+dayobjectStr.getDate():dayobjectStr.getDate()
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:346:13:
344 | let str=this.currentYear+'-'+currentMonthStr
345 | let obj={startTime:str}
> 346 | console.log(obj)
| ^
347 | this.$api.v3searchCalendarListApi(obj,{
348 | onSucess: response => {
349 | console.log(response.data)
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:349:21:
347 | this.$api.v3searchCalendarListApi(obj,{
348 | onSucess: response => {
> 349 | console.log(response.data)
| ^
350 | if(response.data.code){
351 | this.calendarAllItem=response.data.datas
352 | console.log(this.calendarAllItem)
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:352:25:
350 | if(response.data.code){
351 | this.calendarAllItem=response.data.datas
> 352 | console.log(this.calendarAllItem)
| ^
353 | if(this.calendarAllItem.length){
354 | this.calendarAllItem.forEach(item=>{
355 | let date=new Date(item.item_starttime.time)
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:362:29:
360 | this.$set(item,'itemStartTimeAllTime',dateStr)
361 | })
> 362 | console.log(this.calendarAllItem)
| ^
363 |
364 | //同一天
365 | this.days.forEach(item=>{
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:370:44:
368 | this.$nextTick(()=>{
369 | this.$set(item,'count',item.count+1)
> 370 | console.log(its.item_state)
| ^
371 | if(its.item_state=='已完成'){
372 | this.$set(item,'itemstatecount',item.itemstatecount+1)
373 | }
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:379:29:
377 | })
378 |
> 379 | console.log(this.days)
| ^
380 | }
381 | }
382 | }
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:401:13:
399 | }
400 | let obj={startTime:str}
> 401 | console.log(obj)
| ^
402 | this.$api.v3searchCalendarListApi(obj,{
403 | onSucess: response => {
404 | console.log(response.data)
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:404:21:
402 | this.$api.v3searchCalendarListApi(obj,{
403 | onSucess: response => {
> 404 | console.log(response.data)
| ^
405 | if(response.data.code){
406 | this.calendarDataItems=response.data.datas
407 | if(this.calendarDataItems.length){
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:416:26:
414 | })
415 | }
> 416 | console.log(this.calendarDataItems)
| ^
417 | }
418 | }
419 | })
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:422:13:
420 | },
421 | itemState(item){
> 422 | console.log(item)
| ^
423 | let obj={
424 | id:item.id,
425 | state:item.item_stateFlag?'已完成':'未完成'
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:429:21:
427 | this.$api.v3CanlendarFinishStatusApi(obj,{
428 | onSucess: response => {
> 429 | console.log(response.data)
| ^
430 | if(response.data.code){
431 | this.searchCalendarList()
432 | this.searchCalendarListDay()
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:467:13:
465 | },
466 | submit(){
> 467 | console.log(this.formList.startTime)
| ^
468 | console.log(typeof this.formList.startTime)
469 | console.log(this.formList)
470 | console.log(this.resultArr)
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:468:13:
466 | submit(){
467 | console.log(this.formList.startTime)
> 468 | console.log(typeof this.formList.startTime)
| ^
469 | console.log(this.formList)
470 | console.log(this.resultArr)
471 | if(this.formList.endTime){
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:469:13:
467 | console.log(this.formList.startTime)
468 | console.log(typeof this.formList.startTime)
> 469 | console.log(this.formList)
| ^
470 | console.log(this.resultArr)
471 | if(this.formList.endTime){
472 | if(this.formList.endTime 470 | console.log(this.resultArr)
| ^
471 | if(this.formList.endTime){
472 | if(this.formList.endTime 489 | console.log(participant)
| ^
490 | let obj={
491 | items:{
492 | thescheduleofTheType:this.formList.thescheduleofTheType,
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:509:33:
507 | this.$api.v3CalendarOkUpdateApi(obj,{
508 | onSucess: response => {
> 509 | console.log(response.data)
| ^
510 | if(response.data.code==0){
511 | this.dialog=false
512 | this.$nextTick(function () {
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:524:33:
522 | this.$api.v3CalendarOkApi(obj,{
523 | onSucess: response => {
> 524 | console.log(response.data)
| ^
525 | if(response.data.code==0){
526 | this.dialog=false
527 | this.$nextTick(function () {
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:551:13:
549 | },
550 | filterMethod(val){//输入框过滤搜索
> 551 | console.log(val)//输入框关键词名称
| ^
552 | this.params.keyword=val
553 | let obj2={domainId:localStorage.getItem("domainId")||''}
554 | this.$api.v3employeeTableListApi(this.params,obj2,{
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:588:13:
586 | },
587 | filterMethodParty(val){//输入框过滤搜索
> 588 | console.log(val)//输入框关键词名称
| ^
589 | this.params2.keyword=val
590 | let obj2={domainId:localStorage.getItem("domainId")||''}
591 | this.$api.v3employeeTableListApi(this.params2,obj2,{
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:613:13:
611 | this.resultArr=resultArr2
612 | this.resultArr=[...new Set(this.resultArr)]
> 613 | console.log(this.resultArr)
| ^
614 | },
615 | removetagParty(val){
616 | console.log(val)
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:616:13:
614 | },
615 | removetagParty(val){
> 616 | console.log(val)
| ^
617 | this.resultArr.forEach(item=>{
618 | if(item.id==val){
619 | this.resultArr.splice(item,1)
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:622:13:
620 | }
621 | })
> 622 | console.log(this.resultArr)
| ^
623 | },
624 | uploadImg(e) {
625 | // alert(this.fileList.length)
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:630:13:
628 | // return false
629 | // }
> 630 | console.log(e.file)
| ^
631 | let fd=new FormData()
632 | fd.append("file",e.file)
633 | console.log(fd)
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:633:13:
631 | let fd=new FormData()
632 | fd.append("file",e.file)
> 633 | console.log(fd)
| ^
634 | this.$api.v3commonFileUploadApi(fd,{
635 | onSucess: response => {
636 | console.log(response.data.data)
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:636:21:
634 | this.$api.v3commonFileUploadApi(fd,{
635 | onSucess: response => {
> 636 | console.log(response.data.data)
| ^
637 | let obj={
638 | name:e.file.name,
639 | path:response.data.data,
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:656:12:
654 | },
655 | handleRemove(file, fileList){
> 656 | console.log(file)
| ^
657 | this.fileList.forEach((item,index)=>{
658 | if(item==file){
659 | this.fileList.splice(index,1)
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:700:11:
698 | },
699 | onpreview(file){
> 700 | console.log(file)
| ^
701 | if(file.path.indexOf('http')==-1){
702 | if(location.origin.indexOf('test')>-1){
703 | window.open('/v3/shared'+file.path)
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:727:29:
725 | this.$api.v3CanlendarDelApi(obj,{
726 | onSucess: response => {
> 727 | console.log(response.data)
| ^
728 | if(response.data.code){
729 | this.searchCalendarList()
730 | this.searchCalendarListDay()
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:745:21:
743 | this.$api.v3CanlendarFinishStatusApi(obj,{
744 | onSucess: response => {
> 745 | console.log(response.data)
| ^
746 | if(response.data.code){
747 | this.searchCalendarList()
748 | this.searchCalendarListDay()
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:766:25:
764 | if(response.data.code==0){
765 | this.formList=response.data.datas[0]
> 766 | console.log(this.formList)
| ^
767 | if(this.formList.item_starttime){
768 | let date=new Date(this.formList.item_starttime.time)
769 | let year=date.getFullYear()
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:775:29:
773 | let mm=date.getMinutes()<10?'0'+date.getMinutes():date.getMinutes()
774 | let startTime=year+'-'+month+'-'+dates+' '+HH+':'+mm
> 775 | console.log(startTime)
| ^
776 | console.log(typeof startTime)
777 | this.$set(this.formList,'startTime',startTime)
778 | }
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:776:29:
774 | let startTime=year+'-'+month+'-'+dates+' '+HH+':'+mm
775 | console.log(startTime)
> 776 | console.log(typeof startTime)
| ^
777 | this.$set(this.formList,'startTime',startTime)
778 | }
779 | if(this.formList.item_endtime){
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:796:29:
794 | this.$set(this.formList,'executorName',this.formList.item_executorname)
795 | if(this.formList.item_participant){
> 796 | console.log(this.formList.item_participant)
| ^
797 | let participantStr=this.formList.item_participant.split(";")
798 | this.$set(this.formList,'participant',participantStr)
799 | this.$set(this.formList,'ParticipantName',this.formList.item_participantname)
error: Unexpected console statement (no-console) at src/components/homeCalendarBox.vue:869:13:
867 | this.$set(item,'count',0)
868 | })
> 869 | console.log(this.days)
| ^
870 | },
871 | pickPre(year, month){
872 | // setDate(0); 上月最后一天
38 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/homeSecCockPit.vue:80:21:
78 | this.$api.v3manageCockPitListApi(data,{
79 | onSucess: response => {
> 80 | console.log(response.data)
| ^
81 | if(response.data.code==0){
82 | let dataNums=response.data.data
83 | if(dataNums.length){
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/homeWelcome.vue:55:9:
53 | },
54 | created() {
> 55 | console.log(this.$root.user)
| ^
56 | this.network = __network__
57 | if(this.network){
58 | this.getLocation();
error: Unexpected console statement (no-console) at src/components/homeWelcome.vue:107:24:
105 | if(response.data.data){
106 | this.hiredDate=response.data.data.hiredDate
> 107 | console.log(this.hiredDate)
| ^
108 | this.hiredDateToNow=diffDate(response.data.data.hiredDate,getNowFormatDate())
109 | }
110 | }
error: Unexpected console statement (no-console) at src/components/homeWelcome.vue:121:23:
119 | onSucess: response => {
120 | if(response.data.data){
> 121 | console.log(response.data.data)
| ^
122 | if(response.data.data.datas.length){
123 | this.getAnnouncementFirst=response.data.data.datas[0]
124 | }else{
error: Unexpected console statement (no-console) at src/components/homeWelcome.vue:159:21:
157 | function onComplete (data) {
158 | // data是具体的定位信息
> 159 | console.log('定位成功信息:', data.addressComponent.city);
| ^
160 | self.city = data.addressComponent.city;
161 | AMap.plugin('AMap.Weather', function() {
162 | console.log(self.city)
error: Unexpected console statement (no-console) at src/components/homeWelcome.vue:162:25:
160 | self.city = data.addressComponent.city;
161 | AMap.plugin('AMap.Weather', function() {
> 162 | console.log(self.city)
| ^
163 | var weather = new AMap.Weather();
164 | weather.getLive(self.city, function(err, data) {
165 | if (!err) {
error: Unexpected console statement (no-console) at src/components/homeWelcome.vue:166:33:
164 | weather.getLive(self.city, function(err, data) {
165 | if (!err) {
> 166 | console.log(data)
| ^
167 | self.cityInfo=data
168 | if(data.weather.indexOf('晴')>-1){
169 | self.weatherImg=self.sun
error: Unexpected console statement (no-console) at src/components/homeWelcome.vue:200:21:
198 | function onError (data) {
199 | // 定位出错
> 200 | console.log('定位失败错误:', data);
| ^
201 | self.city=''//定位失败隐藏
202 | // 调用IP定位
203 | self.getLngLatLocation();
error: Unexpected console statement (no-console) at src/components/homeWelcome.vue:213:21:
211 | if (status === 'complete' && result.info === 'OK') {
212 | // 查询成功,result即为当前所在城市信息
> 213 | console.log('通过ip获取当前城市:', result);
| ^
214 | // 逆向地理编码
215 | AMap.plugin('AMap.Geocoder', function () {
216 | var geocoder = new AMap.Geocoder({
error: Unexpected console statement (no-console) at src/components/homeWelcome.vue:225:25:
223 | if (status === 'complete' && data.info === 'OK') {
224 | // result为对应的地理位置详细信息
> 225 | console.log(data);
| ^
226 | }
227 | });
228 | });
error: Unexpected console statement (no-console) at src/components/homeWelcome.vue:246:20:
244 | // loading.close();//关闭加载
245 | // });
> 246 | console.log('banner______________',response.data.data.data)
| ^
247 | if(response.data.data.data){
248 | let Arry=[]
249 | response.data.data.data.forEach(item=>{
error: Unexpected console statement (no-console) at src/components/homeWelcome.vue:258:24:
256 | })
257 | this.bannerArr=Arry
> 258 | console.log(this.bannerArr)
| ^
259 | }
260 | }
261 | })
11 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/main_content.vue:237:7:
235 | onTabClick: function(tab,index) {
236 | // debugger
> 237 | console.log(tab)
| ^
238 | console.log(index)
239 | this.$emit("active-tab", tab,index);
240 | //点击tab标签左边菜单显示对应的应用--bcx新增功能
error: Unexpected console statement (no-console) at src/components/main_content.vue:238:7:
236 | // debugger
237 | console.log(tab)
> 238 | console.log(index)
| ^
239 | this.$emit("active-tab", tab,index);
240 | //点击tab标签左边菜单显示对应的应用--bcx新增功能
241 | let appId=tab.appId
error: Unexpected console statement (no-console) at src/components/main_content.vue:255:9:
253 | this.$root.appid = appId;
254 | }
> 255 | console.log(tab)
| ^
256 | this.setMaincontent(false)
257 | this.$parent.showApp=true
258 | this.$parent.showWait=false
3 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/main_navbar.vue:157:7:
155 | defaultClickFirst(dataArr){
156 | // debugger
> 157 | console.log(dataArr)
| ^
158 | if(dataArr[0].children){
159 | if(dataArr[0].children[0].children){
160 | this.onMenuClick(dataArr[0].children[0].children[0])
error: Unexpected console statement (no-console) at src/components/main_navbar.vue:165:11:
163 | }
164 | }else{
> 165 | console.log(dataArr[0])
| ^
166 | this.onMenuClick(dataArr[0])
167 | }
168 | },
error: Unexpected console statement (no-console) at src/components/main_navbar.vue:171:7:
169 | onMenuClick: function(menu) {
170 | // debugger
> 171 | console.log(menu)
| ^
172 | this.currentMenuId = menu.id;
173 | if(menu.opentarget == "target") {
174 | let paramKey = '';
error: Unexpected console statement (no-console) at src/components/main_navbar.vue:198:1:
196 | });
197 |
> 198 | console.log(routeData,'routeDatarouteDatarouteDatarouteDatarouteDatarouteDatarouteDatarouteDatarouteDatarouteDatarouteDatarouteDatarouteData');
| ^
199 |
200 | window.open(routeData.href, '_blank');
201 |
4 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/main_pending.vue:605:9:
603 | activate() {
604 | if (this.backlogRight.length === 0) {
> 605 | console.log("--->0");
| ^
606 | }
607 | },
608 | //点击左侧导航触发待办事项
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/main_processing.vue:248:7:
246 | },
247 | isComplete() {
> 248 | console.log("isComplete---->",this.status);
| ^
249 | let appId = this.openParams.appId ? this.openParams.appId : this.currentAppId;
250 | let params = {
251 | applicationId: appId,
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/main_read.vue:209:7:
207 | },
208 | onRowClick(row, column, event ) {
> 209 | console.log("row--->",row.index);
| ^
210 |
211 | let params = {
212 | appId: this.$root.appid,
error: Unexpected console statement (no-console) at src/components/main_read.vue:351:9:
349 | activate() {
350 | if (this.backlogRight.length === 0) {
> 351 | console.log("--->0");
| ^
352 | }
353 | },
354 | //点击左侧导航触发待办事项
2 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/main_unread.vue:211:7:
209 | },
210 | onRowClick(row, column, event ) {
> 211 | console.log("row--->",row.index);
| ^
212 |
213 | let params = {
214 | appId: this.$root.appid,
error: Unexpected console statement (no-console) at src/components/main_unread.vue:353:9:
351 | activate() {
352 | if (this.backlogRight.length === 0) {
> 353 | console.log("--->0");
| ^
354 | }
355 | },
356 | //点击左侧导航触发待办事项
2 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/map_arcGIS.vue:122:9:
120 |
121 | }, reason => {
> 122 | console.log (reason);
| ^
123 | })
124 | },
125 |
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/menu_custom_linktype.vue:49:5:
47 | created() {
48 |
> 49 | console.log(this.openParams,'openParams');
| ^
50 |
51 | // Function to check if the URL contains the specified domain and redirect
52 | function checkAndRedirect(v) {
error: Unexpected console statement (no-console) at src/components/menu_custom_linktype.vue:84:11:
82 | if(mainFrame.contentDocument){//同源有contentDocument,监听iframe页面点击,鼠标,键盘事件
83 | mainFrame.contentDocument.onclick=function(){
> 84 | console.log('点击同源iframe onclick页面')
| ^
85 | that.$store.commit('SET_LASTTIME',new Date().getTime())//全局触发点击事件--获取最后一次时间
86 | }
87 | mainFrame.contentDocument.onkeyup=function(){
error: Unexpected console statement (no-console) at src/components/menu_custom_linktype.vue:88:11:
86 | }
87 | mainFrame.contentDocument.onkeyup=function(){
> 88 | console.log('点击同源iframe onkeyup页面')
| ^
89 | that.$store.commit('SET_LASTTIME',new Date().getTime())//全局触发点击事件--获取最后一次时间
90 | }
91 | mainFrame.contentDocument.onmousemove=function(){
error: Unexpected console statement (no-console) at src/components/menu_custom_linktype.vue:92:11:
90 | }
91 | mainFrame.contentDocument.onmousemove=function(){
> 92 | console.log('点击同源iframe onmousemove页面')
| ^
93 | that.$store.commit('SET_LASTTIME',new Date().getTime())//全局触发点击事件--获取最后一次时间
94 | }
95 | window.addEventListener('message',function(obj){//接收监听子元素iframe发过来的信息
error: Unexpected console statement (no-console) at src/components/menu_custom_linktype.vue:96:12:
94 | }
95 | window.addEventListener('message',function(obj){//接收监听子元素iframe发过来的信息
> 96 | console.log(obj)
| ^
97 | if(obj.data){
98 | let url=obj.data.url
99 | if(url&&url.indexOf('http')>-1){
5 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/o_calctext.vue:47:7:
45 | methods: {
46 | setValue(value) {
> 47 | console.log(value)
| ^
48 | if(value&&value.indexOf("pdfviewer.html") > -1) {
49 | let statiContextPath = obpmConfig.statiContextPath;
50 | if(statiContextPath) { //5.0 trunk
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/o_dept_select.vue:297:11:
295 | onSucess: (res) => {
296 | this.tableData = res.data.data;
> 297 | console.log(this.tableData);
| ^
298 | },
299 | });
300 | },
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/o_dept_tree_select.vue:323:7:
321 | this.activeRightDept.push(key);
322 | }
> 323 | console.log("------------->", this.activeRightDept);
| ^
324 | },
325 | selectType(val) {
326 | if (val == "TORIGHT") {
error: Unexpected console statement (no-console) at src/components/o_dept_tree_select.vue:524:13:
522 | // name: "test123"
523 | // userCount: 21
> 524 | console.log("this.nodes--->", nodes);
| ^
525 | resolve(nodes);
526 | },
527 | });
2 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/o_file_kms.vue:252:11:
250 | this.$api.templateDownload(name, path, {
251 | onSucess: (response) => {
> 252 | console.log("res--->", response);
| ^
253 | let fileName = "";
254 | let type = response.headers["content-type"];
255 | if (response.headers["content-disposition"]) {
error: Unexpected console statement (no-console) at src/components/o_file_kms.vue:333:7:
331 | },
332 | openKmDialog() {
> 333 | console.log("------------>", this.selectData);
| ^
334 | this.dialogVisible = true;
335 | //fileName=&orderByfield=CREATE_DATE&orderMode=desc&pageNo=1&linesPerPage=10&_=1594349604925
336 | let params = {
2 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:387:9:
385 | listUp(index) {
386 | if (index == 0) {
> 387 | console.log("最顶部-->");
| ^
388 | } else {
389 | let arr = this.field.value;
390 | arr[index] = arr.splice(index - 1, 1, arr[index])[0];
error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:397:9:
395 | listDown(index) {
396 | if (index == this.field.value.length - 1) {
> 397 | console.log("最底部-->");
| ^
398 | } else {
399 | let arr = this.field.value;
400 | arr[index] = arr.splice(index + 1, 1, arr[index])[0];
error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:419:4:
417 |
418 | uploadImg(e){
> 419 | console.log(e.file)
| ^
420 | //obs文件上传start
421 | if(__network__){
422 | this.obsFile(e)//obs文件上传
error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:668:5:
666 | }
667 | link.href = op + "/runtime/file/download?filename=" + encodeURI(file.name) + "&filepath=" + file.path+'&v='+new Date().getTime();
> 668 | console.log(link.href)
| ^
669 | link.setAttribute('download', file.name);
670 | link.click();
671 | }
error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:676:6:
674 | handleExceed(files, fileList) { //文件超出个数限制时的钩子
675 | if(this.field.limitNumber=="1"){//上传限制一张用覆盖的方式重新上传
> 676 | console.log(files[0])
| ^
677 | files[0].uid=new Date().getTime()
678 | this.field.value=[]
679 | let e={file:files[0]}
error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:850:4:
848 | })
849 | form.get('files')
> 850 | console.log(form.get('files'))
| ^
851 | e.file=form.get('files')
852 | //去掉文件名称空格end
853 |
error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:876:5:
874 | SourceFile:e.file //获取file文件
875 | }).then(function(result) {
> 876 | console.log(result)
| ^
877 |
878 | if(result.CommonMsg.Status < 300){
879 |
error: Unexpected console statement (no-console) at src/components/o_file_upload.vue:880:6:
878 | if(result.CommonMsg.Status < 300){
879 |
> 880 | console.log('Create object:' + objectKey + ' successfully!\n');
| ^
881 | var httpurl=`https://${BucketName}.${urlserver}/${objectKey}`
882 | httpurl = convertCdnPath(httpurl);
883 | // let ob = {};
8 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:310:4:
308 | }
309 |
> 310 | console.log("formData.value-->",formData.value)
| ^
311 |
312 |
313 | if(formData.value && formData.value.length > 0) {
error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:463:4:
461 |
462 | uploadSuccess(response, file, fileList) {
> 463 | console.log(file);
| ^
464 | console.log(fileList);
465 | let obj = {
466 | name: response.data[0].fileName,
error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:464:4:
462 | uploadSuccess(response, file, fileList) {
463 | console.log(file);
> 464 | console.log(fileList);
| ^
465 | let obj = {
466 | name: response.data[0].fileName,
467 | path: response.data[0].filePath,
error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:569:4:
567 |
568 | handleRemove(file, fileList) {
> 569 | console.log("file--->",file);
| ^
570 | console.log(fileList);
571 | let appId = this.$root.appid;
572 | let formId = this.field.formId;
error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:570:4:
568 | handleRemove(file, fileList) {
569 | console.log("file--->",file);
> 570 | console.log(fileList);
| ^
571 | let appId = this.$root.appid;
572 | let formId = this.field.formId;
573 | let docId = this.field.docId;
error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:584:7:
582 | }
583 | }
> 584 | console.log("this.field.value--->",this.field.value);
| ^
585 | }
586 | if (this.field.refreshOnChanged){
587 | // this.$parent.refresh(this.field.id);
error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:696:9:
694 |
695 | obsFile(e){//obs文件上传
> 696 | console.log(e)
| ^
697 | //去掉文件名称空格start
698 | let form = new FormData();
699 | form.append("files", e.file);
error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:706:4:
704 | })
705 | form.get('files')
> 706 | console.log(form.get('files'))
| ^
707 | e.file=form.get('files')
708 | //去掉文件名称空格end
709 |
error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:732:5:
730 | SourceFile:e.file //获取file文件
731 | }).then(function(result) {
> 732 | console.log(result)
| ^
733 |
734 | if(result.CommonMsg.Status < 300){
735 |
error: Unexpected console statement (no-console) at src/components/o_image_upload.vue:736:6:
734 | if(result.CommonMsg.Status < 300){
735 |
> 736 | console.log('Create object:' + objectKey + ' successfully!\n');
| ^
737 | var httpurl=`https://${BucketName}.${urlserver}/${objectKey}`
738 | httpurl = convertCdnPath(httpurl);
739 |
10 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/o_input.vue:189:12:
187 | window.addEventListener('message',function(e){
188 | // console.log('formData.id',formData.id)
> 189 | console.log('e.data',e.data)
| ^
190 | if(formData.id.indexOf('attendanceSiteLongitude')>-1){
191 | formData.value=e.data.longitude
192 | }
error: Unexpected console statement (no-console) at src/components/o_input.vue:234:9:
232 | handler:function(newV,oldV){
233 | this.value = newV
> 234 | console.log('this.value',this.value)
| ^
235 | let field = this.field
236 | if (field.refreshOnChanged) {//判断是否需要刷新
237 | if(field.refreshMode == 1) {
error: Unexpected console statement (no-console) at src/components/o_input.vue:326:11:
324 | sub = arr[i].split("=");
325 | sub = sub[0].split(":");
> 326 | console.log(sub[1]);
| ^
327 |
328 | key = sub[0];
329 | value = sub[1];
error: Unexpected console statement (no-console) at src/components/o_input.vue:484:16:
482 | let index=fieldStyle.lastIndexOf("width:") + 6
483 | fieldStyle=fieldStyle.slice(index)
> 484 | console.log(fieldStyle,1)
| ^
485 | if(fieldStyle.indexOf("%")!==-1){
486 | index=fieldStyle.indexOf("%")
487 | fieldStyle=fieldStyle.slice(0,index)
error: Unexpected console statement (no-console) at src/components/o_input.vue:488:21:
486 | index=fieldStyle.indexOf("%")
487 | fieldStyle=fieldStyle.slice(0,index)
> 488 | console.log(fieldStyle,2)
| ^
489 | if(fieldStyle.length<=3){
490 | console.log(fieldStyle,3)
491 | fieldStyle=parseFloat(fieldStyle)
error: Unexpected console statement (no-console) at src/components/o_input.vue:490:19:
488 | console.log(fieldStyle,2)
489 | if(fieldStyle.length<=3){
> 490 | console.log(fieldStyle,3)
| ^
491 | fieldStyle=parseFloat(fieldStyle)
492 |
493 | this.$refs.inputWrap.style.width="100%"
6 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/o_map.vue:471:7:
469 |
470 | handler({ BMap, map }) {
> 471 | console.log({ BMap, map });
| ^
472 | this.center.lng = 116.404;
473 | this.center.lat = 39.915;
474 | this.zoom = 3;
error: Unexpected console statement (no-console) at src/components/o_map.vue:478:7:
476 |
477 | zoomEnd(e) {
> 478 | console.log(e);
| ^
479 | this.zoom = e.target.getZoom();
480 | },
481 |
error: Unexpected console statement (no-console) at src/components/o_map.vue:492:7:
490 | this.zoom = 19;
491 | }
> 492 | console.log(this.zoom);
| ^
493 | },
494 |
495 | //右键$t('shrink')
error: Unexpected console statement (no-console) at src/components/o_map.vue:599:7:
597 |
598 | changeLAL() {
> 599 | console.log("经纬度改变了");
| ^
600 | let that = this;
601 | if (this.currentLongitude && this.currentLatitude) {
602 | (this.center = {
4 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/o_photo.vue:156:11:
154 | })
155 | .catch((error) => {
> 156 | console.error("摄像头开启失败,请检查摄像头是否可用!");
| ^
157 | console.log(error);
158 | });
159 | },
error: Unexpected console statement (no-console) at src/components/o_photo.vue:157:11:
155 | .catch((error) => {
156 | console.error("摄像头开启失败,请检查摄像头是否可用!");
> 157 | console.log(error);
| ^
158 | });
159 | },
160 | // 拍照
error: Unexpected console statement (no-console) at src/components/o_photo.vue:167:7:
165 | // 转base64格式、图片格式转换、图片质量压缩
166 | let imgBase64 = this.$refs["canvas"].toDataURL("image/jpeg", 0.7);
> 167 | console.log("拍的图片-->");
| ^
168 | console.log(imgBase64);
169 | this.savePhoto = imgBase64;
170 | },
error: Unexpected console statement (no-console) at src/components/o_photo.vue:168:7:
166 | let imgBase64 = this.$refs["canvas"].toDataURL("image/jpeg", 0.7);
167 | console.log("拍的图片-->");
> 168 | console.log(imgBase64);
| ^
169 | this.savePhoto = imgBase64;
170 | },
171 | // 关闭摄像头
error: Unexpected console statement (no-console) at src/components/o_photo.vue:180:7:
178 | });
179 | this.$refs["video"].srcObject = null;
> 180 | console.log("关闭了");
| ^
181 | },
182 | showDialog() {
183 | var explorer = window.navigator.userAgent;
5 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/o_reminder_history.vue:250:7:
248 | methods: {
249 | getFlowHistory(){
> 250 | console.log("this.fleld---->",this.field);
| ^
251 | let appId = this.$root.appid
252 | let docId = this.field.docId;
253 | this.$api.getRemindHistorys(
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/o_user_select.vue:606:11:
604 | onSucess: (res) => {
605 | this.tableData = res.data.data;
> 606 | console.log(this.tableData);
| ^
607 | },
608 | });
609 | },
error: Unexpected console statement (no-console) at src/components/o_user_select.vue:715:7:
713 | this.selectedUsers = arrID;
714 | this.selectedUsersList = arr;
> 715 | console.log("this.selectedUsersList---->", this.selectedUsersList);
| ^
716 | },
717 |
718 | /**
error: Unexpected console statement (no-console) at src/components/o_user_select.vue:831:7:
829 | //加载更多在线用户
830 | onlinesLoadingMore() {
> 831 | console.log(111);
| ^
832 | this.loadingIcon = true;
833 | let pageSize = 10;
834 | API.getOnlines(this.onlinesPage++, pageSize, {
3 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/obpm_open_container.vue:82:5:
80 | created() {
81 | let op = this.openParams;
> 82 | console.log(this.openParams)
| ^
83 | this.doAction(op);
84 | },
85 | mounted() {
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/platAd.vue:106:12:
104 | value= value.replace(/ 106 | console.log(value)
| ^
107 | return value
108 | },
109 | // 取消
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/platAdPop.vue:114:12:
112 | value= value.replace(/ 114 | console.log(value)
| ^
115 | return value
116 | },
117 | cancle() {// 取消
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/pop.vue:68:7:
66 | this.formList = newRowData; //拷贝一份存储对象引用不同地址
67 | this.OperType = type;
> 68 | console.log(this.formList.parentId)
| ^
69 | if (this.OperType == 0) {
70 | this.title = this.agreementTitle;
71 |
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/print_view.vue:55:5:
53 | }
54 | }
> 55 | console.log("--->",this.$route.query)
| ^
56 | },
57 | mounted() {
58 | this.getViewData();
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/profile.vue:554:11:
552 | }
553 |
> 554 | console.log("arr---->", arr);
| ^
555 | this.flowData = arr;
556 | this.$nextTick(() => {
557 | for (let i = 0; i < arr.length; i++) {
error: Unexpected console statement (no-console) at src/components/profile.vue:881:11:
879 | });
880 | this.process = newData;
> 881 | console.log("this.process--->", this.process);
| ^
882 | },
883 | });
884 | },
error: Unexpected console statement (no-console) at src/components/profile.vue:954:11:
952 | }
953 | }
> 954 | console.log("arr---->", arr);
| ^
955 | this.flowData = arr;
956 | },
957 | });
error: Unexpected console statement (no-console) at src/components/profile.vue:1048:7:
1046 | checkedMobile() {
1047 | var phoneReg = /^1\d{10}$/;
> 1048 | console.log(
| ^
1049 | !phoneReg.test(this.information.mobile) && !this.information.mobile
1050 | );
1051 | console.log(this.information.mobile);
error: Unexpected console statement (no-console) at src/components/profile.vue:1051:7:
1049 | !phoneReg.test(this.information.mobile) && !this.information.mobile
1050 | );
> 1051 | console.log(this.information.mobile);
| ^
1052 | if (
1053 | !phoneReg.test(this.information.mobile) &&
1054 | this.information.mobile !== "" &&
error: Unexpected console statement (no-console) at src/components/profile.vue:1178:13:
1176 | },
1177 | onError: (error) => {
> 1178 | console.log(error);
| ^
1179 | },
1180 | }
1181 | );
error: Unexpected console statement (no-console) at src/components/profile.vue:1296:11:
1294 | });
1295 | this.process = newData;
> 1296 | console.log("this.process--->", this.process);
| ^
1297 | },
1298 | });
1299 | },
error: Unexpected console statement (no-console) at src/components/profile.vue:1332:11:
1330 | });
1331 | this.process = newData;
> 1332 | console.log("this.process--->", this.process);
| ^
1333 | },
1334 | });
1335 | },
error: Unexpected console statement (no-console) at src/components/profile.vue:1433:13:
1431 | },
1432 | onError: (error) => {
> 1433 | console.log(error);
| ^
1434 | },
1435 | }
1436 | );
9 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/qrcodeDialog.vue:26:7:
24 | this.employeeId = localStorage.getItem('employeeId');
25 | this.organizationsId = localStorage.getItem('domainId');
> 26 | console.info('href', window.location.href);
| ^
27 | let domainUrl = window.location.href.split('/')[2];
28 | console.info('domain url', domainUrl);
29 | // this.inviteUrl = `https://v5qy.te.baibaodun.com.cn/static/signon/fronts/#/register?shareEmployeeId=${this.employeeId}&shareOrganizationId=${this.organizationsId}`;
error: Unexpected console statement (no-console) at src/components/qrcodeDialog.vue:28:7:
26 | console.info('href', window.location.href);
27 | let domainUrl = window.location.href.split('/')[2];
> 28 | console.info('domain url', domainUrl);
| ^
29 | // this.inviteUrl = `https://v5qy.te.baibaodun.com.cn/static/signon/fronts/#/register?shareEmployeeId=${this.employeeId}&shareOrganizationId=${this.organizationsId}`;
30 | this.inviteUrl = `https://${domainUrl}/static/signon/fronts/#/register?shareEmployeeId=${this.employeeId}&shareOrganizationId=${this.organizationsId}`;
31 | this.showDialog = newVal;
2 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/report.vue:152:7:
150 | setImgUrl(id) {
151 | let imgLists = document.getElementById(id).getElementsByTagName("img");
> 152 | console.log("imgLists-->", imgLists);
| ^
153 | let src = "";
154 | for (let i = 0; i < imgLists.length; i++) {
155 | let imgName = imgLists[i].src.split("/");
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/service.vue:143:29:
141 | Arry.sort((a,b)=>{return Number(a.sort)-Number(b.sort)})
142 | this.appMarketServiceArry=Arry
> 143 | console.log(this.appMarketServiceArry)
| ^
144 | }
145 | }
146 | }
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/view_blank.vue:79:7:
77 | contentType: function() {
78 |
> 79 | console.log(this.params,"this.__________________________");
| ^
80 | let compName;
81 | switch (this.params.linkType) {
82 | case "00":
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/view_calendarview.vue:1965:7:
1963 | }
1964 | this.currentDocIds = docIds;
> 1965 | console.log("docIds--->",docIds);
| ^
1966 | },
1967 |
1968 | getShowListData(page, size, searchData, startTime, endTime,) {
error: Unexpected console statement (no-console) at src/components/view_calendarview.vue:2133:15:
2131 | onSucess: response => {
2132 | let viewData = response.data;
> 2133 | console.log("viewData-------->",viewData)
| ^
2134 | resolve(viewData);
2135 | }
2136 | }
2 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/view_cardview.vue:126:11:
124 | this.loading = false;
125 | this.CardData = tds;
> 126 | console.log("this.tableData---->", this.CardData);
| ^
127 | }
128 | });
129 | },
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/view_collapsibleview.vue:300:9:
298 | })
299 | if (hasSelect) {
> 300 | console.log(selection)
| ^
301 | console.log(row)
302 | this.$nextTick(() => {
303 | this.$refs.multipleTable.toggleRowSelection(row,true);
error: Unexpected console statement (no-console) at src/components/view_collapsibleview.vue:301:9:
299 | if (hasSelect) {
300 | console.log(selection)
> 301 | console.log(row)
| ^
302 | this.$nextTick(() => {
303 | this.$refs.multipleTable.toggleRowSelection(row,true);
304 | })
error: Unexpected console statement (no-console) at src/components/view_collapsibleview.vue:565:23:
563 | tds.push(rows);
564 | });
> 565 | console.log(tds)
| ^
566 | resolve(tds);
567 | }
568 | }
error: Duplicated key 'reloadListView' (vue/no-dupe-keys) at src/components/view_collapsibleview.vue:583:5:
581 | },
582 |
> 583 | reloadListView(){
| ^
584 | this.getData(this.currentPage);
585 | },
586 |
error: Unexpected console statement (no-console) at src/components/view_collapsibleview.vue:618:7:
616 | docIds = [];
617 | }
> 618 | console.log(docIds)
| ^
619 | this.$emit("getDocIds",docIds);
620 | },
621 |
5 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:460:7:
458 | init(isCloseDialog) {
459 | // debugger
> 460 | console.log(this.jumpParams);
| ^
461 | let op = this.openParams;
462 | let exparams = {};
463 | if (op.exparams) {
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:676:7:
674 | //包含元素弹出层和当前页打开都是使用这个刷新
675 | closeDialog(isSave) {
> 676 | console.log(this.viewType)
| ^
677 | this.$refs.delegate.reloadListView();
678 | if (!isSave) {
679 | this.dialogVisible = false;
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:724:9:
722 | }
723 | if ((st && st == "tab") || (st && st == "include")) {
> 724 | console.log(exparams);
| ^
725 | console.log(5455);
726 | //如果是控件选项卡
727 | exparams.parentId = op.parentId;
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:725:9:
723 | if ((st && st == "tab") || (st && st == "include")) {
724 | console.log(exparams);
> 725 | console.log(5455);
| ^
726 | //如果是控件选项卡
727 | exparams.parentId = op.parentId;
728 | exparams.isRelate = op.isRelate;
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:730:7:
728 | exparams.isRelate = op.isRelate;
729 | }
> 730 | console.info('delegate 1', appId);
| ^
731 | this.$api.getViewTemplate(appId, viewId, exparams, {
732 | onSucess: (response) => {
733 | // alert(88)
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:736:11:
734 | this.loading = true;
735 |
> 736 | console.info('response', response);
| ^
737 | if (response.data.data) {
738 | if (!response.data.data.activities) {
739 | //后台配置的视图操作按钮为0
error: Unexpected 'debugger' statement (no-debugger) at src/components/view_delegate.vue:1519:19:
1517 | break;
1518 | case 16: //导出excel
> 1519 | debugger
| ^
1520 | this.isBlockClick = false;
1521 | this.currentClickBtnAct = act;
1522 | let excelColumns = [];
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:1525:19:
1523 | let columns = this.copyColumns;
1524 | let selectAll = [];
> 1525 | console.log(columns)
| ^
1526 | for (let i = 0; i < columns.length; i++) {
1527 | if (columns[i].visible4ExpExcel) {
1528 | excelColumns.push(columns[i]);
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:1775:13:
1773 | if (res.data.errcode === 0) {
1774 | let url = res.data.data.content;
> 1775 | console.log(url);
| ^
1776 | let queryString = act.dispatcherParams;
1777 | let isForm = url.search("form.html") != -1; //兼容good的url的写法(后期改)
1778 | let isView = url.search("view.html") != -1; //兼容good的url的写法(后期改)
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:1796:13:
1794 | let isExternalLink = false;
1795 |
> 1796 | console.log("编辑流程");
| ^
1797 | console.log(url);
1798 | if (url && url.indexOf("processHtmlTem.html") > -1) {
1799 | API.softwareApplication(this.openParams.appId, {
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:1797:13:
1795 |
1796 | console.log("编辑流程");
> 1797 | console.log(url);
| ^
1798 | if (url && url.indexOf("processHtmlTem.html") > -1) {
1799 | API.softwareApplication(this.openParams.appId, {
1800 | onSucess: (res) => {
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:1881:21:
1879 | if (isOpenCurrentSoftwareData) {
1880 | let formParams = "";
> 1881 | console.log(obj);
| ^
1882 | for (let key in obj) {
1883 | if (
1884 | key != "name" &&
error: Unexpected 'debugger' statement (no-debugger) at src/components/view_delegate.vue:2272:9:
2270 | }
2271 | }
> 2272 | debugger
| ^
2273 | console.log(view)
2274 | if (view.searchFormId != undefined) {
2275 | //高级查询
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2273:9:
2271 | }
2272 | debugger
> 2273 | console.log(view)
| ^
2274 | if (view.searchFormId != undefined) {
2275 | //高级查询
2276 | let sfd = this.$refs.delegate.getSearchformBuildData();
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2277:11:
2275 | //高级查询
2276 | let sfd = this.$refs.delegate.getSearchformBuildData();
> 2277 | console.log('sfd', sfd)
| ^
2278 | console.log('sd', sd)
2279 | sd = Object.assign(sd, sfd);//导出全部--获取高筛搜索条件sfd
2280 | obj.items = sd;
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2278:11:
2276 | let sfd = this.$refs.delegate.getSearchformBuildData();
2277 | console.log('sfd', sfd)
> 2278 | console.log('sd', sd)
| ^
2279 | sd = Object.assign(sd, sfd);//导出全部--获取高筛搜索条件sfd
2280 | obj.items = sd;
2281 | }
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2302:17:
2300 | window.clearInterval(this.task);
2301 | }
> 2302 | console.log(excelRowCount);
| ^
2303 | if (excelRowCount == 10000) {
2304 | process = 100;
2305 | this.$message({
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2385:7:
2383 |
2384 | onAction(act) {
> 2385 | console.log(act);
| ^
2386 | //绑定视图的处理事件
2387 | let actId = act.id;
2388 | let activityType = act.type;
error: Unexpected 'debugger' statement (no-debugger) at src/components/view_delegate.vue:2668:7:
2666 | formData = { ...formData, ...this.$route.query };
2667 | }
> 2668 | debugger
| ^
2669 | let divId = act.id;
2670 | let actType = act.type;
2671 |
error: Unexpected console statement (no-console) at src/components/view_delegate.vue:2810:19:
2808 | let columns = this.copyColumns;
2809 | let selectAll = [];
> 2810 | console.log(columns)
| ^
2811 | for (let i = 0; i < columns.length; i++) {
2812 | if (columns[i].visible4ExpExcel) {
2813 | excelColumns.push(columns[i]);
20 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/view_gantt.vue:370:9:
368 | }
369 | }
> 370 | console.log("maxTime-->",maxTime,minTime)
| ^
371 | let monthBetweenNum = this.getMonthBetween(minTime, maxTime);
372 |
373 | this.monthBetweenHeadNum = JSON.parse(JSON.stringify(monthBetweenNum));
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/view_mapview.vue:282:11:
280 | const lo = new T.Geolocation();
281 | lo.getCurrentPosition(function (e) {
> 282 | console.log("🚀 ~ fn ~ e:", e, this.getStatus())
| ^
283 | if (this.getStatus() == 0){
284 | console.log("获取定位坐标:"+e.lnglat.lat + "," + e.lnglat.lng)
285 | }
error: Unexpected console statement (no-console) at src/components/view_mapview.vue:284:13:
282 | console.log("🚀 ~ fn ~ e:", e, this.getStatus())
283 | if (this.getStatus() == 0){
> 284 | console.log("获取定位坐标:"+e.lnglat.lat + "," + e.lnglat.lng)
| ^
285 | }
286 | if(this.getStatus() == 1){
287 | console.log("获取定位坐标:"+e.lnglat.lat + "," + e.lnglat.lng)
error: Unexpected console statement (no-console) at src/components/view_mapview.vue:287:13:
285 | }
286 | if(this.getStatus() == 1){
> 287 | console.log("获取定位坐标:"+e.lnglat.lat + "," + e.lnglat.lng)
| ^
288 | }
289 | });
290 | },
error: Unexpected console statement (no-console) at src/components/view_mapview.vue:352:13:
350 | ls.search(currentLocation);
351 | ls.setSearchCompleteCallback(function (rs) {
> 352 | console.log(rs);
| ^
353 | if (rs.Hr) {
354 | let point = rs.Hr[0].point;
355 | that.center = {
error: Unexpected console statement (no-console) at src/components/view_mapview.vue:363:9:
361 | }
362 |
> 363 | console.log(
| ^
364 | this.openParams.appId,
365 | this.view.id,
366 | "_____________________"
error: Unexpected console statement (no-console) at src/components/view_mapview.vue:381:15:
379 | // let myGeo = new BMap.Geocoder();
380 | let view = this.view;
> 381 | console.log(
| ^
382 | view,
383 | viewData,
384 | "###################################"
error: Unexpected console statement (no-console) at src/components/view_mapview.vue:409:17:
407 | }
408 | } catch (error) {
> 409 | console.log(error);
| ^
410 | }
411 |
412 | if(this.mapType === 'tianditu') {
error: Unexpected console statement (no-console) at src/components/view_mapview.vue:419:21:
417 | setTimeout(() => {
418 | this.viewDataList = viewData;
> 419 | console.log(
| ^
420 | this.viewDataList,
421 | "###############%@#%@#%@#%@#%#@"
422 | );
error: Unexpected console statement (no-console) at src/components/view_mapview.vue:557:7:
555 | },
556 | zoomEnd(e) {
> 557 | console.log(e);
| ^
558 | this.zoom = e.target.getZoom();
559 | },
560 | //右键放大
error: Unexpected console statement (no-console) at src/components/view_mapview.vue:570:7:
568 | this.zoom = 19;
569 | }
> 570 | console.log(this.zoom);
| ^
571 | },
572 | //右键缩小
573 | reduceMap(e) {
error: Unexpected console statement (no-console) at src/components/view_mapview.vue:591:7:
589 | //有问题,隐藏
590 | this.markerHidden = false;
> 591 | console.log(BMap);
| ^
592 | console.log(map);
593 | },
594 | infoWindowClose() {
error: Unexpected console statement (no-console) at src/components/view_mapview.vue:592:7:
590 | this.markerHidden = false;
591 | console.log(BMap);
> 592 | console.log(map);
| ^
593 | },
594 | infoWindowClose() {
595 | this.currentShowId = "";
error: Unexpected console statement (no-console) at src/components/view_mapview.vue:624:7:
622 | searchBox(e) {
623 | this.isActive = !this.isActive;
> 624 | console.log(e);
| ^
625 | },
626 | Delete(id) {
627 | let that = this;
error: Unexpected console statement (no-console) at src/components/view_mapview.vue:628:7:
626 | Delete(id) {
627 | let that = this;
> 628 | console.log("删除", id);
| ^
629 | let arr = [];
630 | arr.push(id);
631 | this.$api.batchRemoveDocuments(this.openParams.appId, arr, {
14 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/view_treeview.vue:716:17:
714 | });
715 | this.arrNodes = nodes
> 716 | console.log("this.arrNodes-1--->",this.arrNodes)
| ^
717 | resolve(this.arrNodes);
718 | if(this.arrNodes.length){//展开第一个节点的二级菜单
719 | this.arrNodes.forEach((item,index)=>{
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/expandedComponents/view_multi_level_column.vue:307:9:
305 | initialIndex: i,
306 | };
> 307 | console.log("params--2->",params)
| ^
308 | this.$parent.setDialogStatus(params);
309 | }
310 | },
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/views/Main.vue:423:11:
421 | },
422 | onError: (error) => {
> 423 | console.log(error);
| ^
424 | },
425 | });
426 | },
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/views/main_pending.vue:677:9:
675 | activate() {
676 | if (this.backlogRight.length === 0) {
> 677 | console.log("--->0");
| ^
678 | }
679 | },
680 | //点击左侧导航触发待办事项
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/views/mixin_LockScreen.vue:60:29:
58 | {
59 | onSucess: res => {
> 60 | console.log(res)
| ^
61 | if (res == undefined) {
62 | that.isPasswordError = 'true';
63 | // that.$message({type:'warning',message:'密码错误',customClass: 'message-override'})
error: Unexpected console statement (no-console) at src/views/mixin_LockScreen.vue:80:29:
78 | }
79 | }, catch: error => {
> 80 | console.log('error1', error)
| ^
81 | }
82 |
83 |
2 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected side effect in "activeColor" computed property (vue/no-side-effects-in-computed-properties) at src/components/activity.vue:353:11:
351 | return data;
352 | case 0: //流程处理在流程的表单权限里设置了隐藏,type返回0
> 353 | this.isShowBtn = false
| ^
354 | default:
355 | break;
356 | }
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected side effect in "field" computed property (vue/no-side-effects-in-computed-properties) at src/components/o_tab.vue:323:7:
321 | }
322 | // this.tabWidth = document.documentElement.clientWidth - 327;
> 323 | this.tabWidth = document.documentElement.clientWidth - 0;
| ^
324 | return this.setField(formData);
325 | //return this.$parent.findField(this.id);
326 | },
error: Unexpected console statement (no-console) at src/components/o_tab.vue:475:7:
473 |
474 | handleChange(val) {
> 475 | console.log(val);
| ^
476 | },
477 |
478 | handleClick(tab) {
2 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected side effect in "field" computed property (vue/no-side-effects-in-computed-properties) at src/components/o_view_dialog.vue:84:11:
82 | if (formData.divWidth) {
83 | if (formData.divWidth.indexOf("px") > -1) {
> 84 | this.dialogWidth = formData.divWidth;
| ^
85 | } else if (formData.divWidth.indexOf("%") > -1) {
86 | this.dialogWidth = formData.divWidth;
87 | } else {
error: Unexpected side effect in "field" computed property (vue/no-side-effects-in-computed-properties) at src/components/o_view_dialog.vue:86:11:
84 | this.dialogWidth = formData.divWidth;
85 | } else if (formData.divWidth.indexOf("%") > -1) {
> 86 | this.dialogWidth = formData.divWidth;
| ^
87 | } else {
88 | this.dialogWidth = formData.divWidth + "px";
89 | }
error: Unexpected side effect in "field" computed property (vue/no-side-effects-in-computed-properties) at src/components/o_view_dialog.vue:88:11:
86 | this.dialogWidth = formData.divWidth;
87 | } else {
> 88 | this.dialogWidth = formData.divWidth + "px";
| ^
89 | }
90 | }
91 | if (formData.divHeight) {
error: Unexpected side effect in "field" computed property (vue/no-side-effects-in-computed-properties) at src/components/o_view_dialog.vue:96:11:
94 | if (formData.divHeight.indexOf("px") > -1) {
95 | h = formData.divHeight.split("px")[0];
> 96 | this.dialogHidth = parseInt(h) - 100 + "px";
| ^
97 | } else if (formData.divHeight.indexOf("%") > -1) {
98 | h = formData.divHeight;
99 | let num = h.split("%")[0];
error: Unexpected side effect in "field" computed property (vue/no-side-effects-in-computed-properties) at src/components/o_view_dialog.vue:101:11:
99 | let num = h.split("%")[0];
100 | let he = (screen * parseInt(num)) / 100;
> 101 | this.dialogHidth = he - 124 + "px";
| ^
102 | } else {
103 | let t = screen * 0.15;
104 | //let t = 1 - (formData.divHeight / screen);
error: Unexpected side effect in "field" computed property (vue/no-side-effects-in-computed-properties) at src/components/o_view_dialog.vue:106:13:
104 | //let t = 1 - (formData.divHeight / screen);
105 | if (parseInt(formData.divHeight) >= screen) {
> 106 | this.dialogTop = "1%";
| ^
107 | } else {
108 | let hd = screen - parseInt(formData.divHeight);
109 | if (hd < t) {
error: Unexpected side effect in "field" computed property (vue/no-side-effects-in-computed-properties) at src/components/o_view_dialog.vue:112:17:
110 | let d = Math.ceil(hd / t);
111 | if (d >= 15) {
> 112 | this.dialogTop = "15%";
| ^
113 | } else {
114 | this.dialogTop = d + "%";
115 | }
error: Unexpected side effect in "field" computed property (vue/no-side-effects-in-computed-properties) at src/components/o_view_dialog.vue:114:17:
112 | this.dialogTop = "15%";
113 | } else {
> 114 | this.dialogTop = d + "%";
| ^
115 | }
116 | }
117 | }
error: Unexpected side effect in "field" computed property (vue/no-side-effects-in-computed-properties) at src/components/o_view_dialog.vue:118:11:
116 | }
117 | }
> 118 | this.dialogHidth = parseInt(formData.divHeight) - 124 + "px";
| ^
119 | }
120 | } else {
121 | let screen = document.documentElement.clientHeight;
error: Unexpected side effect in "field" computed property (vue/no-side-effects-in-computed-properties) at src/components/o_view_dialog.vue:122:9:
120 | } else {
121 | let screen = document.documentElement.clientHeight;
> 122 | this.dialogHidth = screen / 2 + 24 + "px";
| ^
123 | }
124 |
125 | formData.obpmFilePath = obpmConfig.obpmFilePath;
10 errors found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected side effect in "options" computed property (vue/no-side-effects-in-computed-properties) at src/components/o_select_about.vue:137:7:
135 | });
136 | });
> 137 | this.selectData = selectData;
| ^
138 | return data;
139 | }
140 |
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected side effect in "template" computed property (vue/no-side-effects-in-computed-properties) at src/components/form_normalform.vue:378:11:
376 |
377 | if (!data.formTemplate.template) {
> 378 | this.isShowFormActivity = false;
| ^
379 | return {
380 | components: { authority },
381 | template: "",
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:433:7:
431 | let that=this;
432 | window.addEventListener('message',function(e){//监听弹窗关闭-bcx
> 433 | console.log('e',e)
| ^
434 | if(e.data){
435 | that.jumpPopup=false
436 | }
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:448:7:
446 | // 处理include-control 自动增大逻辑
447 | handleIncludeControlBug() {
> 448 | console.log('触发了')
| ^
449 | this.timeIds.forEach(id => {
450 | clearInterval(id)
451 | })
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:463:7:
461 | },
462 | handleIncludeControlRefresh(controls, cb) {
> 463 | console.log('controls', controls)
| ^
464 | // resize 计算会走这里
465 | // include可能原本就被隐藏 这里要集合
466 | let affectedIncludeControls = []
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:473:7:
471 | }
472 | })
> 473 | console.log('affectedIncludeControls获取Dom对象', affectedIncludeControls)
| ^
474 | this.$nextTick(() => {
475 | cb() //这个执行的是handleIncludeControlComputed(controls)();
476 | affectedIncludeControls.forEach(itm => {
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:483:9:
481 | handleIncludeControlComputed(controls) {
482 | controls.forEach(item => {
> 483 | console.log('item.parentNode', item.parentNode)
| ^
484 | let pw = item.parentNode.clientWidth - (parseFloat(getComputedStyle(item.parentNode).paddingLeft) + parseFloat(getComputedStyle(item.parentNode).paddingRight))
485 | console.log('pw', pw)
486 | if (pw > 0) {
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:485:9:
483 | console.log('item.parentNode', item.parentNode)
484 | let pw = item.parentNode.clientWidth - (parseFloat(getComputedStyle(item.parentNode).paddingLeft) + parseFloat(getComputedStyle(item.parentNode).paddingRight))
> 485 | console.log('pw', pw)
| ^
486 | if (pw > 0) {
487 | item.style.width = pw + 'px' //增加父元素固定宽度'.include-control' 与 '.tab-control'
488 | } else {
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:490:13:
488 | } else {
489 | let id = setTimeout(() => {
> 490 | console.log(111)
| ^
491 | // resize 计算会走这里
492 | // include可能原本就被隐藏 这里要集合
493 | if (item.style.display !== 'none') {
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:500:15:
498 | }
499 | this.$nextTick(() => {
> 500 | console.log('bb', parseFloat(getComputedStyle(item.parentNode).paddingLeft));
| ^
501 | let pw = item.parentNode.clientWidth - (parseFloat(getComputedStyle(item.parentNode).paddingLeft) + parseFloat(getComputedStyle(item.parentNode).paddingRight))
502 | if (pw > 0) {
503 | console.log('item.parentNode', item.parentNode)
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:503:17:
501 | let pw = item.parentNode.clientWidth - (parseFloat(getComputedStyle(item.parentNode).paddingLeft) + parseFloat(getComputedStyle(item.parentNode).paddingRight))
502 | if (pw > 0) {
> 503 | console.log('item.parentNode', item.parentNode)
| ^
504 | item.style.width = pw + 'px' //增加父元素固定宽度'.include-control' 与 '.tab-control'
505 | item.style.display = "block"
506 | clearInterval(id)
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:609:15:
607 | signatureid,
608 | function (data) {
> 609 | console.log(data);
| ^
610 | }
611 | );
612 | break;
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:774:7:
772 | initForm({ appId, formId, docId }) {
773 | let openParams = this.openParams;
> 774 | console.log(docId);
| ^
775 | if (openParams.appId) {
776 | this.$root.appid = openParams.appId; //如果有多个软件,当从首页进入表单,需要把当前页当前数据的appId赋值给全局变量,否则有可能导致软件的appId拿错
777 | }
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:799:9:
797 | obj = this.setParams(openParams.urlParams, obj);
798 | }
> 799 | console.log("获取表单。。。");
| ^
800 | API.getForm(
801 | appId,
802 | formId,
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:938:29:
936 | signatureid,
937 | function (data) {
> 938 | console.log(data);
| ^
939 | }
940 | );
941 | break;
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:996:21:
994 | for (let i = 0; i < data.fields.length; i++) {
995 | if (data.fields[i].isModified) {
> 996 | console.log("111", showLog);
| ^
997 | showLog = true;
998 | break;
999 | }
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:1179:7:
1177 | params = { ...params, ...this.$route.query };
1178 | }
> 1179 | console.log(params);
| ^
1180 | API.getForm(appId, formId, docId, params, {
1181 | onSucess: (res) => {
1182 | let fd = res.data.data;
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:1236:19:
1234 | //表单嵌套tab判断传递参数
1235 | fields[i].exparams = op.exparams;
> 1236 | console.log(fields[i].exparams);
| ^
1237 | }
1238 | if (fields[i].tabs && fields[i].tabs.length > 0) {
1239 | for (let j = 0; j < fields[i].tabs.length; j++) {
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:1470:19:
1468 | fields.forEach((f, i) => {
1469 | if (field.id == f.id) {
> 1470 | console.log(fields[i].type);
| ^
1471 | fields[i].value = field.value; //只能更新value,而不能简单做对象替换,field.value绑定在组件v-model上,如果直接替换只是数组内存指针简单变更
1472 | fields[i].options = field.options;
1473 | fields[i].tabs = field.tabs;
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:1511:7:
1509 |
1510 | handleClose(done) {
> 1511 | console.log('done',done)
| ^
1512 | done();
1513 | if (this.isDialogOpenExternalLink) {
1514 | let appId = this.openParams.appId;
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:2405:15:
2403 | }
2404 | } else if (response.data.errcode == 0) {//请求成功返回
> 2405 | console.log('response.data', response.data)
| ^
2406 | console.log('activityType', activityType)
2407 | if (response.data.actionStep === 'AfterAction' && activityType == 34) {//activityType=34才提示
2408 | this.$message({ type: 'success', message: '操作成功' })
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:2406:15:
2404 | } else if (response.data.errcode == 0) {//请求成功返回
2405 | console.log('response.data', response.data)
> 2406 | console.log('activityType', activityType)
| ^
2407 | if (response.data.actionStep === 'AfterAction' && activityType == 34) {//activityType=34才提示
2408 | this.$message({ type: 'success', message: '操作成功' })
2409 | }
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:2584:7:
2582 | doSave(num, actId, withOld, subDoc, act) {
2583 | // debugger
> 2584 | console.log(777);
| ^
2585 | let openParams = this.openParams;
2586 | let that = this;
2587 | let transferrData = "";
error: Unexpected console statement (no-console) at src/components/form_normalform.vue:3449:13:
3447 | API.executeCustom(appId, actId, obj, params, {
3448 | onSucess: (res) => {
> 3449 | console.log(res);
| ^
3450 | let errcode = res.data.errcode;
3451 | if (errcode == 0) {
3452 | let errmsg = act.name + this.$t("success");
23 errors found.
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
warning
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
fonts/Source Han Sans CN Regular.552b3917.eot (8.14 MiB)
fonts/Source Han Sans CN Regular.d1fb7855.woff (5.1 MiB)
img/fontawesome-webfont.912ec66d.svg (434 KiB)
fonts/Source Han Sans CN Regular.50f2d6d6.ttf (8.14 MiB)
img/Source Han Sans CN Regular.63d44fde.svg (17.8 MiB)
js/about.aa5c66df.js (3.44 MiB)
js/app.ab147768.js (4.5 MiB)
iwebapp/pdfjs/core/pdf.js (584 KiB)
iwebapp/pdfjs/core/pdf.worker.js (723 KiB)
iwebapp/pdfjs/pdf-34bd0a9d29.viewer.js (1.36 MiB)
js/esdk-obs-browserjs.min.js (304 KiB)
pdf/word/pdfjs/build/pdf.js (774 KiB)
iwebapp/pdfjs/pdf-8cc3ba5958.viewer.js (1.37 MiB)
pdf/word/pdfjs/build/pdf.js.map (1.48 MiB)
pdf/word/pdfjs/build/pdf.worker.js (1.66 MiB)
pdf/word/pdfjs/build/pdf.worker.js.map (3.39 MiB)
pdf/word/pdfjs/web/viewer.js (655 KiB)
pdf/word/pdfjs/web/viewer.js.map (751 KiB)
UEditor/jsp/lib/commons-codec-1.9.jar (258 KiB)
pdf/word/iWebOffice2015.cab (12.4 MiB)
UEditor/third-party/highcharts/highcharts.src.js (434 KiB)
UEditor/third-party/jquery-1.10.2.js (267 KiB)
UEditor/third-party/snapscreen/UEditorSnapscreen.exe (508 KiB)
UEditor/ueditor.all.min.js (373 KiB)
UEditor/ueditor.all.js (1.06 MiB)
warning
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
app (7.94 MiB)
js/about.aa5c66df.js
js/app.ab147768.js
File Size Gzipped
dist/UEditor/ueditor.all.min.js 373.46 KiB 100.76 KiB
dist/js/esdk-obs-browserjs.min.js 303.80 KiB 78.74 KiB
dist/iwebapp/pdfjs/jquery-1.11.3.min.j 93.71 KiB 32.54 KiB
s
dist/js/jquery-1.11.3.min.js 93.71 KiB 32.54 KiB
dist/pdf/word/jquery.min.js 93.54 KiB 32.48 KiB
dist/UEditor/third-party/jquery-1.10.2 90.92 KiB 32.06 KiB
.min.js
dist/js/swiper.min.js 64.88 KiB 16.44 KiB
dist/UEditor/third-party/webuploader/w 56.91 KiB 18.66 KiB
ebuploader.min.js
dist/UEditor/third-party/webuploader/w 45.99 KiB 14.37 KiB
ebuploader.html5only.min.js
dist/UEditor/third-party/webuploader/w 45.81 KiB 15.77 KiB
ebuploader.custom.min.js
dist/UEditor/third-party/webuploader/w 38.87 KiB 12.03 KiB
ebuploader.withoutimage.min.js
dist/UEditor/third-party/webuploader/w 32.81 KiB 10.64 KiB
ebuploader.flashonly.min.js
dist/UEditor/third-party/xss.min.js 27.11 KiB 6.38 KiB
dist/pdf/word/viewer.min.js 20.21 KiB 6.41 KiB
dist/UEditor/third-party/zeroclipboard 18.51 KiB 6.52 KiB
/ZeroClipboard.min.js
dist/pdf/word/sweetalert.min.js 16.58 KiB 5.29 KiB
dist/pdf/word/toastr.min.js 16.47 KiB 3.19 KiB
dist/iwebapp/pdfjs/require.min.js 14.86 KiB 6.08 KiB
dist/pdf/word/require.min.js 14.86 KiB 6.08 KiB
dist/UEditor/ueditor.parse.min.js 14.45 KiB 5.01 KiB
dist/js/app.ab147768.js 4610.33 KiB 890.08 KiB
dist/js/about.aa5c66df.js 3522.65 KiB 1023.38 KiB
dist/pdf/word/pdfjs/build/pdf.worker.j 1700.94 KiB 322.13 KiB
s
dist/iwebapp/pdfjs/pdf-8cc3ba5958.view 1404.33 KiB 367.49 KiB
er.js
dist/iwebapp/pdfjs/pdf-34bd0a9d29.view 1397.68 KiB 362.42 KiB
er.js
dist/UEditor/ueditor.all.js 1086.60 KiB 213.79 KiB
dist/pdf/word/pdfjs/build/pdf.js 774.32 KiB 145.03 KiB
dist/iwebapp/pdfjs/core/pdf.worker.js 723.11 KiB 213.91 KiB
dist/pdf/word/pdfjs/web/viewer.js 654.78 KiB 99.17 KiB
dist/iwebapp/pdfjs/core/pdf.js 584.12 KiB 161.00 KiB
dist/UEditor/third-party/highcharts/hi 433.95 KiB 123.75 KiB
ghcharts.src.js
dist/UEditor/third-party/jquery-1.10.2 266.80 KiB 79.12 KiB
.js
dist/UEditor/third-party/webuploader/w 226.46 KiB 48.94 KiB
ebuploader.js
dist/UEditor/third-party/video-js/vide 212.98 KiB 56.36 KiB
o.dev.js
dist/UEditor/third-party/webuploader/w 193.52 KiB 43.01 KiB
ebuploader.custom.js
dist/UEditor/third-party/webuploader/w 182.25 KiB 39.11 KiB
ebuploader.html5only.js
dist/UEditor/third-party/SyntaxHighlig 155.77 KiB 43.52 KiB
hter/shCore.js
dist/UEditor/third-party/codemirror/co 154.89 KiB 35.91 KiB
demirror.js
dist/UEditor/third-party/webuploader/w 148.40 KiB 31.44 KiB
ebuploader.withoutimage.js
dist/UEditor/third-party/highcharts/hi 137.55 KiB 50.63 KiB
ghcharts.js
dist/UEditor/third-party/webuploader/w 135.64 KiB 29.89 KiB
ebuploader.flashonly.js
dist/pdf/word/WebOffice.js 135.19 KiB 30.89 KiB
dist/UEditor/dialogs/image/image.js 125.19 KiB 55.10 KiB
dist/pdf/word/iWebOffice2015.js 112.08 KiB 50.77 KiB
dist/UEditor/third-party/highcharts/mo 98.32 KiB 22.42 KiB
dules/canvas-tools.src.js
dist/js/china.js 61.26 KiB 43.82 KiB
dist/iwebapp/pdfjs/stamp/laydate/layda 58.98 KiB 15.29 KiB
te.js
dist/UEditor/third-party/highcharts/hi 58.77 KiB 16.33 KiB
ghcharts-more.src.js
dist/UEditor/third-party/highcharts/mo 56.52 KiB 15.35 KiB
dules/canvas-tools.js
dist/UEditor/third-party/video-js/vide 54.09 KiB 16.62 KiB
o.js
dist/UEditor/dialogs/wordimage/tangram 46.41 KiB 12.48 KiB
.js
dist/UEditor/third-party/zeroclipboard 42.20 KiB 9.15 KiB
/ZeroClipboard.js
dist/UEditor/ueditor.parse.js 35.91 KiB 7.93 KiB
dist/pdf/word/util.js 30.10 KiB 8.77 KiB
dist/UEditor/dialogs/video/video.js 29.78 KiB 7.62 KiB
dist/UEditor/dialogs/attachment/attach 29.67 KiB 6.63 KiB
ment.js
dist/UEditor/lang/en/en.js 28.72 KiB 8.24 KiB
dist/pdf/word/l10n.js 28.57 KiB 8.09 KiB
dist/UEditor/dialogs/scrawl/scrawl.js 26.51 KiB 5.97 KiB
dist/UEditor/lang/zh-cn/zh-cn.js 25.88 KiB 8.55 KiB
dist/UEditor/third-party/highcharts/mo 25.16 KiB 7.84 KiB
dules/map.src.js
dist/UEditor/ueditor.config.js 22.75 KiB 8.44 KiB
dist/UEditor/third-party/highcharts/hi 21.30 KiB 7.91 KiB
ghcharts-more.js
dist/pdf/word/pdfjs/web/debugger.js 18.48 KiB 4.89 KiB
dist/pdf/word/compatibility.js 17.70 KiB 5.38 KiB
dist/UEditor/third-party/highcharts/mo 16.86 KiB 5.73 KiB
dules/exporting.src.js
dist/UEditor/third-party/highcharts/mo 15.14 KiB 4.81 KiB
dules/data.src.js
dist/UEditor/dialogs/background/backgr 14.04 KiB 3.56 KiB
ound.js
dist/pdf/word/tray.js 12.95 KiB 3.86 KiB
dist/iwebapp/pdfjs/require.config.js 12.60 KiB 3.15 KiB
dist/pdf/word/require.config.js 12.38 KiB 3.05 KiB
dist/UEditor/dialogs/template/config.j 12.19 KiB 2.50 KiB
s
dist/UEditor/third-party/highcharts/ad 11.38 KiB 3.82 KiB
apters/standalone-framework.src.js
dist/UEditor/dialogs/charts/charts.js 10.89 KiB 3.34 KiB
dist/UEditor/third-party/highcharts/mo 10.69 KiB 3.16 KiB
dules/drilldown.src.js
dist/UEditor/third-party/highcharts/mo 9.88 KiB 4.03 KiB
dules/map.js
dist/UEditor/dialogs/table/edittable.j 8.72 KiB 2.01 KiB
s
dist/UEditor/third-party/highcharts/ad 8.72 KiB 3.18 KiB
apters/prototype-adapter.src.js
dist/UEditor/third-party/highcharts/mo 8.18 KiB 2.56 KiB
dules/annotations.src.js
dist/UEditor/dialogs/music/music.js 7.64 KiB 2.16 KiB
dist/UEditor/third-party/highcharts/ad 7.61 KiB 2.91 KiB
apters/mootools-adapter.src.js
dist/pdf/word/watermark.js 7.55 KiB 1.90 KiB
dist/js/chunk-5d6b8caa.ad9e3b1c.js 7.09 KiB 2.23 KiB
dist/UEditor/third-party/highcharts/mo 7.08 KiB 3.07 KiB
dules/exporting.js
dist/UEditor/third-party/highcharts/mo 6.38 KiB 2.33 KiB
dules/funnel.src.js
dist/UEditor/dialogs/emotion/emotion.j 6.15 KiB 2.03 KiB
s
dist/UEditor/third-party/highcharts/mo 5.42 KiB 1.95 KiB
dules/drilldown.js
dist/UEditor/third-party/highcharts/ad 4.95 KiB 2.15 KiB
apters/standalone-framework.js
dist/UEditor/dialogs/spechars/spechars 4.56 KiB 2.37 KiB
.js
dist/UEditor/third-party/highcharts/th 4.38 KiB 1.21 KiB
emes/gray.js
dist/UEditor/third-party/highcharts/mo 4.33 KiB 1.89 KiB
dules/data.js
dist/UEditor/dialogs/searchreplace/sea 4.30 KiB 1.27 KiB
rchreplace.js
dist/UEditor/third-party/highcharts/th 4.25 KiB 1.20 KiB
emes/dark-blue.js
dist/UEditor/third-party/highcharts/th 4.24 KiB 1.21 KiB
emes/dark-green.js
dist/UEditor/dialogs/wordimage/wordima 4.05 KiB 1.95 KiB
ge.js
dist/UEditor/third-party/highcharts/mo 3.32 KiB 1.52 KiB
dules/annotations.js
dist/UEditor/third-party/highcharts/ad 3.23 KiB 1.33 KiB
apters/prototype-adapter.js
dist/js/chunk-2d2163d7.ff096593.js 3.02 KiB 0.85 KiB
dist/UEditor/third-party/highcharts/mo 2.79 KiB 1.12 KiB
dules/no-data-to-display.src.js
dist/UEditor/dialogs/internal.js 2.54 KiB 0.98 KiB
dist/UEditor/third-party/highcharts/ad 2.21 KiB 1.06 KiB
apters/mootools-adapter.js
dist/pdf/word/obpm.showMessage.js 2.09 KiB 0.74 KiB
dist/js/chunk-2d0aaba3.3f5138a4.js 1.95 KiB 0.87 KiB
dist/UEditor/third-party/highcharts/mo 1.93 KiB 1.08 KiB
dules/funnel.js
dist/UEditor/third-party/highcharts/th 1.75 KiB 0.65 KiB
emes/grid.js
dist/UEditor/third-party/highcharts/th 1.72 KiB 0.64 KiB
emes/skies.js
dist/js/chunk-f90c670c.904b4952.js 1.70 KiB 0.91 KiB
dist/UEditor/dialogs/template/template 1.55 KiB 0.67 KiB
.js
dist/UEditor/dialogs/help/help.js 1.47 KiB 0.70 KiB
dist/UEditor/dialogs/charts/chart.conf 1.38 KiB 0.44 KiB
ig.js
dist/js/obpm.config.js 1.36 KiB 0.57 KiB
dist/js/obsConfig.js 1.33 KiB 0.70 KiB
dist/UEditor/third-party/highcharts/mo 1.33 KiB 0.70 KiB
dules/no-data-to-display.js
dist/UEditor/third-party/highcharts/mo 1.10 KiB 0.49 KiB
dules/heatmap.src.js
dist/UEditor/third-party/highcharts/mo 0.52 KiB 0.37 KiB
dules/heatmap.js
dist/iwebapp/pdfjs/viewer-df538bd63b.c 111.81 KiB 18.55 KiB
ss
dist/iwebapp/pdfjs/viewer-afb3d53c48.c 111.71 KiB 18.53 KiB
ss
dist/pdf/word/pdfjs/web/viewer.css 58.42 KiB 9.25 KiB
dist/UEditor/themes/default/css/uedito 42.73 KiB 6.84 KiB
r.css
dist/UEditor/themes/default/css/uedito 34.12 KiB 5.53 KiB
r.min.css
dist/UEditor/third-party/video-js/vide 20.82 KiB 5.45 KiB
o-js.css
dist/UEditor/dialogs/image/image.css 17.71 KiB 3.46 KiB
dist/UEditor/dialogs/video/video.css 14.57 KiB 3.10 KiB
dist/UEditor/dialogs/attachment/attach 14.05 KiB 2.81 KiB
ment.css
dist/UEditor/third-party/video-js/vide 11.18 KiB 2.53 KiB
o-js.min.css
dist/iwebapp/pdfjs/stamp/laydate/theme 9.16 KiB 2.21 KiB
/default/laydate.css
dist/UEditor/third-party/SyntaxHighlig 6.95 KiB 1.31 KiB
hter/shCoreDefault.css
dist/UEditor/dialogs/scrawl/scrawl.css 3.73 KiB 0.97 KiB
dist/UEditor/third-party/codemirror/co 2.82 KiB 0.90 KiB
demirror.css
dist/UEditor/dialogs/charts/charts.css 2.54 KiB 0.81 KiB
dist/UEditor/dialogs/background/backgr 2.34 KiB 0.87 KiB
ound.css
dist/UEditor/dialogs/emotion/emotion.c 1.76 KiB 0.53 KiB
ss
dist/UEditor/themes/default/dialogbase 1.65 KiB 0.81 KiB
.css
dist/UEditor/dialogs/music/music.css 1.64 KiB 0.63 KiB
dist/UEditor/dialogs/table/edittable.c 1.16 KiB 0.41 KiB
ss
dist/UEditor/dialogs/template/template 1.01 KiB 0.49 KiB
.css
dist/UEditor/third-party/webuploader/w 0.50 KiB 0.29 KiB
ebuploader.css
dist/UEditor/dialogs/help/help.css 0.38 KiB 0.20 KiB
dist/UEditor/themes/iframe.css 0.04 KiB 0.06 KiB
Images and other types of assets omitted.
DONE Build complete. The dist directory is ready to be deployed.
INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
+ rm -rf /data/workspace/badp-bcxin-web-5.x-static/badp-bcxin-web-5.x-vue
+ cp -r dist /data/workspace/badp-bcxin-web-5.x-static/badp-bcxin-web-5.x-vue
Finished: SUCCESS