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

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

上级 6bc4de2f
......@@ -169,7 +169,6 @@ export default {
menuitem7: "默认编辑器类型",
menuitem15: "基础表单项",
menuitem72: "扩展编辑器",
menuitem114: "扩展编辑器表格",
menuitem4: "部件",
menuitem12: "编辑表单",
menuitem107: "内置功能",
......
......@@ -169,7 +169,6 @@ export default {
menuitem7: "默认编辑器类型",
menuitem15: "基础表单项",
menuitem72: "扩展编辑器",
menuitem114: "扩展编辑器表格",
menuitem4: "部件",
menuitem12: "编辑表单",
menuitem107: "内置功能",
......
......@@ -117,24 +117,6 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'AppFunc',
resourcetag: '',
},
{
id: '36C051EA-0204-4EF5-9ABB-D4CCC76A7D87',
name: 'menuitem114',
text: '扩展编辑器表格',
type: 'MENUITEM',
counterid: '',
tooltip: '扩展编辑器表格',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc40',
resourcetag: '',
},
],
},
......
......@@ -2,7 +2,6 @@ export const PageComponents = {
install(Vue: any, opt: any) {
Vue.component('ibizsample0001-sf6-edit-view', () => import('@pages/sample/ibizsample0001-sf6-edit-view/ibizsample0001-sf6-edit-view.vue'));
Vue.component('ibizsample0003-smpickup-view2', () => import('@pages/sample/ibizsample0003-smpickup-view2/ibizsample0003-smpickup-view2.vue'));
Vue.component('ibizsample0001-edit-view', () => import('@pages/sample/ibizsample0001-edit-view/ibizsample0001-edit-view.vue'));
Vue.component('ibizorder-detail-sedit-view9', () => import('@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'));
Vue.component('ibizorder-detail-smedit-view9', () => import('@pages/sample/ibizorder-detail-smedit-view9/ibizorder-detail-smedit-view9.vue'));
Vue.component('ibizsample0003-edit-view', () => import('@pages/sample/ibizsample0003-edit-view/ibizsample0003-edit-view.vue'));
......@@ -67,8 +66,8 @@ export const PageComponents = {
Vue.component('ibizorder-s2-edit-view', () => import('@pages/sample/ibizorder-s2-edit-view/ibizorder-s2-edit-view.vue'));
Vue.component('ibizorder-zdytpgrid-view', () => import('@pages/sample/ibizorder-zdytpgrid-view/ibizorder-zdytpgrid-view.vue'));
Vue.component('ibizorder-usr2-edit-view', () => import('@pages/sample/ibizorder-usr2-edit-view/ibizorder-usr2-edit-view.vue'));
Vue.component('ibizorder-sf1-edit-view', () => import('@pages/sample/ibizorder-sf1-edit-view/ibizorder-sf1-edit-view.vue'));
Vue.component('ibizorder-sf4-edit-view', () => import('@pages/sample/ibizorder-sf4-edit-view/ibizorder-sf4-edit-view.vue'));
Vue.component('ibizorder-sf1-edit-view', () => import('@pages/sample/ibizorder-sf1-edit-view/ibizorder-sf1-edit-view.vue'));
Vue.component('ibizbookusr3-calendar-view', () => import('@pages/sample/ibizbookusr3-calendar-view/ibizbookusr3-calendar-view.vue'));
Vue.component('ibizsample0017-grid-view', () => import('@pages/sample/ibizsample0017-grid-view/ibizsample0017-grid-view.vue'));
Vue.component('ibizorder-f8-edit-view', () => import('@pages/sample/ibizorder-f8-edit-view/ibizorder-f8-edit-view.vue'));
......@@ -80,7 +79,6 @@ export const PageComponents = {
Vue.component('ibizbookusr2-calendar-view', () => import('@pages/sample/ibizbookusr2-calendar-view/ibizbookusr2-calendar-view.vue'));
Vue.component('ibizbookdata-view', () => import('@pages/sample/ibizbookdata-view/ibizbookdata-view.vue'));
Vue.component('ibizcustomer-pickup-view', () => import('@pages/sample/ibizcustomer-pickup-view/ibizcustomer-pickup-view.vue'));
Vue.component('ibizsample0001-usr2-grid-view', () => import('@pages/sample/ibizsample0001-usr2-grid-view/ibizsample0001-usr2-grid-view.vue'));
Vue.component('ibizuniproduct-index-pickup-view', () => import('@pages/sample/ibizuniproduct-index-pickup-view/ibizuniproduct-index-pickup-view.vue'));
Vue.component('ibizsample0003-sf1-edit-view', () => import('@pages/sample/ibizsample0003-sf1-edit-view/ibizsample0003-sf1-edit-view.vue'));
Vue.component('ibizbookinter-func-edit-view', () => import('@pages/sample/ibizbookinter-func-edit-view/ibizbookinter-func-edit-view.vue'));
......
......@@ -78,35 +78,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizsample0003-smpickup-view2/ibizsample0003-smpickup-view2.vue'),
},
{
path: 'ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/editview/:editview?',
meta: {
caption: 'entities.ibizsample0001.views.editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0002s', parameterName: 'ibizsample0002' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-edit-view/ibizsample0001-edit-view.vue'),
},
{
path: 'ibizsample0001s/:ibizsample0001?/editview/:editview?',
meta: {
caption: 'entities.ibizsample0001.views.editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-edit-view/ibizsample0001-edit-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/seditview9/:seditview9?',
meta: {
......@@ -1139,32 +1110,32 @@ const router = new Router({
component: () => import('@pages/sample/ibizorder-usr2-edit-view/ibizorder-usr2-edit-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/sf1editview/:sf1editview?',
path: 'ibizorders/:ibizorder?/sf4editview/:sf4editview?',
meta: {
caption: 'entities.ibizorder.views.sf1editview.caption',
caption: 'entities.ibizorder.views.sf4editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sf1editview', parameterName: 'sf1editview' },
{ pathName: 'sf4editview', parameterName: 'sf4editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-sf1-edit-view/ibizorder-sf1-edit-view.vue'),
component: () => import('@pages/sample/ibizorder-sf4-edit-view/ibizorder-sf4-edit-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/sf4editview/:sf4editview?',
path: 'ibizorders/:ibizorder?/sf1editview/:sf1editview?',
meta: {
caption: 'entities.ibizorder.views.sf4editview.caption',
caption: 'entities.ibizorder.views.sf1editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sf4editview', parameterName: 'sf4editview' },
{ pathName: 'sf1editview', parameterName: 'sf1editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-sf4-edit-view/ibizorder-sf4-edit-view.vue'),
component: () => import('@pages/sample/ibizorder-sf1-edit-view/ibizorder-sf1-edit-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/usr3calendarview/:usr3calendarview?',
......@@ -1320,35 +1291,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizcustomer-pickup-view/ibizcustomer-pickup-view.vue'),
},
{
path: 'ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/usr2gridview/:usr2gridview?',
meta: {
caption: 'entities.ibizsample0001.views.usr2gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0002s', parameterName: 'ibizsample0002' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'usr2gridview', parameterName: 'usr2gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-usr2-grid-view/ibizsample0001-usr2-grid-view.vue'),
},
{
path: 'ibizsample0001s/:ibizsample0001?/usr2gridview/:usr2gridview?',
meta: {
caption: 'entities.ibizsample0001.views.usr2gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'usr2gridview', parameterName: 'usr2gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-usr2-grid-view/ibizsample0001-usr2-grid-view.vue'),
},
{
path: 'ibizuniproducts/:ibizuniproduct?/indexpickupview/:indexpickupview?',
meta: {
......@@ -2765,33 +2707,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-detail-sf1-edit-view/ibizorder-detail-sf1-edit-view.vue'),
},
{
path: '/ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/editview/:editview?',
meta: {
caption: 'entities.ibizsample0001.views.editview.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0002s', parameterName: 'ibizsample0002' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-edit-view/ibizsample0001-edit-view.vue'),
},
{
path: '/ibizsample0001s/:ibizsample0001?/editview/:editview?',
meta: {
caption: 'entities.ibizsample0001.views.editview.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-edit-view/ibizsample0001-edit-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/gridview/:gridview?',
meta: {
......@@ -3526,33 +3441,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-sedit-view/ibizorder-sedit-view.vue'),
},
{
path: '/ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/usr2gridview/:usr2gridview?',
meta: {
caption: 'entities.ibizsample0001.views.usr2gridview.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0002s', parameterName: 'ibizsample0002' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'usr2gridview', parameterName: 'usr2gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-usr2-grid-view/ibizsample0001-usr2-grid-view.vue'),
},
{
path: '/ibizsample0001s/:ibizsample0001?/usr2gridview/:usr2gridview?',
meta: {
caption: 'entities.ibizsample0001.views.usr2gridview.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'usr2gridview', parameterName: 'usr2gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-usr2-grid-view/ibizsample0001-usr2-grid-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/gridexpview/:gridexpview?',
meta: {
......
......@@ -94,15 +94,6 @@ export const viewstate: any = {
'ec6cfd868c34a036250a813b24068519',
],
},
{
viewtag: '119bfcd8d598ef01a96ed25a6ea8e5c3',
viewmodule: 'Sample',
viewname: 'IBIZSample0001EditView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '11daa00d1185ebac3e0faec0d04fb9de',
viewmodule: 'Sample',
......@@ -194,7 +185,6 @@ export const viewstate: any = {
refviews: [
'dddefe276053bb9682b51318e96b45d6',
'b09ceb3081717c0ed4fe19f9986598a0',
'5e70ef78614b0b13a94605f7c22f4da4',
'875222727b7ab7dcaccc45808fd38b09',
'de9166f936946237e2d0e5367db078c2',
'9db924c804154be5b442a9737514a6f9',
......@@ -248,8 +238,8 @@ export const viewstate: any = {
'5686558064d641b7ff599746970461cd',
'3bbf72a3e5b59fed0dee362a9b1384a8',
'fdb8ed39fbfea00f65416b9aaebd64e7',
'0b8c0a8b7a5b8b73595b23fc502652fc',
'f73da4cb47a88d3fe5b92716e0137741',
'0b8c0a8b7a5b8b73595b23fc502652fc',
'59500fe075fdae44c35c88b95e64d9c8',
'b7c0a73eb248d41eb750bbf095fa5505',
'd99f9680b535dcf3ad0d0f853a8b89d9',
......@@ -708,16 +698,6 @@ export const viewstate: any = {
'f7ce60a7707de1ef9f926b3f9d5d6954',
],
},
{
viewtag: '5e70ef78614b0b13a94605f7c22f4da4',
viewmodule: 'Sample',
viewname: 'IBIZSample0001Usr2GridView',
viewaction: '',
viewdatachange: false,
refviews: [
'119bfcd8d598ef01a96ed25a6ea8e5c3',
],
},
{
viewtag: '5f21463b9d808170d4023d8402cc6e9e',
viewmodule: 'Sample',
......
......@@ -548,9 +548,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'Auto384':
this.clickAuto384(item);
return;
case 'AppFunc40':
this.clickAppFunc40(item);
return;
case 'Auto126':
this.clickAuto126(item);
return;
......@@ -1072,29 +1069,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 表格扩展编辑器
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc40(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'usr2gridview', parameterName: 'usr2gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
* 嵌入导航
*
......
......@@ -127,25 +127,6 @@ export default class MainMenuModel {
appfunctag: 'AppFunc',
resourcetag: '',
authtag:'Web-MainMenu-menuitem72',
},
{
id: '36C051EA-0204-4EF5-9ABB-D4CCC76A7D87',
name: 'menuitem114',
text: '扩展编辑器表格',
type: 'MENUITEM',
counterid: '',
tooltip: '扩展编辑器表格',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc40',
resourcetag: '',
authtag:'Web-MainMenu-menuitem114',
},
],
},
......
......@@ -2174,7 +2174,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001SF4EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -2209,7 +2209,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001SF4EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -2270,7 +2270,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001SF4EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -2378,7 +2378,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001SF4EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -2455,7 +2455,7 @@ export default class MainBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001SF4EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册