去除console.log

This commit is contained in:
shenyanpei
2021-11-25 17:20:16 +08:00
parent e8a6555488
commit 8c39dbaea1
4 changed files with 1 additions and 15 deletions
+1 -1
View File
@@ -254,7 +254,7 @@ export default {
{
title: '标准化活动日历',
path: '/standCalendar',
menuId: '0ea66e3dd36873082b6851f69e92c8be'
menuId: ''
},
// {
// title: '标准比对库',
-7
View File
@@ -54,15 +54,10 @@ import { mapMutations, mapActions } from 'vuex'
// 路由拦截
router.beforeEach(function (to, from, next) {
console.log("auth : to =>", to);
console.log(webLoginType)
let toName = to.name
let token = store.state.token
let path = to.path;
let requireAuth = to.meta.requireAuth;
console.log("auth : path =>" + path);
console.log("token : token =>" + token);
console.log("requireAuth : requireAuth =>" + requireAuth);
let taskId = to.query.taskIds;
let prcId = to.query.prcId;
let prcNum = to.query.prcNum;
@@ -71,7 +66,6 @@ router.beforeEach(function (to, from, next) {
let routerType = to.query.routerType;
let param = "taskIds=" + taskId + "&prcId=" + prcId
+ "&prcNum=" + prcNum + "&prcName=" + prcName + "&prcType=" + prcType;
console.log(store)
let url = window.location.search
let code = "";
if(url){
@@ -232,7 +226,6 @@ router.beforeEach(function (to, from, next) {
next({path: routerPath + '?' + param2})
}
}
console.log("res : res =>", res);
})
}
if(path === '/loginVerify'){
@@ -1194,7 +1194,6 @@ export default {
methods: {
child1Func(child1){
const list = []
console.log(child1)
if(child1 && child1.length > 1){
list.push(child1[0])
return list
@@ -2157,7 +2156,6 @@ export default {
const [displayLocation, {attrInfoMap: dynamicFormField}, formFieldList] = values
// const relatedPlansRes = await this.queryRelatedPlans()
// const relatedPlans = relatedPlansRes.list
console.log(formFieldList)
formFieldList.forEach((field) => {
displayLocation.forEach((location) => {
location.isShowImp = '0'
@@ -2194,16 +2192,12 @@ export default {
displayLocation.forEach(location => {
// 动态属性字段-FBGBJBD 单独添加至基础信息
const list = displayLocation.filter ( item => item.label === '过程稿件');
console.log(list)
if(location.label === '基础信息' && list && list.length > 0){
if (!list[0].child) {
location['child1'] = []
}else {
const childList = list[0].child.filter ( item => item.attrField === 'FBGBUSS');
console.log(childList)
console.log(childList.length)
location['child1'] = childList
console.log(location['child1'])
}
}
@@ -148,7 +148,6 @@
}
let list
list = res.data.slice(0, c)
console.log(list)
this.linkList = list
})
}