From df18b1a8be9bd1c2c3d4a394a191c743fd1bf2f2 Mon Sep 17 00:00:00 2001 From: T-95707 Date: Fri, 4 Sep 2020 09:14:37 +0800 Subject: [PATCH] =?UTF-8?q?20200904=20zjt=20=E5=8E=BB=E6=8E=89=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E4=B8=AD=E6=89=80=E6=9C=89=E7=9A=84console.log=20=20?= =?UTF-8?q?=20debugger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/IconSelector/README.md | 1 - src/components/menu/index.js | 1 - src/components/page/GlobalLayout.vue | 1 - src/components/setting/SettingDrawer.vue | 2 -- src/components/tools/Breadcrumb.vue | 2 -- src/store/modules/app.js | 2 -- src/store/modules/timer.js | 2 -- src/store/modules/user.js | 1 - src/utils/permissions.js | 1 - src/utils/util.js | 1 - src/views/admin/UserEdit.vue | 4 +--- src/views/app/expense/approve_modal.vue | 3 --- src/views/app/expense/fillin_main.vue | 1 - src/views/app/expense/history_main.vue | 1 - src/views/app/expense/menu.vue | 1 - src/views/exception/707.vue | 1 - src/views/generate/codefile.vue | 1 - src/views/list/PermissionList.vue | 1 - src/views/list/RoleList.vue | 1 - src/views/list/TableInnerEditList.vue | 5 +--- src/views/list/TreeList.vue | 4 ---- src/views/list/UserList.vue | 2 -- src/views/list/modules/OrgModal.vue | 3 --- src/views/list/modules/RoleModal.vue | 3 --- src/views/list/table/Edit.vue | 3 --- src/views/list/table/List.vue | 1 - src/views/par/basicData/ParBasicData.vue | 8 +------ src/views/par/examPlan/ParExamCate.vue | 5 ++-- src/views/par/examPlan/ParExamPlan.vue | 14 +++++------ .../par/examPlan/ParExamPlanPersonnel.vue | 24 +++++++++---------- src/views/par/parworkinfo/ParWorkInfoDept.vue | 17 ------------- .../par/parworkinfo/ParWorkInfoDetail.vue | 3 --- src/views/par/parworkinfo/ParWorkInfoUnit.vue | 16 ------------- src/views/par/parworkinfo/ParWorkInfoUser.vue | 14 ----------- .../par/parworkinfo/ParWorkTrackingDept.vue | 16 ------------- src/views/par/parworkinfo/SignModal.vue | 1 - .../personBasicData/ParPersonBasicData.vue | 5 +--- .../ParPersonScoreManage.vue | 1 - .../PersonScoreManageAdd.vue | 2 -- .../PersonScoreManageDeduction.vue | 7 ------ .../PersonScoreManageGrade.vue | 2 -- src/views/par/scoreManage/ParScoreManage.vue | 1 - src/views/par/scoreManage/ScoreManageAdd.vue | 4 ---- .../par/scoreManage/ScoreManageDeduction.vue | 7 ------ .../par/scoreManage/ScoreManageGrade.vue | 3 --- src/views/role/RoleList.vue | 8 ------- .../statisticalreport/StatisticalReport.vue | 7 ------ src/views/wb/ribs/ribs.vue | 4 ---- src/views/wb/ribs/ribsApprove.vue | 6 +---- 49 files changed, 24 insertions(+), 200 deletions(-) diff --git a/src/components/IconSelector/README.md b/src/components/IconSelector/README.md index 503095d..49e25b8 100644 --- a/src/components/IconSelector/README.md +++ b/src/components/IconSelector/README.md @@ -31,7 +31,6 @@ export default { }, methods: { handleIconChange (icon) { - console.log('change Icon', icon) } } } diff --git a/src/components/menu/index.js b/src/components/menu/index.js index aa638b9..87dc7c2 100644 --- a/src/components/menu/index.js +++ b/src/components/menu/index.js @@ -102,7 +102,6 @@ export default { }, [this.renderIcon(h, menu.meta.icon), h('span', [menu.meta.title])])] const itemArr = [] const pIndex_ = pIndex + '_' + index - // console.log('menu', menu) if (!menu.hideChildrenInMenu) { menu.children.forEach(function (item, i) { itemArr.push(this2_.renderItem(h, item, pIndex_, i)) diff --git a/src/components/page/GlobalLayout.vue b/src/components/page/GlobalLayout.vue index 616a3ef..bde5189 100644 --- a/src/components/page/GlobalLayout.vue +++ b/src/components/page/GlobalLayout.vue @@ -159,7 +159,6 @@ export default { } else { left = (this.isMobile() && '0') || ((this.fixSidebar && '64px') || '0') } - console.log('left', left) return left }, menuSelect () { diff --git a/src/components/setting/SettingDrawer.vue b/src/components/setting/SettingDrawer.vue index c719123..b9b4af1 100644 --- a/src/components/setting/SettingDrawer.vue +++ b/src/components/setting/SettingDrawer.vue @@ -246,10 +246,8 @@ export default { } }` this.$copyText(text).then(message => { - console.log('copy', message) this.$message.success('复制完毕') }).catch(err => { - console.log('copy.err', err) this.$message.error('复制失败') }) }, diff --git a/src/components/tools/Breadcrumb.vue b/src/components/tools/Breadcrumb.vue index 5e3571d..5fb4859 100644 --- a/src/components/tools/Breadcrumb.vue +++ b/src/components/tools/Breadcrumb.vue @@ -22,8 +22,6 @@ export default { }, methods: { getBreadcrumb () { - console.log('this.$route.matched', this.$route.matched) - this.breadList = [] // this.breadList.push({ name: 'index', path: '/dashboard/', meta: { title: '首页' } }) diff --git a/src/store/modules/app.js b/src/store/modules/app.js index bd6a494..373a97e 100644 --- a/src/store/modules/app.js +++ b/src/store/modules/app.js @@ -30,8 +30,6 @@ const app = { SET_SIDEBAR_TYPE: (state, type) => { state.sidebar = type Vue.ls.set(SIDEBAR_TYPE, type) - - // console.log('SET_SIDEBAR_TYPE', type) }, CLOSE_SIDEBAR: (state) => { Vue.ls.set(SIDEBAR_TYPE, true) diff --git a/src/store/modules/timer.js b/src/store/modules/timer.js index a1b482b..445a4fe 100644 --- a/src/store/modules/timer.js +++ b/src/store/modules/timer.js @@ -78,7 +78,6 @@ const timer = { */ AddTimingTask ({ state, commit, dispatch }, messageId) { const { sendingMap } = state - console.log(sendingMap) // 如果循环队列中已存在该uid,需要先干掉,重新计时 let slotIndex = sendingMap.get(messageId) if (typeof slotIndex !== 'undefined') { @@ -132,7 +131,6 @@ const timer = { commit('DEL_SENDING_MAP', uid) // 添加到失败列表中 commit('ADD_FAIL_SET', uid) - console.log(`消息:<${uid}>超时,发送失败!`) } // 置空该集合 slotSet.clear() diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 66d8409..ddda3b6 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -93,7 +93,6 @@ const user = { // }) // role.permissionList = role.permissions.map(permission => { return permission.permissionId }) commit('SET_ROLES', result.userRole) - console.log('loginret', result) // result.roles = this.wxRoles commit('SET_INFO', result) commit('SET_POSITIONS', result.positions) diff --git a/src/utils/permissions.js b/src/utils/permissions.js index f8668bb..5096a3a 100644 --- a/src/utils/permissions.js +++ b/src/utils/permissions.js @@ -2,7 +2,6 @@ export function actionToObject (json) { try { return JSON.parse(json) } catch (e) { - console.log('err', e.message) } return [] } diff --git a/src/utils/util.js b/src/utils/util.js index 52fe997..8e5ae4e 100644 --- a/src/utils/util.js +++ b/src/utils/util.js @@ -220,7 +220,6 @@ export const dateStr = (date) => { // a.click() // window.URL.revokeObjectURL(url) // }).catch(e => { -// console.log(e) // }) // } diff --git a/src/views/admin/UserEdit.vue b/src/views/admin/UserEdit.vue index e83e65b..990fb0b 100644 --- a/src/views/admin/UserEdit.vue +++ b/src/views/admin/UserEdit.vue @@ -265,14 +265,12 @@ export default { res.result.adminRoleEntity.forEach((itemrole, index) => { this.rolechecked.push(itemrole === undefined ? '' : itemrole.id) }) - console.log('rolechecked',this.rolechecked) }) } - // 加载所有角色信息 + // 加载所有角色 信息 getRoleList().then(res => { const result = res.result.data result.forEach((res) => { - console.log('roleopts',this.roleopts) this.roleopts.push({ 'key': res.id, 'title': res.name }) }) }) diff --git a/src/views/app/expense/approve_modal.vue b/src/views/app/expense/approve_modal.vue index eb7e744..303749b 100644 --- a/src/views/app/expense/approve_modal.vue +++ b/src/views/app/expense/approve_modal.vue @@ -191,7 +191,6 @@ export default { * 获取人员信息 */ getInfo () { - console.log('idssss', this.ids) this.$nextTick(() => { this.form.setFieldsValue({ qfrq: this.ids[0].qfrq @@ -207,11 +206,9 @@ export default { }) }, getHistory () { - console.log('bxdh', this.bxdh) query('/wb/ribs/historyQuery', 'GET', { bxdh: this.bxdh }, {}) .then(res => { this.timeLineData = res.result.data - console.log('resbxdh', res.result.data) }) .catch(() => { this.$notification['info']({ diff --git a/src/views/app/expense/fillin_main.vue b/src/views/app/expense/fillin_main.vue index ac50778..1b94e8a 100644 --- a/src/views/app/expense/fillin_main.vue +++ b/src/views/app/expense/fillin_main.vue @@ -243,7 +243,6 @@ export default { this.url = '/wb/ribs/cyfInfo' } /* else if (this.currentType === 'evectionquery' || this.currentType === 'mealquery' || this.currentType === 'trafficquery') { this.url = '/wb/ribs/queryDetail' - console.log('routequery', this.$route.query) param = { 'bxdh': bxdh, 'bxlx': bxlx } } */ if (this.bxdh !== null && this.bxdh !== undefined) { diff --git a/src/views/app/expense/history_main.vue b/src/views/app/expense/history_main.vue index 5ca643f..b2fe81e 100644 --- a/src/views/app/expense/history_main.vue +++ b/src/views/app/expense/history_main.vue @@ -229,7 +229,6 @@ export default { * 获取列表 */ init (reset = true) { - console.log('*********in') const windowHeight = window.innerHeight this.cardHeight = { height: windowHeight - 240 + 'px' } this.mode = this.$route.query.mode diff --git a/src/views/app/expense/menu.vue b/src/views/app/expense/menu.vue index 8e4134b..15a33ad 100644 --- a/src/views/app/expense/menu.vue +++ b/src/views/app/expense/menu.vue @@ -57,7 +57,6 @@ export default { /* findRole () { query('/wb/ribs/findRole', 'GET', {}, {}).then(res => { this.roleIds = res.result.data - console.log('resbxdh', res.result.data) }).catch(() => { this.$notification['info']({ message: '获取人员信息失败', diff --git a/src/views/exception/707.vue b/src/views/exception/707.vue index 4f3b512..bf33b20 100644 --- a/src/views/exception/707.vue +++ b/src/views/exception/707.vue @@ -15,7 +15,6 @@ export default { }, methods: { handleDownLoadClient () { - console.log('下载客户端') } } } diff --git a/src/views/generate/codefile.vue b/src/views/generate/codefile.vue index a6f2f9b..a099c1d 100644 --- a/src/views/generate/codefile.vue +++ b/src/views/generate/codefile.vue @@ -101,7 +101,6 @@ export default { // const a = document.createElement('a') // a.href = 'http://127.0.0.1:8089/zzFileManage/downloadFileOwn?fileId=TqTn6LdF' // a.click() - console.log(selectInfo.path) fileDownload('', '') } } diff --git a/src/views/list/PermissionList.vue b/src/views/list/PermissionList.vue index cb4868e..43e377c 100644 --- a/src/views/list/PermissionList.vue +++ b/src/views/list/PermissionList.vue @@ -240,7 +240,6 @@ export default { }, handleEdit (record) { this.mdl = Object.assign({}, record) - console.log(this.mdl) this.visible = true }, handleOk () { diff --git a/src/views/list/RoleList.vue b/src/views/list/RoleList.vue index c39fd3d..c627449 100644 --- a/src/views/list/RoleList.vue +++ b/src/views/list/RoleList.vue @@ -149,7 +149,6 @@ export default { }) }) - console.log(this.mdl) this.visible = true }, handleOk () { diff --git a/src/views/list/TableInnerEditList.vue b/src/views/list/TableInnerEditList.vue index 55a379a..4e0171d 100644 --- a/src/views/list/TableInnerEditList.vue +++ b/src/views/list/TableInnerEditList.vue @@ -187,7 +187,6 @@ export default { methods: { handleChange (value, key, column, record) { - console.log(value, key, column) record[column.dataIndex] = value }, edit (row) { @@ -203,14 +202,12 @@ export default { okType: 'danger', cancelText: '取消', onOk () { - console.log('OK') // 在这里调用删除接口 return new Promise((resolve, reject) => { setTimeout(Math.random() > 0.5 ? resolve : reject, 1000) - }).catch(() => console.log('Oops errors!')) + }).catch(() => ) }, onCancel () { - console.log('Cancel') } }) }, diff --git a/src/views/list/TreeList.vue b/src/views/list/TreeList.vue index 5279380..7aee622 100644 --- a/src/views/list/TreeList.vue +++ b/src/views/list/TreeList.vue @@ -121,22 +121,18 @@ export default { }, methods: { handleClick (e) { - console.log('handleClick', e) this.queryParam = { key: e.key } this.$refs.table.refresh(true) }, handleAdd (item) { - console.log('add button, item', item) this.$message.info(`提示:你点了 ${item.key} - ${item.title} `) this.$refs.modal.add(item.key) }, handleTitleClick (item) { - console.log('handleTitleClick', item) }, titleClick (e) { - console.log('titleClick', e) }, handleSaveOk () { diff --git a/src/views/list/UserList.vue b/src/views/list/UserList.vue index 87fb801..24f1dcd 100644 --- a/src/views/list/UserList.vue +++ b/src/views/list/UserList.vue @@ -216,11 +216,9 @@ export default { }, created () { getServiceList().then(res => { - console.log('getServiceList.call()', res) }) getRoleList().then(res => { - console.log('getRoleList.call()', res) }) }, methods: { diff --git a/src/views/list/modules/OrgModal.vue b/src/views/list/modules/OrgModal.vue index d83955c..92accce 100644 --- a/src/views/list/modules/OrgModal.vue +++ b/src/views/list/modules/OrgModal.vue @@ -46,7 +46,6 @@ export default { }, beforeCreate () { this.form = this.$form.createForm(this) - console.log('form::', this.form) }, created () { @@ -72,8 +71,6 @@ export default { this.form.validateFields((err, values) => { // 验证表单没错误 if (!err) { - console.log('form values', values) - _this.confirmLoading = true // 模拟后端请求 2000 毫秒延迟 new Promise((resolve) => { diff --git a/src/views/list/modules/RoleModal.vue b/src/views/list/modules/RoleModal.vue index 9cd1d4e..04346b6 100644 --- a/src/views/list/modules/RoleModal.vue +++ b/src/views/list/modules/RoleModal.vue @@ -129,7 +129,6 @@ export default { this.$nextTick(() => { this.form.setFieldsValue(pick(this.mdl, 'id', 'name', 'status', 'describe')) }) - console.log('this.mdl', this.mdl) }, close () { this.$emit('close') @@ -141,8 +140,6 @@ export default { this.form.validateFields((err, values) => { // 验证表单没错误 if (!err) { - console.log('form values', values) - _this.confirmLoading = true // 模拟后端请求 2000 毫秒延迟 new Promise((resolve) => { diff --git a/src/views/list/table/Edit.vue b/src/views/list/table/Edit.vue index 74b1695..cc3b299 100644 --- a/src/views/list/table/Edit.vue +++ b/src/views/list/table/Edit.vue @@ -135,7 +135,6 @@ export default { validateFields((err, values) => { if (!err) { // eslint-disable-next-line no-console - console.log('Received values of form: ', values) } }) }, @@ -145,13 +144,11 @@ export default { loadEditInfo (data) { const { form } = this // ajax - console.log(`将加载 ${this.id} 信息到表单`) new Promise((resolve) => { setTimeout(resolve, 1500) }).then(() => { const formData = pick(data, ['no', 'callNo', 'status', 'description', 'updatedAt']) formData.updatedAt = moment(data.updatedAt) - console.log('formData', formData) form.setFieldsValue(formData) }) } diff --git a/src/views/list/table/List.vue b/src/views/list/table/List.vue index 46e9b45..f27d75b 100644 --- a/src/views/list/table/List.vue +++ b/src/views/list/table/List.vue @@ -171,7 +171,6 @@ export default { ], // 加载数据方法 必须为 Promise 对象 loadData: parameter => { - console.log('loadData.parameter', parameter) return getServiceList(Object.assign(parameter, this.queryParam)) .then(res => { return res.result diff --git a/src/views/par/basicData/ParBasicData.vue b/src/views/par/basicData/ParBasicData.vue index b8939ff..25d337a 100644 --- a/src/views/par/basicData/ParBasicData.vue +++ b/src/views/par/basicData/ParBasicData.vue @@ -238,7 +238,6 @@ export default { * 搜索基础数据 */ onChange (e) { - console.log('e==', e) const value = e.target.value const expandedKeys = this.dataList.map((item) => { if (item.key.indexOf(value) > -1) { @@ -299,11 +298,9 @@ export default { this.itemShowFlag = this.currentitem.level === 4 this.dwlxShowFlag = this.currentitem.level === 2 if (this.currentitem.level === 4) { - console.log('in4') this.kpdShowFlag = true this.kpbzLabel = '考评标准' } else if (this.currentitem.level === 3) { - console.log('in3') if (parentNode.dwlx === '2') { this.kpdShowFlag = true this.kpbzLabel = '考评点' @@ -312,7 +309,6 @@ export default { this.kpbzLabel = '考评标准' } } else { - console.log('in2') this.kpdShowFlag = false this.kpbzLabel = '考评标准' } @@ -326,10 +322,8 @@ export default { const node = tree[i] if (node.children) { if (node.children.some(item => item.key === key)) { - console.log('node=', node) parentKey = node } else if (this.getParentNode(key, node.children)) { - console.log('else=', key) parentKey = this.getParentNode(key, node.children) } } @@ -341,7 +335,7 @@ export default { for (let i = 0; i < tree.length; i++) { const node = tree[i] if (node.children) { - if (node.children.some(item => { console.log(item); if (item.key === key) { cuurrentNode = item; return true } else { return false } })) { + if (node.children.some(item => { if (item.key === key) { cuurrentNode = item; return true } else { return false } })) { } else if (this.getNode(key, node.children)) { cuurrentNode = this.getNode(key, node.children) } diff --git a/src/views/par/examPlan/ParExamCate.vue b/src/views/par/examPlan/ParExamCate.vue index 5e511b6..071f6ff 100644 --- a/src/views/par/examPlan/ParExamCate.vue +++ b/src/views/par/examPlan/ParExamCate.vue @@ -17,8 +17,8 @@ :dataSource="cateList" :loading="loading" :rowKey="row => row.id" - :pagination=false - > + :pagination="false" + > 制定考评项 @@ -152,7 +152,6 @@ export default { this.close() }, afterClose (selectInfo) { - console.log(JSON.stringify(selectInfo)) this.loadData(this.queryParam) } } diff --git a/src/views/par/examPlan/ParExamPlan.vue b/src/views/par/examPlan/ParExamPlan.vue index 676a051..c29aca4 100644 --- a/src/views/par/examPlan/ParExamPlan.vue +++ b/src/views/par/examPlan/ParExamPlan.vue @@ -32,11 +32,11 @@ @@ -45,7 +45,7 @@ 查询 重置 - 新增 + 新增 @@ -171,8 +171,6 @@ export default { * 这里用中间值tempSelected绑定多选框,是为了解决无法多选框无法点击的问题 */ onChange (value, dateString) { - console.log('Selected Time: ', value) - console.log('Formatted Selected Time: ', dateString) }, /** * 权限分配弹出框 diff --git a/src/views/par/examPlan/ParExamPlanPersonnel.vue b/src/views/par/examPlan/ParExamPlanPersonnel.vue index 059df8f..e56ecf2 100644 --- a/src/views/par/examPlan/ParExamPlanPersonnel.vue +++ b/src/views/par/examPlan/ParExamPlanPersonnel.vue @@ -18,22 +18,22 @@ @@ -42,7 +42,7 @@ 查询 重置 - 新增 + 新增 @@ -161,8 +161,6 @@ export default { * 这里用中间值tempSelected绑定多选框,是为了解决无法多选框无法点击的问题 */ onChange (value, dateString) { - console.log('Selected Time: ', value) - console.log('Formatted Selected Time: ', dateString) }, /** * 权限分配弹出框 diff --git a/src/views/par/parworkinfo/ParWorkInfoDept.vue b/src/views/par/parworkinfo/ParWorkInfoDept.vue index 6174889..2e13b11 100644 --- a/src/views/par/parworkinfo/ParWorkInfoDept.vue +++ b/src/views/par/parworkinfo/ParWorkInfoDept.vue @@ -367,7 +367,6 @@ export default { 'GET', parameter ).then(res => { - console.log('列表结果', res.result) return res.result }) }, @@ -490,27 +489,21 @@ export default { const vm = this // 获取树形组织信息 getOrgTree({ parentTreeId: 'root' }).then(res => { - console.log('1111111111122222222222222') - console.log('组织机构查询', res) vm.orgTree = vm.genernateTree(res.result.data) }) // 获取当前登陆人部门 query('/par/parworkinfo' + '/getOrgInfoByStaffId', 'GET', { id: vm.userInfo.id }).then(resDept => { - console.log('人员部门查询', resDept) const deptId = resDept.result.id vm.userInfo.deptCode = deptId // 获取当前部门下人员 query('/par/parworkinfo' + '/getStaffInfoByOrgId', 'GET', { id: deptId }).then(res => { - console.log('人员查询', res) vm.staffList = res.result - console.log('人员选择集合', vm.staffList) }) }) - console.log('当前登录用户', this.userInfo) }, methods: { // 周期回显 @@ -533,7 +526,6 @@ export default { const vm = this this.confirmLoading = true this.fileList = [...this.fileList, file] - console.log('文件', this.fileList) const formData = new FormData() this.fileList.forEach(file => { formData.append('file', file) @@ -555,7 +547,6 @@ export default { }, // 详情 detail (record) { - console.log('详情', record) this.$refs.parWorkInfoDetailRef.open(record) }, // 下载 @@ -645,13 +636,11 @@ export default { }, // 打卡 sign (record) { - console.log('打卡', record) this.$refs.signModalRef.open(record) }, // 派发 hangOut (record) { const vm = this - console.log('派发', record) this.$confirm({ title: '提示', content: `确认要派发该条记录吗?`, @@ -682,12 +671,10 @@ export default { }, // 开始时间变化 startChange (date, str) { - console.log('开始时间', date, str) this.selectInfo.kssjstr = str }, // 截止时间变化 endChange (date, str) { - console.log('截止时间', date, str) this.selectInfo.jzsjstr = str }, /** @@ -703,7 +690,6 @@ export default { return value }, zqxChange (e) { - console.log('是否周期性变化', e) const val = e.target.value if (val === '1') { this.zqShow = true @@ -713,7 +699,6 @@ export default { } }, onZqChange (value, e) { - console.log('是否自定义周期', value) if (value === '6') { this.zdyzqShow = true } else { @@ -733,7 +718,6 @@ export default { this.zqShow = false this.zdyzqShow = false this.qdShow = false - console.log('点击操作', action, selectInfo) this.operate = action // 记录当前操作 this.selectInfo = Object.assign({}, selectInfo) // 记录当前操作的数据 if (action === 'add') { @@ -749,7 +733,6 @@ export default { if (this.selectInfo.wcsj) { this.selectInfo.wcsj = moment(this.selectInfo.wcsj, dateFormat) } - console.log('日期处理', this.selectInfo) if (action === 'edit') { const sfszqxgz = this.selectInfo.sfszqxgz ? this.selectInfo.sfszqxgz diff --git a/src/views/par/parworkinfo/ParWorkInfoDetail.vue b/src/views/par/parworkinfo/ParWorkInfoDetail.vue index 90c8a03..ab07c4d 100644 --- a/src/views/par/parworkinfo/ParWorkInfoDetail.vue +++ b/src/views/par/parworkinfo/ParWorkInfoDetail.vue @@ -171,7 +171,6 @@ export default { methods: { open (record) { const vm = this - console.log('详细', record) this.selectInfo = record const sfszqxgz = record.sfszqxgz ? record.sfszqxgz : '2' record.sfszqxgz = sfszqxgz @@ -204,11 +203,9 @@ export default { // }; // // 调用请求 // method(actionParam).then(res => { - // console.log("打卡记录集合", res); // }); // 获取所有人员 query('/par/parworkinfo/listClock', 'GET', record).then(res => { - console.log('打卡记录集合', res) vm.workClockList = res.result.data vm.tableLoading = false }) diff --git a/src/views/par/parworkinfo/ParWorkInfoUnit.vue b/src/views/par/parworkinfo/ParWorkInfoUnit.vue index f116d48..3740af3 100644 --- a/src/views/par/parworkinfo/ParWorkInfoUnit.vue +++ b/src/views/par/parworkinfo/ParWorkInfoUnit.vue @@ -351,7 +351,6 @@ export default { loadData: parameter => { return query('/par/parworkinfo' + '/queryPage', 'GET', parameter).then( res => { - console.log('列表结果', res.result) return res.result } ) @@ -477,23 +476,18 @@ export default { const vm = this // 获取树形组织信息 getOrgTree({ parentTreeId: 'root' }).then(res => { - console.log('1111111111122222222222222') - console.log('组织机构查询', res) vm.orgTree = vm.genernateTree(res.result.data) }) // 获取所有人员 query('/admin/pmUser' + '/findStaffAll', 'GET').then(res => { - console.log('人员查询', res) vm.staffList = res.result }) - console.log('当前登录用户', this.userInfo) }, methods: { beforeUpload (file) { const vm = this this.confirmLoading = true this.fileList = [...this.fileList, file] - console.log('文件', this.fileList) const formData = new FormData() this.fileList.forEach(file => { formData.append('file', file) @@ -515,7 +509,6 @@ export default { }, // 详情 detail (record) { - console.log('详情', record) this.$refs.parWorkInfoDetailRef.open(record) }, // 下载 @@ -612,7 +605,6 @@ export default { } }, qdlxChange (val, e) { - console.log('清单类型', val) this.selectInfo.qdlx = val }, // 工作类别改变 @@ -625,13 +617,11 @@ export default { }, // 打卡 sign (record) { - console.log('打卡', record, this.currentRole) this.$refs.signModalRef.open(record, this.currentRole) }, // 派发 hangOut (record) { const vm = this - console.log('派发', record) this.$confirm({ title: '提示', content: `确认要派发该条记录吗?`, @@ -662,12 +652,10 @@ export default { }, // 开始时间变化 startChange (date, str) { - console.log('开始时间', date, str) this.selectInfo.kssjstr = str }, // 截止时间变化 endChange (date, str) { - console.log('截止时间', date, str) this.selectInfo.jzsjstr = str }, /** @@ -683,7 +671,6 @@ export default { return value }, zqxChange (e) { - console.log('是否周期性变化', e) const val = e.target.value if (val === '1') { this.zqShow = true @@ -693,7 +680,6 @@ export default { } }, onZqChange (value, e) { - console.log('是否自定义周期', value) if (value === '6') { this.zdyzqShow = true } else { @@ -713,7 +699,6 @@ export default { this.zqShow = false this.zdyzqShow = false this.qdShow = false - console.log('点击操作', action, selectInfo) this.operate = action // 记录当前操作 this.selectInfo = Object.assign({}, selectInfo) // 记录当前操作的数据 if (action === 'add') { @@ -729,7 +714,6 @@ export default { if (this.selectInfo.wcsj) { this.selectInfo.wcsj = moment(this.selectInfo.wcsj, dateFormat) } - console.log('日期处理', this.selectInfo) if (action === 'edit') { const sfszqxgz = this.selectInfo.sfszqxgz ? this.selectInfo.sfszqxgz diff --git a/src/views/par/parworkinfo/ParWorkInfoUser.vue b/src/views/par/parworkinfo/ParWorkInfoUser.vue index a14ab33..a19c3e6 100644 --- a/src/views/par/parworkinfo/ParWorkInfoUser.vue +++ b/src/views/par/parworkinfo/ParWorkInfoUser.vue @@ -312,7 +312,6 @@ export default { 'GET', parameter ).then(res => { - console.log('列表结果', res.result) return res.result }) }, @@ -434,16 +433,12 @@ export default { const vm = this // 获取树形组织信息 getOrgTree({ parentTreeId: 'root' }).then(res => { - console.log('1111111111122222222222222') - console.log('组织机构查询', res) vm.orgTree = vm.genernateTree(res.result.data) }) // 获取所有人员 query('/admin/pmUser' + '/query', 'GET').then(res => { - console.log('人员查询', res) vm.staffList = res.result.data }) - console.log('当前登录用户', this.userInfo) }, methods: { // 周期回显 @@ -516,26 +511,21 @@ export default { }, // 打卡 sign (record) { - console.log('打卡', record) this.$refs.signModalRef.open(record) }, // 详情 detail (record) { - console.log('详情', record) this.$refs.parWorkInfoDetailRef.open(record) }, // 派发 hangOut (record) { - console.log('派发', record) }, // 开始时间变化 startChange (date, str) { - console.log('开始时间', date, str) this.selectInfo.kssjstr = str }, // 截止时间变化 endChange (date, str) { - console.log('截止时间', date, str) this.selectInfo.jzsjstr = str }, /** @@ -551,7 +541,6 @@ export default { return value }, zqxChange (e) { - console.log('是否周期性变化', e) const val = e.target.value if (val === '1') { this.zqShow = true @@ -561,7 +550,6 @@ export default { } }, onZqChange (value, e) { - console.log('是否自定义周期', value) if (value === '6') { this.zdyzqShow = true } else { @@ -581,7 +569,6 @@ export default { this.zqShow = false this.zdyzqShow = false this.qdShow = false - console.log('点击操作', action, selectInfo) this.operate = action // 记录当前操作 this.selectInfo = Object.assign({}, selectInfo) // 记录当前操作的数据 if (action === 'add') { @@ -597,7 +584,6 @@ export default { if (this.selectInfo.wcsj) { this.selectInfo.wcsj = moment(this.selectInfo.wcsj, dateFormat) } - console.log('日期处理', selectInfo) if (action === 'edit') { const sfszqxgz = this.selectInfo.sfszqxgz ? this.selectInfo.sfszqxgz diff --git a/src/views/par/parworkinfo/ParWorkTrackingDept.vue b/src/views/par/parworkinfo/ParWorkTrackingDept.vue index d987053..7cf6cc8 100644 --- a/src/views/par/parworkinfo/ParWorkTrackingDept.vue +++ b/src/views/par/parworkinfo/ParWorkTrackingDept.vue @@ -375,7 +375,6 @@ export default { 'GET', parameter ).then(res => { - console.log('列表结果', res.result) return res.result }) }, @@ -498,27 +497,21 @@ export default { const vm = this // 获取树形组织信息 getOrgTree({ parentTreeId: 'root' }).then(res => { - console.log('1111111111122222222222222') - console.log('组织机构查询', res) vm.orgTree = vm.genernateTree(res.result.data) }) // 获取当前登陆人部门 query('/par/parworkinfo' + '/getOrgInfoByStaffId', 'GET', { id: vm.userInfo.id }).then(resDept => { - console.log('人员部门查询', resDept) const deptId = resDept.result.id vm.userInfo.deptCode = deptId // 获取当前部门下人员 query('/par/parworkinfo' + '/getStaffInfoByOrgId', 'GET', { id: deptId }).then(res => { - console.log('人员查询', res) vm.staffList = res.result - console.log('人员选择集合', vm.staffList) }) }) - console.log('当前登录用户', this.userInfo) }, methods: { // 周期回显 @@ -541,7 +534,6 @@ export default { const vm = this this.confirmLoading = true this.fileList = [...this.fileList, file] - console.log('文件', this.fileList) const formData = new FormData() this.fileList.forEach(file => { formData.append('file', file) @@ -563,7 +555,6 @@ export default { }, // 详情 detail (record) { - console.log('详情', record) this.$refs.parWorkInfoDetailRef.open(record) }, // 下载 @@ -662,7 +653,6 @@ export default { // 派发 hangOut (record) { const vm = this - console.log('派发', record) this.$confirm({ title: '提示', content: `确认要派发该条记录吗?`, @@ -693,12 +683,10 @@ export default { }, // 开始时间变化 startChange (date, str) { - console.log('开始时间', date, str) this.selectInfo.kssjstr = str }, // 截止时间变化 endChange (date, str) { - console.log('截止时间', date, str) this.selectInfo.jzsjstr = str }, /** @@ -714,7 +702,6 @@ export default { return value }, zqxChange (e) { - console.log('是否周期性变化', e) const val = e.target.value if (val === '1') { this.zqShow = true @@ -724,7 +711,6 @@ export default { } }, onZqChange (value, e) { - console.log('是否自定义周期', value) if (value === '6') { this.zdyzqShow = true } else { @@ -744,7 +730,6 @@ export default { this.zqShow = false this.zdyzqShow = false this.qdShow = false - console.log('点击操作', action, selectInfo) this.operate = action // 记录当前操作 this.selectInfo = Object.assign({}, selectInfo) // 记录当前操作的数据 if (action === 'add') { @@ -760,7 +745,6 @@ export default { if (this.selectInfo.wcsj) { this.selectInfo.wcsj = moment(this.selectInfo.wcsj, dateFormat) } - console.log('日期处理', this.selectInfo) if (action === 'edit') { const sfszqxgz = this.selectInfo.sfszqxgz ? this.selectInfo.sfszqxgz diff --git a/src/views/par/parworkinfo/SignModal.vue b/src/views/par/parworkinfo/SignModal.vue index 7de81da..97c5d8e 100644 --- a/src/views/par/parworkinfo/SignModal.vue +++ b/src/views/par/parworkinfo/SignModal.vue @@ -71,7 +71,6 @@ export default { .locale('zh-cn') .format('YYYY-MM-DD HH:mm:ss') this.selectInfo.workInfoId = record.id - console.log('当前时间', this.selectInfo.dksj) }, // 确认 handleOk () { diff --git a/src/views/par/personBasicData/ParPersonBasicData.vue b/src/views/par/personBasicData/ParPersonBasicData.vue index d0adccd..4d8c120 100644 --- a/src/views/par/personBasicData/ParPersonBasicData.vue +++ b/src/views/par/personBasicData/ParPersonBasicData.vue @@ -213,7 +213,6 @@ export default { * 搜索基础数据 */ onChange (e) { - console.log('e==', e) const value = e.target.value const expandedKeys = this.dataList.map((item) => { if (item.key.indexOf(value) > -1) { @@ -280,10 +279,8 @@ export default { const node = tree[i] if (node.children) { if (node.children.some(item => item.key === key)) { - console.log('node=', node) parentKey = node } else if (this.getParentNode(key, node.children)) { - console.log('else=', key) parentKey = this.getParentNode(key, node.children) } } @@ -295,7 +292,7 @@ export default { for (let i = 0; i < tree.length; i++) { const node = tree[i] if (node.children) { - if (node.children.some(item => { console.log(item); if (item.key === key) { cuurrentNode = item; return true } else { return false } })) { + if (node.children.some(item => { if (item.key === key) { cuurrentNode = item; return true } else { return false } })) { } else if (this.getNode(key, node.children)) { cuurrentNode = this.getNode(key, node.children) } diff --git a/src/views/par/personScoreManage/ParPersonScoreManage.vue b/src/views/par/personScoreManage/ParPersonScoreManage.vue index c1d7d5b..488dc59 100644 --- a/src/views/par/personScoreManage/ParPersonScoreManage.vue +++ b/src/views/par/personScoreManage/ParPersonScoreManage.vue @@ -174,7 +174,6 @@ export default { * 搜索 */ search () { - console.log('this.queryParam==', this.queryParam) if (this.queryParam.kpkssjArr) { this.queryParam.kssjStart = this.queryParam.kpkssjArr[0] this.queryParam.kssjEnd = this.queryParam.kpkssjArr[1] diff --git a/src/views/par/personScoreManage/PersonScoreManageAdd.vue b/src/views/par/personScoreManage/PersonScoreManageAdd.vue index f0d0b8e..74aad92 100644 --- a/src/views/par/personScoreManage/PersonScoreManageAdd.vue +++ b/src/views/par/personScoreManage/PersonScoreManageAdd.vue @@ -68,7 +68,6 @@ export default { }, beforeCreate () { this.form = this.$form.createForm(this) - console.log('form::', this.form) }, created () { @@ -91,7 +90,6 @@ export default { this.form.validateFields((err, values) => { if (!err) { const param = [] - console.log('values===', values) for (let i = 0; i < values.kpr.length; i++) { const entity = {} Object.assign(entity, values) diff --git a/src/views/par/personScoreManage/PersonScoreManageDeduction.vue b/src/views/par/personScoreManage/PersonScoreManageDeduction.vue index 82904c9..b4966c7 100644 --- a/src/views/par/personScoreManage/PersonScoreManageDeduction.vue +++ b/src/views/par/personScoreManage/PersonScoreManageDeduction.vue @@ -83,7 +83,6 @@ export default { * 记差错 */ deduction (record) { - console.log('record', record) this.deductionLoadData = record.itemList this.visible = true }, @@ -105,17 +104,12 @@ export default { }, updateDqdf (val, id) { this.loading = true - console.log('updatedf===', val, id) this.deductionLoadData.some(item => { if (item.id === id) { - console.log('in1') if (val !== undefined && val.length > 0) { - console.log('in2') let num = Number(item.kpfs) val.map(it => { - console.log('Number(it.pf)', Number(it.pf)) num = num + Number(it.pf) - console.log('num==', num) }) item.dqdf = num } else { @@ -124,7 +118,6 @@ export default { } }) this.loading = false - console.log(this.deductionLoadData) } } diff --git a/src/views/par/personScoreManage/PersonScoreManageGrade.vue b/src/views/par/personScoreManage/PersonScoreManageGrade.vue index ee17926..6a40bb1 100644 --- a/src/views/par/personScoreManage/PersonScoreManageGrade.vue +++ b/src/views/par/personScoreManage/PersonScoreManageGrade.vue @@ -109,7 +109,6 @@ export default { }, watch: { form (ndata, odata) { - console.log('ndata', ndata) } }, methods: { @@ -193,7 +192,6 @@ export default { this.$set(data, 'kpxmbid', this.kpxmbid) this.pfData.push(data) // this.form = this.$form.createForm(this) - console.log('form==', this.form) this.orderNum++ }, deleteItem (val) { diff --git a/src/views/par/scoreManage/ParScoreManage.vue b/src/views/par/scoreManage/ParScoreManage.vue index c4944dd..12f68bb 100644 --- a/src/views/par/scoreManage/ParScoreManage.vue +++ b/src/views/par/scoreManage/ParScoreManage.vue @@ -167,7 +167,6 @@ export default { * 搜索 */ search () { - console.log('this.queryParam==', this.queryParam) if (this.queryParam.kpkssjArr) { this.queryParam.kssjStart = this.queryParam.kpkssjArr[0] this.queryParam.kssjEnd = this.queryParam.kpkssjArr[1] diff --git a/src/views/par/scoreManage/ScoreManageAdd.vue b/src/views/par/scoreManage/ScoreManageAdd.vue index 6369d2c..cd8bb01 100644 --- a/src/views/par/scoreManage/ScoreManageAdd.vue +++ b/src/views/par/scoreManage/ScoreManageAdd.vue @@ -74,7 +74,6 @@ export default { }, beforeCreate () { this.form = this.$form.createForm(this) - console.log('form::', this.form) }, created () { @@ -149,12 +148,9 @@ export default { this.close() }, selectTree (value, label, extra) { - console.log(value) - if (value.length === 1) { const basicTree = [{ children: this.orgTree }] const node = this.getNode(value[0].value, basicTree) - console.log(node) this.dwlx = node.dwlx this.handleTree(this.orgTree) this.initPlan(node.dwlx) diff --git a/src/views/par/scoreManage/ScoreManageDeduction.vue b/src/views/par/scoreManage/ScoreManageDeduction.vue index 7cbc836..2674da7 100644 --- a/src/views/par/scoreManage/ScoreManageDeduction.vue +++ b/src/views/par/scoreManage/ScoreManageDeduction.vue @@ -83,7 +83,6 @@ export default { * 记差错 */ deduction (record) { - console.log('record', record) this.deductionLoadData = record.itemList this.visible = true }, @@ -105,17 +104,12 @@ export default { }, updateDqdf (val, id) { this.loading = true - console.log('updatedf===', val, id) this.deductionLoadData.some(item => { if (item.id === id) { - console.log('in1') if (val !== undefined && val.length > 0) { - console.log('in2') let num = Number(item.kpfs) val.map(it => { - console.log('Number(it.pf)', Number(it.pf)) num = num + Number(it.pf) - console.log('num==', num) }) item.dqdf = num } else { @@ -124,7 +118,6 @@ export default { } }) this.loading = false - console.log(this.deductionLoadData) } } diff --git a/src/views/par/scoreManage/ScoreManageGrade.vue b/src/views/par/scoreManage/ScoreManageGrade.vue index 6ce8a78..052e2d6 100644 --- a/src/views/par/scoreManage/ScoreManageGrade.vue +++ b/src/views/par/scoreManage/ScoreManageGrade.vue @@ -120,7 +120,6 @@ export default { }, watch: { form (ndata, odata) { - console.log('ndata', ndata) } }, methods: { @@ -128,7 +127,6 @@ export default { * 记成效 */ bonus (record) { - console.log(record) if (record.itemList.length === 0 || record.itemList[0].kpbz === undefined || record.itemList[0].kpbz === '') { this.$message.error('无考评标准,无法评分') } else { @@ -221,7 +219,6 @@ export default { this.$set(data, 'kpxmbid', this.kpxmbid) this.pfData.push(data) // this.form = this.$form.createForm(this) - console.log('form==', this.form) this.orderNum++ }, deleteItem (val) { diff --git a/src/views/role/RoleList.vue b/src/views/role/RoleList.vue index 978fa57..fc9da4c 100644 --- a/src/views/role/RoleList.vue +++ b/src/views/role/RoleList.vue @@ -89,13 +89,11 @@ export default { name: '新增角色', describe: '新增一个角色' }) - console.log('this.roles', this.roles) }) this.loadPermissions() }, methods: { callback (val) { - console.log(val) }, add () { @@ -112,20 +110,16 @@ export default { permissionsAction[permission.permissionId] = permission.actionEntitySet.map(entity => entity.action) }) - console.log('permissionsAction', permissionsAction) // 把权限表遍历一遍,设定要勾选的权限 action this.permissions.forEach(permission => { const selected = permissionsAction[permission.id] permission.selected = selected || [] }) - - console.log('this.permissions', this.permissions) } this.$nextTick(() => { this.form.setFieldsValue(pick(this.mdl, 'id', 'name', 'status', 'describe')) }) - console.log('this.mdl', this.mdl) }, onChangeCheck (permission) { @@ -133,8 +127,6 @@ export default { permission.checkedAll = permission.selected.length === permission.actionsOptions.length }, onChangeCheckAll (e, permission) { - console.log('permission:', permission) - Object.assign(permission, { selected: e.target.checked ? permission.actionsOptions.map(obj => obj.value) : [], indeterminate: false, diff --git a/src/views/statisticalreport/StatisticalReport.vue b/src/views/statisticalreport/StatisticalReport.vue index d1b21ad..f259bc7 100644 --- a/src/views/statisticalreport/StatisticalReport.vue +++ b/src/views/statisticalreport/StatisticalReport.vue @@ -120,7 +120,6 @@ export default { queryKPZQ () { const vm = this query('/par/statisticalreport/parExamPeriodInfo', 'GET').then(res => { - console.log('考评周期结果', res) vm.kpzqList = res.result this.confirmLoading = false }) @@ -155,11 +154,9 @@ export default { // }; // // 调用请求 // query(actionParam).then(res => { - // console.log("横向结果", res); // }); const vm = this query('/par/statisticalreport/horizontal', 'GET').then(res => { - console.log('横向结果', res) vm.hengList = res.result this.confirmLoading = false }) @@ -176,11 +173,9 @@ export default { // }; // // 调用请求 // query(actionParam).then(res => { - // console.log("纵向结果", res); // }); const vm = this query('/par/statisticalreport/vertical', 'GET').then(res => { - console.log('纵向结果', res) vm.zongList = res.result this.confirmLoading = false }) @@ -197,11 +192,9 @@ export default { // }; // // 调用请求 // query(actionParam).then(res => { - // console.log("内容结果", res); // }); const vm = this query('/par/statisticalreport/content', 'GET', vm.queryParam).then(res => { - console.log('内容结果', res) vm.contentList = res.result this.confirmLoading = false }) diff --git a/src/views/wb/ribs/ribs.vue b/src/views/wb/ribs/ribs.vue index 32cc946..60033f6 100644 --- a/src/views/wb/ribs/ribs.vue +++ b/src/views/wb/ribs/ribs.vue @@ -498,7 +498,6 @@ export default { }, methods: { formatterTime (val) { - console.log(moment(val).format('YYYY-MM-DD')) return val ? moment(val).format('YYYY-MM-DD') : '' }, // 获取报销类型 @@ -539,7 +538,6 @@ export default { queryDetail (selectInfo) { return query('/wb/ribs/queryDetail', 'GET', selectInfo, {}) .then(res => { - console.log('ressss', res.result.data) if (res.result.type === 'clf') { this.columnsDetail = this.columnsClf this.xScroll = '2500px' @@ -552,12 +550,10 @@ export default { } this.loadDataDetail = res.result.data }).catch(e => { - console.log('e', e) }) }, // 操作按钮 modelMethod (action, selectInfo) { - // console.log('asdasdasd', this.queryDetail(selectInfo)); this.queryDetail(selectInfo) this.operate = action // 记录当前操作 this.selectInfo = Object.assign({}, selectInfo) // 记录当前操作的数据 diff --git a/src/views/wb/ribs/ribsApprove.vue b/src/views/wb/ribs/ribsApprove.vue index e45dea2..a418d9a 100644 --- a/src/views/wb/ribs/ribsApprove.vue +++ b/src/views/wb/ribs/ribsApprove.vue @@ -543,7 +543,6 @@ export default { this.userInfo.roles.forEach(item => { this.roleIds.push(item.roleId) }) - console.log('roleIdssssss', this.roleIds) // 获取报销类型 this.getBxlx().then((res) => { this.bxlxInfo = res.data @@ -582,7 +581,7 @@ export default { this.selectedRowKeys = selectedRowKeys this.selectedRows = selectedRows this.checkPlus(selectedRows) - /* debugger + /* const selectParam = [] const selectKeysParam = [] const removeList = [] @@ -617,7 +616,6 @@ export default { } */ }, formatterTime (val) { - console.log(moment(val).format('YYYY-MM-DD')) return val ? moment(val).format('YYYY-MM-DD') : '' }, // 获取报销类型 @@ -658,7 +656,6 @@ export default { queryDetail (selectInfo) { return query('/wb/ribs/queryDetail', 'GET', selectInfo, {}) .then(res => { - console.log('ressss', res.result.data) if (res.result.type === 'clf') { this.columnsDetail = this.columnsClf this.xScroll = '2500px' @@ -671,7 +668,6 @@ export default { } this.loadDataDetail = res.result.data }).catch(e => { - console.log('e', e) }) }, // 操作按钮 -- Gitee