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

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

上级 df898403
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizorder-detail-f7-edit-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZOrderDetailF7EditViewBase from './ibizorder-detail-f7-edit-view-base.vue';
import view_form from '@widgets/ibizorder-detail/main-form/main-form.vue';
@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 IBIZOrderDetailF7EditView extends IBIZOrderDetailF7EditViewBase {
}
</script>
\ No newline at end of file
......@@ -4899,6 +4899,33 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizsoftware-suit-sgrid-view/ibizsoftware-suit-sgrid-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/f7editview/:f7editview?',
meta: {
caption: 'entities.ibizorderdetail.views.f7editview.caption',
info:'',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'f7editview', parameterName: 'f7editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-f7-edit-view/ibizorder-detail-f7-edit-view.vue'),
},
{
path: '/ibizorderdetails/:ibizorderdetail?/f7editview/:f7editview?',
meta: {
caption: 'entities.ibizorderdetail.views.f7editview.caption',
info:'',
parameters: [
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'f7editview', parameterName: 'f7editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-f7-edit-view/ibizorder-detail-f7-edit-view.vue'),
},
{
path: '/ibizsample0021s/:ibizsample0021?/editview/:editview?',
meta: {
......
......@@ -1521,6 +1521,17 @@ export const viewstate: any = {
'54c2461e07dd79fdbecc2c1e3aec8096',
],
},
{
viewtag: 'c8a1c9f876a50150221a8f34c881b4fa',
viewmodule: 'Sample',
viewname: 'IBIZOrderDetailF7EditView',
viewaction: '',
viewdatachange: false,
refviews: [
'17770b42972334457baccfe91828bd46',
'ec6cfd868c34a036250a813b24068519',
],
},
{
viewtag: 'c9efbd1a76fcc2ce0bf6fbb4b7af561d',
viewmodule: 'Sample',
......
......@@ -1439,7 +1439,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: 'IBIZOrderDetailEditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailF7EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1474,7 +1474,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: 'IBIZOrderDetailEditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailF7EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1535,7 +1535,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: 'IBIZOrderDetailEditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailF7EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1643,7 +1643,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: 'IBIZOrderDetailEditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailF7EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1720,7 +1720,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: 'IBIZOrderDetailEditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailF7EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -29,7 +29,7 @@ export default class MainService extends ControlService {
* @memberof MainService
*/
public setTempMode(){
this.isTempMode = false;
this.isTempMode = true;
}
/**
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册