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

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

上级 fea8301d
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, ActionState } from '@ibiz-template/controller';
import { IActionsState } 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,
},
actionStates: {
type: Object as PropType<ActionStates>,
actionsState: {
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.actionStates[action.uIActionTag].disabled}
disabled={this.actionsState[detail.name].disabled}
class={[this.ns.be('item'), this.ns.is('disabled', false)]}
>
{detail.showIcon && action.getPSSysImage() && (
......
......@@ -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>
);
......
......@@ -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(tempState);
const toolbarState = reactive(actionsState);
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)}
......
......@@ -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>;
......
......@@ -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 (
......
......@@ -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 (
......
......@@ -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 (
......
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() {
......
......@@ -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 && (
......
......@@ -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 };
}
/**
......
......@@ -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;
......@@ -42,7 +42,7 @@ export const GridUAColumn = defineComponent({
{!this.uaColumn.model.actionGroup ? null : (
<actionToolbar
action-group={this.uaColumn.model.actionGroup}
action-states={
actions-state={
this.row.uaColumnStates[this.uaColumn.model.codeName]
}
on-action-click={this.onActionClick}
......
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: {
......
......@@ -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;
}
......
......@@ -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
);
......
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>;
},
});
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>;
},
});
......@@ -50,7 +50,7 @@
</changeSet>
<!--输出实体[BOOK]数据结构 -->
<changeSet author="root" id="tab-book-242-3">
<changeSet author="root" id="tab-book-253-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>
......
......@@ -1784,34 +1784,34 @@
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click",
"name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_行编辑开关操作"
"id" : "表格界面_编辑操作"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click",
"name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_编辑操作"
"id" : "表格界面_行编辑开关操作"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作",
"name" : "表格界面_编辑操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "表格界面_编辑操作",
"name" : "表格界面_行编辑开关操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
"id" : "ToggleRowEdit"
},
"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,
......
......@@ -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" : "bookname",
"caption" : "属性9",
"codeName" : "name",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "bookname",
"excelCaption" : "书名称",
"name" : "bookname",
"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" : false,
"enableRowEdit" : true,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"enableRowNew" : true,
"forceFit" : false,
"hideHeader" : false,
"noSort" : false,
......
......@@ -18,34 +18,34 @@
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click",
"name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_行编辑开关操作"
"id" : "表格界面_编辑操作"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click",
"name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_编辑操作"
"id" : "表格界面_行编辑开关操作"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作",
"name" : "表格界面_编辑操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "表格界面_编辑操作",
"name" : "表格界面_行编辑开关操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
"id" : "ToggleRowEdit"
},
"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,
......
......@@ -580,34 +580,34 @@
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click",
"name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_行编辑开关操作"
"id" : "表格界面_编辑操作"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click",
"name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_编辑操作"
"id" : "表格界面_行编辑开关操作"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作",
"name" : "表格界面_编辑操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "表格界面_编辑操作",
"name" : "表格界面_行编辑开关操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
"id" : "ToggleRowEdit"
},
"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,
......
......@@ -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",
......
......@@ -373,34 +373,34 @@
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click",
"name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_行编辑开关操作"
"id" : "表格界面_编辑操作"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click",
"name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_编辑操作"
"id" : "表格界面_行编辑开关操作"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作",
"name" : "表格界面_编辑操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "表格界面_编辑操作",
"name" : "表格界面_行编辑开关操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
"id" : "ToggleRowEdit"
},
"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,
......
......@@ -425,34 +425,34 @@
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click",
"name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_行编辑开关操作"
"id" : "表格界面_编辑操作"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click",
"name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_编辑操作"
"id" : "表格界面_行编辑开关操作"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作",
"name" : "表格界面_编辑操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "表格界面_编辑操作",
"name" : "表格界面_行编辑开关操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
"id" : "ToggleRowEdit"
},
"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,
......
......@@ -1905,34 +1905,34 @@
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click",
"name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_行编辑开关操作"
"id" : "表格界面_编辑操作"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click",
"name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_编辑操作"
"id" : "表格界面_行编辑开关操作"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作",
"name" : "表格界面_编辑操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "表格界面_编辑操作",
"name" : "表格界面_行编辑开关操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
"id" : "ToggleRowEdit"
},
"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,
......
......@@ -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" : "bookname",
"caption" : "属性9",
"codeName" : "name",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "bookname",
"excelCaption" : "书名称",
"name" : "bookname",
"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" : false,
"enableRowEdit" : true,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"enableRowNew" : true,
"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" : false,
"enableRowEdit" : true,
"enableSearch" : true,
"rowEditDefault" : false,
"modelid" : "a9523851d901a5a06a410a8827dee62f",
......
......@@ -1566,34 +1566,34 @@
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click",
"name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_行编辑开关操作"
"id" : "表格界面_编辑操作"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click",
"name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_编辑操作"
"id" : "表格界面_行编辑开关操作"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作",
"name" : "表格界面_编辑操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "表格界面_编辑操作",
"name" : "表格界面_行编辑开关操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
"id" : "ToggleRowEdit"
},
"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,
......
......@@ -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",
......
......@@ -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",
......
......@@ -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",
......
......@@ -2090,34 +2090,34 @@
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click",
"name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_行编辑开关操作"
"id" : "表格界面_编辑操作"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click",
"name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_编辑操作"
"id" : "表格界面_行编辑开关操作"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作",
"name" : "表格界面_编辑操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "表格界面_编辑操作",
"name" : "表格界面_行编辑开关操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
"id" : "ToggleRowEdit"
},
"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_ua98d563_click",
"name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_行编辑开关操作"
"id" : "表格界面_编辑操作"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click",
"name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "表格界面_编辑操作"
"id" : "表格界面_行编辑开关操作"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作",
"name" : "表格界面_编辑操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "表格界面_编辑操作",
"name" : "表格界面_行编辑开关操作",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
"id" : "ToggleRowEdit"
},
"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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册