fix : 移除输出log
This commit is contained in:
@@ -256,7 +256,7 @@ const getDefaultValidErr = () => {
|
||||
}
|
||||
}
|
||||
const showValidFinish = (success, err) => {
|
||||
console.log("处理完成")
|
||||
// console.log("处理完成")
|
||||
validResult.value.success = success
|
||||
validResult.value.finished = true
|
||||
validResult.value.title = success ? '校验完成 😀' : '校验失败 '
|
||||
@@ -316,11 +316,11 @@ const doPublish = () => {
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
let design = processStore.getDesign()
|
||||
console.log(design)
|
||||
// console.log(design)
|
||||
let template = {
|
||||
...design
|
||||
}
|
||||
console.log(template)
|
||||
// console.log(template)
|
||||
addProcessDefinition(template).then(res => {
|
||||
ElNotification({
|
||||
title: '提示',
|
||||
|
||||
@@ -99,7 +99,7 @@ const getDepartmentTreeList = () => {
|
||||
//获取部门信息
|
||||
getDepartmentTree().then(res => {
|
||||
deptList.value = res.data;
|
||||
console.log("获取部门信息===========", res.data);
|
||||
// console.log("获取部门信息===========", res.data);
|
||||
});
|
||||
};
|
||||
const filterNode = (value, data) => {
|
||||
|
||||
@@ -194,7 +194,7 @@ const selectUser = (value, orgType) => {
|
||||
}
|
||||
const filterConditionMosr = (list) => {
|
||||
processFromPerms.value.forEach((item) => {
|
||||
console.log(item)
|
||||
// console.log(item)
|
||||
if (item.required && supportTypes.value.indexOf(item.valueType) > -1){
|
||||
list.push({title: item.title, id: item.id, valueType: item.valueType})
|
||||
}
|
||||
|
||||
@@ -315,7 +315,7 @@ const requestTestHandler = () => {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
console.log("==================[测试打印内容]==================")
|
||||
// console.log("==================[测试打印内容]==================")
|
||||
request.then(res => {
|
||||
console.log(res)
|
||||
if (res.status === 200) {
|
||||
|
||||
@@ -188,7 +188,6 @@ const viewHistoricalVersion = (row) => {
|
||||
loading.value = true
|
||||
getHistoryVersion(row.processDefinitionKey).then(res => {
|
||||
loading.value = false;
|
||||
// console.log("历史版本数据==", res.data);
|
||||
res.data.forEach(row => {
|
||||
row.logo = JSON.parse(row.logo);
|
||||
});
|
||||
|
||||
@@ -103,7 +103,6 @@ const content = computed(() => {
|
||||
//校验数据配置的合法性
|
||||
const validate = (err) => {
|
||||
try {
|
||||
console.log(props.config.props.assignedType)
|
||||
switch (props.config.props.assignedType) {
|
||||
case "ASSIGN_USER":
|
||||
showError.value = !validate_ASSIGN_USER(err);
|
||||
@@ -113,7 +112,6 @@ const validate = (err) => {
|
||||
break;
|
||||
case "SELF_SELECT":
|
||||
showError.value = !validate_SELF_SELECT(err);
|
||||
console.log(showError.value);
|
||||
break;
|
||||
case "LEADER_TOP":
|
||||
showError.value = !validate_LEADER_TOP(err);
|
||||
@@ -139,7 +137,6 @@ const validate = (err) => {
|
||||
}
|
||||
return showError
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,7 +44,6 @@ const headerBgc = computed(() => {
|
||||
|
||||
|
||||
const validate = () => {
|
||||
console.log("调用成功")
|
||||
return []
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user