提交 7726813b 编写于 作者: ibizdev's avatar ibizdev

zhujiamin 发布系统代码 [TrainSys,网页端]

上级 62dc8a37
......@@ -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;
}
/**
* 绘制分组
......
......@@ -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;
}
}
/**
* 获取搜索内容或按钮样式
*
......
......@@ -5,7 +5,7 @@
padding: 14px 0;
}
.app-search-form {
height: 100%;
height: auto;
.ivu-form-item{
margin-bottom: 8px;
}
......
......@@ -130,7 +130,7 @@
display: flex;
margin: 0;
flex-direction: column;
overflow: auto;
overflow-y: scroll;
}
}
}
......
......@@ -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;
}
/**
* 监听静态参数变化
*
......
......@@ -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;
}
}
/**
* 搜索
*
......
......@@ -50,7 +50,7 @@
</changeSet>
<!--输出实体[BOOK]数据结构 -->
<changeSet author="root" id="tab-book-127-3">
<changeSet author="root" id="tab-book-128-3">
<createTable tableName="T_BOOK">
<column name="BOOKNAME" remarks="" type="VARCHAR(200)">
</column>
......
......@@ -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
}, {
......
......@@ -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
}, {
......
......@@ -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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册