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

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

上级 5342dfab
......@@ -120,6 +120,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("编辑表单内置功能",null),
title: commonLogic.appcommonhandle("图书编辑视图(内置功能)",null),
},
editview9: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书管理",null),
},
usreditview_plugin: {
caption: commonLogic.appcommonhandle("编辑视图插件测试-底部工具栏",null),
title: commonLogic.appcommonhandle("编辑视图插件测试-底部工具栏",null),
......@@ -595,6 +599,28 @@ function getLocaleResourceBase(){
uiactions: {
},
},
meditform_form: {
details: {
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("图书标识",null),
srfmajortext: commonLogic.appcommonhandle("图书名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
ibizbookname: commonLogic.appcommonhandle("图书名称",null),
author: commonLogic.appcommonhandle("图书作者",null),
booknumber: commonLogic.appcommonhandle("图书数量",null),
borrowway: commonLogic.appcommonhandle("借阅方式",null),
lendouttime: commonLogic.appcommonhandle("借出日期",null),
returntime: commonLogic.appcommonhandle("归还日期",null),
ibizbookid: commonLogic.appcommonhandle("图书标识",null),
},
uiactions: {
},
},
rulesform_form: {
details: {
group1: commonLogic.appcommonhandle("系统值规则",null),
......
......@@ -120,6 +120,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("Entity Edit View",null),
title: commonLogic.appcommonhandle("图书编辑视图(内置功能)",null),
},
editview9: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书管理",null),
},
usreditview_plugin: {
caption: commonLogic.appcommonhandle("编辑视图插件测试-底部工具栏",null),
title: commonLogic.appcommonhandle("编辑视图插件测试-底部工具栏",null),
......@@ -595,6 +599,28 @@ function getLocaleResourceBase(){
uiactions: {
},
},
meditform_form: {
details: {
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("图书标识",null),
srfmajortext: commonLogic.appcommonhandle("图书名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
ibizbookname: commonLogic.appcommonhandle("图书名称",null),
author: commonLogic.appcommonhandle("图书作者",null),
booknumber: commonLogic.appcommonhandle("图书数量",null),
borrowway: commonLogic.appcommonhandle("借阅方式",null),
lendouttime: commonLogic.appcommonhandle("借出日期",null),
returntime: commonLogic.appcommonhandle("归还日期",null),
ibizbookid: commonLogic.appcommonhandle("图书标识",null),
},
uiactions: {
},
},
rulesform_form: {
details: {
group1: commonLogic.appcommonhandle("系统值规则",null),
......
......@@ -120,6 +120,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("编辑表单内置功能",null),
title: commonLogic.appcommonhandle("图书编辑视图(内置功能)",null),
},
editview9: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书管理",null),
},
usreditview_plugin: {
caption: commonLogic.appcommonhandle("编辑视图插件测试-底部工具栏",null),
title: commonLogic.appcommonhandle("编辑视图插件测试-底部工具栏",null),
......@@ -595,6 +599,28 @@ function getLocaleResourceBase(){
uiactions: {
},
},
meditform_form: {
details: {
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("图书标识",null),
srfmajortext: commonLogic.appcommonhandle("图书名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
ibizbookname: commonLogic.appcommonhandle("图书名称",null),
author: commonLogic.appcommonhandle("图书作者",null),
booknumber: commonLogic.appcommonhandle("图书数量",null),
borrowway: commonLogic.appcommonhandle("借阅方式",null),
lendouttime: commonLogic.appcommonhandle("借出日期",null),
returntime: commonLogic.appcommonhandle("归还日期",null),
ibizbookid: commonLogic.appcommonhandle("图书标识",null),
},
uiactions: {
},
},
rulesform_form: {
details: {
group1: commonLogic.appcommonhandle("系统值规则",null),
......
......@@ -1034,6 +1034,19 @@ const router = new Router({
},
component: () => import('@pages/sample/app-portal-view2/app-portal-view2.vue'),
},
{
path: '/ibizbooks/:ibizbook?/editview9/:editview9?',
meta: {
caption: 'entities.ibizbook.views.editview9.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'editview9', parameterName: 'editview9' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookedit-view9/ibizbookedit-view9.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usreditview_plugin/:usreditview_plugin?',
meta: {
......
// 基于 @VIEW/实体编辑视图(部件视图)/VIEW.scss.ftl 生成
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizbookedit-view9{
position: relative;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKEditView9Base from './ibizbookedit-view9-base.vue';
import view_form from '@widgets/ibizbook/meditform-form/meditform-form.vue';
// 基于 @VIEW/实体编辑视图(部件视图)/VIEW.vue.ftl 生成
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBIZBOOKEditView9 extends IBIZBOOKEditView9Base {
}
</script>
\ No newline at end of file
......@@ -192,6 +192,7 @@ export const PageComponents = {
Vue.component('ibizcustomer-usr2-mpickup-view', () => import('@pages/sample/ibizcustomer-usr2-mpickup-view/ibizcustomer-usr2-mpickup-view.vue'));
Vue.component('ibizcustomer-intfmpickup-view', () => import('@pages/sample/ibizcustomer-intfmpickup-view/ibizcustomer-intfmpickup-view.vue'));
Vue.component('ibizcustomer-mpickup-view', () => import('@pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue'));
Vue.component('ibizbookedit-view9', () => import('@pages/sample/ibizbookedit-view9/ibizbookedit-view9.vue'));
Vue.component('ibizorder-f19-edit-view', () => import('@pages/sample/ibizorder-f19-edit-view/ibizorder-f19-edit-view.vue'));
Vue.component('ibizbookedit-view', () => import('@pages/sample/ibizbookedit-view/ibizbookedit-view.vue'));
Vue.component('ibizhardware-sgrid-view', () => import('@pages/sample/ibizhardware-sgrid-view/ibizhardware-sgrid-view.vue'));
......
......@@ -2941,6 +2941,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/editview9/:editview9?',
meta: {
caption: 'entities.ibizbook.views.editview9.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'editview9', parameterName: 'editview9' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookedit-view9/ibizbookedit-view9.vue'),
},
{
path: 'ibizorders/:ibizorder?/f19editview/:f19editview?',
meta: {
......@@ -4573,6 +4587,19 @@ const router = new Router({
},
component: () => import('@pages/sample/app-portal-view2/app-portal-view2.vue'),
},
{
path: '/ibizbooks/:ibizbook?/editview9/:editview9?',
meta: {
caption: 'entities.ibizbook.views.editview9.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'editview9', parameterName: 'editview9' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookedit-view9/ibizbookedit-view9.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usreditview_plugin/:usreditview_plugin?',
meta: {
......
......@@ -852,6 +852,19 @@ const router = new Router({
},
component: () => import('@pages/sample/app-portal-view2/app-portal-view2.vue'),
},
{
path: '/ibizbooks/:ibizbook?/editview9/:editview9?',
meta: {
caption: 'entities.ibizbook.views.editview9.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'editview9', parameterName: 'editview9' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookedit-view9/ibizbookedit-view9.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usreditview_plugin/:usreditview_plugin?',
meta: {
......
......@@ -571,7 +571,7 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'37e96c2a2e91cfbb1c2b076eb854a18e',
'3e2f62b8585df5ca82caff3830826b39',
],
},
{
......@@ -603,6 +603,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '3e2f62b8585df5ca82caff3830826b39',
viewmodule: 'Sample',
viewname: 'IBIZBOOKEditView9',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '427E25F6-DBD4-451B-B20E-87929E061C95',
viewmodule: 'Sample',
......
......@@ -120,6 +120,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'valuerulesgridview',viewType:'DEGRIDVIEW',srfappde:'ibizbooks',component:'ibizbookvalue-rules-grid-view'});
this.allViewMap.set(':',{viewname:'usr2meditview9',viewType:'DEMEDITVIEW9',srfappde:'ibizbooks',component:'ibizbookusr2-medit-view9'});
this.allViewMap.set(':',{viewname:'interfunceditview',viewType:'DEEDITVIEW',srfappde:'ibizbooks',component:'ibizbookinter-func-edit-view'});
this.allViewMap.set(':',{viewname:'editview9',viewType:'DEEDITVIEW9',srfappde:'ibizbooks',component:'ibizbookedit-view9'});
this.allViewMap.set(':',{viewname:'usreditview_plugin',viewType:'DEEDITVIEW',srfappde:'ibizbooks',component:'ibizbookusr-edit-view-plugin'});
this.allViewMap.set(':',{viewname:'usr4calendarview',viewType:'DECALENDARVIEW',srfappde:'ibizbooks',component:'ibizbookusr4-calendar-view'});
this.allViewMap.set(':',{viewname:'editview2',viewType:'DEEDITVIEW2',srfappde:'ibizbooks',component:'ibizbookedit-view2'});
......
......@@ -639,7 +639,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
// 基于 @CONTROL/表单/MODEL.ts.ftl 生成
/**
* Meditform 部件模型
*
* @export
* @class MeditformModel
*/
export default class MeditformModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof MeditformModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'srforikey',
},
{
name: 'srfkey',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'ibizbookname',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'ibizbookname',
prop: 'ibizbookname',
dataType: 'TEXT',
},
{
name: 'author',
prop: 'author',
dataType: 'TEXT',
},
{
name: 'booknumber',
prop: 'booknumber',
dataType: 'INT',
},
{
name: 'borrowway',
prop: 'borrowway',
dataType: 'SSCODELIST',
},
{
name: 'lendouttime',
prop: 'lendouttime',
dataType: 'DATE',
},
{
name: 'returntime',
prop: 'returntime',
dataType: 'DATE',
},
{
name: 'ibizbookid',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'ibizbook',
prop: 'ibizbookid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
// 基于 @CONTROL/表单/CONTROL.scss.ftl 生成
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-form {
overflow: auto;
> .ivu-row {
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
.app-form {
>.ivu-row:nth-child(2) {
>.ivu-col:nth-child(1) {
>.ivu-row.app-form-group.app-group-hiddden-caption:nth-child(1) {
margin-top: 12px;
}
}
}
}
.app-form{
// 表单行间距
.app-form-item{
margin-bottom: 10px;
}
// 表单按钮margin
.app-form-button{
margin:0 6px;
}
}
// this is scss
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import MeditformBase from './meditform-form-base.vue';
// 基于 @CONTROL/表单/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class Meditform extends MeditformBase {
}
</script>
\ No newline at end of file
......@@ -963,7 +963,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderDetailGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1103,7 +1103,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1217,7 +1217,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2112,7 +2112,7 @@ export default class MainBase extends Vue implements ControlInterface {
try {
if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2121,7 +2121,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2197,7 +2197,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -5568,6 +5568,14 @@
"rTMOSFilePath" : "psmodeldata$psdataentities/InterFuncEditView_layout",
"realModelSubType" : "DEEDITVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "EditView9",
"logicName" : "图书管理",
"mOSFilePath" : "psmodeldata$psdataentities/EditView9",
"name" : "图书管理",
"rTMOSFilePath" : "psmodeldata$psdataentities/EditView9",
"realModelSubType" : "DEEDITVIEW9",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "Usr3ListView",
"logicName" : "图书实体列表视图(主状态)",
......@@ -5679,6 +5687,15 @@
"rTMOSFilePath" : "psmodeldata$psdataentities/guideViewForm",
"realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM"
}, {
"codeName" : "meditform",
"logicName" : "多编辑表单",
"mOSFilePath" : "psmodeldata$psdataentities/meditform",
"modelTag2" : "0",
"name" : "多编辑表单",
"rTMOSFilePath" : "psmodeldata$psdataentities/meditform",
"realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM"
}, {
"codeName" : "Main",
"logicName" : "主编辑表单",
......
......@@ -6464,6 +6464,10 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKInterFuncEditView.json",
"viewType" : "DEEDITVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView9.json",
"viewType" : "DEEDITVIEW9"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsrEditView_plugin.json",
......
......@@ -54,8 +54,8 @@
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSMULTIEDITVIEWPANELS/Main.json",
"getEmbeddedPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKInterFuncEditView.json",
"viewType" : "DEEDITVIEW"
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView9.json",
"viewType" : "DEEDITVIEW9"
},
"getFetchPSControlAction" : {
"modelref" : true,
......
......@@ -16455,6 +16455,12 @@
"path" : "PSSYSAPPS/Web/PSAPPPORTALVIEWS/AppPortalView2.json",
"viewType" : "APPPORTALVIEW",
"view" : "AppPortalView2"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView9.json",
"viewType" : "DEEDITVIEW9",
"resource" : "IBIZBOOK",
"view" : "EditView9"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsrEditView_plugin.json",
......@@ -36030,6 +36036,10 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKInterFuncEditView.json",
"viewType" : "DEEDITVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView9.json",
"viewType" : "DEEDITVIEW9"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsrEditView_plugin.json",
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册