diff --git a/src/components/ChooseInitiate/index.vue b/src/components/ChooseInitiate/index.vue index b460e0b..23b28cd 100644 --- a/src/components/ChooseInitiate/index.vue +++ b/src/components/ChooseInitiate/index.vue @@ -135,7 +135,6 @@ export default { }, mounted () { this.handleGainAssessmentGroupList() - console.log('showChooseList: ', this.showChooseList) }, methods: { checkSelectable (row, index) { @@ -202,7 +201,6 @@ export default { watch: { 'showChooseList': function (newVal, oldVal) { if (newVal) { - console.log('newVal: ', newVal) this.$nextTick(res => { if (this.oldSelectedList.length > 0) { this.oldSelectedList.map(i => { diff --git a/src/components/PopupRight/index.vue b/src/components/PopupRight/index.vue index 7b5e0eb..c4c8c07 100644 --- a/src/components/PopupRight/index.vue +++ b/src/components/PopupRight/index.vue @@ -72,7 +72,6 @@ export default { methods: { aa () { }, onSubmit () { - console.log('submit!') this.isShow = false this.$emit('update:show', false) }, diff --git a/src/components/getDepart/index.vue b/src/components/getDepart/index.vue index 3c8f51a..294f285 100644 --- a/src/components/getDepart/index.vue +++ b/src/components/getDepart/index.vue @@ -193,7 +193,6 @@ export default { } }, handleGetNextChildren (list = this.data) { - console.log('list: ', list) }, handleCancel () { this.$emit('update:isShow', false) diff --git a/src/components/getPersonnel/index.vue b/src/components/getPersonnel/index.vue index dea58b6..8926260 100644 --- a/src/components/getPersonnel/index.vue +++ b/src/components/getPersonnel/index.vue @@ -231,10 +231,8 @@ export default { }, // 点击下级 handleNext (item) { - console.log('item: ', item) if (item.staffDtos) { this.staffDtos = item.staffDtos.map(i => { - console.log('i: ', i) i.departmentId = i.staffId + '-id' i.departmentName = i.name return i @@ -258,7 +256,6 @@ export default { }, // 关闭弹窗 close () { - // console.log('isShow: ', this.isShow) this.show = true this.$emit('update:isShow', false) // this.$forceUpdate() @@ -296,7 +293,6 @@ export default { return getList }, handleGetNextChildren (list = this.data) { - console.log('list: ', list) }, handleCancel () { this.$emit('update:isShow', false) diff --git a/src/components/kpi-layout/NavBar.vue b/src/components/kpi-layout/NavBar.vue index 7e71b13..457d952 100644 --- a/src/components/kpi-layout/NavBar.vue +++ b/src/components/kpi-layout/NavBar.vue @@ -57,7 +57,6 @@ export default { this.$router.push({name: item}) }, handleSelect (key, keyPath) { - console.log(key, keyPath) } }, watch: { diff --git a/src/components/popupPerson/index.vue b/src/components/popupPerson/index.vue index b8babe1..3d614ec 100644 --- a/src/components/popupPerson/index.vue +++ b/src/components/popupPerson/index.vue @@ -244,7 +244,6 @@ export default { staffIds: removeStaffIds.join(), startId: this.startId } - console.log('删除数据===', dicPara) apiAssessManagerChange(dicPara).then(res => { if (res.code !== 200) { return @@ -271,13 +270,11 @@ export default { this.rqAssessmentParameter.totalCount = res.data.totalCount this.rqAssessmentParameter.currPage = res.data.currPage this.popupData.tableList = res.data.list - console.log('获取数据成功') }) }, // 部门筛选 handleDeptSubmit (val) { this.deptFilterData.showDataList = val - console.log('部门筛选--====-==-== ', val) let deptNames = [] this.deptFilterData.showDataList.list.forEach(item => { deptNames.push(item.departmentName) @@ -297,7 +294,6 @@ export default { // 重新获取数据 this.rqAssessmentParameter.staffIds = this.deptFilterData.staffIds this.handleGainAssessmentGroupList() - console.log('部门筛选--====-==-== ', this.deptFilterData) }, handleGainDeptPerson (dicArr, list) { for (let index = 0; index < list.length; index++) { @@ -385,7 +381,6 @@ export default { this.popupData.selectedList = [] this.$nextTick(() => { if (this.$refs.popupMultipleTable) { - console.log('lllllllllllllllllllllllllllllllll') this.$refs.popupMultipleTable.clearSelection() } }) diff --git a/src/icons/index.js b/src/icons/index.js index 83cb13d..d9fe4d8 100644 --- a/src/icons/index.js +++ b/src/icons/index.js @@ -7,4 +7,3 @@ Vue.component('svg-icon', SvgIcon) const requireAll = requireContext => requireContext.keys().map(requireContext) const req = require.context('./svg', false, /\.svg$/) requireAll(req) -console.log('requireAll(req): ', requireAll(req)) diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 679370d..54f90d8 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -25,7 +25,6 @@ const user = { actions: { GET_USERINFO: async ({ commit }) => { let res = await apiUserInfo() - console.log('获取用户信息res: ', res) if (res.code === 200) { commit('SET_USER_INFO', res.user) } else { diff --git a/src/utils/common.js b/src/utils/common.js index 4d81d7a..5937513 100644 --- a/src/utils/common.js +++ b/src/utils/common.js @@ -66,7 +66,6 @@ export function departGetForm (arr = []) { const key = 'departmentId' const key1 = 'departmentName' arr = arr.sort((a, b) => a[key] - b[key]) - console.log('arr: ', arr) params.list = arr for (let i in arr) { if (i < 1) { diff --git a/src/views/kpi/assessment/goals/index.vue b/src/views/kpi/assessment/goals/index.vue index c8252af..3d49eae 100644 --- a/src/views/kpi/assessment/goals/index.vue +++ b/src/views/kpi/assessment/goals/index.vue @@ -212,7 +212,6 @@ export default { return Math.round((num * 100) * 1000) / 1000 }, handleGetWeight (arr) { - console.log('arr: ', arr) const weight = arr.detailDtos.filter(i => !i.isDelete).reduce((num, i) => { num += i.isDelete !== 1 ? i.checkWeight : 0 return num @@ -254,7 +253,6 @@ export default { if (v) { if (this.formIndicators.index === -1) { this.obj.recortModelDtos[this.formIndicators.dazhibiaoIndex].detailDtos.push(Object.assign({}, this.formIndicators, {checkWeight: this.formIndicators.checkWeight / 100})) - console.log('this.obj.recortModelDtos[this.formIndicators.dazhibiaoIndex].: ', this.obj.recortModelDtos[this.formIndicators.dazhibiaoIndex]) } else { this.obj.recortModelDtos[this.formIndicators.dazhibiaoIndex].detailDtos[this.formIndicators.index] = Object.assign({}, this.formIndicators, {checkWeight: this.formIndicators.checkWeight / 100}) } @@ -266,7 +264,6 @@ export default { hanidleEdit (item, index, type) { if (item.maxCount !== null) { const len = this.handleNumber(item) - console.log('len: ', len) if (item.maxCount <= len) { this.$message.info('指标数量不能大于' + item.maxCount) return @@ -302,7 +299,6 @@ export default { if (res.code !== 200) return this.obj = res.data this.activeId = String(res.data.recortModelDtos[0].id) - console.log('res: ', res) } }, watch: {} diff --git a/src/views/kpi/assessment/homeList/index.vue b/src/views/kpi/assessment/homeList/index.vue index 8617e64..b7614dc 100644 --- a/src/views/kpi/assessment/homeList/index.vue +++ b/src/views/kpi/assessment/homeList/index.vue @@ -146,7 +146,6 @@ export default { }, handleChange (value) { this.params.currPage = 1 - console.log(' this.form: ', this.form) this.handleGetData(Object.assign({}, this.form, this.params)) }, handlePush (id) { @@ -173,9 +172,6 @@ export default { this.show = true }, handleSelectClick (row, column, event) { - console.log('event: ', event) - console.log('column: ', column) - console.log('row: ', row) }, handleToHome (i) { this.$router.push({name: i}) diff --git a/src/views/kpi/assessment/performance/components/UseButton/index.vue b/src/views/kpi/assessment/performance/components/UseButton/index.vue index 6fc9707..5dc3fb8 100644 --- a/src/views/kpi/assessment/performance/components/UseButton/index.vue +++ b/src/views/kpi/assessment/performance/components/UseButton/index.vue @@ -197,7 +197,6 @@ export default { // 催办 handleCuiban () { if (!this.info) return - console.log('item: ', this.info) this.$confirm('确认对该节点处理人进行催办?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', @@ -229,7 +228,6 @@ export default { // 跳过 handleJump () { if (!this.info && !this.$attrs.flowRecordId) return - console.log('item: ', this.info) this.$confirm('确认跳过该人员?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', @@ -276,7 +274,6 @@ export default { this.$loadingStart() let res = await this.handlApiSaveapproval({status: 5, menuName: '驳回了'}) this.$loadingEnd() - console.log('!!res: ', !!res) this.bohui = !!res }, handleCancel () { diff --git a/src/views/kpi/assessment/performance/components/table copy 2.vue b/src/views/kpi/assessment/performance/components/table copy 2.vue index 6f3273c..d26a89b 100644 --- a/src/views/kpi/assessment/performance/components/table copy 2.vue +++ b/src/views/kpi/assessment/performance/components/table copy 2.vue @@ -159,7 +159,6 @@ export default { return k[l] }) result += eval(str) - console.log('k: ', k) }) }) const arr = this.scoreList.filter(i => i.minScore <= result && i.maxScore > result) @@ -168,8 +167,6 @@ export default { Level: arr.length > 0 ? arr[0].name : '' } }) - // console.log('this.obj.recortModelDtos: ', this.obj.recortModelDtos[0].detailDtos[0].scoreDtos) - // return 10 }, score () { const result = this.obj.recortModelDtos.reduce((result, i) => { diff --git a/src/views/kpi/assessment/performance/components/table copy.vue b/src/views/kpi/assessment/performance/components/table copy.vue index 28c1ad4..1471064 100644 --- a/src/views/kpi/assessment/performance/components/table copy.vue +++ b/src/views/kpi/assessment/performance/components/table copy.vue @@ -162,7 +162,6 @@ export default { i = i.replace(/{|}/g, '') return k[i] }) - console.log('str: ', str) let a = eval(str) result += a }) diff --git a/src/views/kpi/assessment/performance/components/table.vue b/src/views/kpi/assessment/performance/components/table.vue index 28c1ad4..1471064 100644 --- a/src/views/kpi/assessment/performance/components/table.vue +++ b/src/views/kpi/assessment/performance/components/table.vue @@ -162,7 +162,6 @@ export default { i = i.replace(/{|}/g, '') return k[i] }) - console.log('str: ', str) let a = eval(str) result += a }) diff --git a/src/views/kpi/assessment/performance/index.vue b/src/views/kpi/assessment/performance/index.vue index 895ce20..23a5e50 100644 --- a/src/views/kpi/assessment/performance/index.vue +++ b/src/views/kpi/assessment/performance/index.vue @@ -246,7 +246,6 @@ export default { pageSize: 999 }) res = res.data - console.log('res: ', res) this.key += 10 this.timeOptions[j].children = res.list.map(i => { if (i.startId === this.startIds) { diff --git a/src/views/kpi/assessment/stepList/index.vue b/src/views/kpi/assessment/stepList/index.vue index f5e4eea..c7d1a9f 100644 --- a/src/views/kpi/assessment/stepList/index.vue +++ b/src/views/kpi/assessment/stepList/index.vue @@ -322,7 +322,6 @@ export default { name: 'assessment-performance', query: { id } }) - console.log('id: ', id) }, handleChangeInput () { this.params.currPage = 1 @@ -340,7 +339,6 @@ export default { this.tableData = res.data.list this.params.totalCount = res.data.totalCount this.params.currPage = res.data.currPage - console.log('this.params: ', this.params) }, // 为了不分页直接传999 async handleStartsReq (type, handleNode) { @@ -358,7 +356,6 @@ export default { pageSize: 999 }) res = res.data - console.log('res: ', res) this.key += 10 this.timeOptions[j].children = res.list.map(i => { if (i.startId === this.params.startId) { @@ -383,8 +380,6 @@ export default { this.params.currPage = 1 this.params.startId = item[1] await this.handleGetChartList() - console.log('this.params: ', this.params) - console.log('item: ', item) }, handleSubmit () { this.kaopingFrom.showRight = false @@ -397,7 +392,6 @@ export default { this.form.isShowPersonnel = true }, handleGetList () { - console.log('1', this.form.personnelList) }, async handleActive (i) { if (i.active) return diff --git a/src/views/kpi/home/index.vue b/src/views/kpi/home/index.vue index f0ed25d..40a9937 100644 --- a/src/views/kpi/home/index.vue +++ b/src/views/kpi/home/index.vue @@ -15,7 +15,6 @@ export default { computed: {}, beforeMount () {}, mounted () { - console.log('this.$route', this.$route) }, methods: {}, watch: {} diff --git a/src/views/kpi/home1/index.vue b/src/views/kpi/home1/index.vue index cc32ab0..79ad506 100644 --- a/src/views/kpi/home1/index.vue +++ b/src/views/kpi/home1/index.vue @@ -12,15 +12,9 @@ export default { } }, - // beforeRouteLeave (to, from, next) { - // console.log('123') - // next(false) - // // ... - // }, computed: {}, beforeMount () {}, mounted () { - console.log('this.$route', this.$route) }, methods: { open () { diff --git a/src/views/kpi/okr/index.vue b/src/views/kpi/okr/index.vue index 80c9c93..f1a25bc 100644 --- a/src/views/kpi/okr/index.vue +++ b/src/views/kpi/okr/index.vue @@ -31,12 +31,9 @@ export default { mounted () {}, methods: { bbb (item) { - console.log(145623) return this.arr1.some(i => i === item.id) }, aaa () { - // this.arr1 = [] - console.log('this.array: ', this.array) } }, watch: {} diff --git a/src/views/kpi/report/detail/index.vue b/src/views/kpi/report/detail/index.vue index a824aee..84e8b69 100644 --- a/src/views/kpi/report/detail/index.vue +++ b/src/views/kpi/report/detail/index.vue @@ -102,11 +102,8 @@ export default { }, watch: { showDialogDepart (newV, oldV) { - console.log(this.showData) if (!newV && oldV) { - console.log(this.showData.list[0]) this.selectDepName = this.showData.list[0].departmentName - console.log(this.selectDepName) this.selectDepId = this.showData.list[0].departmentId this.handleDetailReq(this.selectDepId) } diff --git a/src/views/kpi/report/home/index.vue b/src/views/kpi/report/home/index.vue index b3e057b..4906971 100644 --- a/src/views/kpi/report/home/index.vue +++ b/src/views/kpi/report/home/index.vue @@ -263,7 +263,6 @@ export default { }, // handleChange (val) { - console.log(val) this.startId = val this.handleChartDataReq(val[1]) }, @@ -272,7 +271,6 @@ export default { let params = { startId: startId } - console.log('params: ', params) try { this.$loadingStart() const result = await getChartData(params) @@ -312,17 +310,14 @@ export default { let res = await getStartsData(Object.assign({}, params, { cycleType: this.timeOptions[i].startId })) if (res.code !== 200) return this.$message.error(res.msg) res = res.data - console.log('res: ', res) this.key += 10 this.timeOptions[i].children = res.list.map((m, mindex) => { - console.log('timeOptions: ', typeof i) if (m.startId === this.defaultId) { this.startId = [this.timeOptions[i].startId, this.defaultId] } return m }) } - console.log('this.timeOptions: ', this.timeOptions) } catch (error) { console.log(error) } diff --git a/src/views/kpi/set/authority/index.vue b/src/views/kpi/set/authority/index.vue index ca13e76..d0c2c37 100644 --- a/src/views/kpi/set/authority/index.vue +++ b/src/views/kpi/set/authority/index.vue @@ -434,7 +434,6 @@ export default { }, watch: { 'showPopupAddSub': function (newVal, oldVal) { - console.log('showPopupAddSub==--===', newVal, oldVal) if (!newVal) { this.popupSubMngEdit = false this.popupFromSub = { @@ -555,7 +554,6 @@ export default { } else { this.handleChangeDirectorRg(val) } - console.log('handleDialogSubmitDepart== ', val) }, handleSubAdd () { this.popupFromSub.menuCheckData = this.menuCheckAllData @@ -571,7 +569,6 @@ export default { this.popupSubMngEdit = true this.showPopupAddSub = true // 获取权限列表 - console.log('编辑-----=====', row) apiSetPermissionsRoleDetail({ id: row.id }).then(res => { if (res.code !== 200) { this.$message.error(res.msg) @@ -585,8 +582,7 @@ export default { this.popupFromSub.shwoDepartData.list = data.departmentInfos // 指定部门 this.popupFromSub.groupRadio = data.evaluationGroupId // 考评组 this.popupFromSub.assessmentList = data.evaluationGroupInfos - this.popupFromSub.menuCheckAllState = false // 全选中状态 - console.log('selectStaffMenuInfos====', data.selectStaffMenuInfos) + this.popupFromSub.menuCheckAllState = false // 全选中状态) let selectStaffMenuInfos = data.selectStaffMenuInfos ? data.selectStaffMenuInfos : [] selectStaffMenuInfos.forEach(item => { switch (item) { @@ -596,7 +592,6 @@ export default { case 2: case 21: case 23: - console.log('item ======', item) if (this.popupFromSub.menuCheckData.indexOf(item) < 0) { this.popupFromSub.menuCheckData.push(item) } @@ -614,14 +609,11 @@ export default { if (this.popupFromSub.menuCheckData.indexOf(2) < 0) { this.popupFromSub.menuMngCheck = [] } - console.log('编辑====', this.popupFromSub) - // console.log('权限详情---', res) }) }, handleChildDelete (row) { // 删除子管理员 this.$confirm('确认删除该管理员,删除后该子管理员将失去智能绩效的子管理员权限', '提示').then(_ => { - console.log('删除子管理员', row) apiSetPermissionsRoleDelete({ id: row.id }).then(res => { if (res.code === 200) { // 删除成功 @@ -691,7 +683,6 @@ export default { this.showDialogPersonnel = true }, handlePopupCheckModel (val) { - console.log(val.indexOf('1')) this.popupFromSub.showChoosePerformance = val.indexOf('1') > -1 // 功能模块 }, @@ -722,7 +713,6 @@ export default { // 特定考评组选择 this.popupFromSub.assessmentList = val.list this.dialogVisibleTeamFilter = false - console.log('特定考评组选择 ', val, this.dialogVisibleTeamFilter) }, handlePopupCloseAssessment (item) { this.popupFromSub.assessmentList = this.popupFromSub.assessmentList.filter(i => i !== item) @@ -744,7 +734,6 @@ export default { this.mainData.childPm = res.data.childPm this.mainData.boss = res.data.boss this.masterPM = res.data.masterPM - console.log('权限设置页面====---', res) }) } } diff --git a/src/views/kpi/set/index.vue b/src/views/kpi/set/index.vue index 46ef059..99a88f7 100644 --- a/src/views/kpi/set/index.vue +++ b/src/views/kpi/set/index.vue @@ -45,8 +45,6 @@ export default { methods: { handleSelect (key, keyPath) { this.activeIndex = key - console.log(key, keyPath) - console.log(this.activeIndex) } }, watch: {} diff --git a/src/views/kpi/workbench/assessmentGroup/edit/components/Approval.vue b/src/views/kpi/workbench/assessmentGroup/edit/components/Approval.vue index ac4dc45..ae18fbf 100644 --- a/src/views/kpi/workbench/assessmentGroup/edit/components/Approval.vue +++ b/src/views/kpi/workbench/assessmentGroup/edit/components/Approval.vue @@ -47,19 +47,13 @@ export default { form: { deep: true, handler (n, o) { - console.log('n: ', n) this.$emit('update:info', Object.assign({}, this.info, this.form, {label: n.chartDetails.status ? '' : '已禁用'})) - // console.log('info: ', this.info) this.$forceUpdate() } }, 'info': { deep: true, handler (n, o) { - console.log('n222: ', n) - // this.form = n - // this.$emit('update:info', Object.assign({}, this.info, this.form, {label: n ? '' : '已禁用'})) - // console.log('info: ', this.info) this.$forceUpdate() } } diff --git a/src/views/kpi/workbench/assessmentGroup/edit/components/ApprovalList.vue b/src/views/kpi/workbench/assessmentGroup/edit/components/ApprovalList.vue index 8271575..4d09cb2 100644 --- a/src/views/kpi/workbench/assessmentGroup/edit/components/ApprovalList.vue +++ b/src/views/kpi/workbench/assessmentGroup/edit/components/ApprovalList.vue @@ -129,7 +129,6 @@ export default { methods: { // 将传入的数值复现 handleListFor (list) { - console.log('list: ', list) if (list.length === 0) return [] list = list.map(i => { i.isShow = false @@ -147,8 +146,6 @@ export default { return arr }, handleOptType (i) { - console.log('i: ', i) - // itemInfo.isActive const obj = {} if (i.optType === 0) { obj.isActive = 0 @@ -172,10 +169,8 @@ export default { // itemInfo.list.list.length===0?(itemInfo.list.title + '等' + itemInfo.list.list.length + '人' ):"未指定成员" }, handleChang (item) { - console.log('item: ', item) }, handleChoose (item) { - console.log('item: ', item) this.itemInfo.isShow = true this.$forceUpdate() }, @@ -188,7 +183,6 @@ export default { }) item.isCick = true this.itemInfo = item - console.log('this.itemInfo: ', this.itemInfo) this.$forceUpdate() }, // 添加流程 @@ -268,7 +262,6 @@ export default { list: { deep: true, handler (n, o) { - console.log('n22: ', n) this.handleIsEmit(JSON.parse(JSON.stringify(n))) } }, diff --git a/src/views/kpi/workbench/assessmentGroup/edit/components/Confirm.vue b/src/views/kpi/workbench/assessmentGroup/edit/components/Confirm.vue index a536529..ef6a275 100644 --- a/src/views/kpi/workbench/assessmentGroup/edit/components/Confirm.vue +++ b/src/views/kpi/workbench/assessmentGroup/edit/components/Confirm.vue @@ -51,7 +51,6 @@ export default { deep: true, handler (n, o) { this.$emit('update:info', Object.assign({}, this.info, this.form, {label: n.chartDetails.status ? '' : '已禁用'})) - // console.log('info: ', this.info) this.$forceUpdate() } }, diff --git a/src/views/kpi/workbench/assessmentGroup/edit/components/ConfirmList.vue b/src/views/kpi/workbench/assessmentGroup/edit/components/ConfirmList.vue index 3fcfea8..e885fb3 100644 --- a/src/views/kpi/workbench/assessmentGroup/edit/components/ConfirmList.vue +++ b/src/views/kpi/workbench/assessmentGroup/edit/components/ConfirmList.vue @@ -124,7 +124,6 @@ export default { computed: {}, created () { this.list = this.handleListFor(this.info) - // console.log(' this.list : ', this.list) }, beforeMount () { }, @@ -138,7 +137,6 @@ export default { list = list.map(i => { i.isShow = false i = Object.assign({}, this.handleOptType(i), i) - console.log('i: ', i) i.isActive = (i.optType === 0 || i.optType === -1) ? i.optType : 1 i.roleDtos = JSON.parse(JSON.stringify(this.roleDtos)).map(j => { j.checked = i.roleIds ? i.roleIds.includes(String(j.roleId)) : false @@ -152,8 +150,6 @@ export default { return arr }, handleOptType (i) { - console.log('i: ', i) - // itemInfo.isActive const obj = {} if (i.optType === 0) { obj.isActive = 0 @@ -173,15 +169,12 @@ export default { } }, handleTitle (item) { - console.log('item: ', item) return item.list.length > 0 ? (item.title + '等' + item.list.length + '人') : '指定成员' // itemInfo.list.list.length===0?(itemInfo.list.title + '等' + itemInfo.list.list.length + '人' ):"未指定成员" }, handleChang (item) { - console.log('item: ', item) }, handleChoose (item) { - console.log('item: ', item) this.itemInfo.isShow = true this.$forceUpdate() }, @@ -194,7 +187,6 @@ export default { }) item.isCick = true this.itemInfo = item - console.log('this.itemInfo: ', this.itemInfo) // this.$forceUpdate() }, // 添加流程 @@ -226,8 +218,6 @@ export default { } this.handleClick(params) this.$forceUpdate() - console.log('this.itemInfo: ', this.itemInfo) - console.log('this.list: ', this.list) }, handleDelete (item) { this.$confirm('此操作将永久删除, 是否继续?', '提示', { @@ -288,7 +278,6 @@ export default { handler (n, o) { if (Object.keys(n).length !== 0) { const arr = n - console.log('arr: ', arr) if (arr.isActive !== 0 && arr.isActive !== -1) { if (arr.optType < 1) arr.optType = 1 arr.name = this.options.filter(i => i.id === arr.optType)[0].name diff --git a/src/views/kpi/workbench/assessmentGroup/edit/components/Entry.vue b/src/views/kpi/workbench/assessmentGroup/edit/components/Entry.vue index 2f1953f..f91973a 100644 --- a/src/views/kpi/workbench/assessmentGroup/edit/components/Entry.vue +++ b/src/views/kpi/workbench/assessmentGroup/edit/components/Entry.vue @@ -49,7 +49,6 @@ export default { deep: true, handler (n, o) { this.$emit('update:info', Object.assign({}, this.info, this.form, {label: n.chartDetails.status ? '' : '已禁用'})) - console.log('info: ', this.info) this.$forceUpdate() } } diff --git a/src/views/kpi/workbench/assessmentGroup/edit/components/Score.vue b/src/views/kpi/workbench/assessmentGroup/edit/components/Score.vue index 385dc43..096cf24 100644 --- a/src/views/kpi/workbench/assessmentGroup/edit/components/Score.vue +++ b/src/views/kpi/workbench/assessmentGroup/edit/components/Score.vue @@ -40,7 +40,6 @@ export default { beforeMount () {}, created () { this.form = this.info - console.log('info: ', this.info) }, mounted () { @@ -50,7 +49,6 @@ export default { form: { deep: true, handler (n, o) { - console.log('n: ', n) let weight1 = 0 n.chartDetails.recordSimpleDtos.map(i => { if (i.isDelete !== 1) { @@ -58,17 +56,12 @@ export default { } }) this.$emit('update:info', Object.assign({}, this.info, this.form, {label: n.chartDetails.status ? '权重评分:' + weight1 + '%' : '已禁用'})) - // console.log('info: ', this.info) this.$forceUpdate() } }, 'info': { deep: true, handler (n, o) { - console.log('n222: ', n) - // this.form = n - // this.$emit('update:info', Object.assign({}, this.info, this.form, {label: n ? '' : '已禁用'})) - // console.log('info: ', this.info) this.$forceUpdate() } } diff --git a/src/views/kpi/workbench/assessmentGroup/edit/components/basis.vue b/src/views/kpi/workbench/assessmentGroup/edit/components/basis.vue index c558401..25da832 100644 --- a/src/views/kpi/workbench/assessmentGroup/edit/components/basis.vue +++ b/src/views/kpi/workbench/assessmentGroup/edit/components/basis.vue @@ -228,7 +228,6 @@ export default { async handleCheckStaff (parmas = this.form) { return new Promise(async (resolve, reject) => { let res = await apiCheckStaff(Object.assign({}, parmas, {confirm: 0, id: this.$route.query.id || ''})) - console.log('res: ', res) if (res.code === 504) { this.$confirm(res.msg, '提示', { confirmButtonText: '确定', @@ -282,13 +281,8 @@ export default { this.personnelList = a this.showData = c } - // this.form.staffIds = a.value - // this.form.depIds = c.value this.form = obj - // this.form.id = this.$route.query.copy ? '' : res.id - // this.form.name = this.$route.query.copy ? '' : res.name - console.log('this.form: ', this.form) } catch (error) { this.$message.error(error.msg) } @@ -316,7 +310,6 @@ export default { this.showRight = false }, handleGetChoose (item) { - console.log('item: ', item) this[item] = true } }, @@ -324,7 +317,6 @@ export default { form: { deep: true, handler (n, o) { - console.log('n: ', n) this.$emit('update:basisForm', n) } } diff --git a/src/views/kpi/workbench/assessmentGroup/edit/components/templateSet.vue b/src/views/kpi/workbench/assessmentGroup/edit/components/templateSet.vue index df86fa3..9585288 100644 --- a/src/views/kpi/workbench/assessmentGroup/edit/components/templateSet.vue +++ b/src/views/kpi/workbench/assessmentGroup/edit/components/templateSet.vue @@ -305,7 +305,6 @@ export default { ) this.info = res this.$forceUpdate() - console.log('res: ', res) } catch (error) { this.$message.error(error.msg) } @@ -327,7 +326,6 @@ export default { } res = res.data this.dimensionsList = res - console.log('res: ', res) } catch (error) { this.$message.error(error.msg) } diff --git a/src/views/kpi/workbench/assessmentGroup/edit/index.vue b/src/views/kpi/workbench/assessmentGroup/edit/index.vue index e283a16..45d845e 100644 --- a/src/views/kpi/workbench/assessmentGroup/edit/index.vue +++ b/src/views/kpi/workbench/assessmentGroup/edit/index.vue @@ -74,7 +74,6 @@ export default { if (!this.basisForm.name) { return this.$message.error('请输入考评组名称') } - console.log('!this.basisForm: ', this.basisForm) if (!this.basisForm.depIds && !this.basisForm.staffIds) { return this.$message.error('请选择被考核人员') } @@ -90,7 +89,6 @@ export default { result += Number(item.weight) return result }, 0) - console.log('sco: ', sco) if (sco !== 1) { return this.$message.error('权重评分总和必须为100!') } @@ -109,7 +107,6 @@ export default { try { this.$loadingStart() let res12 = await apiCheckStaff(Object.assign({}, this.basisForm, {confirm: 1})) - console.log('res1: ', res12) let res = await saveBaseSet(this.basisForm) if (res.code !== 200) { this.loadings = false @@ -139,27 +136,22 @@ export default { this.$message.error(res1.msg) return } - console.log('res: ', res1) } catch (error) { this.loadings = false this.$loadingEnd() return this.$message.error(error.msg) } } - console.log('res: ', res) } catch (error) { this.loadings = false this.$loadingEnd() return this.$message.error(error.msg) } - console.log('this.templateForm: ', JSON.stringify(this.templateForm)) try { let res = await saveTemSet(this.templateForm) this.loadings = false this.$loadingEnd() res = res.data - // this.basisForm = res - console.log('res: ', res) } catch (error) { this.loadings = false this.$loadingEnd() diff --git a/src/views/kpi/workbench/assessmentGroup/groundTable.vue b/src/views/kpi/workbench/assessmentGroup/groundTable.vue index cd7f683..2092e19 100644 --- a/src/views/kpi/workbench/assessmentGroup/groundTable.vue +++ b/src/views/kpi/workbench/assessmentGroup/groundTable.vue @@ -128,7 +128,6 @@ export default { this.$message.error('请选择考评组!') return } - console.log('this.copyList : ', this.copyList) this.showRight = false this.$router.push({name: 'workbench-edit-group', query: {id: this.selectId, copy: 1}}) }, @@ -166,7 +165,6 @@ export default { this.$loadingEnd() if (res.code !== 200) return res = res.data - console.log('res: ', res) this.tableData = res.list this.params.totalCount = res.totalCount this.params.currPage = res.currPage @@ -178,9 +176,6 @@ export default { this.$router.push({name: 'workbench-edit-group'}) }, handleSelectClick (row, column, event) { - console.log('event: ', event) - console.log('column: ', column) - console.log('row: ', row) }, async handleDelete (item) { this.$confirm('此操作不可撤回, 是否继续?', '提示', { diff --git a/src/views/kpi/workbench/index.vue b/src/views/kpi/workbench/index.vue index 9075da3..9e9a4e6 100644 --- a/src/views/kpi/workbench/index.vue +++ b/src/views/kpi/workbench/index.vue @@ -46,7 +46,6 @@ export default { localStorage.setItem('input', this.input) const params = {'userName': this.input, 'password': 'admin', 'uuid': '', 'verify': this.verify, 'verifyCode': this.verify} let res = await apiLogin(params) - console.log('res: ', res) if (res.code === 200) { this.token = res.token this.$cookies.set('token', res.token, res.expire) diff --git a/src/views/kpi/workbench/todo/index.vue b/src/views/kpi/workbench/todo/index.vue index 945b35b..cd2f29c 100644 --- a/src/views/kpi/workbench/todo/index.vue +++ b/src/views/kpi/workbench/todo/index.vue @@ -94,30 +94,23 @@ export default { this.waitCount = res.data.totalCount } this.selectedTableList = res.data.list || [] - console.log('待处理', res) }) }, handleMenuSeledt (val) { - console.log('index ======', this.activeIndex) - console.log(val) if (this.activeIndex !== val) { - console.log('menu 切换') // 待处理 已处理 数据切换 if (val === '0') { - console.log('menu 0') this.processedTableList = this.selectedTableList this.pageProcessedInfo = this.pageSelectedInfo this.selectedTableList = this.waitTableList this.pageSelectedInfo = this.pageWaitInfo } else { - console.log('menu 1') this.waitTableList = this.selectedTableList this.pageWaitInfo = this.pageSelectedInfo this.selectedTableList = this.processedTableList this.pageSelectedInfo = this.pageProcessedInfo } // 如果是第一页 刷新 - console.log(this.pageSelectedInfo) if (this.pageSelectedInfo.currPage === 1) { this.handleGetList() }