Commit 85ba30d5 authored by 王万里's avatar 王万里

fix: 去除log

parent 01c3e10c
......@@ -426,7 +426,7 @@ angular.module('flowableModeler').controller('FlowableAssignmentPopupCtrl',
$scope.allSteps = EDITOR.UTIL.collectSortedElementsFromPrecedingElements($scope.selectedShape);
$scope.save = function () {
console.log($scope.popup.assignmentObject.static)
// console.log($scope.popup.assignmentObject.static)
handleAssignmentInput($scope.popup.assignmentObject.static);
$scope.assignment.type = $scope.popup.assignmentObject.type;
......
......@@ -57,7 +57,7 @@ angular.module('flowableModeler').controller('FlowableStringPropertyCtrl', [ '$s
}
});
console.log($scope)
// console.log($scope)
}]);
......@@ -138,7 +138,7 @@ angular.module('flowableModeler').controller('FieldReadConfigPopupCtrl', ['$root
if (nodeIdParams && shareformKey) {
$http.get(FLOWABLE.APP_URL.GetColumnConfig(nodeIdParams, shareformKey))
.success((res)=>{
console.log("进入。。。。。。。。。。///////////")
// console.log("进入。。。。。。。。。。///////////")
if (res.FieldConfigList && res.FieldConfigList.length > 0) {
res.FieldConfigList.forEach((item)=>{
$scope.property.properties.forEach((pItem)=>{
......@@ -156,7 +156,7 @@ angular.module('flowableModeler').controller('FieldReadConfigPopupCtrl', ['$root
schemaListObj = $scope.property
console.log(schemaListObj, "schemaListObj......schemaListObj.......")
// console.log(schemaListObj, "schemaListObj......schemaListObj.......")
$scope.childFieldObj = schemaListObj
......@@ -239,7 +239,7 @@ angular.module('flowableModeler').controller('FieldReadConfigPopupCtrl', ['$root
}
$http({method: 'POST', url: FLOWABLE.APP_URL.SaveFieldConfig(), data: data})
.success(function(res) {
console.log(res)
// console.log(res)
})
}
}]);
......@@ -257,7 +257,7 @@ angular.module('flowableModeler').controller('FieldWriteConfigPopupCtrl', ['$sco
angular.module('flowableModeler').controller('FieldTextPopup', ['$rootScope','$scope', function($rootScope,$scope) {
$scope.childFieldObj = $rootScope.curField
console.log($scope.childFieldObj)
// console.log($scope.childFieldObj)
$scope.save = function() {
$scope.updatePropertyInModel($scope.property);
$scope.close();
......@@ -269,6 +269,6 @@ angular.module('flowableModeler').controller('FieldTextPopup', ['$rootScope','$s
};
$scope.changeValue = function() {
console.log($scope)
// console.log($scope)
}
}]);
......@@ -89,7 +89,7 @@ angular.module('flowableModeler').controller('FlowableFormReferencePopupCtrl',
var modelName = $scope.selectedForm.name
$http.get(FLOWABLE.APP_URL.getFormModelDetail(modelId,modelKey,cookie))
.success(function(res){
console.log(res)
// console.log(res)
var id = JSON.parse(res).id
$scope.property.value = {
'id' : id,
......@@ -265,12 +265,12 @@ angular.module('flowableModeler').controller('FlowableFormReferencePopupCtrl',
$scope.close();
};
$scope.getInput = function(e){
console.log(e)
// console.log(e)
}
$scope.getFormList = function() {
var input = document.getElementById("formName")
console.log(input.value)
// console.log(input.value)
}
$scope.decoder = function(str) {
......
......@@ -402,11 +402,11 @@ angular.module('flowableModeler')
editorManager.setModelId(modelId);
//we first initialize the stencilset used by the editor. The editorId is always the modelId.
$http.get(FLOWABLE.URL.getModel(modelId)).then(function (response) {
console.log(response)
// console.log(response)
editorManager.setModelData(response);
return response;
}).then(function (modelData) {
console.log(modelData, 'modelData')
// console.log(modelData, 'modelData')
if(modelData.data.model.stencilset.namespace == 'http://b3mn.org/stencilset/cmmn1.1#') {
return $http.get(FLOWABLE.URL.getCmmnStencilSet());
} else if (modelData.data.model.stencilset.namespace == 'http://b3mn.org/stencilset/dmn1.2#') {
......
......@@ -307,7 +307,7 @@ angular.module('flowableModeler')
}
if (propertyConfig === undefined || propertyConfig === null) {
console.log('WARNING: no property configuration defined for ' + key + ' of type ' + property.type());
// console.log('WARNING: no property configuration defined for ' + key + ' of type ' + property.type());
} else {
if (selectedShape.properties.get(key) === 'true') {
......@@ -319,7 +319,7 @@ angular.module('flowableModeler')
$rootScope.resourceId = selectedShape.resourceId
}
console.log($rootScope.resourceId, "$rootScope.resourceId selectedShape.resourceId")
// console.log($rootScope.resourceId, "$rootScope.resourceId selectedShape.resourceId")
}
if (FLOWABLE.UI_CONFIG.showRemovedProperties == false && property.isHidden())
......@@ -375,11 +375,11 @@ angular.module('flowableModeler')
// 新增节点逻辑
console.log("新增节点逻辑")
console.log(nodeIdList, 'nodeIdList nodeIdList nodeIdList nodeIdList')
// console.log("新增节点逻辑")
// console.log(nodeIdList, 'nodeIdList nodeIdList nodeIdList nodeIdList')
window.share && window.share.event.on("currentNodeForm", (params)=> {
formKey = params.key
console.log(formKey, "currentNodeForm...currentNodeForm")
// console.log(formKey, "currentNodeForm...currentNodeForm")
nodeIdList.push({
nodeId: $rootScope.currentReadResourceId,
formKey: formKey
......@@ -388,7 +388,7 @@ angular.module('flowableModeler')
let currentObjArr = []
$http.get(FLOWABLE.APP_URL.GetColumnConfig($rootScope.resourceId, formKey))
.success((res)=>{
console.log("新增节点逻辑,新增success、")
// console.log("新增节点逻辑,新增success、")
let FormJson = JSON.parse(res.FormJson)
const formJsonProperties = FormJson.schema.properties
......@@ -479,13 +479,13 @@ angular.module('flowableModeler')
})
// / 以下处理新增编辑逻辑
console.log(selectedItem, ":selectedItem.selectedItemselectedItemselectedItem")
// console.log(selectedItem, ":selectedItem.selectedItemselectedItemselectedItem")
if (nodeIdList.length > 0 && selectCurrentNodeId && selectedItem && selectedItem.properties.length > 14 && selectedItem.properties[14].value){
let clickedShape = selectedItem.properties[14].value.key
let currentObjArr = []
$http.get(FLOWABLE.APP_URL.GetColumnConfig(selectCurrentNodeId, clickedShape))
.success((res)=>{
console.log("以下处理新增编辑逻辑,新增success、")
// console.log("以下处理新增编辑逻辑,新增success、")
let FormJson = JSON.parse(res.FormJson)
let fatherObj = FormJson.schema.properties
function generatorArr(objCollections) {
......@@ -543,13 +543,13 @@ angular.module('flowableModeler')
}
// 以下处理保存之后得读取数值
console.log("以下处理保存之后得读取数值")
console.log(selectedItem, ":selectedItem.selectedItemselectedItemselectedItem")
console.log(nodeIdList, 'nodeIdList nodeIdList nodeIdList nodeIdList')
console.log(selectCurrentNodeId, "selectCurrentNodeIdselectCurrentNodeIdselectCurrentNodeIdselectCurrentNodeId")
// console.log("以下处理保存之后得读取数值")
// console.log(selectedItem, ":selectedItem.selectedItemselectedItemselectedItem")
// console.log(nodeIdList, 'nodeIdList nodeIdList nodeIdList nodeIdList')
// console.log(selectCurrentNodeId, "selectCurrentNodeIdselectCurrentNodeIdselectCurrentNodeIdselectCurrentNodeId")
if (nodeIdList.length === 0) {
window.share && window.share.event.on("readEditNodeId", (params)=> {
console.log(params ,"editNodeeditNodeeditNode")
// console.log(params ,"editNodeeditNodeeditNode")
if (selectedItem && selectedItem.properties.length > 14 && selectedItem.properties[14].value) {
// console.log("编辑,读取字段配置,进来了")
let clickedShape = selectedItem.properties[14].value.key
......@@ -695,7 +695,7 @@ angular.module('flowableModeler')
$scope.safeApply(function () {
$scope.selectedItem = selectedItem;
$scope.selectedShape = selectedShape;
console.log(selectedShape, "selectedShapeselectedShapeselectedShapeselectedShapeselectedShape")
// console.log(selectedShape, "selectedShapeselectedShapeselectedShapeselectedShapeselectedShape")
if (selectedShape.resourceId.indexOf("sid-") > -1) {
selectCurrentNodeId = selectedShape.resourceId
window.share && window.share.event.emit("readEditNodeId", selectCurrentNodeId);
......@@ -1012,7 +1012,7 @@ angular.module('flowableModeler')
if (shapeId) {
if (shape.id != shapeId && $scope.previousSelectedShape && $scope.previousSelectedShape.id == shapeId) {
shape = $scope.previousSelectedShape;
console.log(shape)
// console.log(shape)
} else {
shape = null;
}
......
......@@ -54,7 +54,7 @@
<!-- endbuild -->
<script>
window.addEventListener('message',(event) =>{
console.log(event)
// console.log(event)
document.cookie = event.data
var Days = 365;
var exp = new Date();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment