Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzwf
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzwf
提交
abafc21a
提交
abafc21a
编写于
5月 28, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码
上级
0d830525
变更
16
隐藏空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
210 行增加
和
60 行删除
+210
-60
app-department-select.vue
...omponents/app-department-select/app-department-select.vue
+3
-3
app-form-druipart.vue
...eb/src/components/app-form-druipart/app-form-druipart.vue
+2
-1
login.less
app_web/src/components/login/login.less
+39
-22
login.vue
app_web/src/components/login/login.vue
+5
-2
pickup-tree-view-engine.ts
app_web/src/engine/view/pickup-tree-view-engine.ts
+16
-0
chart-radar-series.ts
app_web/src/model/chart-detail/chart-radar-series.ts
+118
-0
index.ts
app_web/src/model/chart-detail/index.ts
+2
-1
uiaction-tool.ts
app_web/src/utils/uiaction-tool/uiaction-tool.ts
+10
-3
main-grid-base.vue
app_web/src/widgets/wfgroup/main-grid/main-grid-base.vue
+3
-2
main-grid-base.vue
app_web/src/widgets/wfmember/main-grid/main-grid-base.vue
+3
-2
main-grid-base.vue
...widgets/wfprocess-definition/main-grid/main-grid-base.vue
+3
-2
main-grid-base.vue
app_web/src/widgets/wfuser/main-grid/main-grid-base.vue
+3
-2
vue.config.js
app_web/vue.config.js
+1
-1
config.xml
config.xml
+0
-5
Dockerfile
ibzwf-provider/ibzwf-provider-api/src/main/docker/Dockerfile
+1
-1
ibzwf-provider-api.yaml
...bzwf-provider-api/src/main/docker/ibzwf-provider-api.yaml
+1
-13
未找到文件。
app_web/src/components/app-department-select/app-department-select.vue
浏览文件 @
abafc21a
...
...
@@ -199,11 +199,11 @@ export default class AppDepartmentSelect extends Vue {
if
(
this
.
fillMap
&&
Object
.
keys
(
this
.
fillMap
).
length
>
0
){
Object
.
keys
(
this
.
fillMap
).
forEach
((
attribute
:
string
)
=>
{
let
_name
=
this
.
fillMap
[
attribute
];
let
_value
=
selectArr
.
map
((
item
:
any
)
=>
item
[
attribute
]);
this
.
$emit
(
'select-change'
,{
name
:
this
.
fillMap
[
attribute
],
value
:
_value
.
join
(
","
)})
let
values
=
selectArr
.
map
((
item
:
any
)
=>
item
[
attribute
]);
let
_value
=
$event
===
"[]"
?
null
:
values
.
join
(
","
);
this
.
$emit
(
'select-change'
,{
name
:
this
.
fillMap
[
attribute
],
value
:
_value
})
});
}
}
}
</
script
>
...
...
app_web/src/components/app-form-druipart/app-form-druipart.vue
浏览文件 @
abafc21a
...
...
@@ -240,7 +240,7 @@ export default class AppFormDRUIPart extends Vue {
}
const
formData
:
any
=
data
?
data
:
JSON
.
parse
(
this
.
data
);
const
_paramitem
=
formData
[
this
.
paramItem
];
let
viewdata
=
{
srfparentdename
:
this
.
parentName
,
srfparentkey
:
_paramitem
};
let
viewdata
=
{};
Object
.
assign
(
viewdata
,
this
.
$viewTool
.
getIndexViewParam
());
const
_parameters
:
any
[]
=
[...
this
.
$viewTool
.
getIndexParameters
(),
...
this
.
parameters
];
_parameters
.
forEach
((
parameter
:
any
)
=>
{
...
...
@@ -252,6 +252,7 @@ export default class AppFormDRUIPart extends Vue {
Object
.
assign
(
viewdata
,
{
[
this
.
paramItem
]:
_paramitem
});
//设置顶层视图唯一标识
Object
.
assign
(
viewdata
,
this
.
context
);
Object
.
assign
(
viewdata
,{
srfparentdename
:
this
.
parentName
,
srfparentkey
:
_paramitem
});
this
.
viewdata
=
JSON
.
stringify
(
viewdata
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
if
(
this
.
isRelationalData
)
{
...
...
app_web/src/components/login/login.less
浏览文件 @
abafc21a
...
...
@@ -26,28 +26,45 @@
top: 50%;
transform: translateY(-60%);
width: 300px;
.ivu-card-head {
padding: 14px 6px;
>p{
line-height: 20px;
font-size: 14px;
color: #17233d;
font-weight: 700;
.ivu-card{
border-radius: 15px;
.ivu-card-head {
padding: 14px 6px;
>p{
line-height: 20px;
font-size: 20px;
color: #17233d;
font-weight: 700;
text-align:center;
}
}
}
&-header{
font-size: 16px;
font-weight: 300;
text-align: center;
padding: 30px 0;
}
.form-con{
padding: 10px 0 0;
}
.login-tip{
font-size: 10px;
text-align: center;
color: #c3c3c3;
}
&-header{
font-size: 16px;
font-weight: 300;
text-align: center;
padding: 30px 0;
}
.form-con{
padding: 10px 0 0;
.ivu-form-item{
margin-bottom: 20px;
}
p{
font-size: 14px;
font-weight: bold;
height: 21px;
line-height: 21px;
}
button{
background-image: linear-gradient(to bottom,#8bbcf1 0%,#2d8cf0 100%);
border-color:#8bbcf1;
}
}
.login-tip{
font-size: 10px;
text-align: center;
color: #5f4949;
}
}
}
}
\ No newline at end of file
app_web/src/components/login/login.vue
浏览文件 @
abafc21a
...
...
@@ -10,12 +10,14 @@
<div
class=
'login-con'
>
<card
:bordered=
"false"
>
<p
slot=
'title'
>
<icon
type=
'ios-log-in'
></icon>
{{
this
.
$t
(
'components.login.caption'
)
}}
<!--
<icon
type=
'ios-log-in'
></icon>
-->
<!-- -->
{{
this
.
$t
(
'components.login.caption'
)
}}
</p>
<div
class=
'form-con'
>
<i-form
ref=
'loginForm'
:rules=
"rules"
:model=
"form"
>
<form-item
prop=
'loginname'
>
<p>
用户名
</p>
<i-input
prefix=
'ios-contact'
v-model=
"form.loginname"
...
...
@@ -23,6 +25,7 @@
</i-input>
</form-item>
<form-item
prop=
'password'
>
<p>
密码
</p>
<i-input
prefix=
'ios-key'
v-model=
"form.password"
...
...
app_web/src/engine/view/pickup-tree-view-engine.ts
浏览文件 @
abafc21a
...
...
@@ -35,4 +35,20 @@ export default class PickupTreeViewEngine extends TreeViewEngine {
this
.
view
.
$emit
(
'viewdataschange'
,
args
);
}
}
/**
* 双击选中激活数据
*
* @param {string} ctrlName
* @param {string} eventName
* @param {*} args
* @memberof PickupTreeViewEngine
*/
public
onCtrlEvent
(
ctrlName
:
string
,
eventName
:
string
,
args
:
any
):
void
{
if
(
Object
.
is
(
ctrlName
,
'tree'
)
&&
Object
.
is
(
eventName
,
'nodedblclick'
))
{
this
.
view
.
$emit
(
'viewdatasactivated'
,
args
);
return
;
}
super
.
onCtrlEvent
(
ctrlName
,
eventName
,
args
);
}
}
\ No newline at end of file
app_web/src/model/chart-detail/chart-radar-series.ts
0 → 100644
浏览文件 @
abafc21a
import
{
ChartSeries
}
from
'./chart-series'
;
/**
* 雷达图序列模型
*
* @export
* @class ChartRadarSeries
*/
export
class
ChartRadarSeries
extends
ChartSeries
{
/**
* 分类属性
*
* @type {string}
* @memberof ChartRadarSeries
*/
public
categorField
:
string
=
''
;
/**
* 值属性
*
* @type {string}
* @memberof ChartRadarSeries
*/
public
valueField
:
string
=
''
;
/**
* 雷达图指示器
*
* @type {string}
* @memberof ChartRadarSeries
*/
public
indicator
:
Array
<
any
>
=
[];
/**
* 分类代码表
*
* @type {string}
* @memberof ChartRadarSeries
*/
public
categorCodeList
:
any
=
null
;
/**
* 维度编码
*
* @type {*}
* @memberof ChartRadarSeries
*/
public
encode
:
any
=
null
;
/**
* Creates an instance of ChartRadarSeries.
* ChartRadarSeries 实例
*
* @param {*} [opts={}]
* @memberof ChartRadarSeries
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
categorField
=
!
Object
.
is
(
opts
.
categorField
,
''
)
?
opts
.
categorField
:
''
;
this
.
categorCodeList
=
opts
.
categorCodeList
?
opts
.
categorCodeList
:
null
;
this
.
valueField
=
!
Object
.
is
(
opts
.
valueField
,
''
)
?
opts
.
valueField
:
''
;
this
.
encode
=
opts
.
encode
?
opts
.
encode
:
null
;
this
.
indicator
=
opts
.
indicator
?
opts
.
indicator
:[];
}
/**
* 设置分类属性
*
* @param {string} state
* @memberof ChartRadarSeries
*/
public
setCategorField
(
state
:
string
):
void
{
this
.
categorField
=
state
;
}
/**
* 设置序列名称
*
* @param {string} state
* @memberof ChartRadarSeries
*/
public
setValueField
(
state
:
string
):
void
{
this
.
valueField
=
state
;
}
/**
* 分类代码表
*
* @param {*} state
* @memberof ChartRadarSeries
*/
public
setCategorCodeList
(
state
:
any
):
void
{
this
.
categorCodeList
=
state
;
}
/**
* 设置编码
*
* @param {*} state
* @memberof ChartRadarSeries
*/
public
setEncode
(
state
:
any
):
void
{
this
.
encode
=
state
;
}
/**
* 设置雷达图指示器
*
* @param {*} state
* @memberof ChartRadarSeries
*/
public
setIndicator
(
state
:
any
):
void
{
this
.
indicator
=
state
;
}
}
\ No newline at end of file
app_web/src/model/chart-detail/index.ts
浏览文件 @
abafc21a
...
...
@@ -2,4 +2,5 @@ export { ChartDataSetField } from './chart-dataset-field';
export
{
ChartLineSeries
}
from
'./chart-line-series'
;
export
{
ChartFunnelSeries
}
from
'./chart-funnel-series'
;
export
{
ChartPieSeries
}
from
'./chart-pie-series'
;
export
{
ChartBarSeries
}
from
'./chart-bar-series'
;
\ No newline at end of file
export
{
ChartBarSeries
}
from
'./chart-bar-series'
;
export
{
ChartRadarSeries
}
from
'./chart-radar-series'
;
\ No newline at end of file
app_web/src/utils/uiaction-tool/uiaction-tool.ts
浏览文件 @
abafc21a
...
...
@@ -41,6 +41,7 @@ export class UIActionTool {
if
(
Object
.
is
(
actionTarget
,
'SINGLEKEY'
))
{
let
[
arg
]
=
args
;
Object
.
keys
(
_params
).
forEach
((
name
:
string
)
=>
{
let
hasProperty
=
true
;
if
(
!
name
)
{
return
;
}
...
...
@@ -50,13 +51,16 @@ export class UIActionTool {
if
(
arg
&&
arg
.
hasOwnProperty
(
key
))
{
value
=
(
arg
[
key
]
!==
null
&&
arg
[
key
]
!==
undefined
)
?
arg
[
key
]
:
null
;
}
else
{
value
=
null
;
hasProperty
=
false
;
}
}
Object
.
assign
(
_data
,
{
[
name
]:
value
});
if
(
hasProperty
){
Object
.
assign
(
_data
,
{
[
name
]:
value
});
}
});
}
else
if
(
Object
.
is
(
actionTarget
,
'MULTIKEY'
))
{
Object
.
keys
(
_params
).
forEach
((
name
:
string
)
=>
{
let
noPropertyNum
=
0
;
if
(
!
name
)
{
return
;
}
...
...
@@ -69,11 +73,14 @@ export class UIActionTool {
value
=
(
arg
[
key
]
!==
null
&&
arg
[
key
]
!==
undefined
)
?
arg
[
key
]
:
null
;
}
else
{
value
=
null
;
noPropertyNum
++
;
}
values
.
push
(
value
);
});
}
Object
.
assign
(
_data
,
{
[
name
]:
values
.
length
>
0
?
values
.
join
(
','
)
:
value
});
if
(
values
.
length
!==
noPropertyNum
){
Object
.
assign
(
_data
,
{
[
name
]:
values
.
length
>
0
?
values
.
join
(
';'
)
:
value
});
}
});
}
return
_data
;
...
...
app_web/src/widgets/wfgroup/main-grid/main-grid-base.vue
浏览文件 @
abafc21a
<
template
>
<div
class=
'grid'
style=
"height:100%;"
>
<i-form>
<i-form
style=
"height:100%"
>
<el-table
v-if=
"isDisplay === true"
:default-sort=
"
{ prop: minorSortPSDEF, order: Object.is(minorSortDir, 'ASC') ? 'ascending' : Object.is(minorSortDir, 'DESC') ? 'descending' : '' }"
@sort-change="onSortChange($event)"
...
...
@@ -62,7 +62,7 @@
<el-table-column></el-table-column>
</
template
>
</el-table>
</i-form>
<row
class=
'grid-pagination'
v-show=
"items.length > 0"
>
<page
class=
'pull-right'
@
on-change=
"pageOnChange($event)"
@
on-page-size-change=
"onPageSizeChange($event)"
...
...
@@ -98,6 +98,7 @@
</span>
</page>
</row>
</i-form>
</div>
</template>
<
script
lang=
'tsx'
>
...
...
app_web/src/widgets/wfmember/main-grid/main-grid-base.vue
浏览文件 @
abafc21a
<
template
>
<div
class=
'grid'
style=
"height:100%;"
>
<i-form>
<i-form
style=
"height:100%"
>
<el-table
v-if=
"isDisplay === true"
:default-sort=
"
{ prop: minorSortPSDEF, order: Object.is(minorSortDir, 'ASC') ? 'ascending' : Object.is(minorSortDir, 'DESC') ? 'descending' : '' }"
@sort-change="onSortChange($event)"
...
...
@@ -50,7 +50,7 @@
<el-table-column></el-table-column>
</
template
>
</el-table>
</i-form>
<row
class=
'grid-pagination'
v-show=
"items.length > 0"
>
<page
class=
'pull-right'
@
on-change=
"pageOnChange($event)"
@
on-page-size-change=
"onPageSizeChange($event)"
...
...
@@ -86,6 +86,7 @@
</span>
</page>
</row>
</i-form>
</div>
</template>
<
script
lang=
'tsx'
>
...
...
app_web/src/widgets/wfprocess-definition/main-grid/main-grid-base.vue
浏览文件 @
abafc21a
<
template
>
<div
class=
'grid'
style=
"height:100%;"
>
<i-form>
<i-form
style=
"height:100%"
>
<el-table
v-if=
"isDisplay === true"
:default-sort=
"
{ prop: minorSortPSDEF, order: Object.is(minorSortDir, 'ASC') ? 'ascending' : Object.is(minorSortDir, 'DESC') ? 'descending' : '' }"
@sort-change="onSortChange($event)"
...
...
@@ -88,7 +88,7 @@
<el-table-column></el-table-column>
</
template
>
</el-table>
</i-form>
<row
class=
'grid-pagination'
v-show=
"items.length > 0"
>
<page
class=
'pull-right'
@
on-change=
"pageOnChange($event)"
@
on-page-size-change=
"onPageSizeChange($event)"
...
...
@@ -124,6 +124,7 @@
</span>
</page>
</row>
</i-form>
</div>
</template>
<
script
lang=
'tsx'
>
...
...
app_web/src/widgets/wfuser/main-grid/main-grid-base.vue
浏览文件 @
abafc21a
<
template
>
<div
class=
'grid'
style=
"height:100%;"
>
<i-form>
<i-form
style=
"height:100%"
>
<el-table
v-if=
"isDisplay === true"
:default-sort=
"
{ prop: minorSortPSDEF, order: Object.is(minorSortDir, 'ASC') ? 'ascending' : Object.is(minorSortDir, 'DESC') ? 'descending' : '' }"
@sort-change="onSortChange($event)"
...
...
@@ -62,7 +62,7 @@
<el-table-column></el-table-column>
</
template
>
</el-table>
</i-form>
<row
class=
'grid-pagination'
v-show=
"items.length > 0"
>
<page
class=
'pull-right'
@
on-change=
"pageOnChange($event)"
@
on-page-size-change=
"onPageSizeChange($event)"
...
...
@@ -98,6 +98,7 @@
</span>
</page>
</row>
</i-form>
</div>
</template>
<
script
lang=
'tsx'
>
...
...
app_web/vue.config.js
浏览文件 @
abafc21a
...
...
@@ -15,7 +15,7 @@ module.exports = {
port
:
8111
,
compress
:
true
,
disableHostCheck
:
true
,
// proxy: "http://127.0.0.1:8080/
web
",
// proxy: "http://127.0.0.1:8080/",
historyApiFallback
:
{
rewrites
:
[
]
...
...
config.xml
浏览文件 @
abafc21a
...
...
@@ -37,11 +37,6 @@
git clone -b master $para2 ibzwf/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibzwf/
mvn clean package -Papi
cd ibzwf-provider/ibzwf-provider-api
mvn -Papi docker:build
mvn -Papi docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzwf-provider-api.yaml ibzlab-rt --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
ibzwf-provider/ibzwf-provider-api/src/main/docker/Dockerfile
浏览文件 @
abafc21a
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzwf-provider-api.jar
EXPOSE
40003
EXPOSE
8081
ADD
ibzwf-provider-api.jar /ibzwf-provider-api.jar
ibzwf-provider/ibzwf-provider-api/src/main/docker/ibzwf-provider-api.yaml
浏览文件 @
abafc21a
...
...
@@ -3,21 +3,9 @@ services:
ibzwf-provider-api
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzwf-provider-api:latest
ports
:
-
"
40003:40003
"
-
"
8081:8081
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.180.237
-
SERVER_PORT=40003
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.102.211:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_A_5d9d78509
-
SPRING_DATASOURCE_PASSWORD=@6dEfb3@
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.180.232:3306/a_A_5d9d78509?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_A_5d9d78509
deploy
:
mode
:
replicated
replicas
:
1
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录