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
9b6d0b8c
Commit
9b6d0b8c
authored
Mar 16, 2021
by
王万里
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 修改字符
parent
e6ed8a50
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
82 additions
and
7 deletions
+82
-7
properties-default-controllers.js
editor-app/configuration/properties-default-controllers.js
+35
-0
properties.js
editor-app/configuration/properties.js
+4
-0
boolean-property-template.html
...p/configuration/properties/boolean-property-template.html
+2
-1
huiqian-read-template.html
...r-app/configuration/properties/huiqian-read-template.html
+2
-0
huiqian-write-template.html
...-app/configuration/properties/huiqian-write-template.html
+18
-0
multiinstance-property-write-template.html
...ion/properties/multiinstance-property-write-template.html
+4
-3
stencil-controller.js
editor-app/stencil-controller.js
+4
-0
zh-CN.json
i18n/zh-CN.json
+8
-3
url-config.js
scripts/configuration/url-config.js
+4
-0
style.css
styles/common/style.css
+1
-0
No files found.
editor-app/configuration/properties-default-controllers.js
View file @
9b6d0b8c
...
@@ -46,6 +46,8 @@ angular.module('flowableModeler').controller('FlowableStringPropertyCtrl', [ '$s
...
@@ -46,6 +46,8 @@ angular.module('flowableModeler').controller('FlowableStringPropertyCtrl', [ '$s
}
}
});
});
console
.
log
(
$scope
)
}]);
}]);
/*
/*
...
@@ -107,6 +109,39 @@ angular.module('flowableModeler').controller('FlowableTextPropertyCtrl', [ '$sco
...
@@ -107,6 +109,39 @@ angular.module('flowableModeler').controller('FlowableTextPropertyCtrl', [ '$sco
angular
.
module
(
'flowableModeler'
).
controller
(
'FlowableTextPropertyPopupCtrl'
,
[
'$scope'
,
function
(
$scope
)
{
angular
.
module
(
'flowableModeler'
).
controller
(
'FlowableTextPropertyPopupCtrl'
,
[
'$scope'
,
function
(
$scope
)
{
$scope
.
save
=
function
()
{
$scope
.
save
=
function
()
{
console
.
log
(
$scope
.
property
)
$scope
.
updatePropertyInModel
(
$scope
.
property
);
$scope
.
close
();
};
$scope
.
close
=
function
()
{
$scope
.
property
.
mode
=
'read'
;
$scope
.
$hide
();
};
}]);
angular
.
module
(
'flowableModeler'
).
controller
(
'HuiqianPopupCtrl'
,
[
'$scope'
,
'$http'
,
function
(
$scope
,
$http
)
{
$http
.
get
(
FLOWABLE
.
APP_URL
.
getStaffList
())
.
success
(
function
(
res
){
console
.
log
(
res
.
data
.
getMe
)
let
arr
=
[]
res
.
data
.
getMe
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
LevelCode
.
indexOf
(
'1-24'
))
{
item
.
userList
.
forEach
((
childItem
)
=>
{
arr
.
push
({
loginName
:
childItem
.
loginName
,
userName
:
childItem
.
userName
,
userID
:
childItem
.
userID
})
})
}
})
$scope
.
userList
=
arr
})
$scope
.
save
=
function
()
{
console
.
log
(
$scope
.
property
)
$scope
.
updatePropertyInModel
(
$scope
.
property
);
$scope
.
updatePropertyInModel
(
$scope
.
property
);
$scope
.
close
();
$scope
.
close
();
};
};
...
...
editor-app/configuration/properties.js
View file @
9b6d0b8c
...
@@ -199,5 +199,9 @@ FLOWABLE.PROPERTY_CONFIG =
...
@@ -199,5 +199,9 @@ FLOWABLE.PROPERTY_CONFIG =
"flowable-channeltype"
:
{
"flowable-channeltype"
:
{
"readModeTemplateUrl"
:
"editor-app/configuration/properties/default-value-display-template.html"
,
"readModeTemplateUrl"
:
"editor-app/configuration/properties/default-value-display-template.html"
,
"writeModeTemplateUrl"
:
"editor-app/configuration/properties/event-channel-type-property-write-template.html"
"writeModeTemplateUrl"
:
"editor-app/configuration/properties/event-channel-type-property-write-template.html"
},
"huiqian"
:
{
"readModeTemplateUrl"
:
"editor-app/configuration/properties/huiqian-read-template.html"
,
"writeModeTemplateUrl"
:
"editor-app/configuration/properties/huiqian-write-template.html"
}
}
};
};
editor-app/configuration/properties/boolean-property-template.html
View file @
9b6d0b8c
<div
ng-controller=
"FlowableBooleanPropertyCtrl"
>
<div
ng-controller=
"FlowableBooleanPropertyCtrl"
style=
"line-height: 38px;"
>
<input
type=
"checkbox"
ng-model=
"property.value"
ng-change=
"changeValue()"
/>
<input
type=
"checkbox"
ng-model=
"property.value"
ng-change=
"changeValue()"
/>
</div>
</div>
\ No newline at end of file
editor-app/configuration/properties/huiqian-read-template.html
0 → 100644
View file @
9b6d0b8c
<button
class=
"btn btn-inverse"
>
click me huiqian
</button>
\ No newline at end of file
editor-app/configuration/properties/huiqian-write-template.html
0 → 100644
View file @
9b6d0b8c
<div
class=
"modal"
ng-controller=
"HuiqianPopupCtrl"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
ng-click=
"close()"
>
×
</button>
<h3>
{{'PROPERTY.PROPERTY.EDIT.TITLE' | translate}} "{{property.title | translate}}"
</h3>
</div>
<div
class=
"modal-body"
>
<input
type=
"checkbox"
ng-repeat=
""
class=
"checkbox"
ng-model=
"selectedListener.rethrowEvent"
ng-checked=
""
ng-change=
"listenerDetailsChanged()"
style=
"display:inline-block;"
/>
</div>
<div
class=
"modal-footer"
>
<button
ng-click=
"save()"
class=
"btn btn-primary"
translate
>
ACTION.SAVE
</button>
</div>
</div>
</div>
</div>
\ No newline at end of file
editor-app/configuration/properties/multiinstance-property-write-template.html
View file @
9b6d0b8c
<div
ng-controller=
"FlowableMultiInstanceCtrl"
>
<div
ng-controller=
"FlowableMultiInstanceCtrl"
>
<select
ng-model=
"property.value"
ng-change=
"multiInstanceChanged()"
style=
"width: 100%;height: 25px;line-height: 25px;border: none;"
>
<select
ng-model=
"property.value"
ng-change=
"multiInstanceChanged()"
style=
"width: 100%;height: 25px;line-height: 25px;border: none;"
>
<option
>
None
</option>
<option
value=
"None"
>
{{'MULTIINSTANCECOOLECTIONTYPE.NO_HUIQIAN' | translate}}
</option>
<option
>
Parallel
</option>
<option
value=
"Parallel"
>
{{'MULTIINSTANCECOOLECTIONTYPE.PARALLEL' | translate}}
</option>
<option
>
Sequential
</option>
<option
value=
"Sequential"
>
{{'MULTIINSTANCECOOLECTIONTYPE.SEQUEENTIAL' | translate}}
</option>
</select>
</select>
</div>
</div>
\ No newline at end of file
editor-app/stencil-controller.js
View file @
9b6d0b8c
...
@@ -286,6 +286,7 @@ angular.module('flowableModeler')
...
@@ -286,6 +286,7 @@ angular.module('flowableModeler')
// Gather properties of selected item
// Gather properties of selected item
var
properties
=
stencil
.
properties
();
var
properties
=
stencil
.
properties
();
console
.
log
(
properties
)
for
(
var
i
=
0
;
i
<
properties
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
properties
.
length
;
i
++
)
{
var
property
=
properties
[
i
];
var
property
=
properties
[
i
];
if
(
property
.
popular
()
==
false
)
continue
;
if
(
property
.
popular
()
==
false
)
continue
;
...
@@ -307,6 +308,7 @@ angular.module('flowableModeler')
...
@@ -307,6 +308,7 @@ angular.module('flowableModeler')
if
(
selectedShape
.
properties
.
get
(
key
)
===
'true'
)
{
if
(
selectedShape
.
properties
.
get
(
key
)
===
'true'
)
{
selectedShape
.
properties
.
set
(
key
,
true
);
selectedShape
.
properties
.
set
(
key
,
true
);
console
.
log
(
selectedShape
)
}
}
if
(
FLOWABLE
.
UI_CONFIG
.
showRemovedProperties
==
false
&&
property
.
isHidden
())
if
(
FLOWABLE
.
UI_CONFIG
.
showRemovedProperties
==
false
&&
property
.
isHidden
())
...
@@ -628,9 +630,11 @@ angular.module('flowableModeler')
...
@@ -628,9 +630,11 @@ angular.module('flowableModeler')
/* Click handler for clicking a property */
/* Click handler for clicking a property */
$scope
.
propertyClicked
=
function
(
index
)
{
$scope
.
propertyClicked
=
function
(
index
)
{
if
(
!
$scope
.
selectedItem
.
properties
[
index
].
hidden
)
{
if
(
!
$scope
.
selectedItem
.
properties
[
index
].
hidden
)
{
$scope
.
selectedItem
.
properties
[
index
].
mode
=
"write"
;
$scope
.
selectedItem
.
properties
[
index
].
mode
=
"write"
;
}
}
console
.
log
(
$scope
.
selectedItem
.
properties
)
};
};
/* Helper method to retrieve the template url for a property */
/* Helper method to retrieve the template url for a property */
...
...
i18n/zh-CN.json
View file @
9b6d0b8c
...
@@ -724,14 +724,14 @@
...
@@ -724,14 +724,14 @@
},
},
"MULTIINSTANCE_TYPEPACKAGE"
:
{
"MULTIINSTANCE_TYPEPACKAGE"
:
{
"MULTIINSTANCE_TYPE"
:
{
"MULTIINSTANCE_TYPE"
:
{
"TITLE"
:
"
多实例
类型"
,
"TITLE"
:
"
会签
类型"
,
"DESCRIPTION"
:
"重复的活动执行(并行或顺序)可以通过不同的循环类型显示。"
"DESCRIPTION"
:
"重复的活动执行(并行或顺序)可以通过不同的循环类型显示。"
}
}
},
},
"MULTIINSTANCE_CARDINALITYPACKAGE"
:
{
"MULTIINSTANCE_CARDINALITYPACKAGE"
:
{
"MULTIINSTANCE_CARDINALITY"
:
{
"MULTIINSTANCE_CARDINALITY"
:
{
"TITLE"
:
"
基数(多实例)
"
,
"TITLE"
:
"
参与会签总人数
"
,
"DESCRIPTION"
:
"
定义多实例
的基数"
"DESCRIPTION"
:
"
参与会签
的基数"
}
}
},
},
"MULTIINSTANCE_COLLECTIONPACKAGE"
:
{
"MULTIINSTANCE_COLLECTIONPACKAGE"
:
{
...
@@ -2470,6 +2470,11 @@
...
@@ -2470,6 +2470,11 @@
"PROPERTY.FEEDBACK.TITLE"
:
"请填写您的反馈意见"
,
"PROPERTY.FEEDBACK.TITLE"
:
"请填写您的反馈意见"
,
"MULTIINSTANCECOOLECTIONTYPE.NO_HUIQIAN"
:
"无"
,
"MULTIINSTANCECOOLECTIONTYPE.PARALLEL"
:
"并行"
,
"MULTIINSTANCECOOLECTIONTYPE.SEQUEENTIAL"
:
"串行"
,
"PROPERTY.ASSIGNMENT.TITLE"
:
"分配"
,
"PROPERTY.ASSIGNMENT.TITLE"
:
"分配"
,
"PROPERTY.ASSIGNMENT.TYPE"
:
"类型"
,
"PROPERTY.ASSIGNMENT.TYPE"
:
"类型"
,
"PROPERTY.ASSIGNMENT.TYPE.IDENTITYSTORE"
:
"身份存储"
,
"PROPERTY.ASSIGNMENT.TYPE.IDENTITYSTORE"
:
"身份存储"
,
...
...
scripts/configuration/url-config.js
View file @
9b6d0b8c
...
@@ -206,6 +206,10 @@ FLOWABLE.APP_URL = {
...
@@ -206,6 +206,10 @@ FLOWABLE.APP_URL = {
return
'/CityInterface/rest/services/PandaWorkflow.svc/GetModelDetail?ModelID='
+
id
+
'&Model_key='
+
key
+
'&Cookie='
+
cookie
return
'/CityInterface/rest/services/PandaWorkflow.svc/GetModelDetail?ModelID='
+
id
+
'&Model_key='
+
key
+
'&Cookie='
+
cookie
},
},
getStaffList
:
function
()
{
return
'/Cityinterface/rest/services/CountyProduct.svc/AccountManage/getUserListForRole?_version=9999'
},
getFormModelValuesUrl
:
function
(
query
)
{
getFormModelValuesUrl
:
function
(
query
)
{
return
FLOWABLE
.
CONFIG
.
contextModelerRestRoot
+
'/rest/form-models/values?'
+
query
;
return
FLOWABLE
.
CONFIG
.
contextModelerRestRoot
+
'/rest/form-models/values?'
+
query
;
},
},
...
...
styles/common/style.css
View file @
9b6d0b8c
...
@@ -3282,3 +3282,4 @@ ul#strength > li:last-child {
...
@@ -3282,3 +3282,4 @@ ul#strength > li:last-child {
height
:
auto
;
height
:
auto
;
}
}
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