Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
8758fdff
提交
8758fdff
编写于
9月 28, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chitanda 发布系统代码 [TrainSys,网页端]
上级
fea8301d
变更
32
隐藏空白字符变更
内嵌
并排
正在显示
32 个修改的文件
包含
861 行增加
和
386 行删除
+861
-386
action-toolbar.tsx
...b/src/components/common/action-toolbar/action-toolbar.tsx
+5
-14
app-grid-edit-item.tsx
...mponents/common/app-grid-edit-item/app-grid-edit-item.tsx
+2
-2
view-toolbar.tsx
app_Web/src/components/common/view-toolbar/view-toolbar.tsx
+25
-38
ibiz-dropdown-list.tsx
...mponents/editor/ibiz-dropdown-list/ibiz-dropdown-list.tsx
+4
-0
ibiz-mpicker.tsx
app_Web/src/components/editor/ibiz-mpicker/ibiz-mpicker.tsx
+4
-0
ibiz-picker-dropdown.tsx
...ents/editor/ibiz-picker-dropdown/ibiz-picker-dropdown.tsx
+4
-0
ibiz-picker.tsx
app_Web/src/components/editor/ibiz-picker/ibiz-picker.tsx
+5
-0
grid-view.tsx
app_Web/src/components/views/grid-view/grid-view.tsx
+9
-1
grid-control.tsx
app_Web/src/components/widgets/grid-control/grid-control.tsx
+18
-13
grid-control.util.ts
.../src/components/widgets/grid-control/grid-control.util.ts
+12
-1
grid-field-column.tsx
...gets/grid-control/grid-field-column/grid-field-column.tsx
+16
-8
grid-ua-column.tsx
...ts/widgets/grid-control/grid-ua-column/grid-ua-column.tsx
+1
-1
index.ts
app_Web/src/router/index.ts
+28
-0
view-toolbar.scss
...c/styles/components/common/view-toolbar/view-toolbar.scss
+2
-1
var.scss
app_Web/src/styles/settings/var.scss
+4
-1
app-redirect-view.tsx
app_Web/src/views/app-redirect-view/app-redirect-view.tsx
+79
-0
todo-redirect.tsx
app_Web/src/views/todo-redirect/todo-redirect.tsx
+53
-0
h2_table.xml
trainsys-core/src/main/resources/liquibase/h2_table.xml
+2
-2
EditorTest.json
...YSAPPS/Web/PSAPPDATAENTITIES/Book/PSFORMS/EditorTest.json
+31
-31
Main.json
...ys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSGRIDS/Main.json
+85
-12
Main.json
...PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo/PSGRIDS/Main.json
+31
-31
Main.json
...PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSFORMS/Main.json
+31
-31
Main.json
...PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSGRIDS/Main.json
+17
-0
ReginfoGridView.json
.../trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoGridView.json
+31
-31
ReginfoStuInfoList.json
...ainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoStuInfoList.json
+31
-31
bookBookEditViewEditorTest.json
...SSYSAPPS/Web/PSAPPDEVIEWS/bookBookEditViewEditorTest.json
+31
-31
bookGridView.json
...lab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/bookGridView.json
+156
-13
studentEditView.json
.../trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json
+31
-31
studentPickupGridView.json
...sys/PSSYSAPPS/Web/PSAPPDEVIEWS/studentPickupGridView.json
+17
-0
studentPickupView.json
...rainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/studentPickupView.json
+17
-0
studentStudentGridView.json
...ys/PSSYSAPPS/Web/PSAPPDEVIEWS/studentStudentGridView.json
+17
-0
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+62
-62
未找到文件。
app_Web/src/components/common/action-toolbar/action-toolbar.tsx
浏览文件 @
8758fdff
import
{
defineComponent
,
PropType
,
reactive
}
from
'vue'
;
import
{
defineComponent
,
PropType
}
from
'vue'
;
import
{
IPSUIActionGroup
,
IPSUIActionGroupDetail
}
from
'@ibiz-template/model'
;
import
{
useNamespace
}
from
'@ibiz-template/vue-util'
;
import
'@/styles/components/common/view-toolbar/view-toolbar.scss'
;
import
{
ActionStates
,
Action
State
}
from
'@ibiz-template/controller'
;
import
{
IActions
State
}
from
'@ibiz-template/controller'
;
export
const
ActionToolbar
=
defineComponent
({
name
:
'ActionToolbar'
,
...
...
@@ -11,23 +11,14 @@ export const ActionToolbar = defineComponent({
type
:
Object
as
PropType
<
IPSUIActionGroup
>
,
required
:
true
,
},
action
States
:
{
type
:
Object
as
PropType
<
ActionStates
>
,
action
sState
:
{
type
:
Object
as
PropType
<
IActionsState
>
,
required
:
true
,
},
},
setup
(
props
,
{
emit
})
{
const
ns
=
useNamespace
(
'action-toolbar'
);
// 按钮状态控制
const
actionStates
=
reactive
<
{
[
p
:
string
]:
ActionState
}
>
({});
props
.
actionGroup
.
getPSUIActionGroupDetails
()?.
forEach
(
detail
=>
{
const
action
=
detail
.
getPSUIAction
();
if
(
action
)
{
actionStates
[
action
.
uIActionTag
]
=
{
disabled
:
false
};
}
});
// 点击事件抛给表格执行
const
handleClick
=
async
(
detail
:
IPSUIActionGroupDetail
,
...
...
@@ -50,7 +41,7 @@ export const ActionToolbar = defineComponent({
<
i
-
button
type=
'text'
on
-
click=
{
(
e
:
MouseEvent
)
=>
this
.
handleClick
(
detail
,
e
)
}
disabled=
{
this
.
action
States
[
action
.
uIActionTag
].
disabled
}
disabled=
{
this
.
action
sState
[
detail
.
name
].
disabled
}
class=
{
[
this
.
ns
.
be
(
'item'
),
this
.
ns
.
is
(
'disabled'
,
false
)]
}
>
{
detail
.
showIcon
&&
action
.
getPSSysImage
()
&&
(
...
...
app_Web/src/components/common/app-grid-edit-item/app-grid-edit-item.tsx
浏览文件 @
8758fdff
...
...
@@ -21,7 +21,7 @@ export const AppGridEditItem = defineComponent({
{
!
this
.
error
?
(
this
.
$slots
.
default
)
:
(
<
tooltip
<
i
-
tooltip
content=
{
this
.
error
}
transfer
transfer
-
class
-
name=
'grid-error'
...
...
@@ -29,7 +29,7 @@ export const AppGridEditItem = defineComponent({
style=
'border: 1px solid red'
>
{
this
.
$slots
.
default
}
</
tooltip
>
</
i
-
tooltip
>
)
}
</
div
>
);
...
...
app_Web/src/components/common/view-toolbar/view-toolbar.tsx
浏览文件 @
8758fdff
...
...
@@ -12,7 +12,7 @@ import {
IPSDEToolbarItem
,
ToolbarModel
,
}
from
'@ibiz-template/model'
;
import
{
ToolbarNeuron
}
from
'@ibiz-template/controller'
;
import
{
ActionsState
,
ToolbarNeuron
}
from
'@ibiz-template/controller'
;
import
{
useNamespace
}
from
'@ibiz-template/vue-util'
;
import
'@/styles/components/common/view-toolbar/view-toolbar.scss'
;
...
...
@@ -51,50 +51,42 @@ export const ViewToolbar = defineComponent({
await
neuron
.
evt
.
asyncEmit
(
'mounted'
);
});
// 点击事件
const
handleClick
=
async
(
item
:
IPSDEToolbarItem
,
_event
:
MouseEvent
)
=>
{
doingToolbarItem
.
value
=
item
.
id
;
try
{
await
neuron
.
evt
.
asyncEmit
(
'itemClick'
,
item
as
IPSDETBUIActionItem
,
_event
,
);
}
finally
{
doingToolbarItem
.
value
=
''
;
}
};
const
btnSize
=
computed
(()
=>
{
return
props
.
viewMode
===
'EMBED'
?
'small'
:
'default'
;
});
// 初始化工具栏状态控制对象
const
tempState
:
{
[
p
:
string
]:
{
visible
:
boolean
;
disabled
:
boolean
;
};
}
=
{};
const
actionsState
=
new
ActionsState
();
[...
props
.
modelData
.
actionItems
.
values
()].
forEach
(
item
=>
{
tempState
[
item
.
id
]
=
{
visible
:
true
,
disabled
:
false
,
};
actionsState
.
addAction
(
item
.
id
,
item
.
uIActionTarget
,
item
.
getPSUIAction
()?.
uIActionTag
||
''
,
);
});
const
toolbarState
=
reactive
(
temp
State
);
const
toolbarState
=
reactive
(
actions
State
);
watch
(
()
=>
props
.
selections
,
newVal
=>
{
[...
props
.
modelData
.
actionItems
.
values
()].
forEach
(
item
=>
{
if
(
item
.
uIActionTarget
===
'NONE'
)
{
tempState
[
item
.
id
].
disabled
=
!
newVal
?.
length
;
}
});
toolbarState
.
setSelectedData
(
newVal
||
[]);
},
{
immediate
:
true
},
);
// 点击事件
const
handleClick
=
async
(
item
:
IPSDEToolbarItem
,
_event
:
MouseEvent
)
=>
{
toolbarState
.
setDoingAction
(
item
.
id
);
try
{
await
neuron
.
evt
.
asyncEmit
(
'itemClick'
,
item
as
IPSDETBUIActionItem
,
_event
,
);
}
finally
{
toolbarState
.
setDoingAction
(
''
);
}
};
return
{
ns
,
doingToolbarItem
,
toolbarState
,
handleClick
,
btnSize
};
},
render
()
{
...
...
@@ -124,13 +116,8 @@ export const ViewToolbar = defineComponent({
<
i
-
button
title=
{
item
.
tooltip
}
size=
{
this
.
btnSize
}
loading=
{
!!
this
.
doingToolbarItem
&&
this
.
doingToolbarItem
===
item
.
id
}
disabled=
{
!!
this
.
doingToolbarItem
||
this
.
toolbarState
[
item
.
id
].
disabled
}
loading=
{
this
.
toolbarState
[
item
.
id
].
loading
}
disabled=
{
this
.
toolbarState
[
item
.
id
].
disabled
}
on
-
click=
{
(
e
:
MouseEvent
)
=>
this
.
handleClick
(
item
,
e
)
}
>
{
btnContent
(
item
,
this
.
viewMode
)
}
...
...
app_Web/src/components/editor/ibiz-dropdown-list/ibiz-dropdown-list.tsx
浏览文件 @
8758fdff
...
...
@@ -15,6 +15,9 @@ export const IBizDropDownList = defineComponent({
data
:
{
type
:
Object
as
PropType
<
IData
>
,
},
disable
:
{
type
:
Boolean
,
},
},
emits
:
{
change
:
(
_value
:
string
|
Array
<
string
>
|
null
)
=>
true
,
...
...
@@ -84,6 +87,7 @@ export const IBizDropDownList = defineComponent({
class=
{
this
.
ns
.
e
(
'dropdown-list'
)
}
multiple=
{
this
.
c
!
.
multiple
}
placeholder=
{
this
.
c
!
.
placeHolder
}
disabled=
{
this
.
disable
}
>
{
this
.
items
.
map
(
item
=>
{
return
<
i
-
option
value=
{
item
.
value
}
>
{
item
.
text
}
</
i
-
option
>;
...
...
app_Web/src/components/editor/ibiz-mpicker/ibiz-mpicker.tsx
浏览文件 @
8758fdff
...
...
@@ -15,6 +15,9 @@ export const IBizMPicker = defineComponent({
data
:
{
type
:
Object
as
PropType
<
IData
>
,
},
disable
:
{
type
:
Boolean
,
},
},
emits
:
{
change
:
(
_value
:
Array
<
string
>
|
string
|
null
,
_tag
?:
string
)
=>
true
,
...
...
@@ -261,6 +264,7 @@ export const IBizMPicker = defineComponent({
remote
-
method=
{
this
.
onSearch
}
on
-
on
-
open
-
change=
{
this
.
onSelectOpen
}
on
-
on
-
change=
{
this
.
onSelect
}
disabled=
{
this
.
disable
}
>
{
this
.
items
.
map
((
item
,
index
)
=>
{
return
(
...
...
app_Web/src/components/editor/ibiz-picker-dropdown/ibiz-picker-dropdown.tsx
浏览文件 @
8758fdff
...
...
@@ -17,6 +17,9 @@ export const IBizPickerDropdown = defineComponent({
type
:
Object
as
PropType
<
IData
>
,
required
:
true
,
},
disable
:
{
type
:
Boolean
,
},
},
emits
:
{
change
:
(
_value
?:
string
|
Array
<
string
>
|
IData
|
null
,
_tag
?:
string
)
=>
...
...
@@ -174,6 +177,7 @@ export const IBizPickerDropdown = defineComponent({
on
-
on
-
open
-
change=
{
this
.
onSelectOpen
}
on
-
on
-
change=
{
this
.
onSelect
}
on
-
on
-
clear=
{
this
.
onClear
}
disabled=
{
this
.
disable
}
>
{
this
.
items
.
map
((
item
,
index
)
=>
{
return
(
...
...
app_Web/src/components/editor/ibiz-picker/ibiz-picker.tsx
浏览文件 @
8758fdff
...
...
@@ -17,6 +17,9 @@ export const IBizPicker = defineComponent({
type
:
Object
as
PropType
<
IData
>
,
required
:
true
,
},
disable
:
{
type
:
Boolean
,
},
},
setup
(
props
,
{
emit
})
{
const
ns
=
useNamespace
(
'picker'
);
...
...
@@ -145,6 +148,7 @@ export const IBizPicker = defineComponent({
clearable
placeholder=
{
this
.
c
.
placeHolder
}
on
-
on
-
clear=
{
this
.
onClear
}
disabled=
{
this
.
disable
}
>
{
this
.
$slots
.
append
}
{
!
this
.
$slots
.
append
&&
this
.
c
.
pickupView
?
(
...
...
@@ -178,6 +182,7 @@ export const IBizPicker = defineComponent({
on
-
on
-
focus=
{
this
.
onFocus
}
on
-
on
-
search=
{
this
.
onSearch
}
on
-
on
-
clear=
{
this
.
onClear
}
disabled=
{
this
.
disable
}
>
{
this
.
items
.
map
(
item
=>
{
return
(
...
...
app_Web/src/components/views/grid-view/grid-view.tsx
浏览文件 @
8758fdff
import
{
IModal
}
from
'@ibiz-template/runtime'
;
import
{
useGridViewController
}
from
'@ibiz-template/vue-util'
;
import
{
defineComponent
,
getCurrentInstance
,
PropType
}
from
'vue'
;
import
{
defineComponent
,
getCurrentInstance
,
onActivated
,
PropType
,
}
from
'vue'
;
export
const
GridView
=
defineComponent
({
props
:
{
...
...
@@ -14,6 +19,9 @@ export const GridView = defineComponent({
const
c
=
useGridViewController
(
proxy
,
props
.
modelPath
);
// 表格视图激活刷新
onActivated
(()
=>
c
.
refresh
());
return
{
c
};
},
render
()
{
...
...
app_Web/src/components/widgets/grid-control/grid-control.tsx
浏览文件 @
8758fdff
...
...
@@ -38,7 +38,8 @@ export const GridControl = defineComponent({
);
const
[
columns
]
=
useITableColumns
(
c
);
const
{
onRowClick
,
onDbRowClick
,
onSelectionChange
}
=
useITableEvent
(
c
);
const
{
onRowClick
,
onDbRowClick
,
onSelectionChange
,
onSortChange
}
=
useITableEvent
(
c
);
const
{
onPageChange
,
onPageReset
,
onPageSizeChange
}
=
useAppGridPagination
(
c
);
...
...
@@ -63,6 +64,7 @@ export const GridControl = defineComponent({
onDbRowClick
,
onUIRowClick
,
onSelectionChange
,
onSortChange
,
onPageChange
,
onPageSizeChange
,
onPageReset
,
...
...
@@ -91,10 +93,10 @@ export const GridControl = defineComponent({
);
},
};
if
(
this
.
c
.
rows
.
length
>
0
)
{
// 属性列自定义
this
.
c
.
model
.
fieldColumns
.
forEach
(
item
=>
{
columnSlots
[
item
.
codeName
]
=
({
row
,
index
}:
IData
)
=>
{
// 属性列自定义
this
.
c
.
model
.
fieldColumns
.
forEach
(
item
=>
{
columnSlots
[
item
.
codeName
]
=
({
row
,
index
}:
IData
)
=>
{
if
(
this
.
c
.
rows
.
length
>
0
)
{
return
(
<
grid
-
column
key=
{
row
.
srfkey
+
item
.
codeName
}
...
...
@@ -103,11 +105,13 @@ export const GridControl = defineComponent({
row=
{
this
.
c
.
rows
[
index
]
}
></
grid
-
column
>
);
};
});
// 操作列自定义
this
.
c
.
model
.
uaColumns
.
forEach
(
item
=>
{
columnSlots
[
item
.
codeName
]
=
({
row
,
index
}:
IData
)
=>
{
}
};
});
// 操作列自定义
this
.
c
.
model
.
uaColumns
.
forEach
(
item
=>
{
columnSlots
[
item
.
codeName
]
=
({
row
,
index
}:
IData
)
=>
{
if
(
this
.
c
.
rows
.
length
>
0
)
{
return
(
<
grid
-
ua
-
column
key=
{
row
.
srfkey
+
item
.
codeName
}
...
...
@@ -115,9 +119,9 @@ export const GridControl = defineComponent({
row=
{
this
.
c
.
rows
[
index
]
}
></
grid
-
ua
-
column
>
);
}
;
}
)
;
}
}
};
}
);
return
(
<
control
-
layout
modelData=
{
this
.
c
.
model
}
>
...
...
@@ -138,6 +142,7 @@ export const GridControl = defineComponent({
on
-
on
-
row
-
click=
{
this
.
onUIRowClick
}
on
-
on
-
row
-
dblclick=
{
this
.
onDbRowClick
}
on
-
on
-
selection
-
change=
{
this
.
onSelectionChange
}
on
-
on
-
sort
-
change=
{
this
.
onSortChange
}
scopedSlots=
{
columnSlots
}
></
i
-
table
>
{
this
.
c
.
model
.
source
.
enablePagingBar
&&
(
...
...
app_Web/src/components/widgets/grid-control/grid-control.util.ts
浏览文件 @
8758fdff
...
...
@@ -27,6 +27,7 @@ export function generateIViewColumns(c: GridController): IData[] {
ellipsis
:
true
,
tooltip
:
false
,
// todo 表格提示用title
resizable
:
true
,
sortable
:
!
c
.
noSort
&&
column
.
source
.
enableSort
?
'custom'
:
false
,
};
});
...
...
@@ -135,7 +136,17 @@ export function useITableEvent(c: GridController) {
c
.
onSelectionChange
(
origins
);
}
}
return
{
onRowClick
,
onDbRowClick
,
onSelectionChange
};
function
onSortChange
(
opts
:
{
column
:
IData
;
key
:
string
;
order
:
'asc'
|
'desc'
;
})
{
const
{
key
,
order
}
=
opts
;
c
.
setSort
(
key
,
order
);
c
.
load
();
}
return
{
onRowClick
,
onDbRowClick
,
onSelectionChange
,
onSortChange
};
}
/**
...
...
app_Web/src/components/widgets/grid-control/grid-field-column/grid-field-column.tsx
浏览文件 @
8758fdff
...
...
@@ -2,7 +2,7 @@ import {
GridFieldColumnController
,
GridRowController
,
}
from
'@ibiz-template/controller'
;
import
{
defineComponent
}
from
'vue'
;
import
{
computed
,
defineComponent
}
from
'vue'
;
import
{
useNamespace
}
from
'@ibiz-template/vue-util'
;
export
const
GridFieldColumn
=
defineComponent
({
...
...
@@ -17,16 +17,24 @@ export const GridFieldColumn = defineComponent({
required
:
true
,
},
},
setup
()
{
setup
(
props
)
{
const
ns
=
useNamespace
(
'grid-column'
);
return
{
ns
};
const
codeListText
=
computed
(()
=>
{
if
(
props
.
controller
.
codeListItems
?.
length
)
{
const
value
=
props
.
row
.
data
[
props
.
controller
.
model
.
codeName
];
const
findItem
=
props
.
controller
.
codeListItems
.
find
(
item
=>
item
.
value
===
value
,
);
return
findItem
?.
text
;
}
return
null
;
});
return
{
ns
,
codeListText
};
},
render
()
{
return
(
<
span
class=
{
this
.
ns
.
b
()
}
>
{
this
.
row
.
data
[
this
.
controller
.
model
.
codeName
]
}
</
span
>
);
const
value
=
this
.
row
.
data
[
this
.
controller
.
model
.
codeName
];
return
<
span
class=
{
this
.
ns
.
b
()
}
>
{
this
.
codeListText
||
value
}
</
span
>;
},
});
export
default
GridFieldColumn
;
app_Web/src/components/widgets/grid-control/grid-ua-column/grid-ua-column.tsx
浏览文件 @
8758fdff
...
...
@@ -42,7 +42,7 @@ export const GridUAColumn = defineComponent({
{
!
this
.
uaColumn
.
model
.
actionGroup
?
null
:
(
<
actionToolbar
action
-
group=
{
this
.
uaColumn
.
model
.
actionGroup
}
action
-
states
=
{
action
s
-
state
=
{
this
.
row
.
uaColumnStates
[
this
.
uaColumn
.
model
.
codeName
]
}
on
-
action
-
click=
{
this
.
onActionClick
}
...
...
app_Web/src/router/index.ts
浏览文件 @
8758fdff
import
Router
from
'vue-router'
;
import
{
AuthGuard
}
from
'../guard'
;
import
RouterShell
from
'@/components/router-shell/router-shell'
;
import
appRedirectView
from
'@/views/app-redirect-view/app-redirect-view'
;
import
todoRedirect
from
'@/views/todo-redirect/todo-redirect'
;
const
router
=
new
Router
({
routes
:
[
...
...
@@ -18,6 +20,32 @@ const router = new Router({
name
:
'404View'
,
component
:
()
=>
import
(
'../views/404-view/404-view'
),
},
{
path
:
'/appredirectview'
,
name
:
'appRedirectView'
,
beforeEnter
:
async
(
_to
,
_from
,
next
)
=>
{
const
authority
=
await
AuthGuard
();
if
(
authority
)
{
next
();
}
else
{
next
(
false
);
}
},
component
:
appRedirectView
,
},
{
path
:
'/todoredirect'
,
name
:
'todoRedirect'
,
beforeEnter
:
async
(
_to
,
_from
,
next
)
=>
{
const
authority
=
await
AuthGuard
();
if
(
authority
)
{
next
();
}
else
{
next
(
false
);
}
},
component
:
todoRedirect
,
},
{
path
:
'/:view1([^=/]+)/:params1([^/]+=[^/]+)?'
,
props
:
{
...
...
app_Web/src/styles/components/common/view-toolbar/view-toolbar.scss
浏览文件 @
8758fdff
...
...
@@ -17,7 +17,7 @@
}
}
@include
b
(
'icon'
)
{
@include
b
(
'icon'
)
{
display
:
inline-block
;
max-width
:
getCssVar
(
'view-toolbar'
,
'icon-max-width'
);
max-height
:
getCssVar
(
'view-toolbar'
,
'icon-max-height'
);
...
...
@@ -31,6 +31,7 @@
.ivu-btn
{
height
:
getCssVar
(
'view-toolbar-embed'
,
'item-height'
);
line-height
:
getCssVar
(
'view-toolbar-embed'
,
'item-line-height'
);
background-color
:
getCssVar
(
'view-toolbar-embed'
,
'bg-color'
);
border
:
none
;
box-shadow
:
none
;
}
...
...
app_Web/src/styles/settings/var.scss
浏览文件 @
8758fdff
...
...
@@ -277,7 +277,9 @@ $skeleton: map.merge(
(
'bg-color'
:
rgb
(
190
190
190
/
20%
)
,
//
骨架屏元素背景颜色
'transition-color'
:
rgb
(
129
129
129
/
24%
)
//
骨架屏元素动画效果过渡颜色
,,,,
'transition-color'
:
rgb
(
129
129
129
/
24%
)
//
骨架屏元素动画效果过渡颜色
,,,,,
)
,
$skeleton
);
...
...
@@ -347,6 +349,7 @@ $view-toolbar-embed: map.merge(
(
'item-height'
:
21px
,
'item-line-height'
:
21px
,
'bg-color'
:
transparent
,
)
,
$view-toolbar-embed
);
...
...
app_Web/src/views/app-redirect-view/app-redirect-view.tsx
0 → 100644
浏览文件 @
8758fdff
import
{
defineComponent
}
from
'vue'
;
import
qs
from
'qs'
;
import
{
getModelService
}
from
'@ibiz-template/model'
;
import
{
IBizContext
,
RuntimeError
}
from
'@ibiz-template/core'
;
import
{
OpenAppViewCommand
}
from
'@ibiz-template/runtime'
;
export
default
defineComponent
({
setup
()
{
const
context
=
new
IBizContext
(
ibiz
.
appData
?.
context
||
{});
const
{
href
}
=
window
.
location
;
const
i
=
href
.
lastIndexOf
(
'?'
);
const
queryStr
:
string
=
decodeURIComponent
(
href
.
substring
(
i
+
1
,
href
.
length
),
);
if
(
!
queryStr
)
{
throw
new
RuntimeError
(
`重定向参数不足无法跳转`
);
}
async
function
toRedirect
():
Promise
<
void
>
{
const
params
=
qs
.
parse
(
queryStr
,
{
delimiter
:
';'
})
as
IData
;
const
deName
:
string
=
params
.
srfdename
||
''
;
if
(
!
deName
)
{
throw
new
RuntimeError
(
'重定向参数缺少实体名称'
);
}
const
upperDeName
=
deName
.
toUpperCase
();
const
modelService
=
await
getModelService
();
const
app
=
modelService
.
app
;
const
entity
=
app
.
getAllPSAppDataEntities
()
!
.
find
(
item
=>
{
return
item
.
refM
.
name
===
upperDeName
;
});
if
(
!
entity
)
{
throw
new
RuntimeError
(
`未找到指定实体:
${
deName
}
`
);
}
const
deCodeName
:
string
=
entity
.
refM
.
codeName
;
params
[
deCodeName
.
toLowerCase
()]
=
params
[
deName
.
toLowerCase
()];
const
deRdView
=
app
.
getAllPSAppViews
()?.
find
(
view
=>
{
const
{
refM
}
=
view
;
if
(
refM
.
resource
===
deCodeName
&&
refM
.
view
===
'RedirectView'
)
{
return
view
;
}
return
null
;
});
if
(
!
deRdView
)
{
throw
new
Error
(
`未找到实体[
${
deName
}
]默认重定向视图[RedirectView]`
);
}
// 删除跳转用参数
delete
params
.
srfdename
;
delete
params
.
srfindexname
;
await
ibiz
.
commands
.
execute
(
OpenAppViewCommand
.
TAG
,
deRdView
,
context
,
params
,
);
}
toRedirect
();
},
render
()
{
return
<
div
>
重定向跳转中
</
div
>;
},
});
app_Web/src/views/todo-redirect/todo-redirect.tsx
0 → 100644
浏览文件 @
8758fdff
import
{
useRouter
}
from
'@ibiz-template/vue-util'
;
import
qs
from
'qs'
;
import
{
defineComponent
,
getCurrentInstance
}
from
'vue'
;
export
default
defineComponent
({
setup
()
{
const
inst
=
getCurrentInstance
()
!
.
proxy
;
const
router
=
useRouter
(
inst
);
const
{
href
}
=
window
.
location
;
const
i
=
href
.
lastIndexOf
(
'?'
);
const
queryStr
:
string
=
decodeURIComponent
(
href
.
substring
(
i
+
1
,
href
.
length
),
);
if
(
!
queryStr
)
{
throw
new
Error
(
`重定向参数不足无法跳转`
);
}
const
params
=
qs
.
parse
(
queryStr
,
{
delimiter
:
';'
})
as
IData
;
const
{
apptype
,
todotype
,
todoid
}
=
params
;
const
data
:
IData
=
{
srfapptype
:
'pc'
,
srfapp
:
''
};
if
(
!
apptype
)
{
data
.
todourltype
=
'RouterUrl'
;
}
async
function
getLinkUrl
():
Promise
<
void
>
{
const
res
=
await
ibiz
.
net
.
post
(
`/systodos/
${
todoid
}
/getlinkurl`
,
data
);
let
url
:
string
=
res
.
data
.
linkurl
;
// apptype存在,带ip、端口等完整数据
if
(
apptype
)
{
window
.
location
.
href
=
url
;
}
else
{
if
(
url
.
indexOf
(
'/'
)
!==
0
)
{
url
=
`/
${
url
}
`
;
}
url
+=
`;srfwf=
${
todotype
}
`
;
router
.
push
(
`/index
${
url
}
`
);
}
}
getLinkUrl
();
},
render
()
{
return
<
div
>
待办列表重定向
</
div
>;
},
});
trainsys-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
8758fdff
...
...
@@ -50,7 +50,7 @@
</changeSet>
<!--输出实体[BOOK]数据结构 -->
<changeSet
author=
"root"
id=
"tab-book-2
42
-3"
>
<changeSet
author=
"root"
id=
"tab-book-2
53
-3"
>
<createTable
tableName=
"T_BOOK"
>
<column
name=
"BOOKNAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
...
...
@@ -264,7 +264,7 @@
</changeSet>
<!--输出实体[STUDENT]数据结构 -->
<changeSet
author=
"root"
id=
"tab-student-
58
-10"
>
<changeSet
author=
"root"
id=
"tab-student-
60
-10"
>
<createTable
tableName=
"T_STUDENT"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSFORMS/EditorTest.json
浏览文件 @
8758fdff
...
...
@@ -1784,34 +1784,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlHandler"
:
{
...
...
@@ -2029,28 +2029,6 @@
"codeName"
:
"A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -2078,6 +2056,28 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
}
]
},
"width"
:
100
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSGRIDS/Main.json
浏览文件 @
8758fdff
...
...
@@ -3,11 +3,53 @@
"codeName"
:
"Main"
,
"columnEnableLink"
:
2
,
"controlType"
:
"GRID"
,
"getCreatePSControlAction"
:
{
"actionName"
:
"Create"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"create"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Create"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSGRIDS/Main.json"
,
"getFetchPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"fetch"
},
"getGetDraftPSControlAction"
:
{
"actionName"
:
"GetDraft"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraft"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"GetDraft"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
},
"getGetPSControlAction"
:
{
"actionName"
:
"Get"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"READ"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
},
"groupMode"
:
"NONE"
,
"hookEventNames"
:
[
"ROWDBLCLICK"
,
"SELECTIONCHANGE"
,
"REMOVE"
,
"LOAD"
,
"BEFORELOAD"
],
"logicName"
:
"主表格"
,
...
...
@@ -28,19 +70,20 @@
"getPSDEGridColumns"
:
[
{
"align"
:
"LEFT"
,
"cLConvertMode"
:
"NONE"
,
"caption"
:
"
书名称
"
,
"codeName"
:
"
book
name"
,
"caption"
:
"
属性9
"
,
"codeName"
:
"name"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
bookname
"
,
"excelCaption"
:
"
书名称
"
,
"name"
:
"
book
name"
,
"dataItemName"
:
"
field9
"
,
"excelCaption"
:
"
属性9
"
,
"name"
:
"name"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"
BOOKNAME
"
,
"codeName"
:
"
BookName
"
"name"
:
"
FIELD9
"
,
"codeName"
:
"
Field9
"
},
"width"
:
150
,
"widthUnit"
:
"PX"
,
"enableRowEdit"
:
true
,
"enableSort"
:
true
},
{
"align"
:
"LEFT"
,
...
...
@@ -101,10 +144,10 @@
}
],
"getPSDEGridDataItems"
:
[
{
"dataType"
:
25
,
"name"
:
"
bookname
"
,
"name"
:
"
field9
"
,
"getPSAppDEField"
:
{
"name"
:
"
BOOKNAME
"
,
"codeName"
:
"
BookName
"
"name"
:
"
FIELD9
"
,
"codeName"
:
"
Field9
"
}
},
{
"dataType"
:
25
,
...
...
@@ -152,6 +195,22 @@
}
}
],
"getPSDEGridEditItems"
:
[
{
"caption"
:
"属性9"
,
"codeName"
:
"name"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"name"
:
"name"
,
"getPSAppDEField"
:
{
"name"
:
"FIELD9"
,
"codeName"
:
"Field9"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"maxLength"
:
100
,
"name"
:
"name"
},
"allowEmpty"
:
true
},
{
"caption"
:
"书标识"
,
"codeName"
:
"srfkey"
,
"enableCond"
:
3
,
...
...
@@ -183,14 +242,28 @@
}
},
"sortMode"
:
"REMOTE"
,
"getUpdatePSControlAction"
:
{
"actionName"
:
"Update"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"UPDATE"
,
"name"
:
"update"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Update"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
},
"hasWFDataItems"
:
false
,
"enableColFilter"
:
false
,
"enableCustomized"
:
true
,
"enableGroup"
:
false
,
"enablePagingBar"
:
true
,
"enableRowEdit"
:
fals
e
,
"enableRowEdit"
:
tru
e
,
"enableRowEditOrder"
:
false
,
"enableRowNew"
:
fals
e
,
"enableRowNew"
:
tru
e
,
"forceFit"
:
false
,
"hideHeader"
:
false
,
"noSort"
:
false
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo/PSGRIDS/Main.json
浏览文件 @
8758fdff
...
...
@@ -18,34 +18,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlLogics"
:
[
{
...
...
@@ -176,28 +176,6 @@
"codeName"
:
"A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -225,6 +203,28 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
}
]
},
"width"
:
100
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSFORMS/Main.json
浏览文件 @
8758fdff
...
...
@@ -580,34 +580,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlHandler"
:
{
...
...
@@ -825,28 +825,6 @@
"codeName"
:
"A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -874,6 +852,28 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
}
]
},
"width"
:
100
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSGRIDS/Main.json
浏览文件 @
8758fdff
...
...
@@ -73,6 +73,7 @@
"width"
:
100
,
"widthUnit"
:
"PX"
,
"enableLinkView"
:
true
,
"enableRowEdit"
:
true
,
"enableSort"
:
true
},
{
"align"
:
"LEFT"
,
...
...
@@ -200,6 +201,22 @@
"enableLinkView"
:
false
},
"allowEmpty"
:
true
},
{
"caption"
:
"学生名称"
,
"codeName"
:
"name"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"name"
:
"name"
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTNAME"
,
"codeName"
:
"StudentName"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"maxLength"
:
200
,
"name"
:
"name"
},
"allowEmpty"
:
true
},
{
"caption"
:
"学生标识"
,
"codeName"
:
"srfkey"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoGridView.json
浏览文件 @
8758fdff
...
...
@@ -373,34 +373,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlHandler"
:
{
...
...
@@ -618,28 +618,6 @@
"codeName"
:
"A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -667,6 +645,28 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
}
]
},
"width"
:
100
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoStuInfoList.json
浏览文件 @
8758fdff
...
...
@@ -425,34 +425,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlHandler"
:
{
...
...
@@ -670,28 +670,6 @@
"codeName"
:
"A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -719,6 +697,28 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
}
]
},
"width"
:
100
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/bookBookEditViewEditorTest.json
浏览文件 @
8758fdff
...
...
@@ -1905,34 +1905,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlHandler"
:
{
...
...
@@ -2150,28 +2150,6 @@
"codeName"
:
"A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -2199,6 +2177,28 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
}
]
},
"width"
:
100
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/bookGridView.json
浏览文件 @
8758fdff
...
...
@@ -346,11 +346,53 @@
"codeName"
:
"Main"
,
"columnEnableLink"
:
2
,
"controlType"
:
"GRID"
,
"getCreatePSControlAction"
:
{
"actionName"
:
"Create"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"create"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Create"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSGRIDS/Main.json"
,
"getFetchPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"fetch"
},
"getGetDraftPSControlAction"
:
{
"actionName"
:
"GetDraft"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraft"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"GetDraft"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
},
"getGetPSControlAction"
:
{
"actionName"
:
"Get"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"READ"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
},
"groupMode"
:
"NONE"
,
"hookEventNames"
:
[
"ROWDBLCLICK"
,
"SELECTIONCHANGE"
,
"REMOVE"
,
"LOAD"
,
"BEFORELOAD"
],
"logicName"
:
"主表格"
,
...
...
@@ -458,19 +500,20 @@
"getPSDEGridColumns"
:
[
{
"align"
:
"LEFT"
,
"cLConvertMode"
:
"NONE"
,
"caption"
:
"
书名称
"
,
"codeName"
:
"
book
name"
,
"caption"
:
"
属性9
"
,
"codeName"
:
"name"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
bookname
"
,
"excelCaption"
:
"
书名称
"
,
"name"
:
"
book
name"
,
"dataItemName"
:
"
field9
"
,
"excelCaption"
:
"
属性9
"
,
"name"
:
"name"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"
BOOKNAME
"
,
"codeName"
:
"
BookName
"
"name"
:
"
FIELD9
"
,
"codeName"
:
"
Field9
"
},
"width"
:
150
,
"widthUnit"
:
"PX"
,
"enableRowEdit"
:
true
,
"enableSort"
:
true
},
{
"align"
:
"LEFT"
,
...
...
@@ -531,10 +574,10 @@
}
],
"getPSDEGridDataItems"
:
[
{
"dataType"
:
25
,
"name"
:
"
bookname
"
,
"name"
:
"
field9
"
,
"getPSAppDEField"
:
{
"name"
:
"
BOOKNAME
"
,
"codeName"
:
"
BookName
"
"name"
:
"
FIELD9
"
,
"codeName"
:
"
Field9
"
}
},
{
"dataType"
:
25
,
...
...
@@ -582,6 +625,22 @@
}
}
],
"getPSDEGridEditItems"
:
[
{
"caption"
:
"属性9"
,
"codeName"
:
"name"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"name"
:
"name"
,
"getPSAppDEField"
:
{
"name"
:
"FIELD9"
,
"codeName"
:
"Field9"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"maxLength"
:
100
,
"name"
:
"name"
},
"allowEmpty"
:
true
},
{
"caption"
:
"书标识"
,
"codeName"
:
"srfkey"
,
"enableCond"
:
3
,
...
...
@@ -613,14 +672,28 @@
}
},
"sortMode"
:
"REMOTE"
,
"getUpdatePSControlAction"
:
{
"actionName"
:
"Update"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"UPDATE"
,
"name"
:
"update"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Update"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
},
"hasWFDataItems"
:
false
,
"enableColFilter"
:
false
,
"enableCustomized"
:
true
,
"enableGroup"
:
false
,
"enablePagingBar"
:
true
,
"enableRowEdit"
:
fals
e
,
"enableRowEdit"
:
tru
e
,
"enableRowEditOrder"
:
false
,
"enableRowNew"
:
fals
e
,
"enableRowNew"
:
tru
e
,
"forceFit"
:
false
,
"hideHeader"
:
false
,
"noSort"
:
false
,
...
...
@@ -998,6 +1071,76 @@
"itemType"
:
"SEPERATOR"
,
"name"
:
"tbitem7"
,
"spanMode"
:
false
},
{
"caption"
:
"行编辑"
,
"groupExtractMode"
:
"ITEM"
,
"itemType"
:
"DEUIACTION"
,
"name"
:
"tbitem24"
,
"noPrivDisplayMode"
:
2
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_tbitem24"
},
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"tooltip"
:
"行编辑"
,
"enableToggleMode"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"caption"
:
"新建行"
,
"groupExtractMode"
:
"ITEM"
,
"itemType"
:
"DEUIACTION"
,
"name"
:
"tbitem25"
,
"noPrivDisplayMode"
:
2
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_tbitem25"
},
"getPSSysImage"
:
{
"glyph"
:
"xf067@FontAwesome"
,
"cssClass"
:
"fa fa-plus"
},
"getPSUIAction"
:
{
"caption"
:
"新建行"
,
"codeName"
:
"NewRow"
,
"fullCodeName"
:
"NewRow"
,
"name"
:
"表格界面_新建行"
,
"getPSSysImage"
:
{
"glyph"
:
"xf067@FontAwesome"
,
"cssClass"
:
"fa fa-plus"
},
"predefinedType"
:
"GRIDVIEW_NEWROWACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"NewRow"
,
"uIActionType"
:
"DEUIACTION"
},
"tooltip"
:
"新建行"
,
"showCaption"
:
false
,
"showIcon"
:
true
},
{
"itemType"
:
"SEPERATOR"
,
"name"
:
"tbitem26"
,
"spanMode"
:
false
},
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TEXT.*.REMOVE"
...
...
@@ -1296,7 +1439,7 @@
"enableFilter"
:
true
,
"enableImport"
:
true
,
"enableQuickSearch"
:
true
,
"enableRowEdit"
:
fals
e
,
"enableRowEdit"
:
tru
e
,
"enableSearch"
:
true
,
"rowEditDefault"
:
false
,
"modelid"
:
"a9523851d901a5a06a410a8827dee62f"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json
浏览文件 @
8758fdff
...
...
@@ -1566,34 +1566,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlHandler"
:
{
...
...
@@ -1811,28 +1811,6 @@
"codeName"
:
"A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -1860,6 +1838,28 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
}
]
},
"width"
:
100
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/studentPickupGridView.json
浏览文件 @
8758fdff
...
...
@@ -185,6 +185,7 @@
"width"
:
100
,
"widthUnit"
:
"PX"
,
"enableLinkView"
:
true
,
"enableRowEdit"
:
true
,
"enableSort"
:
true
},
{
"align"
:
"LEFT"
,
...
...
@@ -312,6 +313,22 @@
"enableLinkView"
:
false
},
"allowEmpty"
:
true
},
{
"caption"
:
"学生名称"
,
"codeName"
:
"name"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"name"
:
"name"
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTNAME"
,
"codeName"
:
"StudentName"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"maxLength"
:
200
,
"name"
:
"name"
},
"allowEmpty"
:
true
},
{
"caption"
:
"学生标识"
,
"codeName"
:
"srfkey"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/studentPickupView.json
浏览文件 @
8758fdff
...
...
@@ -210,6 +210,7 @@
"width"
:
100
,
"widthUnit"
:
"PX"
,
"enableLinkView"
:
true
,
"enableRowEdit"
:
true
,
"enableSort"
:
true
},
{
"align"
:
"LEFT"
,
...
...
@@ -337,6 +338,22 @@
"enableLinkView"
:
false
},
"allowEmpty"
:
true
},
{
"caption"
:
"学生名称"
,
"codeName"
:
"name"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"name"
:
"name"
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTNAME"
,
"codeName"
:
"StudentName"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"maxLength"
:
200
,
"name"
:
"name"
},
"allowEmpty"
:
true
},
{
"caption"
:
"学生标识"
,
"codeName"
:
"srfkey"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/studentStudentGridView.json
浏览文件 @
8758fdff
...
...
@@ -544,6 +544,7 @@
"width"
:
100
,
"widthUnit"
:
"PX"
,
"enableLinkView"
:
true
,
"enableRowEdit"
:
true
,
"enableSort"
:
true
},
{
"align"
:
"LEFT"
,
...
...
@@ -676,6 +677,22 @@
"enableLinkView"
:
false
},
"allowEmpty"
:
true
},
{
"caption"
:
"学生名称"
,
"codeName"
:
"name"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"name"
:
"name"
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTNAME"
,
"codeName"
:
"StudentName"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"maxLength"
:
200
,
"name"
:
"name"
},
"allowEmpty"
:
true
},
{
"caption"
:
"学生标识"
,
"codeName"
:
"srfkey"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
8758fdff
...
...
@@ -2090,34 +2090,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlHandler"
:
{
...
...
@@ -2335,28 +2335,6 @@
"codeName"
:
"A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -2384,6 +2362,28 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
}
]
},
"width"
:
100
,
...
...
@@ -6373,34 +6373,34 @@
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
行编辑开关
操作"
"id"
:
"表格界面_
编辑
操作"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"grid_uagridcolumn1_u
479f517
_click"
,
"name"
:
"grid_uagridcolumn1_u
a98d563
_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"表格界面_
编辑
操作"
"id"
:
"表格界面_
行编辑开关
操作"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"表格界面_
行编辑开关
操作"
,
"name"
:
"表格界面_
编辑
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"
ToggleRow
Edit"
"id"
:
"Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
},
{
"name"
:
"表格界面_
编辑
操作"
,
"name"
:
"表格界面_
行编辑开关
操作"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Edit"
"id"
:
"
ToggleRow
Edit"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"grid"
}
],
"getPSControlHandler"
:
{
...
...
@@ -6618,28 +6618,6 @@
"codeName"
:
"A046596b6afb50f9e5b"
,
"name"
:
"操作列"
,
"getPSUIActionGroupDetails"
:
[
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"u479f517"
,
"getPSUIAction"
:
{
...
...
@@ -6667,6 +6645,28 @@
"addSeparator"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"detailType"
:
"DEUIACTION"
,
"name"
:
"ua98d563"
,
"getPSUIAction"
:
{
"caption"
:
"行编辑"
,
"codeName"
:
"ToggleRowEdit"
,
"fullCodeName"
:
"ToggleRowEdit"
,
"name"
:
"表格界面_行编辑开关操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0ce@FontAwesome"
,
"cssClass"
:
"fa fa-table"
},
"predefinedType"
:
"GRIDVIEW_ROWEDITACTION"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleRowEdit"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"addSeparator"
:
false
,
"showCaption"
:
true
,
"showIcon"
:
false
}
]
},
"width"
:
100
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录