Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
flowable-engine-fontend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王万里
flowable-engine-fontend
Commits
85ba30d5
Commit
85ba30d5
authored
May 21, 2021
by
王万里
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 去除log
parent
01c3e10c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
28 deletions
+28
-28
properties-assignment-controller.js
editor-app/configuration/properties-assignment-controller.js
+1
-1
properties-default-controllers.js
editor-app/configuration/properties-default-controllers.js
+6
-6
properties-form-reference-controller.js
...app/configuration/properties-form-reference-controller.js
+3
-3
editor-controller.js
editor-app/editor-controller.js
+2
-2
stencil-controller.js
editor-app/stencil-controller.js
+15
-15
index.html
index.html
+1
-1
No files found.
editor-app/configuration/properties-assignment-controller.js
View file @
85ba30d5
...
...
@@ -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
;
...
...
editor-app/configuration/properties-default-controllers.js
View file @
85ba30d5
...
...
@@ -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)
}
}]);
editor-app/configuration/properties-form-reference-controller.js
View file @
85ba30d5
...
...
@@ -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
)
{
...
...
editor-app/editor-controller.js
View file @
85ba30d5
...
...
@@ -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#'
)
{
...
...
editor-app/stencil-controller.js
View file @
85ba30d5
...
...
@@ -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
;
}
...
...
index.html
View file @
85ba30d5
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment