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

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

上级 62dc8a37
...@@ -67,7 +67,20 @@ export class AppDataViewBase extends DataViewControlBase { ...@@ -67,7 +67,20 @@ export class AppDataViewBase extends DataViewControlBase {
@Emit('ctrl-event') @Emit('ctrl-event')
public ctrlEvent({ controlname, action, data }: { controlname: string, action: string, data: any }): void { } 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 { ...@@ -71,6 +71,14 @@ export class AppSearchFormBase extends SearchFormControlBase {
@Emit('ctrl-event') @Emit('ctrl-event')
public ctrlEvent({ controlname, action, data }: { controlname: string; action: string; data: any }): void { } 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 { ...@@ -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 @@ ...@@ -5,7 +5,7 @@
padding: 14px 0; padding: 14px 0;
} }
.app-search-form { .app-search-form {
height: 100%; height: auto;
.ivu-form-item{ .ivu-form-item{
margin-bottom: 8px; margin-bottom: 8px;
} }
......
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
display: flex; display: flex;
margin: 0; margin: 0;
flex-direction: column; flex-direction: column;
overflow: auto; overflow-y: scroll;
} }
} }
} }
......
...@@ -235,21 +235,6 @@ export class DataViewControlBase extends MDControlBase implements DataViewContro ...@@ -235,21 +235,6 @@ export class DataViewControlBase extends MDControlBase implements DataViewContro
* @memberof DataViewControlBase * @memberof DataViewControlBase
*/ */
public dataviewControlEvent: Subscription | undefined; 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 ...@@ -76,13 +76,6 @@ export class SearchFormControlBase extends EditFormControlBase implements Search
*/ */
public enableSaveFilter: boolean = true; public enableSaveFilter: boolean = true;
/**
* @description 是否显示搜索下拉
* @type {boolean}
* @memberof SearchFormControlBase
*/
public dropdownVisible: boolean = false;
/** /**
* 监听静态参数变化 * 监听静态参数变化
* *
...@@ -296,17 +289,6 @@ export class SearchFormControlBase extends EditFormControlBase implements Search ...@@ -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 @@ ...@@ -50,7 +50,7 @@
</changeSet> </changeSet>
<!--输出实体[BOOK]数据结构 --> <!--输出实体[BOOK]数据结构 -->
<changeSet author="root" id="tab-book-127-3"> <changeSet author="root" id="tab-book-128-3">
<createTable tableName="T_BOOK"> <createTable tableName="T_BOOK">
<column name="BOOKNAME" remarks="" type="VARCHAR(200)"> <column name="BOOKNAME" remarks="" type="VARCHAR(200)">
</column> </column>
......
...@@ -647,7 +647,18 @@ ...@@ -647,7 +647,18 @@
}, },
"editorType" : "PICKER", "editorType" : "PICKER",
"handlerType" : "PickupText", "handlerType" : "PickupText",
"getLinkPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/BookTypeGridView.json",
"viewType" : "DEGRIDVIEW"
},
"name" : "field9", "name" : "field9",
"getPickupPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneView.json",
"viewType" : "DEGRIDVIEW"
},
"valueItemName" : "type",
"enableAC" : true, "enableAC" : true,
"enablePickupView" : true, "enablePickupView" : true,
"forceSelection" : true, "forceSelection" : true,
...@@ -658,6 +669,7 @@ ...@@ -658,6 +669,7 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"valueItemName" : "type",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, { }, {
......
...@@ -768,7 +768,18 @@ ...@@ -768,7 +768,18 @@
}, },
"editorType" : "PICKER", "editorType" : "PICKER",
"handlerType" : "PickupText", "handlerType" : "PickupText",
"getLinkPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/BookTypeGridView.json",
"viewType" : "DEGRIDVIEW"
},
"name" : "field9", "name" : "field9",
"getPickupPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneView.json",
"viewType" : "DEGRIDVIEW"
},
"valueItemName" : "type",
"enableAC" : true, "enableAC" : true,
"enablePickupView" : true, "enablePickupView" : true,
"forceSelection" : true, "forceSelection" : true,
...@@ -779,6 +790,7 @@ ...@@ -779,6 +790,7 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"valueItemName" : "type",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, { }, {
......
...@@ -4940,7 +4940,18 @@ ...@@ -4940,7 +4940,18 @@
}, },
"editorType" : "PICKER", "editorType" : "PICKER",
"handlerType" : "PickupText", "handlerType" : "PickupText",
"getLinkPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/BookTypeGridView.json",
"viewType" : "DEGRIDVIEW"
},
"name" : "field9", "name" : "field9",
"getPickupPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneView.json",
"viewType" : "DEGRIDVIEW"
},
"valueItemName" : "type",
"enableAC" : true, "enableAC" : true,
"enablePickupView" : true, "enablePickupView" : true,
"forceSelection" : true, "forceSelection" : true,
...@@ -4951,6 +4962,7 @@ ...@@ -4951,6 +4962,7 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"valueItemName" : "type",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, { }, {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册