style:关闭部分consoleLog

This commit is contained in:
xiongchengqiang 2020-05-21 14:50:22 +08:00
parent 9adc1a40bf
commit 3342aac042
9 changed files with 1 additions and 16 deletions

View File

@ -15,7 +15,6 @@ export const apiEmployeesList = params => {
// 员工档案
export const apiEmployeesInfo = data => {
console.log('data: ', data)
return http({ url: '/lz_management/staff/info/query/' + data, method: 'post' })
}

View File

@ -34,7 +34,6 @@ export default {
// menuId()
handleGoRoute (menu) {
// this.$router.push({name: 'staff', query: {id: menu.id}})
console.log(menu)
}
}
}

View File

@ -229,7 +229,6 @@ export default {
},
//
handleClick (tab, event) {
console.log(tab, event)
},
async handleView (data) {
await this.getEmployeesInfo(data.staffId)

View File

@ -40,7 +40,6 @@ export default {
beforeMount () { },
mounted () {
setTimeout(() => {
console.log('dataInfo22: ', this.dataInfo)
}, 1000)
},
methods: {},

View File

@ -113,7 +113,6 @@ export default {
//
async handleGetMenuList () {
let result = await apiOrganizationList()
console.log('result: ', result)
this.menuList = result
},
onSubmit () {
@ -136,7 +135,6 @@ export default {
departmentId: a.departmentId,
departmentName: a.departmentName
}
console.log('a: ', a)
}
},
watch: {}

View File

@ -61,7 +61,6 @@ export default {
setTimeout(() => {
loading.close()
}, 500)
console.log('result: ', result)
if (result.code === 0) {
this.dataInfo = result.data
} else {
@ -74,7 +73,6 @@ export default {
},
submit (data) {
this.handleGetEmployeessItuation(data)
console.log('data', data)
}
},
watch: {}

View File

@ -136,8 +136,6 @@ export default {
}
let validatNumber = (rule, value, callback) => {
console.log('value: ', value)
console.log('rule: ', rule)
if (!/^[1-9]\d*$/.test(value)) {
callback(new Error('只能输入正整数'))
} else {

View File

@ -134,7 +134,6 @@ export default {
},
// /
handleAddOrUpdate (id) {
console.log('id: ', id)
this.addOrUpdateVisible = true
this.$nextTick(() => {
this.$refs.addOrUpdate.init(id)

View File

@ -73,7 +73,6 @@ export default {
}
},
mounted () {
console.log('Xcq')
},
methods: {
async init (id) {
@ -84,7 +83,6 @@ export default {
this.handleEdit()
this.apiType = '/update'
} else {
console.log('this.dataForm : ', this.dataForm)
this.apiType = '/save'
}
},
@ -102,9 +100,7 @@ export default {
handleEdit () {
apiSysRoleInfo({}, `/${this.dataForm.id}`).then(res => {
if (res && res.code === 0) {
this.dataForm = Object.assign({}, this.dataForm, res.role, { xcq: 1 })
console.log('res.role: ', res.role)
console.log('this.dataForm: ', this.dataForm)
this.dataForm = Object.assign({}, this.dataForm, res.role)
var idx = res.role.menuIdList.indexOf(this.tempKey)
if (idx !== -1) {
res.role.menuIdList.splice(idx, res.role.menuIdList.length - idx)