Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
7726813b
提交
7726813b
编写于
8月 26, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhujiamin 发布系统代码 [TrainSys,网页端]
上级
62dc8a37
变更
10
显示空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
72 行增加
和
37 行删除
+72
-37
app-dataview-base.tsx
...mponents/control/app-common-control/app-dataview-base.tsx
+14
-1
app-searchform-base.tsx
...onents/control/app-common-control/app-searchform-base.tsx
+19
-0
app-default-searchform.less
...ontrol/app-default-searchform/app-default-searchform.less
+1
-1
app-style4-default-layout.less
.../app-style4-default-layout/app-style4-default-layout.less
+1
-1
dataview-control-base.tsx
...b/packages/ibiz-vue/src/widgets/dataview-control-base.tsx
+0
-15
searchform-control-base.tsx
...packages/ibiz-vue/src/widgets/searchform-control-base.tsx
+0
-18
h2_table.xml
trainsys-core/src/main/resources/liquibase/h2_table.xml
+1
-1
EditorTest.json
...YSAPPS/Web/PSAPPDATAENTITIES/Book/PSFORMS/EditorTest.json
+12
-0
bookBookEditViewEditorTest.json
...SSYSAPPS/Web/PSAPPDEVIEWS/bookBookEditViewEditorTest.json
+12
-0
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+12
-0
未找到文件。
app_Web/packages/ibiz-vue/src/components/control/app-common-control/app-dataview-base.tsx
浏览文件 @
7726813b
...
...
@@ -67,7 +67,20 @@ export class AppDataViewBase extends DataViewControlBase {
@
Emit
(
'ctrl-event'
)
public
ctrlEvent
({
controlname
,
action
,
data
}:
{
controlname
:
string
,
action
:
string
,
data
:
any
}):
void
{
}
/**
* @description 是否显示回到顶部
* @readonly
* @type {boolean}
* @memberof AppDataViewBase
*/
get
backTopVisible
():
boolean
{
let
visible
:
boolean
=
false
;
const
el
=
document
.
querySelector
(
`#
${
this
.
controlId
}
`
);
if
(
el
)
{
visible
=
true
;
}
return
visible
;
}
/**
* 绘制分组
...
...
app_Web/packages/ibiz-vue/src/components/control/app-common-control/app-searchform-base.tsx
浏览文件 @
7726813b
...
...
@@ -71,6 +71,14 @@ export class AppSearchFormBase extends SearchFormControlBase {
@
Emit
(
'ctrl-event'
)
public
ctrlEvent
({
controlname
,
action
,
data
}:
{
controlname
:
string
;
action
:
string
;
data
:
any
}):
void
{
}
/**
* @description 是否显示搜索下拉
* @type {boolean}
* @memberof AppSearchFormBase
*/
public
dropdownVisible
:
boolean
=
false
;
/**
* 销毁视图回调
*
...
...
@@ -528,6 +536,17 @@ export class AppSearchFormBase extends SearchFormControlBase {
}
}
/**
* @description 点击外部区域关闭下拉
* @memberof AppSearchFormBase
*/
public clickOutside(event: any) {
const className: string = event.target.className;
if (!className.includes('save-search') && className !== 'ivu-input ivu-input-default' && !className.includes('history-item')) {
this.dropdownVisible = false;
}
}
/**
* 获取搜索内容或按钮样式
*
...
...
app_Web/packages/ibiz-vue/src/components/control/app-default-searchform/app-default-searchform.less
浏览文件 @
7726813b
...
...
@@ -5,7 +5,7 @@
padding: 14px 0;
}
.app-search-form {
height:
100%
;
height:
auto
;
.ivu-form-item{
margin-bottom: 8px;
}
...
...
app_Web/packages/ibiz-vue/src/components/layout/app-style4-layout/app-style4-default-layout/app-style4-default-layout.less
浏览文件 @
7726813b
...
...
@@ -130,7 +130,7 @@
display: flex;
margin: 0;
flex-direction: column;
overflow
: auto
;
overflow
-y: scroll
;
}
}
}
...
...
app_Web/packages/ibiz-vue/src/widgets/dataview-control-base.tsx
浏览文件 @
7726813b
...
...
@@ -236,21 +236,6 @@ export class DataViewControlBase extends MDControlBase implements DataViewContro
*/
public
dataviewControlEvent
:
Subscription
|
undefined
;
/**
* @description 是否显示回到顶部
* @readonly
* @type {boolean}
* @memberof DataViewControlBase
*/
get
backTopVisible
():
boolean
{
let
visible
:
boolean
=
false
;
const
el
=
document
.
querySelector
(
`#
${
this
.
controlId
}
`
);
if
(
el
)
{
visible
=
true
;
}
return
visible
;
}
/**
* 监听静态参数变化
*
...
...
app_Web/packages/ibiz-vue/src/widgets/searchform-control-base.tsx
浏览文件 @
7726813b
...
...
@@ -76,13 +76,6 @@ export class SearchFormControlBase extends EditFormControlBase implements Search
*/
public
enableSaveFilter
:
boolean
=
true
;
/**
* @description 是否显示搜索下拉
* @type {boolean}
* @memberof SearchFormControlBase
*/
public
dropdownVisible
:
boolean
=
false
;
/**
* 监听静态参数变化
*
...
...
@@ -296,17 +289,6 @@ export class SearchFormControlBase extends EditFormControlBase implements Search
});
}
/**
* @description 点击外部区域关闭下拉
* @memberof SearchFormControlBase
*/
public
clickOutside
(
event
:
any
)
{
const
className
:
string
=
event
.
target
.
className
;
if
(
!
className
.
includes
(
'save-search'
)
&&
className
!==
'ivu-input ivu-input-default'
&&
!
className
.
includes
(
'history-item'
))
{
this
.
dropdownVisible
=
false
;
}
}
/**
* 搜索
*
...
...
trainsys-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
7726813b
...
...
@@ -50,7 +50,7 @@
</changeSet>
<!--输出实体[BOOK]数据结构 -->
<changeSet
author=
"root"
id=
"tab-book-12
7
-3"
>
<changeSet
author=
"root"
id=
"tab-book-12
8
-3"
>
<createTable
tableName=
"T_BOOK"
>
<column
name=
"BOOKNAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSFORMS/EditorTest.json
浏览文件 @
7726813b
...
...
@@ -647,7 +647,18 @@
},
"editorType"
:
"PICKER"
,
"handlerType"
:
"PickupText"
,
"getLinkPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/BookTypeGridView.json"
,
"viewType"
:
"DEGRIDVIEW"
},
"name"
:
"field9"
,
"getPickupPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneView.json"
,
"viewType"
:
"DEGRIDVIEW"
},
"valueItemName"
:
"type"
,
"enableAC"
:
true
,
"enablePickupView"
:
true
,
"forceSelection"
:
true
,
...
...
@@ -658,6 +669,7 @@
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"valueItemName"
:
"type"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/bookBookEditViewEditorTest.json
浏览文件 @
7726813b
...
...
@@ -768,7 +768,18 @@
},
"editorType"
:
"PICKER"
,
"handlerType"
:
"PickupText"
,
"getLinkPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/BookTypeGridView.json"
,
"viewType"
:
"DEGRIDVIEW"
},
"name"
:
"field9"
,
"getPickupPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneView.json"
,
"viewType"
:
"DEGRIDVIEW"
},
"valueItemName"
:
"type"
,
"enableAC"
:
true
,
"enablePickupView"
:
true
,
"forceSelection"
:
true
,
...
...
@@ -779,6 +790,7 @@
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"valueItemName"
:
"type"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
7726813b
...
...
@@ -4940,7 +4940,18 @@
},
"editorType"
:
"PICKER"
,
"handlerType"
:
"PickupText"
,
"getLinkPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/BookTypeGridView.json"
,
"viewType"
:
"DEGRIDVIEW"
},
"name"
:
"field9"
,
"getPickupPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneView.json"
,
"viewType"
:
"DEGRIDVIEW"
},
"valueItemName"
:
"type"
,
"enableAC"
:
true
,
"enablePickupView"
:
true
,
"forceSelection"
:
true
,
...
...
@@ -4951,6 +4962,7 @@
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"valueItemName"
:
"type"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录