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

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

上级 144bded5
...@@ -367,7 +367,7 @@ export default { ...@@ -367,7 +367,7 @@ export default {
tip: "Save And Close Window", tip: "Save And Close Window",
}, },
}, },
sgridviewtoolbar_toolbar: { f6gridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: "New", caption: "New",
tip: "New", tip: "New",
...@@ -425,7 +425,55 @@ export default { ...@@ -425,7 +425,55 @@ export default {
tip: "数据导入", tip: "数据导入",
}, },
}, },
f6gridviewtoolbar_toolbar: { f6editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
},
gridview9toolbar_toolbar: {
tbitem1: {
caption: "New",
tip: "New",
},
tbitem2: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem3: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem4: {
caption: "-",
tip: "",
},
tbitem5: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem9: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "刷新",
tip: "刷新",
},
},
sgridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: "New", caption: "New",
tip: "New", tip: "New",
...@@ -483,52 +531,4 @@ export default { ...@@ -483,52 +531,4 @@ export default {
tip: "数据导入", tip: "数据导入",
}, },
}, },
f6editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
},
gridview9toolbar_toolbar: {
tbitem1: {
caption: "New",
tip: "New",
},
tbitem2: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem3: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem4: {
caption: "-",
tip: "",
},
tbitem5: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem9: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "刷新",
tip: "刷新",
},
},
}; };
\ No newline at end of file
...@@ -366,7 +366,7 @@ export default { ...@@ -366,7 +366,7 @@ export default {
tip: "保存并关闭", tip: "保存并关闭",
}, },
}, },
sgridviewtoolbar_toolbar: { f6gridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -424,7 +424,55 @@ export default { ...@@ -424,7 +424,55 @@ export default {
tip: "数据导入", tip: "数据导入",
}, },
}, },
f6gridviewtoolbar_toolbar: { f6editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
tbitem5: {
caption: "保存并关闭",
tip: "保存并关闭",
},
},
gridview9toolbar_toolbar: {
tbitem1: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "编辑",
tip: "编辑",
},
tbitem3: {
caption: "拷贝",
tip: "拷贝",
},
tbitem4: {
caption: "-",
tip: "",
},
tbitem5: {
caption: "删除",
tip: "删除",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem9: {
caption: "导出",
tip: "导出",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "刷新",
tip: "刷新",
},
},
sgridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -482,52 +530,4 @@ export default { ...@@ -482,52 +530,4 @@ export default {
tip: "数据导入", tip: "数据导入",
}, },
}, },
f6editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
tbitem5: {
caption: "保存并关闭",
tip: "保存并关闭",
},
},
gridview9toolbar_toolbar: {
tbitem1: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "编辑",
tip: "编辑",
},
tbitem3: {
caption: "拷贝",
tip: "拷贝",
},
tbitem4: {
caption: "-",
tip: "",
},
tbitem5: {
caption: "删除",
tip: "删除",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem9: {
caption: "导出",
tip: "导出",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "刷新",
tip: "刷新",
},
},
}; };
\ No newline at end of file
...@@ -26,7 +26,6 @@ export const PageComponents = { ...@@ -26,7 +26,6 @@ export const PageComponents = {
Vue.component('ibizbooktree-grid-ex-view', () => import('@pages/sample/ibizbooktree-grid-ex-view/ibizbooktree-grid-ex-view.vue')); Vue.component('ibizbooktree-grid-ex-view', () => import('@pages/sample/ibizbooktree-grid-ex-view/ibizbooktree-grid-ex-view.vue'));
Vue.component('ibizuniproduct-pickup-grid-view', () => import('@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue')); Vue.component('ibizuniproduct-pickup-grid-view', () => import('@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'));
Vue.component('ibizorder-odsp-wfexp-view', () => import('@pages/sample/ibizorder-odsp-wfexp-view/ibizorder-odsp-wfexp-view.vue')); Vue.component('ibizorder-odsp-wfexp-view', () => import('@pages/sample/ibizorder-odsp-wfexp-view/ibizorder-odsp-wfexp-view.vue'));
Vue.component('ibizorder-detail-sgrid-view', () => import('@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'));
Vue.component('ibizsample0002-pickup-grid-view', () => import('@pages/sample/ibizsample0002-pickup-grid-view/ibizsample0002-pickup-grid-view.vue')); Vue.component('ibizsample0002-pickup-grid-view', () => import('@pages/sample/ibizsample0002-pickup-grid-view/ibizsample0002-pickup-grid-view.vue'));
Vue.component('ibizsoftware-suit-edit-view', () => import('@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue')); Vue.component('ibizsoftware-suit-edit-view', () => import('@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue'));
Vue.component('ibizorder-pickup-view', () => import('@pages/sample/ibizorder-pickup-view/ibizorder-pickup-view.vue')); Vue.component('ibizorder-pickup-view', () => import('@pages/sample/ibizorder-pickup-view/ibizorder-pickup-view.vue'));
......
...@@ -489,35 +489,6 @@ const router = new Router({ ...@@ -489,35 +489,6 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-odsp-wfexp-view/ibizorder-odsp-wfexp-view.vue'), component: () => import('@pages/sample/ibizorder-odsp-wfexp-view/ibizorder-odsp-wfexp-view.vue'),
}, },
{
path: 'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/sgridview/:sgridview?',
meta: {
caption: 'entities.ibizorderdetail.views.sgridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'sgridview', parameterName: 'sgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'),
},
{
path: 'ibizorderdetails/:ibizorderdetail?/sgridview/:sgridview?',
meta: {
caption: 'entities.ibizorderdetail.views.sgridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'sgridview', parameterName: 'sgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'),
},
{ {
path: 'ibizsample0002s/:ibizsample0002?/pickupgridview/:pickupgridview?', path: 'ibizsample0002s/:ibizsample0002?/pickupgridview/:pickupgridview?',
meta: { meta: {
...@@ -4921,33 +4892,6 @@ const router = new Router({ ...@@ -4921,33 +4892,6 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizcustomer-pickup-view/ibizcustomer-pickup-view.vue'), component: () => import('@pages/sample/ibizcustomer-pickup-view/ibizcustomer-pickup-view.vue'),
}, },
{
path: '/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/sgridview/:sgridview?',
meta: {
caption: 'entities.ibizorderdetail.views.sgridview.caption',
info:'',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'sgridview', parameterName: 'sgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'),
},
{
path: '/ibizorderdetails/:ibizorderdetail?/sgridview/:sgridview?',
meta: {
caption: 'entities.ibizorderdetail.views.sgridview.caption',
info:'',
parameters: [
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'sgridview', parameterName: 'sgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'),
},
{ {
path: '/ibizorders/:ibizorder?/sf20gridview/:sf20gridview?', path: '/ibizorders/:ibizorder?/sf20gridview/:sf20gridview?',
meta: { meta: {
......
...@@ -512,8 +512,8 @@ export const viewstate: any = { ...@@ -512,8 +512,8 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'f90fa878f2ed0eb4e27353786b10c3f4',
'f7ce60a7707de1ef9f926b3f9d5d6954', 'f7ce60a7707de1ef9f926b3f9d5d6954',
'b4db5cb272d2da535285852bc436e9de',
'2640aa1ca02649c8831b43023d449945', '2640aa1ca02649c8831b43023d449945',
], ],
}, },
...@@ -808,8 +808,8 @@ export const viewstate: any = { ...@@ -808,8 +808,8 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'f90fa878f2ed0eb4e27353786b10c3f4',
'f7ce60a7707de1ef9f926b3f9d5d6954', 'f7ce60a7707de1ef9f926b3f9d5d6954',
'b4db5cb272d2da535285852bc436e9de',
'2640aa1ca02649c8831b43023d449945', '2640aa1ca02649c8831b43023d449945',
], ],
}, },
...@@ -1415,8 +1415,8 @@ export const viewstate: any = { ...@@ -1415,8 +1415,8 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'f90fa878f2ed0eb4e27353786b10c3f4',
'f7ce60a7707de1ef9f926b3f9d5d6954', 'f7ce60a7707de1ef9f926b3f9d5d6954',
'b4db5cb272d2da535285852bc436e9de',
'2640aa1ca02649c8831b43023d449945', '2640aa1ca02649c8831b43023d449945',
], ],
}, },
...@@ -1614,7 +1614,7 @@ export const viewstate: any = { ...@@ -1614,7 +1614,7 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'f90fa878f2ed0eb4e27353786b10c3f4', 'b4db5cb272d2da535285852bc436e9de',
], ],
}, },
{ {
...@@ -1728,16 +1728,6 @@ export const viewstate: any = { ...@@ -1728,16 +1728,6 @@ export const viewstate: any = {
'460fc1d5b6f2e2012b281df34d929f3b', '460fc1d5b6f2e2012b281df34d929f3b',
], ],
}, },
{
viewtag: 'f90fa878f2ed0eb4e27353786b10c3f4',
viewmodule: 'Sample',
viewname: 'IBIZOrderDetailSGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'c153da73d5d5b62475f4213de51a25e0',
],
},
{ {
viewtag: 'f94df735642ce85ebb2fe3816c4dc77b', viewtag: 'f94df735642ce85ebb2fe3816c4dc77b',
viewmodule: 'Sample', viewmodule: 'Sample',
......
...@@ -590,7 +590,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -590,7 +590,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailF6GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailF6GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -893,7 +893,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -893,7 +893,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, pageReset: boolean = false): void { public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(pageReset){ if(pageReset){
...@@ -983,7 +983,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -983,7 +983,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -1088,7 +1088,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1088,7 +1088,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -1968,7 +1968,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1968,7 +1968,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -1976,7 +1976,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1976,7 +1976,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorderdetail){ if(item.ibizorderdetail){
...@@ -2043,7 +2043,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2043,7 +2043,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public newRow(args: any[], params?: any, $event?: any, xData?: any): void { public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return; return;
} }
let _this = this; let _this = this;
......
...@@ -96,7 +96,6 @@ export default class MainModel { ...@@ -96,7 +96,6 @@ export default class MainModel {
name: 'ibizorderdetail', name: 'ibizorderdetail',
prop: 'ibizorderdetailid', prop: 'ibizorderdetailid',
}, },
{ {
name:'size', name:'size',
prop:'size', prop:'size',
......
...@@ -249,8 +249,8 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -249,8 +249,8 @@ export default class DefaultBase extends Vue implements ControlInterface {
public navParamsArray:Array<any> = [ public navParamsArray:Array<any> = [
{ {
id:'dritem2', id:'dritem2',
localContext:{CONTEXTPARAM1:"%orderstate%"}, localContext:null,
localViewParam:{param2:"%orderstate%"} localViewParam:null
} }
]; ];
...@@ -346,7 +346,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -346,7 +346,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
} }
if (Object.is(expmode, 'dritem2')) { if (Object.is(expmode, 'dritem2')) {
return { return {
viewname: 'ibizorder-detail-sgrid-view', viewname: 'ibizorder-detail-sgrid-view9',
parentdatajo: {}, parentdatajo: {},
}; };
} }
......
...@@ -267,8 +267,8 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -267,8 +267,8 @@ export default class DefaultBase extends Vue implements ControlInterface {
public navParamsArray:Array<any> = [ public navParamsArray:Array<any> = [
{ {
id:'dritem2', id:'dritem2',
localContext:{CONTEXTPARAM1:"%orderstate%"}, localContext:null,
localViewParam:{param2:"%orderstate%"} localViewParam:null
} }
]; ];
...@@ -349,7 +349,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -349,7 +349,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
} }
if (Object.is(expmode, 'DRITEM2')) { if (Object.is(expmode, 'DRITEM2')) {
return { return {
viewname: 'ibizorder-detail-sgrid-view', viewname: 'ibizorder-detail-sgrid-view9',
parentdatajo: {}, parentdatajo: {},
}; };
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册