fix : 移除输出log
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user