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

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

上级 8224c48d
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
"dependencies": { "dependencies": {
"@floating-ui/dom": "^1.0.4", "@floating-ui/dom": "^1.0.4",
"@ibiz-template/command": "^0.0.1-beta.1", "@ibiz-template/command": "^0.0.1-beta.1",
"@ibiz-template/controller": "^0.0.1-beta.4", "@ibiz-template/controller": "^0.0.1-beta.5",
"@ibiz-template/core": "^0.0.1-beta.4", "@ibiz-template/core": "^0.0.1-beta.5",
"@ibiz-template/model": "^0.0.1-beta.4", "@ibiz-template/model": "^0.0.1-beta.5",
"@ibiz-template/runtime": "^0.0.1-beta.4", "@ibiz-template/runtime": "^0.0.1-beta.5",
"@ibiz-template/service": "^0.0.1-beta.4", "@ibiz-template/service": "^0.0.1-beta.5",
"@ibiz-template/theme": "^0.0.1-beta.4", "@ibiz-template/theme": "^0.0.1-beta.5",
"@ibiz-template/vue-util": "^0.0.1-beta.4", "@ibiz-template/vue-util": "^0.0.1-beta.5",
"@ibiz/dynamic-model-api": "^2.1.5", "@ibiz/dynamic-model-api": "^2.1.5",
"dayjs": "^1.11.6", "dayjs": "^1.11.6",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
......
...@@ -5,13 +5,13 @@ specifiers: ...@@ -5,13 +5,13 @@ specifiers:
'@commitlint/config-conventional': ^17.2.0 '@commitlint/config-conventional': ^17.2.0
'@floating-ui/dom': ^1.0.4 '@floating-ui/dom': ^1.0.4
'@ibiz-template/command': ^0.0.1-beta.1 '@ibiz-template/command': ^0.0.1-beta.1
'@ibiz-template/controller': ^0.0.1-beta.4 '@ibiz-template/controller': ^0.0.1-beta.5
'@ibiz-template/core': ^0.0.1-beta.4 '@ibiz-template/core': ^0.0.1-beta.5
'@ibiz-template/model': ^0.0.1-beta.4 '@ibiz-template/model': ^0.0.1-beta.5
'@ibiz-template/runtime': ^0.0.1-beta.4 '@ibiz-template/runtime': ^0.0.1-beta.5
'@ibiz-template/service': ^0.0.1-beta.4 '@ibiz-template/service': ^0.0.1-beta.5
'@ibiz-template/theme': ^0.0.1-beta.4 '@ibiz-template/theme': ^0.0.1-beta.5
'@ibiz-template/vue-util': ^0.0.1-beta.4 '@ibiz-template/vue-util': ^0.0.1-beta.5
'@ibiz/dynamic-model-api': ^2.1.5 '@ibiz/dynamic-model-api': ^2.1.5
'@types/lodash-es': ^4.17.6 '@types/lodash-es': ^4.17.6
'@types/node': ^18.11.9 '@types/node': ^18.11.9
...@@ -64,13 +64,13 @@ specifiers: ...@@ -64,13 +64,13 @@ specifiers:
dependencies: dependencies:
'@floating-ui/dom': 1.0.4 '@floating-ui/dom': 1.0.4
'@ibiz-template/command': 0.0.1-beta.1 '@ibiz-template/command': 0.0.1-beta.1
'@ibiz-template/controller': 0.0.1-beta.4_ajucy7f37zuhbfy7pgzorsiiqy '@ibiz-template/controller': 0.0.1-beta.5_4dx3ogfbxnlrosb6ftyzrj232i
'@ibiz-template/core': 0.0.1-beta.4_qzytosuu5eg3bvoa74ldx6evva '@ibiz-template/core': 0.0.1-beta.5_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.4_yslesr4iih24kokbsmhl36awki '@ibiz-template/model': 0.0.1-beta.5_yslesr4iih24kokbsmhl36awki
'@ibiz-template/runtime': 0.0.1-beta.4_6awv2zfrabgqodbrbxr3n5puq4 '@ibiz-template/runtime': 0.0.1-beta.5_szl25usoicpsrgum7zlj52yelm
'@ibiz-template/service': 0.0.1-beta.4_z62ohopcmye5umgqu3husfqhgy '@ibiz-template/service': 0.0.1-beta.5_mnlyohpo4wuf2quce32kezi354
'@ibiz-template/theme': 0.0.1-beta.4 '@ibiz-template/theme': 0.0.1-beta.5
'@ibiz-template/vue-util': 0.0.1-beta.4_guyote4ttadwn7ginshhszpspe '@ibiz-template/vue-util': 0.0.1-beta.5_34vmmgikregh5tg4ncxlj344b4
'@ibiz/dynamic-model-api': 2.1.5_qx-util@0.4.4 '@ibiz/dynamic-model-api': 2.1.5_qx-util@0.4.4
dayjs: 1.11.6 dayjs: 1.11.6
lodash-es: 4.17.21 lodash-es: 4.17.21
...@@ -679,8 +679,8 @@ packages: ...@@ -679,8 +679,8 @@ packages:
qx-util: 0.4.4 qx-util: 0.4.4
dev: false dev: false
/@ibiz-template/controller/0.0.1-beta.4_ajucy7f37zuhbfy7pgzorsiiqy: /@ibiz-template/controller/0.0.1-beta.5_4dx3ogfbxnlrosb6ftyzrj232i:
resolution: {integrity: sha512-X7bKgT1Zq5RLhupFTgPUEfqj5bG+CEjaMt971soynU6Z7m+8MGEcLpeSm2CMczaLEmuprgHZ8MI7a6ZNR1oZvg==} resolution: {integrity: sha512-XzHlTw0IBXJYU/mbPx9nKCSz60mntF22FYhpDRl92B0XW+4cRQ3n7KVBGPVzAsEW1zoRYXhvOj8yZxYoGtSbxg==}
peerDependencies: peerDependencies:
'@ibiz-template/core': ^0.0.1-alpha.2 '@ibiz-template/core': ^0.0.1-alpha.2
'@ibiz-template/model': ^0.0.1-alpha.2 '@ibiz-template/model': ^0.0.1-alpha.2
...@@ -690,10 +690,10 @@ packages: ...@@ -690,10 +690,10 @@ packages:
qs: ^6.11.0 qs: ^6.11.0
qx-util: ^0.4.4 qx-util: ^0.4.4
dependencies: dependencies:
'@ibiz-template/core': 0.0.1-beta.4_qzytosuu5eg3bvoa74ldx6evva '@ibiz-template/core': 0.0.1-beta.5_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.4_yslesr4iih24kokbsmhl36awki '@ibiz-template/model': 0.0.1-beta.5_yslesr4iih24kokbsmhl36awki
'@ibiz-template/runtime': 0.0.1-beta.4_6awv2zfrabgqodbrbxr3n5puq4 '@ibiz-template/runtime': 0.0.1-beta.5_szl25usoicpsrgum7zlj52yelm
'@ibiz-template/service': 0.0.1-beta.4_z62ohopcmye5umgqu3husfqhgy '@ibiz-template/service': 0.0.1-beta.5_mnlyohpo4wuf2quce32kezi354
async-validator: 4.2.5 async-validator: 4.2.5
dayjs: 1.11.6 dayjs: 1.11.6
lodash-es: 4.17.21 lodash-es: 4.17.21
...@@ -701,8 +701,8 @@ packages: ...@@ -701,8 +701,8 @@ packages:
qx-util: 0.4.4 qx-util: 0.4.4
dev: false dev: false
/@ibiz-template/core/0.0.1-beta.4_qzytosuu5eg3bvoa74ldx6evva: /@ibiz-template/core/0.0.1-beta.5_qzytosuu5eg3bvoa74ldx6evva:
resolution: {integrity: sha512-XMIwylqeaeJjQD8EKv50uiLuxilLld41W17uoIfLZAQdEC1uCXuQiLB1mVRAZPGgWTs9uOtwED+F0VW669EkfA==} resolution: {integrity: sha512-J+3ZBvDDx6vHtu/a8spnxFTOY7l4fNFK/e5NJmrWYC69P0vEaAc9R3zay9C2Bn5YAWsG0W15qiIgfQ9UBXbFCw==}
peerDependencies: peerDependencies:
lodash-es: ^4.17.21 lodash-es: ^4.17.21
qx-util: ^0.4.4 qx-util: ^0.4.4
...@@ -717,8 +717,8 @@ packages: ...@@ -717,8 +717,8 @@ packages:
- debug - debug
dev: false dev: false
/@ibiz-template/model/0.0.1-beta.4_yslesr4iih24kokbsmhl36awki: /@ibiz-template/model/0.0.1-beta.5_yslesr4iih24kokbsmhl36awki:
resolution: {integrity: sha512-vYj6dGear+bdNb/Dax4a44iWrHWJAJTtX11wQAwG4vrDf4n/MDKA3VKQze6miItzXZJNktc4xnl/uovqj8UKpQ==} resolution: {integrity: sha512-TSoUijEWnyYbZmwfzD8yeMQh/OERxDbMrGPWfBYw06cUaGqP8n/0p6Ume6AmR9MnWSUrPiXGwHI/DKpyDUYxgQ==}
peerDependencies: peerDependencies:
'@ibiz/dynamic-model-api': ^2.1.5 '@ibiz/dynamic-model-api': ^2.1.5
lodash-es: ^4.17.21 lodash-es: ^4.17.21
...@@ -730,8 +730,8 @@ packages: ...@@ -730,8 +730,8 @@ packages:
qx-util: 0.4.4 qx-util: 0.4.4
dev: false dev: false
/@ibiz-template/runtime/0.0.1-beta.4_6awv2zfrabgqodbrbxr3n5puq4: /@ibiz-template/runtime/0.0.1-beta.5_szl25usoicpsrgum7zlj52yelm:
resolution: {integrity: sha512-u8/+Drho7l6omRK3GGWOoeUCKOsJCco3zTdlv9GIwmwiIMu5fM94XAWjqwYi7OPqtPvio6Fu0KuFSKK9H0atqw==} resolution: {integrity: sha512-qw5ccnwKe8WMvJqhOeq4Yuoo9QbqWq8EeO4t1FLysa4payjto20k9xsMUGZNAvIpk8AxdaIPQz8dTWugmLvdFw==}
peerDependencies: peerDependencies:
'@ibiz-template/core': ^0.0.1-alpha.2 '@ibiz-template/core': ^0.0.1-alpha.2
'@ibiz-template/model': ^0.0.1-alpha.2 '@ibiz-template/model': ^0.0.1-alpha.2
...@@ -739,32 +739,32 @@ packages: ...@@ -739,32 +739,32 @@ packages:
qx-util: ^0.4.4 qx-util: ^0.4.4
dependencies: dependencies:
'@ibiz-template/command': 0.0.1-beta.1 '@ibiz-template/command': 0.0.1-beta.1
'@ibiz-template/core': 0.0.1-beta.4_qzytosuu5eg3bvoa74ldx6evva '@ibiz-template/core': 0.0.1-beta.5_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.4_yslesr4iih24kokbsmhl36awki '@ibiz-template/model': 0.0.1-beta.5_yslesr4iih24kokbsmhl36awki
'@ibiz-template/service': 0.0.1-beta.4_z62ohopcmye5umgqu3husfqhgy '@ibiz-template/service': 0.0.1-beta.5_mnlyohpo4wuf2quce32kezi354
qx-util: 0.4.4 qx-util: 0.4.4
dev: false dev: false
/@ibiz-template/service/0.0.1-beta.4_z62ohopcmye5umgqu3husfqhgy: /@ibiz-template/service/0.0.1-beta.5_mnlyohpo4wuf2quce32kezi354:
resolution: {integrity: sha512-ZaszRwIlgBtV6pwE6hvjetEf9x44q5yTZ8vy+r6tPl30yRRb7/vUOzIfgLTFSRRoCeRssqoROfqgmhHOfwrf8A==} resolution: {integrity: sha512-Hq4XeGpP8TgDRvUXmGiWNKEXOOEbK7l93p3q8xD+s+dqLbjTcC6MBwTrHlCBaDRfJSNh9AqzSdHzPnaZDEvWaA==}
peerDependencies: peerDependencies:
'@ibiz-template/core': ^0.0.1-alpha.2 '@ibiz-template/core': ^0.0.1-alpha.2
'@ibiz-template/model': ^0.0.1-alpha.2 '@ibiz-template/model': ^0.0.1-alpha.2
qx-util: ^0.4.4 qx-util: ^0.4.4
ramda: ^0.28.0 ramda: ^0.28.0
dependencies: dependencies:
'@ibiz-template/core': 0.0.1-beta.4_qzytosuu5eg3bvoa74ldx6evva '@ibiz-template/core': 0.0.1-beta.5_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.4_yslesr4iih24kokbsmhl36awki '@ibiz-template/model': 0.0.1-beta.5_yslesr4iih24kokbsmhl36awki
qx-util: 0.4.4 qx-util: 0.4.4
ramda: 0.28.0 ramda: 0.28.0
dev: false dev: false
/@ibiz-template/theme/0.0.1-beta.4: /@ibiz-template/theme/0.0.1-beta.5:
resolution: {integrity: sha512-Er/WSlxoozBzrCTqpTyQ8ZvKVFBTLhW8ZohqLU86k/127QdZ3naYnJJbGIjvHKL3f7vPZaun4MhL1se3nwSQZA==} resolution: {integrity: sha512-0SaTa612FHzZkZDkumjgkfo3KXNsnaP9yKnneg8YvaTCUWb0cBN29PtYZiu2KN1uG733u5rxIDMPZwWkZQT3bg==}
dev: false dev: false
/@ibiz-template/vue-util/0.0.1-beta.4_guyote4ttadwn7ginshhszpspe: /@ibiz-template/vue-util/0.0.1-beta.5_34vmmgikregh5tg4ncxlj344b4:
resolution: {integrity: sha512-wJfI6h0VZ7GPQ4gMlimLUPlkZUrXQgVicbu3fABlmjoZmYLZ12OSa+iajy12KCaTWVu2hxGudlIPBmfY56GHLg==} resolution: {integrity: sha512-mSKU7QRqwJaVK+KH/tp6zMn7nAbjcSX5zp68+7q2A8oG1qqMyqryfjaW6pL1IGMq+7XTzFW+jjflHEF9pHbMlw==}
peerDependencies: peerDependencies:
'@ibiz-template/controller': '>=0.0.1-alpha.2' '@ibiz-template/controller': '>=0.0.1-alpha.2'
'@ibiz-template/core': '>=0.0.1-alpha.2' '@ibiz-template/core': '>=0.0.1-alpha.2'
...@@ -775,9 +775,9 @@ packages: ...@@ -775,9 +775,9 @@ packages:
vue: ^2.7.13 vue: ^2.7.13
vue-router: ^3.6.5 vue-router: ^3.6.5
dependencies: dependencies:
'@ibiz-template/controller': 0.0.1-beta.4_ajucy7f37zuhbfy7pgzorsiiqy '@ibiz-template/controller': 0.0.1-beta.5_4dx3ogfbxnlrosb6ftyzrj232i
'@ibiz-template/core': 0.0.1-beta.4_qzytosuu5eg3bvoa74ldx6evva '@ibiz-template/core': 0.0.1-beta.5_qzytosuu5eg3bvoa74ldx6evva
'@ibiz-template/model': 0.0.1-beta.4_yslesr4iih24kokbsmhl36awki '@ibiz-template/model': 0.0.1-beta.5_yslesr4iih24kokbsmhl36awki
qs: 6.11.0 qs: 6.11.0
qx-util: 0.4.4 qx-util: 0.4.4
ramda: 0.28.0 ramda: 0.28.0
......
import { import { computed, defineComponent, onMounted, PropType, ref } from 'vue';
computed,
defineComponent,
onMounted,
PropType,
reactive,
ref,
} from 'vue';
import { import {
IPSDETBGroupItem, IPSDETBGroupItem,
IPSDETBUIActionItem, IPSDETBUIActionItem,
...@@ -75,9 +68,7 @@ export const ViewToolbar = defineComponent({ ...@@ -75,9 +68,7 @@ export const ViewToolbar = defineComponent({
} }
}; };
const toolbarState2 = reactive(props.toolbarState); return { ns, doingToolbarItem, handleClick, btnSize };
return { ns, toolbarState2, doingToolbarItem, handleClick, btnSize };
}, },
render() { render() {
return ( return (
...@@ -99,15 +90,15 @@ export const ViewToolbar = defineComponent({ ...@@ -99,15 +90,15 @@ export const ViewToolbar = defineComponent({
} }
if ( if (
item.itemType === 'DEUIACTION' && item.itemType === 'DEUIACTION' &&
this.toolbarState2[item.id].visible this.toolbarState[item.id].visible
) { ) {
return ( return (
<div key={item.id} class={this.ns.b('item')}> <div key={item.id} class={this.ns.b('item')}>
<i-button <i-button
title={item.tooltip} title={item.tooltip}
size={this.btnSize} size={this.btnSize}
loading={this.toolbarState2[item.id].loading} loading={this.toolbarState[item.id].loading}
disabled={this.toolbarState2[item.id].disabled} disabled={this.toolbarState[item.id].disabled}
on-click={(e: MouseEvent) => this.handleClick(item, e)} on-click={(e: MouseEvent) => this.handleClick(item, e)}
> >
{btnContent(item, this.viewMode)} {btnContent(item, this.viewMode)}
......
...@@ -20,7 +20,8 @@ export const IBizInputNumber = defineComponent({ ...@@ -20,7 +20,8 @@ export const IBizInputNumber = defineComponent({
() => props.value, () => props.value,
(newVal, oldVal) => { (newVal, oldVal) => {
if (newVal !== oldVal) { if (newVal !== oldVal) {
currentVal.value = newVal!; const number = Number(newVal);
currentVal.value = Number.isNaN(number) ? 0 : number;
} }
}, },
{ immediate: true }, { immediate: true },
......
...@@ -47,36 +47,35 @@ export const IBizFileUpload = defineComponent({ ...@@ -47,36 +47,35 @@ export const IBizFileUpload = defineComponent({
}, },
render(h) { render(h) {
return ( return (
<div class={this.ns.b()}> <div class={[this.ns.b(), this.disabled ? this.ns.m('disabled') : '']}>
{this.infoMode {h(
? this.value 'IUpload',
: h( {
'IUpload', ref: 'fileUpload',
{ props: {
ref: 'fileUpload', action: this.uploadUrl,
props: { headers: this.headers,
action: this.uploadUrl, disabled: this.disabled,
headers: this.headers, 'default-file-list': this.files,
'default-file-list': this.files, multiple: this.c.model.multiple,
multiple: this.c.model.multiple, type: this.c.model.isDrag ? 'drag' : 'select',
type: this.c.model.isDrag ? 'drag' : 'select', accept: this.c.model.accept,
accept: this.c.model.accept, 'before-upload': this.beforeUpload,
'before-upload': this.beforeUpload, 'on-success': this.onSuccess,
'on-success': this.onSuccess, 'on-error': this.onError,
'on-error': this.onError, 'on-remove': this.onRemove,
'on-remove': this.onRemove, 'on-preview': this.onDownload,
'on-preview': this.onDownload, },
}, },
}, [
[ <i-button
<i-button icon='ios-cloud-upload-outline'
icon='ios-cloud-upload-outline' class={this.ns.b('button')}
class={this.ns.b('button')} >
> 上传文件
上传文件 </i-button>,
</i-button>, ],
], )}
)}
</div> </div>
); );
}, },
......
...@@ -65,28 +65,26 @@ export const IBizImageUpload = defineComponent({ ...@@ -65,28 +65,26 @@ export const IBizImageUpload = defineComponent({
}; };
}, },
render() { render() {
// 信息模式
if (this.infoMode) {
return <div class={this.ns.b()}>{this.value}</div>;
}
// 编辑态展示 // 编辑态展示
return ( return (
<div class={this.ns.b()}> <div class={[this.ns.b(), this.disabled ? this.ns.m('disabled') : '']}>
<div class={this.ns.e('image-upload-list')}> <div class={this.ns.e('image-upload-list')}>
{this.files.map(item => ( {this.files.map(item => (
<div key={item.id} class={this.ns.e('list-item')}> <div key={item.id} class={this.ns.e('list-item')}>
<img src={item.url} /> <img src={item.url} />
<div class={this.ns.e('list-item-cover')}> <div class={this.ns.e('list-item-cover')}>
<i-icon <i-icon
class={this.ns.e('preview-icon')}
type='ios-eye-outline' type='ios-eye-outline'
on-click={() => this.onPreview(item)} on-click={() => this.onPreview(item)}
></i-icon> ></i-icon>
<i-icon <i-icon
class={this.ns.e('download-icon')}
type='ios-download-outline' type='ios-download-outline'
on-click={() => this.onDownload(item)} on-click={() => this.onDownload(item)}
></i-icon> ></i-icon>
<i-icon <i-icon
class={this.ns.e('remove-icon')}
type='ios-trash-outline' type='ios-trash-outline'
on-click={() => this.onRemove(item)} on-click={() => this.onRemove(item)}
></i-icon> ></i-icon>
...@@ -104,6 +102,7 @@ export const IBizImageUpload = defineComponent({ ...@@ -104,6 +102,7 @@ export const IBizImageUpload = defineComponent({
accept={this.c.model.accept} accept={this.c.model.accept}
show-upload-list={false} show-upload-list={false}
before-upload={this.beforeUpload} before-upload={this.beforeUpload}
disabled={this.disabled}
props={{ props={{
'on-success': this.onSuccess, 'on-success': this.onSuccess,
'on-error': this.onError, 'on-error': this.onError,
......
...@@ -139,6 +139,9 @@ export function useIViewUpload( ...@@ -139,6 +139,9 @@ export function useIViewUpload(
// 删除回调 // 删除回调
const onRemove = (file: IData) => { const onRemove = (file: IData) => {
if (props.disabled) {
return;
}
const index = files.value.findIndex(item => item.id === file.id); const index = files.value.findIndex(item => item.id === file.id);
if (index !== -1) { if (index !== -1) {
files.value.splice(index, 1); files.value.splice(index, 1);
......
...@@ -45,7 +45,7 @@ export const EditView3 = defineComponent({ ...@@ -45,7 +45,7 @@ export const EditView3 = defineComponent({
)} )}
></edit-form-control> ></edit-form-control>
</i-tab-pane> </i-tab-pane>
{[...this.c.model.drTab.pages.values()].map(page => { {this.c.model.drTab.pages.map(page => {
const drPage = this.c.drPages[page.source.name]; const drPage = this.c.drPages[page.source.name];
if (!drPage) { if (!drPage) {
return; return;
......
import { EditFormController } from '@ibiz-template/controller';
import { IBizContext } from '@ibiz-template/core'; import { IBizContext } from '@ibiz-template/core';
import { EditFormModel } from '@ibiz-template/model'; import { EditFormModel } from '@ibiz-template/model';
import { useEditFormController } from '@ibiz-template/vue-util'; import { useEditFormController } from '@ibiz-template/vue-util';
import { defineComponent, getCurrentInstance, PropType, reactive } from 'vue'; import { defineComponent, getCurrentInstance, PropType } from 'vue';
export const EditFormControl = defineComponent({ export const EditFormControl = defineComponent({
name: 'EditFormControl', name: 'EditFormControl',
...@@ -25,9 +24,7 @@ export const EditFormControl = defineComponent({ ...@@ -25,9 +24,7 @@ export const EditFormControl = defineComponent({
props.context, props.context,
props.params, props.params,
); );
// reactive后子组件才能监控和响应式更新 return { c };
const reactiveC = reactive(c) as EditFormController;
return { c, reactiveC };
}, },
render() { render() {
...@@ -35,7 +32,7 @@ export const EditFormControl = defineComponent({ ...@@ -35,7 +32,7 @@ export const EditFormControl = defineComponent({
<form-control <form-control
model-data={this.modelData} model-data={this.modelData}
context={this.context} context={this.context}
controller={this.reactiveC} controller={this.c}
></form-control> ></form-control>
); );
}, },
......
...@@ -6,16 +6,8 @@ import { ...@@ -6,16 +6,8 @@ import {
FormItemModel, FormItemModel,
FormModel, FormModel,
} from '@ibiz-template/model'; } from '@ibiz-template/model';
import { useForceTogether, useNamespace } from '@ibiz-template/vue-util'; import { useNamespace } from '@ibiz-template/vue-util';
import { import { defineComponent, PropType, CreateElement, VNode } from 'vue';
defineComponent,
getCurrentInstance,
toRef,
PropType,
CreateElement,
VNode,
computed,
} from 'vue';
import '@ibiz-template/theme/style/components/widgets/form/form.scss'; import '@ibiz-template/theme/style/components/widgets/form/form.scss';
/** /**
...@@ -37,7 +29,7 @@ function renderByDetailType( ...@@ -37,7 +29,7 @@ function renderByDetailType(
} }
const commonProps = { const commonProps = {
modelData: detail, modelData: detail,
controller: computed(() => controller.details[detail.source.name]), controller: controller.details[detail.source.name],
}; };
const provider = controller.providers[detail.source.name]; const provider = controller.providers[detail.source.name];
if (!provider) { if (!provider) {
...@@ -73,12 +65,9 @@ export const FormControl = defineComponent({ ...@@ -73,12 +65,9 @@ export const FormControl = defineComponent({
}, },
}, },
setup(props) { setup(props) {
const { proxy } = getCurrentInstance()!;
useForceTogether(proxy, props.controller);
const ns = useNamespace('form'); const ns = useNamespace('form');
const c = toRef(props, 'controller'); const c = props.controller;
return { ns, c }; return { ns, c };
}, },
......
...@@ -41,7 +41,7 @@ export const FormGroupPanel = defineComponent({ ...@@ -41,7 +41,7 @@ export const FormGroupPanel = defineComponent({
return ( return (
<app-col <app-col
layoutPos={props.modelData.source.getPSLayoutPos()} layoutPos={props.modelData.source.getPSLayoutPos()}
controller={props.controller.value.layoutController} controller={props.controller.layoutController}
> >
{slot} {slot}
</app-col> </app-col>
......
import { FormItemController } from '@ibiz-template/controller'; import { FormItemController } from '@ibiz-template/controller';
import { FormItemModel } from '@ibiz-template/model'; import { FormItemModel } from '@ibiz-template/model';
import { defineComponent, computed, reactive } from 'vue'; import { defineComponent } from 'vue';
import { useNamespace } from '@ibiz-template/vue-util'; import { useNamespace } from '@ibiz-template/vue-util';
import '@ibiz-template/theme/style/components/widgets/form/form-item.scss'; import '@ibiz-template/theme/style/components/widgets/form/form-item.scss';
...@@ -18,18 +18,17 @@ export const FormItem = defineComponent({ ...@@ -18,18 +18,17 @@ export const FormItem = defineComponent({
}, },
setup(props) { setup(props) {
const ns = useNamespace('form-item'); const ns = useNamespace('form-item');
const c = reactive(props.controller); const c = props.controller;
const value = computed(() => props.controller.value);
const onValueChange = (val: unknown, name?: string) => { const onValueChange = (val: unknown, name?: string) => {
props.controller.setDataValue(val, name); props.controller.setDataValue(val, name);
}; };
return { ns, c, value, onValueChange };
return { ns, c, onValueChange };
}, },
render(h) { render(h) {
if (!this.c.visible) { if (!this.c.visible) {
return null; return null;
} }
const data = computed(() => this.controller.data);
// 编辑器内容 // 编辑器内容
let editor = null; let editor = null;
...@@ -37,8 +36,8 @@ export const FormItem = defineComponent({ ...@@ -37,8 +36,8 @@ export const FormItem = defineComponent({
if (this.controller.editorProvider) { if (this.controller.editorProvider) {
editor = h(this.controller.editorProvider.formEditor, { editor = h(this.controller.editorProvider.formEditor, {
props: { props: {
value: this.value, value: this.controller.value,
data, data: this.controller.data,
controller: this.controller.editor, controller: this.controller.editor,
disabled: this.controller.disabled, disabled: this.controller.disabled,
}, },
......
...@@ -43,7 +43,7 @@ export default defineComponent({ ...@@ -43,7 +43,7 @@ export default defineComponent({
return ( return (
<app-col <app-col
layoutPos={props.modelData.source.getPSLayoutPos()} layoutPos={props.modelData.source.getPSLayoutPos()}
controller={props.controller.value.layoutController} controller={props.controller.layoutController}
> >
{slot} {slot}
</app-col> </app-col>
......
...@@ -39,7 +39,7 @@ export default defineComponent({ ...@@ -39,7 +39,7 @@ export default defineComponent({
return ( return (
<app-col <app-col
layoutPos={props.modelData.source.getPSLayoutPos()} layoutPos={props.modelData.source.getPSLayoutPos()}
controller={props.controller.value.layoutController} controller={props.controller.layoutController}
> >
{slot} {slot}
</app-col> </app-col>
......
...@@ -2,8 +2,8 @@ import { ...@@ -2,8 +2,8 @@ import {
GridFieldEditColumnController, GridFieldEditColumnController,
GridRowController, GridRowController,
} from '@ibiz-template/controller'; } from '@ibiz-template/controller';
import { computed, defineComponent, getCurrentInstance } from 'vue'; import { computed, defineComponent } from 'vue';
import { useForce, useNamespace } from '@ibiz-template/vue-util'; import { useNamespace } from '@ibiz-template/vue-util';
export const GridFieldEditColumn = defineComponent({ export const GridFieldEditColumn = defineComponent({
name: 'GridFieldEditColumn', name: 'GridFieldEditColumn',
...@@ -19,13 +19,11 @@ export const GridFieldEditColumn = defineComponent({ ...@@ -19,13 +19,11 @@ export const GridFieldEditColumn = defineComponent({
}, },
setup(props) { setup(props) {
const ns = useNamespace('grid-field-edit-column'); const ns = useNamespace('grid-field-edit-column');
const force = useForce(getCurrentInstance()!.proxy);
const editItemC = props.controller.editItem; const editItemC = props.controller.editItem;
// 编辑器值变更事件 // 编辑器值变更事件
const rowDataChange = async (val: unknown, name?: string) => { const rowDataChange = async (val: unknown, name?: string) => {
await editItemC.setRowValue(props.row, val, name); await editItemC.setRowValue(props.row, val, name);
force();
}; };
// 行数据保存 // 行数据保存
......
...@@ -9,5 +9,5 @@ import { IControlProvider } from '@ibiz-template/controller'; ...@@ -9,5 +9,5 @@ import { IControlProvider } from '@ibiz-template/controller';
* @implements {IControlProvider} * @implements {IControlProvider}
*/ */
export class ListProvider implements IControlProvider { export class ListProvider implements IControlProvider {
component: string = 'ListPortlet'; component: string = 'ListControl';
} }
...@@ -504,53 +504,53 @@ ...@@ -504,53 +504,53 @@
dependencies: dependencies:
qx-util "^0.4.4" qx-util "^0.4.4"
"@ibiz-template/controller@^0.0.1-beta.4": "@ibiz-template/controller@^0.0.1-beta.5":
version "0.0.1-beta.4" version "0.0.1-beta.5"
resolved "http://npm.zhr.icu/@ibiz-template%2fcontroller/-/controller-0.0.1-beta.4.tgz#228f209c0ef2a8b02d8faaf5d4fcb3ea699076ce" resolved "http://npm.zhr.icu/@ibiz-template%2fcontroller/-/controller-0.0.1-beta.5.tgz#79142a8e3e11a736b42d664dfcb80e50fd536956"
integrity sha512-X7bKgT1Zq5RLhupFTgPUEfqj5bG+CEjaMt971soynU6Z7m+8MGEcLpeSm2CMczaLEmuprgHZ8MI7a6ZNR1oZvg== integrity sha512-XzHlTw0IBXJYU/mbPx9nKCSz60mntF22FYhpDRl92B0XW+4cRQ3n7KVBGPVzAsEW1zoRYXhvOj8yZxYoGtSbxg==
dependencies: dependencies:
async-validator "^4.2.5" async-validator "^4.2.5"
dayjs "^1.11.5" dayjs "^1.11.5"
"@ibiz-template/core@^0.0.1-beta.4": "@ibiz-template/core@^0.0.1-beta.5":
version "0.0.1-beta.4" version "0.0.1-beta.5"
resolved "http://npm.zhr.icu/@ibiz-template%2fcore/-/core-0.0.1-beta.4.tgz#e5311a94b92c39532f2b7ec9c0ccd8a7b4dce8fb" resolved "http://npm.zhr.icu/@ibiz-template%2fcore/-/core-0.0.1-beta.5.tgz#37051b71555298c7ce59e269f847f1d5d30bf409"
integrity sha512-XMIwylqeaeJjQD8EKv50uiLuxilLld41W17uoIfLZAQdEC1uCXuQiLB1mVRAZPGgWTs9uOtwED+F0VW669EkfA== integrity sha512-J+3ZBvDDx6vHtu/a8spnxFTOY7l4fNFK/e5NJmrWYC69P0vEaAc9R3zay9C2Bn5YAWsG0W15qiIgfQ9UBXbFCw==
dependencies: dependencies:
axios "^1.1.3" axios "^1.1.3"
loglevel "^1.8.0" loglevel "^1.8.0"
pluralize "^8.0.0" pluralize "^8.0.0"
qs "^6.11.0" qs "^6.11.0"
"@ibiz-template/model@^0.0.1-beta.4": "@ibiz-template/model@^0.0.1-beta.5":
version "0.0.1-beta.4" version "0.0.1-beta.5"
resolved "http://npm.zhr.icu/@ibiz-template%2fmodel/-/model-0.0.1-beta.4.tgz#d04fdc46efdba30af9c7ffd53ed0d6d730b0697f" resolved "http://npm.zhr.icu/@ibiz-template%2fmodel/-/model-0.0.1-beta.5.tgz#545e8ccdcb17221c6e47757f09c018ca13f71ed2"
integrity sha512-vYj6dGear+bdNb/Dax4a44iWrHWJAJTtX11wQAwG4vrDf4n/MDKA3VKQze6miItzXZJNktc4xnl/uovqj8UKpQ== integrity sha512-TSoUijEWnyYbZmwfzD8yeMQh/OERxDbMrGPWfBYw06cUaGqP8n/0p6Ume6AmR9MnWSUrPiXGwHI/DKpyDUYxgQ==
dependencies: dependencies:
"@ibiz/dynamic-model-api" "^2.1.5" "@ibiz/dynamic-model-api" "^2.1.5"
pluralize "^8.0.0" pluralize "^8.0.0"
"@ibiz-template/runtime@^0.0.1-beta.4": "@ibiz-template/runtime@^0.0.1-beta.5":
version "0.0.1-beta.4" version "0.0.1-beta.5"
resolved "http://npm.zhr.icu/@ibiz-template%2fruntime/-/runtime-0.0.1-beta.4.tgz#cce1f8113e2183a0f5e888567ec5ad79d441b796" resolved "http://npm.zhr.icu/@ibiz-template%2fruntime/-/runtime-0.0.1-beta.5.tgz#fa42a21b40c87522b2b37a8f90cc8234dee8c599"
integrity sha512-u8/+Drho7l6omRK3GGWOoeUCKOsJCco3zTdlv9GIwmwiIMu5fM94XAWjqwYi7OPqtPvio6Fu0KuFSKK9H0atqw== integrity sha512-qw5ccnwKe8WMvJqhOeq4Yuoo9QbqWq8EeO4t1FLysa4payjto20k9xsMUGZNAvIpk8AxdaIPQz8dTWugmLvdFw==
dependencies: dependencies:
"@ibiz-template/command" "^0.0.1-beta.1" "@ibiz-template/command" "^0.0.1-beta.1"
"@ibiz-template/service@^0.0.1-beta.4": "@ibiz-template/service@^0.0.1-beta.5":
version "0.0.1-beta.4" version "0.0.1-beta.5"
resolved "http://npm.zhr.icu/@ibiz-template%2fservice/-/service-0.0.1-beta.4.tgz#fba5f0afaf33882134eef7dc11382907b7ac460b" resolved "http://npm.zhr.icu/@ibiz-template%2fservice/-/service-0.0.1-beta.5.tgz#6973aaa0195a9c3c3d475281be20e5ccbd6c7c3a"
integrity sha512-ZaszRwIlgBtV6pwE6hvjetEf9x44q5yTZ8vy+r6tPl30yRRb7/vUOzIfgLTFSRRoCeRssqoROfqgmhHOfwrf8A== integrity sha512-Hq4XeGpP8TgDRvUXmGiWNKEXOOEbK7l93p3q8xD+s+dqLbjTcC6MBwTrHlCBaDRfJSNh9AqzSdHzPnaZDEvWaA==
"@ibiz-template/theme@^0.0.1-beta.4": "@ibiz-template/theme@^0.0.1-beta.5":
version "0.0.1-beta.4" version "0.0.1-beta.5"
resolved "http://npm.zhr.icu/@ibiz-template%2ftheme/-/theme-0.0.1-beta.4.tgz#a7d605c51bbdf00fb3abf9637fcd2349e84eb117" resolved "http://npm.zhr.icu/@ibiz-template%2ftheme/-/theme-0.0.1-beta.5.tgz#d8e80e39fc1e9c2d8d56637b7b30f28642fc684e"
integrity sha512-Er/WSlxoozBzrCTqpTyQ8ZvKVFBTLhW8ZohqLU86k/127QdZ3naYnJJbGIjvHKL3f7vPZaun4MhL1se3nwSQZA== integrity sha512-0SaTa612FHzZkZDkumjgkfo3KXNsnaP9yKnneg8YvaTCUWb0cBN29PtYZiu2KN1uG733u5rxIDMPZwWkZQT3bg==
"@ibiz-template/vue-util@^0.0.1-beta.4": "@ibiz-template/vue-util@^0.0.1-beta.5":
version "0.0.1-beta.4" version "0.0.1-beta.5"
resolved "http://npm.zhr.icu/@ibiz-template%2fvue-util/-/vue-util-0.0.1-beta.4.tgz#e94950b4c91719914105ee545c04fcf1473c4513" resolved "http://npm.zhr.icu/@ibiz-template%2fvue-util/-/vue-util-0.0.1-beta.5.tgz#15ac3e1cae2400b9115fec75928a38ed4a5b0af9"
integrity sha512-wJfI6h0VZ7GPQ4gMlimLUPlkZUrXQgVicbu3fABlmjoZmYLZ12OSa+iajy12KCaTWVu2hxGudlIPBmfY56GHLg== integrity sha512-mSKU7QRqwJaVK+KH/tp6zMn7nAbjcSX5zp68+7q2A8oG1qqMyqryfjaW6pL1IGMq+7XTzFW+jjflHEF9pHbMlw==
"@ibiz/dynamic-model-api@^2.1.5": "@ibiz/dynamic-model-api@^2.1.5":
version "2.1.5" version "2.1.5"
......
...@@ -1914,34 +1914,34 @@ ...@@ -1914,34 +1914,34 @@
"getPSAppViewLogics" : [ { "getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click", "name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_行编辑开关操作" "id" : "表格界面_编辑操作"
} }
}, { }, {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click", "name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_编辑操作" "id" : "表格界面_行编辑开关操作"
} }
} ], } ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作", "name" : "表格界面_编辑操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ToggleRowEdit" "id" : "Edit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
}, { }, {
"name" : "表格界面_编辑操作", "name" : "表格界面_行编辑开关操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Edit" "id" : "ToggleRowEdit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
} ], } ],
"getPSControlHandler" : { "getPSControlHandler" : {
...@@ -2173,30 +2173,6 @@ ...@@ -2173,30 +2173,6 @@
"mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b", "mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b",
"name" : "操作列", "name" : "操作列",
"getPSUIActionGroupDetails" : [ { "getPSUIActionGroupDetails" : [ {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
}, {
"detailType" : "DEUIACTION", "detailType" : "DEUIACTION",
"name" : "u479f517", "name" : "u479f517",
"getPSUIAction" : { "getPSUIAction" : {
...@@ -2230,6 +2206,30 @@ ...@@ -2230,6 +2206,30 @@
"addSeparator" : true, "addSeparator" : true,
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b" "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
}, },
......
...@@ -37,23 +37,6 @@ ...@@ -37,23 +37,6 @@
} }
} ], } ],
"getPSDEFormItemVRs" : [ { "getPSDEFormItemVRs" : [ {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFormItemName" : "Name",
"getPSSysValueRule" : {
"codeName" : "ValueRule14",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule14.json",
"mOSFilePath" : "pssysvaluerules/ValueRule14",
"name" : "由26个英文字母组成的字符串",
"rTMOSFilePath" : "pssysvaluerules/ValueRule14",
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"valueRuleType" : "SYSVALUERULE"
}, {
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
...@@ -85,6 +68,23 @@ ...@@ -85,6 +68,23 @@
}, },
"getPSDEFormItemName" : "StuNo", "getPSDEFormItemName" : "StuNo",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFormItemName" : "Name",
"getPSSysValueRule" : {
"codeName" : "ValueRule14",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule14.json",
"mOSFilePath" : "pssysvaluerules/ValueRule14",
"name" : "由26个英文字母组成的字符串",
"rTMOSFilePath" : "pssysvaluerules/ValueRule14",
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"valueRuleType" : "SYSVALUERULE"
} ], } ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
"id" : "srfupdatedate", "id" : "srfupdatedate",
......
...@@ -19,34 +19,34 @@ ...@@ -19,34 +19,34 @@
"getPSAppViewLogics" : [ { "getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click", "name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_行编辑开关操作" "id" : "表格界面_编辑操作"
} }
}, { }, {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click", "name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_编辑操作" "id" : "表格界面_行编辑开关操作"
} }
} ], } ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作", "name" : "表格界面_编辑操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ToggleRowEdit" "id" : "Edit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
}, { }, {
"name" : "表格界面_编辑操作", "name" : "表格界面_行编辑开关操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Edit" "id" : "ToggleRowEdit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
} ], } ],
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
...@@ -191,30 +191,6 @@ ...@@ -191,30 +191,6 @@
"mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b", "mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b",
"name" : "操作列", "name" : "操作列",
"getPSUIActionGroupDetails" : [ { "getPSUIActionGroupDetails" : [ {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
}, {
"detailType" : "DEUIACTION", "detailType" : "DEUIACTION",
"name" : "u479f517", "name" : "u479f517",
"getPSUIAction" : { "getPSUIAction" : {
...@@ -248,6 +224,30 @@ ...@@ -248,6 +224,30 @@
"addSeparator" : true, "addSeparator" : true,
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b" "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
}, },
......
...@@ -609,34 +609,34 @@ ...@@ -609,34 +609,34 @@
"getPSAppViewLogics" : [ { "getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click", "name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_行编辑开关操作" "id" : "表格界面_编辑操作"
} }
}, { }, {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click", "name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_编辑操作" "id" : "表格界面_行编辑开关操作"
} }
} ], } ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作", "name" : "表格界面_编辑操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ToggleRowEdit" "id" : "Edit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
}, { }, {
"name" : "表格界面_编辑操作", "name" : "表格界面_行编辑开关操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Edit" "id" : "ToggleRowEdit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
} ], } ],
"getPSControlHandler" : { "getPSControlHandler" : {
...@@ -868,30 +868,6 @@ ...@@ -868,30 +868,6 @@
"mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b", "mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b",
"name" : "操作列", "name" : "操作列",
"getPSUIActionGroupDetails" : [ { "getPSUIActionGroupDetails" : [ {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
}, {
"detailType" : "DEUIACTION", "detailType" : "DEUIACTION",
"name" : "u479f517", "name" : "u479f517",
"getPSUIAction" : { "getPSUIAction" : {
...@@ -925,6 +901,30 @@ ...@@ -925,6 +901,30 @@
"addSeparator" : true, "addSeparator" : true,
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b" "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
}, },
......
...@@ -1109,23 +1109,6 @@ ...@@ -1109,23 +1109,6 @@
"id" : "FORM" "id" : "FORM"
}, },
"getPSDEFormItemVRs" : [ { "getPSDEFormItemVRs" : [ {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFormItemName" : "Name",
"getPSSysValueRule" : {
"codeName" : "ValueRule14",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule14.json",
"mOSFilePath" : "pssysvaluerules/ValueRule14",
"name" : "由26个英文字母组成的字符串",
"rTMOSFilePath" : "pssysvaluerules/ValueRule14",
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"valueRuleType" : "SYSVALUERULE"
}, {
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
...@@ -1157,6 +1140,23 @@ ...@@ -1157,6 +1140,23 @@
}, },
"getPSDEFormItemName" : "StuNo", "getPSDEFormItemName" : "StuNo",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFormItemName" : "Name",
"getPSSysValueRule" : {
"codeName" : "ValueRule14",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule14.json",
"mOSFilePath" : "pssysvaluerules/ValueRule14",
"name" : "由26个英文字母组成的字符串",
"rTMOSFilePath" : "pssysvaluerules/ValueRule14",
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"valueRuleType" : "SYSVALUERULE"
} ], } ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
"id" : "srfupdatedate", "id" : "srfupdatedate",
......
...@@ -389,34 +389,34 @@ ...@@ -389,34 +389,34 @@
"getPSAppViewLogics" : [ { "getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click", "name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_行编辑开关操作" "id" : "表格界面_编辑操作"
} }
}, { }, {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click", "name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_编辑操作" "id" : "表格界面_行编辑开关操作"
} }
} ], } ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作", "name" : "表格界面_编辑操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ToggleRowEdit" "id" : "Edit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
}, { }, {
"name" : "表格界面_编辑操作", "name" : "表格界面_行编辑开关操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Edit" "id" : "ToggleRowEdit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
} ], } ],
"getPSControlHandler" : { "getPSControlHandler" : {
...@@ -648,30 +648,6 @@ ...@@ -648,30 +648,6 @@
"mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b", "mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b",
"name" : "操作列", "name" : "操作列",
"getPSUIActionGroupDetails" : [ { "getPSUIActionGroupDetails" : [ {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
}, {
"detailType" : "DEUIACTION", "detailType" : "DEUIACTION",
"name" : "u479f517", "name" : "u479f517",
"getPSUIAction" : { "getPSUIAction" : {
...@@ -705,6 +681,30 @@ ...@@ -705,6 +681,30 @@
"addSeparator" : true, "addSeparator" : true,
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b" "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
}, },
......
...@@ -440,34 +440,34 @@ ...@@ -440,34 +440,34 @@
"getPSAppViewLogics" : [ { "getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click", "name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_行编辑开关操作" "id" : "表格界面_编辑操作"
} }
}, { }, {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click", "name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_编辑操作" "id" : "表格界面_行编辑开关操作"
} }
} ], } ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作", "name" : "表格界面_编辑操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ToggleRowEdit" "id" : "Edit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
}, { }, {
"name" : "表格界面_编辑操作", "name" : "表格界面_行编辑开关操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Edit" "id" : "ToggleRowEdit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
} ], } ],
"getPSControlHandler" : { "getPSControlHandler" : {
...@@ -699,30 +699,6 @@ ...@@ -699,30 +699,6 @@
"mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b", "mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b",
"name" : "操作列", "name" : "操作列",
"getPSUIActionGroupDetails" : [ { "getPSUIActionGroupDetails" : [ {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
}, {
"detailType" : "DEUIACTION", "detailType" : "DEUIACTION",
"name" : "u479f517", "name" : "u479f517",
"getPSUIAction" : { "getPSUIAction" : {
...@@ -756,6 +732,30 @@ ...@@ -756,6 +732,30 @@
"addSeparator" : true, "addSeparator" : true,
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b" "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
}, },
......
...@@ -2059,34 +2059,34 @@ ...@@ -2059,34 +2059,34 @@
"getPSAppViewLogics" : [ { "getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click", "name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_行编辑开关操作" "id" : "表格界面_编辑操作"
} }
}, { }, {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click", "name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_编辑操作" "id" : "表格界面_行编辑开关操作"
} }
} ], } ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作", "name" : "表格界面_编辑操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ToggleRowEdit" "id" : "Edit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
}, { }, {
"name" : "表格界面_编辑操作", "name" : "表格界面_行编辑开关操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Edit" "id" : "ToggleRowEdit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
} ], } ],
"getPSControlHandler" : { "getPSControlHandler" : {
...@@ -2318,30 +2318,6 @@ ...@@ -2318,30 +2318,6 @@
"mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b", "mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b",
"name" : "操作列", "name" : "操作列",
"getPSUIActionGroupDetails" : [ { "getPSUIActionGroupDetails" : [ {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
}, {
"detailType" : "DEUIACTION", "detailType" : "DEUIACTION",
"name" : "u479f517", "name" : "u479f517",
"getPSUIAction" : { "getPSUIAction" : {
...@@ -2375,6 +2351,30 @@ ...@@ -2375,6 +2351,30 @@
"addSeparator" : true, "addSeparator" : true,
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b" "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
}, },
......
...@@ -1682,34 +1682,34 @@ ...@@ -1682,34 +1682,34 @@
"getPSAppViewLogics" : [ { "getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click", "name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_行编辑开关操作" "id" : "表格界面_编辑操作"
} }
}, { }, {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click", "name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_编辑操作" "id" : "表格界面_行编辑开关操作"
} }
} ], } ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作", "name" : "表格界面_编辑操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ToggleRowEdit" "id" : "Edit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
}, { }, {
"name" : "表格界面_编辑操作", "name" : "表格界面_行编辑开关操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Edit" "id" : "ToggleRowEdit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
} ], } ],
"getPSControlHandler" : { "getPSControlHandler" : {
...@@ -1941,30 +1941,6 @@ ...@@ -1941,30 +1941,6 @@
"mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b", "mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b",
"name" : "操作列", "name" : "操作列",
"getPSUIActionGroupDetails" : [ { "getPSUIActionGroupDetails" : [ {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
}, {
"detailType" : "DEUIACTION", "detailType" : "DEUIACTION",
"name" : "u479f517", "name" : "u479f517",
"getPSUIAction" : { "getPSUIAction" : {
...@@ -1998,6 +1974,30 @@ ...@@ -1998,6 +1974,30 @@
"addSeparator" : true, "addSeparator" : true,
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b" "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
}, },
......
...@@ -7305,34 +7305,34 @@ ...@@ -7305,34 +7305,34 @@
"getPSAppViewLogics" : [ { "getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click", "name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_行编辑开关操作" "id" : "表格界面_编辑操作"
} }
}, { }, {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click", "name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_编辑操作" "id" : "表格界面_行编辑开关操作"
} }
} ], } ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作", "name" : "表格界面_编辑操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ToggleRowEdit" "id" : "Edit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
}, { }, {
"name" : "表格界面_编辑操作", "name" : "表格界面_行编辑开关操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Edit" "id" : "ToggleRowEdit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
} ], } ],
"getPSControlHandler" : { "getPSControlHandler" : {
...@@ -7564,30 +7564,6 @@ ...@@ -7564,30 +7564,6 @@
"mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b", "mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b",
"name" : "操作列", "name" : "操作列",
"getPSUIActionGroupDetails" : [ { "getPSUIActionGroupDetails" : [ {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
}, {
"detailType" : "DEUIACTION", "detailType" : "DEUIACTION",
"name" : "u479f517", "name" : "u479f517",
"getPSUIAction" : { "getPSUIAction" : {
...@@ -7621,6 +7597,30 @@ ...@@ -7621,6 +7597,30 @@
"addSeparator" : true, "addSeparator" : true,
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b" "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
}, },
...@@ -12105,34 +12105,34 @@ ...@@ -12105,34 +12105,34 @@
"getPSAppViewLogics" : [ { "getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_ua98d563_click", "name" : "grid_uagridcolumn1_u479f517_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_行编辑开关操作" "id" : "表格界面_编辑操作"
} }
}, { }, {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "grid_uagridcolumn1_u479f517_click", "name" : "grid_uagridcolumn1_ua98d563_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_编辑操作" "id" : "表格界面_行编辑开关操作"
} }
} ], } ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "表格界面_行编辑开关操作", "name" : "表格界面_编辑操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ToggleRowEdit" "id" : "Edit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
}, { }, {
"name" : "表格界面_编辑操作", "name" : "表格界面_行编辑开关操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Edit" "id" : "ToggleRowEdit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid" "xDataControlName" : "grid"
} ], } ],
"getPSControlHandler" : { "getPSControlHandler" : {
...@@ -12364,30 +12364,6 @@ ...@@ -12364,30 +12364,6 @@
"mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b", "mOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b",
"name" : "操作列", "name" : "操作列",
"getPSUIActionGroupDetails" : [ { "getPSUIActionGroupDetails" : [ {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
}, {
"detailType" : "DEUIACTION", "detailType" : "DEUIACTION",
"name" : "u479f517", "name" : "u479f517",
"getPSUIAction" : { "getPSUIAction" : {
...@@ -12421,6 +12397,30 @@ ...@@ -12421,6 +12397,30 @@
"addSeparator" : true, "addSeparator" : true,
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"detailType" : "DEUIACTION",
"name" : "ua98d563",
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleRowEdit",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"addSeparator" : true,
"showCaption" : true,
"showIcon" : false
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b" "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Reginfo/psappdeuagroups/A046596b6afb50f9e5b"
}, },
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册