Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzrt
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzrt
提交
9ac32372
提交
9ac32372
编写于
6月 19, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码
上级
52d398e9
变更
29
隐藏空白字符变更
内嵌
并排
正在显示
29 个修改的文件
包含
191 行增加
和
102 行删除
+191
-102
app-breadcrumb.vue
app_Web/src/components/app-breadcrumb/app-breadcrumb.vue
+80
-31
index-base.vue
app_Web/src/pages/rt/index/index-base.vue
+2
-2
navdata-service.ts
app_Web/src/service/app/navdata-service.ts
+18
-0
index-appmenu-base.vue
app_Web/src/widgets/app/index-appmenu/index-appmenu-base.vue
+13
-9
default-searchform-service.ts
...partment/default-searchform/default-searchform-service.ts
+0
-5
main-grid.less
app_Web/src/widgets/ibzdepartment/main-grid/main-grid.less
+6
-0
main-grid.less
app_Web/src/widgets/ibzdept-member/main-grid/main-grid.less
+6
-0
default-searchform-service.ts
...employee/default-searchform/default-searchform-service.ts
+0
-5
main-grid.less
app_Web/src/widgets/ibzemployee/main-grid/main-grid.less
+6
-0
default-searchform-service.ts
...nization/default-searchform/default-searchform-service.ts
+0
-5
main-grid.less
app_Web/src/widgets/ibzorganization/main-grid/main-grid.less
+6
-0
default-searchform-service.ts
...auth-log/default-searchform/default-searchform-service.ts
+0
-5
main-grid.less
app_Web/src/widgets/sys-auth-log/main-grid/main-grid.less
+6
-0
default-searchform-service.ts
...rmission/default-searchform/default-searchform-service.ts
+0
-5
main-grid.less
app_Web/src/widgets/sys-permission/main-grid/main-grid.less
+6
-0
default-searchform-service.ts
...sys-role/default-searchform/default-searchform-service.ts
+0
-5
main-grid.less
app_Web/src/widgets/sys-role/main-grid/main-grid.less
+6
-0
default-searchform-service.ts
...ser-role/default-searchform/default-searchform-service.ts
+0
-5
main-grid.less
app_Web/src/widgets/sys-user-role/main-grid/main-grid.less
+6
-0
default-searchform-service.ts
...sys-user/default-searchform/default-searchform-service.ts
+0
-5
main-grid.less
app_Web/src/widgets/sys-user/main-grid/main-grid.less
+6
-0
default-searchform-service.ts
.../wfgroup/default-searchform/default-searchform-service.ts
+0
-5
main-grid.less
app_Web/src/widgets/wfgroup/main-grid/main-grid.less
+6
-0
default-searchform-service.ts
...wfmember/default-searchform/default-searchform-service.ts
+0
-5
main-grid.less
app_Web/src/widgets/wfmember/main-grid/main-grid.less
+6
-0
default-searchform-service.ts
...finition/default-searchform/default-searchform-service.ts
+0
-5
main-grid.less
...src/widgets/wfprocess-definition/main-grid/main-grid.less
+6
-0
default-searchform-service.ts
...s/wfuser/default-searchform/default-searchform-service.ts
+0
-5
main-grid.less
app_Web/src/widgets/wfuser/main-grid/main-grid.less
+6
-0
未找到文件。
app_Web/src/components/app-breadcrumb/app-breadcrumb.vue
浏览文件 @
9ac32372
<
template
>
<el-breadcrumb
class=
"app-breadcrumb"
separator=
"/"
>
<transition-group
name=
"breadcrumb"
>
<el-breadcrumb-item
v-for=
"(item, index) in breadcrumbs"
:key=
"item.id"
>
<span
v-if=
"index === breadcrumbs.length-1"
class=
"no-redirect"
>
{{
item
.
title
}}
<span
v-if=
"item.isselected === true"
>
<dropdown
trigger=
'click'
@
on-click=
"selectNavData($event,item)"
>
<span
class=
"app-breadcrumb-selected"
>
<i
class=
"el-icon-caret-bottom"
></i>
</span>
<dropdown-menu
slot=
'list'
>
<dropdown-item
v-for=
"(dataitem) in getPreNavData(item)"
:name=
"dataitem.srfkey"
:key=
"dataitem.srfkey"
>
<span
:class=
"
{'curselected':isCurSelected(item,dataitem)}">
{{
dataitem
.
srfmajortext
}}
</span>
</dropdown-item>
</dropdown-menu>
</dropdown>
<template
v-if=
"Object.is(this.navModel,'route')"
>
<el-breadcrumb-item
v-for=
"(item, index) in breadcrumbs"
:key=
"item.id"
>
<span
v-if=
"index === breadcrumbs.length-1"
class=
"no-redirect"
>
{{
item
.
title
}}
<span
v-if=
"item.isselected === true"
>
<dropdown
trigger=
'click'
@
on-click=
"selectNavData($event,item)"
>
<span
class=
"app-breadcrumb-selected"
>
<i
class=
"el-icon-caret-bottom"
></i>
</span>
<dropdown-menu
slot=
'list'
>
<dropdown-item
v-for=
"(dataitem) in getPreNavData(item)"
:name=
"dataitem.srfkey"
:key=
"dataitem.srfkey"
>
<span
:class=
"
{'curselected':isCurSelected(item,dataitem)}">
{{
dataitem
.
srfmajortext
}}
</span>
</dropdown-item>
</dropdown-menu>
</dropdown>
</span>
</span>
</span>
<a
v-else
@
click
.
prevent=
"handleLink(item)"
>
{{
item
.
title
}}
</a>
</el-breadcrumb-item>
<a
v-else
@
click
.
prevent=
"handleLink(item)"
>
{{
item
.
title
}}
</a>
</el-breadcrumb-item>
</
template
>
<
template
v-if=
"!Object.is(this.navModel,'route')"
>
<el-breadcrumb-item
v-for=
"(item, index) in breadcrumbs"
:key=
"item.path"
>
<span
v-if=
"index === breadcrumbs.length-1"
class=
"no-redirect"
>
{{
$t
(
item
.
meta
.
caption
)
}}
</span>
<a
v-else
@
click
.
prevent=
"handleLink(item)"
>
{{
$t
(
item
.
meta
.
caption
)
}}
</a>
</el-breadcrumb-item>
</
template
>
</transition-group>
</el-breadcrumb>
</template>
...
...
@@ -54,6 +62,24 @@ export default class Breadcrumb extends Vue {
*/
@
Prop
()
public
indexViewTag
!
:
string
;
/**
* 导航模式
*
* @memberof Breadcrumb
*/
@
Prop
({
default
:
'tab'
})
public
navModel
?:
string
;
/**
* 监听路由
*
* @memberof Breadcrumb
*/
@
Watch
(
'$route'
)
private
onRouteChange
(
route
:
Route
)
{
this
.
getBreadcrumb
()
}
/**
* 导航服务事件
*
...
...
@@ -70,11 +96,13 @@ export default class Breadcrumb extends Vue {
*/
created
()
{
this
.
getBreadcrumb
();
this
.
serviceStateEvent
=
this
.
navDataService
.
serviceState
.
subscribe
(({
action
,
name
,
data
}:{
action
:
string
,
name
:
any
,
data
:
any
})
=>
{
if
(
Object
.
is
(
action
,
'datarefresh'
))
{
this
.
getBreadcrumb
();
}
});
if
(
Object
.
is
(
this
.
navModel
,
"route"
)){
this
.
serviceStateEvent
=
this
.
navDataService
.
serviceState
.
subscribe
(({
action
,
name
,
data
}:{
action
:
string
,
name
:
any
,
data
:
any
})
=>
{
if
(
Object
.
is
(
action
,
'datarefresh'
))
{
this
.
getBreadcrumb
();
}
});
}
}
/**
...
...
@@ -83,8 +111,14 @@ export default class Breadcrumb extends Vue {
* @memberof Breadcrumb
*/
private
getBreadcrumb
()
{
this
.
breadcrumbs
=
this
.
navDataService
.
getNavData
();
this
.
$forceUpdate
();
if
(
Object
.
is
(
this
.
navModel
,
"route"
)){
this
.
breadcrumbs
=
this
.
navDataService
.
getNavData
();
this
.
$forceUpdate
();
}
else
{
this
.
breadcrumbs
=
this
.
$route
.
matched
.
filter
((
item
)
=>
{
return
item
.
meta
&&
item
.
meta
.
caption
})
}
}
/**
...
...
@@ -112,16 +146,31 @@ export default class Breadcrumb extends Vue {
* @memberof Breadcrumb
*/
private
handleLink
(
item
:
any
)
{
// 首页
if
(
Object
.
is
(
item
.
id
,
this
.
indexViewTag
)){
this
.
$router
.
push
((
window
.
sessionStorage
.
getItem
(
Environment
.
AppName
))
as
string
);
if
(
Object
.
is
(
this
.
navModel
,
"route"
)){
// 首页
if
(
Object
.
is
(
item
.
id
,
this
.
indexViewTag
)){
this
.
$router
.
push
((
window
.
sessionStorage
.
getItem
(
Environment
.
AppName
))
as
string
);
}
else
{
// 非首页
this
.
$router
.
push
(
item
.
path
).
catch
(
err
=>
{
console
.
warn
(
err
);
});
}
this
.
navDataService
.
removeNavData
(
item
.
id
);
}
else
{
// 非首页
this
.
$router
.
push
(
item
.
path
).
catch
(
err
=>
{
console
.
warn
(
err
);
});
if
(
item
&&
item
.
meta
&&
item
.
meta
.
viewType
&&
Object
.
is
(
item
.
meta
.
viewType
,
"APPINDEX"
)){
let
path
:
string
|
null
=
window
.
sessionStorage
.
getItem
(
Environment
.
AppName
);
if
(
path
)
{
this
.
$router
.
push
({
path
:
path
});
}
else
{
this
.
$router
.
push
(
"/"
);
}
}
else
{
this
.
$router
.
push
(
item
).
catch
(
err
=>
{
console
.
warn
(
err
);
});
}
}
this
.
navDataService
.
removeNavData
(
item
.
id
);
}
/**
...
...
app_Web/src/pages/rt/index/index-base.vue
浏览文件 @
9ac32372
...
...
@@ -34,7 +34,7 @@
<div
class=
"page-logo"
>
<i
v-show=
"!collapseChange"
class=
"ivu-icon el-icon-s-fold"
@
click=
"handleClick"
></i>
<i
v-show=
"collapseChange"
class=
"ivu-icon el-icon-s-unfold"
@
click=
"handleClick"
></i>
<app-breadcrumb
v-if=
"Object.is(navModel,'route')
"
indexViewTag=
"index"
></app-breadcrumb>
<app-breadcrumb
:navModel=
"navModel
"
indexViewTag=
"index"
></app-breadcrumb>
</div>
</div>
<div
class=
"header-right"
style=
"display: flex;align-items: center;justify-content: space-between;"
>
...
...
@@ -511,7 +511,7 @@ export default class IndexBase extends Vue {
* @type {string}
* @memberof IndexBase
*/
public
navModel
:
string
=
"
route
"
;
public
navModel
:
string
=
"
tab
"
;
/**
* 抽屉状态
...
...
app_Web/src/service/app/navdata-service.ts
浏览文件 @
9ac32372
...
...
@@ -228,6 +228,24 @@ export default class NavDataService {
}
}
/**
* 从导航数据栈中删除指定数据上层数据(不清除页面缓存)
*
* @memberof NavDataService
*/
public
removeNavDataWithoutCache
(
id
:
string
){
if
(
this
.
navDataStack
.
length
>
0
){
let
tempIndex
:
number
=
this
.
navDataStack
.
findIndex
((
element
:
NavDataElement
)
=>
{
return
Object
.
is
(
element
.
id
,
id
);
})
let
removeNavData
=
this
.
navDataStack
.
splice
(
tempIndex
+
1
);
this
.
sessionStore
.
setItem
(
'srfnavdata'
,
JSON
.
stringify
(
this
.
navDataStack
));
return
removeNavData
;
}
else
{
return
null
;
}
}
/**
* 从导航数据栈中获取指定数据
*
...
...
app_Web/src/widgets/app/index-appmenu/index-appmenu-base.vue
浏览文件 @
9ac32372
...
...
@@ -498,7 +498,11 @@ export default class IndexBase extends Vue implements ControlInterface {
public
click
(
item
:
any
)
{
if
(
item
)
{
let
navDataService
=
NavDataService
.
getInstance
(
this
.
$store
);
navDataService
.
removeNavData
(
this
.
viewtag
);
if
(
Object
.
is
(
this
.
navModel
,
"route"
)){
navDataService
.
removeNavData
(
this
.
viewtag
);
}
else
{
navDataService
.
removeNavDataWithoutCache
(
this
.
viewtag
);
}
switch
(
item
.
appfunctag
)
{
case
'Auto3'
:
this
.
clickAuto3
(
item
);
...
...
@@ -546,7 +550,7 @@ export default class IndexBase extends Vue implements ControlInterface {
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
p
ath
,
path
)){
if
(
Object
.
is
(
this
.
$route
.
fullP
ath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
...
...
@@ -569,7 +573,7 @@ export default class IndexBase extends Vue implements ControlInterface {
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
p
ath
,
path
)){
if
(
Object
.
is
(
this
.
$route
.
fullP
ath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
...
...
@@ -592,7 +596,7 @@ export default class IndexBase extends Vue implements ControlInterface {
{
pathName
:
'treeexpview'
,
parameterName
:
'treeexpview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
p
ath
,
path
)){
if
(
Object
.
is
(
this
.
$route
.
fullP
ath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
...
...
@@ -615,7 +619,7 @@ export default class IndexBase extends Vue implements ControlInterface {
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
p
ath
,
path
)){
if
(
Object
.
is
(
this
.
$route
.
fullP
ath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
...
...
@@ -638,7 +642,7 @@ export default class IndexBase extends Vue implements ControlInterface {
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
p
ath
,
path
)){
if
(
Object
.
is
(
this
.
$route
.
fullP
ath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
...
...
@@ -661,7 +665,7 @@ export default class IndexBase extends Vue implements ControlInterface {
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
p
ath
,
path
)){
if
(
Object
.
is
(
this
.
$route
.
fullP
ath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
...
...
@@ -684,7 +688,7 @@ export default class IndexBase extends Vue implements ControlInterface {
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
p
ath
,
path
)){
if
(
Object
.
is
(
this
.
$route
.
fullP
ath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
...
...
@@ -707,7 +711,7 @@ export default class IndexBase extends Vue implements ControlInterface {
{
pathName
:
'treeexpview'
,
parameterName
:
'treeexpview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
p
ath
,
path
)){
if
(
Object
.
is
(
this
.
$route
.
fullP
ath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
...
...
app_Web/src/widgets/ibzdepartment/default-searchform/default-searchform-service.ts
浏览文件 @
9ac32372
...
...
@@ -281,10 +281,6 @@ export default class DefaultService extends ControlService {
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
deptid
=
PrimaryKey
;
Data
.
ibzdepartment
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
...
...
@@ -294,7 +290,6 @@ export default class DefaultService extends ControlService {
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
deptid
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
...
...
app_Web/src/widgets/ibzdepartment/main-grid/main-grid.less
浏览文件 @
9ac32372
...
...
@@ -46,6 +46,12 @@
margin-bottom: unset !important;
}
}
.el-table__body td{
padding:0;
}
.app-form-item{
margin-top: 20px;
}
}
.grid-pagination {
height: 50px;
...
...
app_Web/src/widgets/ibzdept-member/main-grid/main-grid.less
浏览文件 @
9ac32372
...
...
@@ -46,6 +46,12 @@
margin-bottom: unset !important;
}
}
.el-table__body td{
padding:0;
}
.app-form-item{
margin-top: 20px;
}
}
.grid-pagination {
height: 50px;
...
...
app_Web/src/widgets/ibzemployee/default-searchform/default-searchform-service.ts
浏览文件 @
9ac32372
...
...
@@ -281,10 +281,6 @@ export default class DefaultService extends ControlService {
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
userid
=
PrimaryKey
;
Data
.
ibzemployee
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
...
...
@@ -294,7 +290,6 @@ export default class DefaultService extends ControlService {
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
userid
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
...
...
app_Web/src/widgets/ibzemployee/main-grid/main-grid.less
浏览文件 @
9ac32372
...
...
@@ -46,6 +46,12 @@
margin-bottom: unset !important;
}
}
.el-table__body td{
padding:0;
}
.app-form-item{
margin-top: 20px;
}
}
.grid-pagination {
height: 50px;
...
...
app_Web/src/widgets/ibzorganization/default-searchform/default-searchform-service.ts
浏览文件 @
9ac32372
...
...
@@ -284,10 +284,6 @@ export default class DefaultService extends ControlService {
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
orgid
=
PrimaryKey
;
Data
.
ibzorganization
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
...
...
@@ -297,7 +293,6 @@ export default class DefaultService extends ControlService {
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
orgid
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
...
...
app_Web/src/widgets/ibzorganization/main-grid/main-grid.less
浏览文件 @
9ac32372
...
...
@@ -46,6 +46,12 @@
margin-bottom: unset !important;
}
}
.el-table__body td{
padding:0;
}
.app-form-item{
margin-top: 20px;
}
}
.grid-pagination {
height: 50px;
...
...
app_Web/src/widgets/sys-auth-log/default-searchform/default-searchform-service.ts
浏览文件 @
9ac32372
...
...
@@ -281,10 +281,6 @@ export default class DefaultService extends ControlService {
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
logid
=
PrimaryKey
;
Data
.
sysauthlog
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
...
...
@@ -294,7 +290,6 @@ export default class DefaultService extends ControlService {
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
logid
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
...
...
app_Web/src/widgets/sys-auth-log/main-grid/main-grid.less
浏览文件 @
9ac32372
...
...
@@ -46,6 +46,12 @@
margin-bottom: unset !important;
}
}
.el-table__body td{
padding:0;
}
.app-form-item{
margin-top: 20px;
}
}
.grid-pagination {
height: 50px;
...
...
app_Web/src/widgets/sys-permission/default-searchform/default-searchform-service.ts
浏览文件 @
9ac32372
...
...
@@ -281,10 +281,6 @@ export default class DefaultService extends ControlService {
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
permissionid
=
PrimaryKey
;
Data
.
syspermission
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
...
...
@@ -294,7 +290,6 @@ export default class DefaultService extends ControlService {
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
permissionid
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
...
...
app_Web/src/widgets/sys-permission/main-grid/main-grid.less
浏览文件 @
9ac32372
...
...
@@ -46,6 +46,12 @@
margin-bottom: unset !important;
}
}
.el-table__body td{
padding:0;
}
.app-form-item{
margin-top: 20px;
}
}
.grid-pagination {
height: 50px;
...
...
app_Web/src/widgets/sys-role/default-searchform/default-searchform-service.ts
浏览文件 @
9ac32372
...
...
@@ -281,10 +281,6 @@ export default class DefaultService extends ControlService {
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
roleid
=
PrimaryKey
;
Data
.
sysrole
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
...
...
@@ -294,7 +290,6 @@ export default class DefaultService extends ControlService {
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
roleid
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
...
...
app_Web/src/widgets/sys-role/main-grid/main-grid.less
浏览文件 @
9ac32372
...
...
@@ -46,6 +46,12 @@
margin-bottom: unset !important;
}
}
.el-table__body td{
padding:0;
}
.app-form-item{
margin-top: 20px;
}
}
.grid-pagination {
height: 50px;
...
...
app_Web/src/widgets/sys-user-role/default-searchform/default-searchform-service.ts
浏览文件 @
9ac32372
...
...
@@ -281,10 +281,6 @@ export default class DefaultService extends ControlService {
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
userroleid
=
PrimaryKey
;
Data
.
sysuserrole
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
...
...
@@ -294,7 +290,6 @@ export default class DefaultService extends ControlService {
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
userroleid
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
...
...
app_Web/src/widgets/sys-user-role/main-grid/main-grid.less
浏览文件 @
9ac32372
...
...
@@ -46,6 +46,12 @@
margin-bottom: unset !important;
}
}
.el-table__body td{
padding:0;
}
.app-form-item{
margin-top: 20px;
}
}
.grid-pagination {
height: 50px;
...
...
app_Web/src/widgets/sys-user/default-searchform/default-searchform-service.ts
浏览文件 @
9ac32372
...
...
@@ -281,10 +281,6 @@ export default class DefaultService extends ControlService {
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
userid
=
PrimaryKey
;
Data
.
sysuser
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
...
...
@@ -294,7 +290,6 @@ export default class DefaultService extends ControlService {
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
userid
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
...
...
app_Web/src/widgets/sys-user/main-grid/main-grid.less
浏览文件 @
9ac32372
...
...
@@ -46,6 +46,12 @@
margin-bottom: unset !important;
}
}
.el-table__body td{
padding:0;
}
.app-form-item{
margin-top: 20px;
}
}
.grid-pagination {
height: 50px;
...
...
app_Web/src/widgets/wfgroup/default-searchform/default-searchform-service.ts
浏览文件 @
9ac32372
...
...
@@ -281,10 +281,6 @@ export default class DefaultService extends ControlService {
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
id
=
PrimaryKey
;
Data
.
wfgroup
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
...
...
@@ -294,7 +290,6 @@ export default class DefaultService extends ControlService {
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
id
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
...
...
app_Web/src/widgets/wfgroup/main-grid/main-grid.less
浏览文件 @
9ac32372
...
...
@@ -46,6 +46,12 @@
margin-bottom: unset !important;
}
}
.el-table__body td{
padding:0;
}
.app-form-item{
margin-top: 20px;
}
}
.grid-pagination {
height: 50px;
...
...
app_Web/src/widgets/wfmember/default-searchform/default-searchform-service.ts
浏览文件 @
9ac32372
...
...
@@ -281,10 +281,6 @@ export default class DefaultService extends ControlService {
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
memberid
=
PrimaryKey
;
Data
.
wfmember
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
...
...
@@ -294,7 +290,6 @@ export default class DefaultService extends ControlService {
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
memberid
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
...
...
app_Web/src/widgets/wfmember/main-grid/main-grid.less
浏览文件 @
9ac32372
...
...
@@ -46,6 +46,12 @@
margin-bottom: unset !important;
}
}
.el-table__body td{
padding:0;
}
.app-form-item{
margin-top: 20px;
}
}
.grid-pagination {
height: 50px;
...
...
app_Web/src/widgets/wfprocess-definition/default-searchform/default-searchform-service.ts
浏览文件 @
9ac32372
...
...
@@ -281,10 +281,6 @@ export default class DefaultService extends ControlService {
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
definitionkey
=
PrimaryKey
;
Data
.
wfprocessdefinition
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
...
...
@@ -294,7 +290,6 @@ export default class DefaultService extends ControlService {
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
definitionkey
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
...
...
app_Web/src/widgets/wfprocess-definition/main-grid/main-grid.less
浏览文件 @
9ac32372
...
...
@@ -46,6 +46,12 @@
margin-bottom: unset !important;
}
}
.el-table__body td{
padding:0;
}
.app-form-item{
margin-top: 20px;
}
}
.grid-pagination {
height: 50px;
...
...
app_Web/src/widgets/wfuser/default-searchform/default-searchform-service.ts
浏览文件 @
9ac32372
...
...
@@ -281,10 +281,6 @@ export default class DefaultService extends ControlService {
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
id
=
PrimaryKey
;
Data
.
wfuser
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
...
...
@@ -294,7 +290,6 @@ export default class DefaultService extends ControlService {
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
id
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
...
...
app_Web/src/widgets/wfuser/main-grid/main-grid.less
浏览文件 @
9ac32372
...
...
@@ -46,6 +46,12 @@
margin-bottom: unset !important;
}
}
.el-table__body td{
padding:0;
}
.app-form-item{
margin-top: 20px;
}
}
.grid-pagination {
height: 50px;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录