fix : 移除输出log

This commit is contained in:
2024-06-21 13:02:55 +08:00
parent ddc305297f
commit 9b758d41d0
30 changed files with 45 additions and 70 deletions

View File

@@ -60,7 +60,7 @@ const schema = reactive([
const getInfo = async () => {
const { data } = await getInfoById(route.query.id)
console.log("🚀 ~ getInfo ~ res:", data)
// console.log("🚀 ~ getInfo ~ res:", data)
const params = {
createTime: data.createTime,
departmentMark: data.departmentMark,
@@ -136,7 +136,7 @@ const setDeptmentInfo = async ({ departmentChargeLeadershipIds = [], departmentH
departmentId: route.query.id
}
const res = await setDeptInfo(params)
console.log(res.data);
// console.log(res.data);
}
getInfo()
@@ -145,4 +145,4 @@ getInfo()
<style lang="scss" scoped>
</style>
</style>

View File

@@ -193,7 +193,7 @@ const getList = async () => {
const getDetail = (deptId) => {
getDeptDetail(deptId).then(res => {
if (res.code === 1000) {
console.log(res.data)
// console.log(res.data)
if (title.value == "行内新增部门") {
form.value.parentId = res.data.deptId
} else {

View File

@@ -160,7 +160,7 @@ const tableConfig = reactive({
})
const init = async () => {
console.log(authStore.roles,'userinfo');
// console.log(authStore.roles,'userinfo');
if(!authStore.roles.includes('superAdmin')) {
searchConfig.value = searchConfig.value.slice(1)
}
@@ -169,7 +169,7 @@ const init = async () => {
searchConfig.value.find(item=>item.prop == 'departmentId').props.data = data
const res = await getSubCompOpt()
searchConfig.value.find(item=>item.prop == 'subCompanyId').props.data = res.data
console.log("🚀 ~ init ~ searchConfig.value:", searchConfig.value)
// console.log("🚀 ~ init ~ searchConfig.value:", searchConfig.value)
}
init()