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

fix: 去除log

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