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

tony001 发布系统代码 [后台服务,演示应用]

上级 af33d19c
......@@ -782,6 +782,16 @@ function getLocaleResourceBase(){
uiactions: {
},
},
plugin_grid: {
columns: {
ibizbookname: commonLogic.appcommonhandle("图书名称",null),
booknumber: commonLogic.appcommonhandle("图书数量",null),
subtext: commonLogic.appcommonhandle("图书描述",null),
},
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
main2_grid: {
columns: {
type: commonLogic.appcommonhandle("图书类型",null),
......
......@@ -782,6 +782,16 @@ function getLocaleResourceBase(){
uiactions: {
},
},
plugin_grid: {
columns: {
ibizbookname: commonLogic.appcommonhandle("图书名称",null),
booknumber: commonLogic.appcommonhandle("图书数量",null),
subtext: commonLogic.appcommonhandle("图书描述",null),
},
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
main2_grid: {
columns: {
type: commonLogic.appcommonhandle("图书类型",null),
......
......@@ -782,6 +782,16 @@ function getLocaleResourceBase(){
uiactions: {
},
},
plugin_grid: {
columns: {
ibizbookname: commonLogic.appcommonhandle("图书名称",null),
booknumber: commonLogic.appcommonhandle("图书数量",null),
subtext: commonLogic.appcommonhandle("图书描述",null),
},
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
main2_grid: {
columns: {
type: commonLogic.appcommonhandle("图书类型",null),
......
......@@ -135,7 +135,6 @@
:opendata="opendata"
name="grid"
ref='grid'
@onselectionchange="grid_onselectionchange($event)"
@rowdblclick="grid_rowdblclick($event)"
@selectionchange="grid_selectionchange($event)"
@remove="grid_remove($event)"
......@@ -853,15 +852,6 @@ export default class IBIZBOOKUsrGridView_ctrlPluginBase extends Vue {
this.toolbar_tbitem23_click(null, '', $event2);
}
}
/**
* grid 部件 onselectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsrGridView_ctrlPluginBase
*/
public grid_onselectionchange($event: any, $event2?: any) {
}
/**
* grid 部件 rowdblclick 事件
*
......
......@@ -2,7 +2,7 @@
import { Component } from 'vue-property-decorator';
import IBIZBOOKUsrGridView_ctrlPluginBase from './ibizbookusr-grid-view-ctrl-plugin-base.vue';
import view_grid from '@widgets/ibizbook/main-grid/main-grid.vue';
import view_grid from '@widgets/ibizbook/plugin-grid/plugin-grid.vue';
import view_searchform from '@widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform.vue';
// 基于 @VIEW/实体表格视图/VIEW.vue.ftl 生成
......
......@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
// 基于 @CONTROL/表格/MODEL.ts.ftl 生成
/**
* Plugin 部件模型
*
* @export
* @class PluginModel
*/
export default class PluginModel {
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof PluginGridMode
*/
public isDEExport: boolean = false;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof PluginGridMode
*/
public getDataItems(): any[] {
if(this.isDEExport){
return [
]
}else{
return [
{
name: 'ibizbookname',
prop: 'ibizbookname',
dataType: 'TEXT',
},
{
name: 'booknumber',
prop: 'booknumber',
dataType: 'INT',
},
{
name: 'subtext',
prop: 'subtext',
dataType: 'TEXT',
},
{
name: 'ibizbookid',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'srfkey',
prop: 'ibizbookid',
dataType: 'GUID',
isEditable:true
},
{
name: 'srfdataaccaction',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'ibizbookname',
dataType: 'TEXT',
},
{
name: 'srfmstag',
},
{
name: 'ibizbook',
prop: 'ibizbookid',
},
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name:'size',
prop:'size',
dataType: 'QUERYPARAM'
},
{
name:'query',
prop:'query',
dataType: 'QUERYPARAM'
},
{
name:'filter',
prop:'filter',
dataType: 'QUERYPARAM'
},
{
name:'page',
prop:'page',
dataType: 'QUERYPARAM'
},
{
name:'sort',
prop:'sort',
dataType: 'QUERYPARAM'
},
{
name:'srfparentdata',
prop:'srfparentdata',
dataType: 'QUERYPARAM'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
// 预置工作流数据字段
{
name: 'srfprocessdefinitionkey',
prop: 'srfprocessdefinitionkey',
dataType: 'TEXT'
},
{
name: 'srftaskdefinitionkey',
prop: 'srftaskdefinitionkey',
dataType: 'TEXT'
},
{
name: 'srftaskid',
prop: 'srftaskid',
dataType: 'TEXT'
}
]
}
}
}
\ No newline at end of file
// 基于 @CONTROL/表格/CONTROL.less.ftl 生成
.grid {
flex-grow: 1;
height: 100%;
overflow: auto;
.el-table__body-wrapper::-webkit-scrollbar {
/*滚动条整体样式*/
width : 10px !important; /*高宽分别对应横竖滚动条的尺寸*/
height: 10px !important;
}
.el-table__body-wrapper::-webkit-scrollbar-thumb {
/*滚动条颜色*/
border-radius : 10px !important;
background-color: #cecece !important;
}
.el-table__body-wrapper::-webkit-scrollbar-track {
/*滚动条里面轨道*/
box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
background : #ededed !important;
border-radius: 10px !important;
}
/*表格文字过长省略*/
.el-table th>.cell, .el-table td>.cell{
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}
.el-table-column--selection .cell {
padding-left: 0px;
padding-right: 0px;
}
.app-column-link, .app-format-data{
display: inline;
}
.el-table {
height: 100%;
display:flex;
flex-direction: column;
justify-content: flex-start;
.el-table__row{
.grid-uiaction-divider {
padding:0 10px 0 10px;
border-left: 1px #b3b3b3 solid;
}
.grid-first-uiaction {
padding:0 10px 0 10px;
}
}
.quick-toolbar{
display: inline-block;
button{
background: #ebf3fb;
color: #2575ca;
border: 0;
}
}
.el-tooltip{
.ivu-form-item{
margin-bottom: unset !important;
}
}
.el-table__body .edit-cell{
padding:0;
.app-form-item{
margin-top: 20px;
margin-bottom: 20px;
}
}
.el-table__header-wrapper{
min-height: 45px;
max-height: 100px;
height: auto;
}
.el-table__footer-wrapper{
min-height: 45px;
max-height: 100px;
height: auto;
}
}
.grid-pagination {
height: 50px;
padding: 6px 0px;
.page-button {
button {
padding: 0;
font-size: 16px;
min-width: 32px;
height: 32px;
margin-right: 4px;
}
}
.page-column {
position: absolute;
left: 0;
}
.batch-toolbar{
position: absolute;
left: 105px;
>.toolbar-container{
button {
font-size: 16px;
min-width: 32px;
height: 32px;
margin-right: 4px;
margin-top: 0;
margin-bottom: 0;
}
}
}
}
}
.ivu-modal-content{
.footer{
.ivu-row{
text-align: right;
}
}
}
.cell-indeterminate {
>div>label {
>span {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:before {
content: "";
position: absolute;
display: block;
background-color: #fff;
height: 2px;
transform: scale(.5);
left: 0;
right: 0;
top: 5px;
}
}
>span.is-checked {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:after {
border: 0px;
}
}
}
}
.cell-select-all {
>div>label {
>span {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:after {
box-sizing: content-box;
content: "";
border: 1px solid #fff;
border-left: 0;
border-top: 0;
height: 7px;
left: 4px;
position: absolute;
top: 1px;
transform: rotate(45deg) scaleY(1);
width: 3px;
transition: transform .15s ease-in .05s;
transform-origin: center;
}
}
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import PluginBase from './plugin-grid-base.vue';
// 基于 @CONTROL/表格/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class Plugin extends PluginBase {
}
</script>
\ No newline at end of file
......@@ -12,6 +12,30 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
......@@ -47,30 +71,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
{
"aggMode" : "NONE",
"codeName" : "Plugin",
"columnEnableLink" : 2,
"controlType" : "GRID",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGRIDS/Plugin.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"logicName" : "表格插件(vue3)",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdegrids/Plugin",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics" : [ {
"eventNames" : "ROWDBLCLICK;SELECTIONCHANGE;REMOVE;LOAD;BEFORELOAD",
"logicTag" : "grid",
"logicType" : "APPVIEWENGINE",
"name" : "engine_grid",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
},
"getPSDEGridColumns" : [ {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.IBIZBOOKNAME",
"mOSFilePath" : "pslanguageres/Auto1983",
"rTMOSFilePath" : "pslanguageres/Auto1983"
},
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"excelCaption" : "图书名称",
"mOSFilePath" : "psdegridcols/ibizbookname",
"name" : "ibizbookname",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
},
"rTMOSFilePath" : "psdegridcols/ibizbookname",
"width" : 100,
"widthUnit" : "PX",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.BOOKNUMBER",
"mOSFilePath" : "pslanguageres/Auto2067",
"rTMOSFilePath" : "pslanguageres/Auto2067"
},
"caption" : "图书数量",
"codeName" : "booknumber",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "booknumber",
"excelCaption" : "图书数量",
"mOSFilePath" : "psdegridcols/booknumber",
"name" : "booknumber",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
},
"rTMOSFilePath" : "psdegridcols/booknumber",
"width" : 100,
"widthUnit" : "PX",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.SUBTEXT",
"mOSFilePath" : "pslanguageres/Auto2119",
"rTMOSFilePath" : "pslanguageres/Auto2119"
},
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"excelCaption" : "图书描述",
"mOSFilePath" : "psdegridcols/subtext",
"name" : "subtext",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
},
"rTMOSFilePath" : "psdegridcols/subtext",
"width" : 100,
"widthUnit" : "PX",
"enableSort" : true
} ],
"getPSDEGridDataItems" : [ {
"dataType" : 25,
"name" : "ibizbookname",
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, {
"dataType" : 25,
"name" : "subtext",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "ibizbookid",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
}
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
}
}, {
"dataType" : 25,
"name" : "srfdataaccaction",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
},
"dataAccessAction" : true
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"dataType" : 25,
"name" : "srfmstag"
} ],
"getPSDEGridEditItems" : [ {
"caption" : "图书标识",
"codeName" : "srfkey",
"enableCond" : 3,
"ignoreInput" : 0,
"mOSFilePath" : "psdegridcols/srfkey",
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "srfkey"
},
"rTMOSFilePath" : "psdegridcols/srfkey",
"allowEmpty" : true
} ],
"getPSSysPFPlugin" : {
"pluginType" : "GRID_RENDER",
"pluginCode" : "redGridHeader"
},
"pagingSize" : 20,
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsrGridView_ctrlPlugin/psappviewctrls/grid",
"getRemovePSControlAction" : {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
"sortMode" : "REMOTE",
"hasWFDataItems" : false,
"enableColFilter" : false,
"enableCustomized" : true,
"enableGroup" : false,
"enablePagingBar" : true,
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : false,
"hideHeader" : false,
"noSort" : false,
"singleSelect" : false,
"modelid" : "E5DA96E3-B32A-4D25-B5D4-E6B9CEADBF58",
"modeltype" : "PSDEGRID"
}
\ No newline at end of file
......@@ -20,18 +20,6 @@
}
} ],
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
......@@ -55,6 +43,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -42,6 +42,30 @@
"id" : "GANTT"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
......@@ -77,30 +101,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -88,18 +88,6 @@
"id" : "TREEGRIDEX"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
......@@ -123,6 +111,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -930,18 +930,18 @@
"modeltype" : "PSDETOOLBAR"
}, {
"aggMode" : "NONE",
"codeName" : "Main",
"codeName" : "Plugin",
"columnEnableLink" : 2,
"controlType" : "GRID",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGRIDS/Main.json",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGRIDS/Plugin.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "ONSELECTIONCHANGE", "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"logicName" : "主表格",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdegrids/Main",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"logicName" : "表格插件(vue3)",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdegrids/Plugin",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
......@@ -1029,31 +1029,6 @@
"id" : "数据表格处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "onSelectionChange",
"logicTag" : "grid",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
}, {
"eventNames" : "onSelectionChange",
"logicTag" : "grid",
"logicType" : "DEUILOGIC",
"name" : "cancelSelect",
"getPSAppDEUILogic" : {
"modelref" : true,
"id" : "cancelSelect"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"logicTag" : "grid",
"logicType" : "SCRIPT",
"name" : "timerLogic",
"scriptCode" : "console.log('表格逻辑触发,定时器打印输出...');",
"triggerType" : "TIMER"
}, {
"eventNames" : "ROWDBLCLICK;SELECTIONCHANGE;REMOVE;LOAD;BEFORELOAD",
"logicTag" : "grid",
"logicType" : "APPVIEWENGINE",
......@@ -1093,60 +1068,55 @@
"codeName" : "IBIZBOOKName"
},
"rTMOSFilePath" : "psdegridcols/ibizbookname",
"width" : 150,
"width" : 100,
"widthUnit" : "PX",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "FRONT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.UPDATEMAN",
"mOSFilePath" : "pslanguageres/Auto202",
"rTMOSFilePath" : "pslanguageres/Auto202"
"lanResTag" : "DEF.LNAME.BOOKNUMBER",
"mOSFilePath" : "pslanguageres/Auto2067",
"rTMOSFilePath" : "pslanguageres/Auto2067"
},
"caption" : "更新人",
"codeName" : "updateman",
"caption" : "图书数量",
"codeName" : "booknumber",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "updateman",
"excelCaption" : "更新人",
"mOSFilePath" : "psdegridcols/updateman",
"name" : "updateman",
"dataItemName" : "booknumber",
"excelCaption" : "图书数量",
"mOSFilePath" : "psdegridcols/booknumber",
"name" : "booknumber",
"noPrivDisplayMode" : 1,
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
},
"rTMOSFilePath" : "psdegridcols/updateman",
"width" : 150,
"rTMOSFilePath" : "psdegridcols/booknumber",
"width" : 100,
"widthUnit" : "PX",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.UPDATEDATE",
"mOSFilePath" : "pslanguageres/Auto1074",
"rTMOSFilePath" : "pslanguageres/Auto1074"
"lanResTag" : "DEF.LNAME.SUBTEXT",
"mOSFilePath" : "pslanguageres/Auto2119",
"rTMOSFilePath" : "pslanguageres/Auto2119"
},
"caption" : "更新时间",
"codeName" : "updatedate",
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "updatedate",
"excelCaption" : "更新时间",
"mOSFilePath" : "psdegridcols/updatedate",
"name" : "updatedate",
"dataItemName" : "subtext",
"excelCaption" : "图书描述",
"mOSFilePath" : "psdegridcols/subtext",
"name" : "subtext",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
"name" : "SUBTEXT",
"codeName" : "Subtext"
},
"rTMOSFilePath" : "psdegridcols/updatedate",
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"width" : 150,
"rTMOSFilePath" : "psdegridcols/subtext",
"width" : 100,
"widthUnit" : "PX",
"enableSort" : true
} ],
......@@ -1158,19 +1128,18 @@
"codeName" : "IBIZBOOKName"
}
}, {
"dataType" : 25,
"name" : "updateman",
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, {
"format" : "YYYY-MM-DD HH:mm:ss",
"dataType" : 5,
"name" : "updatedate",
"dataType" : 25,
"name" : "subtext",
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
......@@ -1257,7 +1226,7 @@
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
"modelid" : "6cd11a010cbbb4d2bad5e1aad7e8020a",
"modelid" : "E5DA96E3-B32A-4D25-B5D4-E6B9CEADBF58",
"modeltype" : "PSDEGRID"
}, {
"codeName" : "QUICKSEARCHFORM",
......
......@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-935-7">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-953-7">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册