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

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

上级 71799569
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup30' viewname='ibizorderseditview2'></app-alert-group> </div> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup30' viewname='ibizorderseditview2'></app-alert-group> </div>
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<template v-if="Object.is(this.selection.id, 'form')"> <template v-if="Object.is(drItem.id, 'form')">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</div> </div>
<layout class="content-container edit-view2"> <layout class="content-container edit-view2">
<sider class="edit-view2-drbar" :width="240"> <sider class="edit-view2-drbar" :width="240">
<div :class="['edit-view2-drbar__caption', 'is-active': !(drItem && drItem.id && drItem.id !== 'form')]" @click="drBarChange"> <div :class="{'edit-view2-drbar__caption': true, 'is-active': !(drItem && drItem.id && drItem.id !== 'form')}" @click="drBarChange">
<span>订单</span> <span>订单</span>
</div> </div>
<view_drbar <view_drbar
...@@ -1212,12 +1212,12 @@ export default class IBIZOrderSEditView2Base extends Vue { ...@@ -1212,12 +1212,12 @@ export default class IBIZOrderSEditView2Base extends Vue {
} }
/** /**
* 选中数据 * 关系项
* *
* @type {*} * @type {*}
* @memberof IBIZOrderSEditView2Base * @memberof IBIZOrderSEditView2Base
*/ */
public selection: any = {}; public drItem: any = {};
/** /**
* 表单数据 * 表单数据
...@@ -1227,6 +1227,12 @@ export default class IBIZOrderSEditView2Base extends Vue { ...@@ -1227,6 +1227,12 @@ export default class IBIZOrderSEditView2Base extends Vue {
*/ */
public formData:any = {}; public formData:any = {};
public drBarChange() {
if (this.engine) {
this.engine.drBarSelectionChange({ id: 'form' });
}
}
} }
</script> </script>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<card class='view-card ' :dis-hover="true" :bordered="false"> <card class='view-card ' :dis-hover="true" :bordered="false">
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<template v-if="Object.is(this.selection.id, 'form')"> <template v-if="Object.is(drItem.id, 'form')">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</div> </div>
<layout class="content-container edit-view2"> <layout class="content-container edit-view2">
<sider class="edit-view2-drbar" :width="240"> <sider class="edit-view2-drbar" :width="240">
<div :class="['edit-view2-drbar__caption', 'is-active': !(drItem && drItem.id && drItem.id !== 'form')]" @click="drBarChange"> <div :class="{'edit-view2-drbar__caption': true, 'is-active': !(drItem && drItem.id && drItem.id !== 'form')}" @click="drBarChange">
<span>订单</span> <span>订单</span>
</div> </div>
<view_drbar <view_drbar
...@@ -1209,12 +1209,12 @@ export default class IBIZOrderState10EditView2Base extends Vue { ...@@ -1209,12 +1209,12 @@ export default class IBIZOrderState10EditView2Base extends Vue {
} }
/** /**
* 选中数据 * 关系项
* *
* @type {*} * @type {*}
* @memberof IBIZOrderState10EditView2Base * @memberof IBIZOrderState10EditView2Base
*/ */
public selection: any = {}; public drItem: any = {};
/** /**
* 表单数据 * 表单数据
...@@ -1224,6 +1224,12 @@ export default class IBIZOrderState10EditView2Base extends Vue { ...@@ -1224,6 +1224,12 @@ export default class IBIZOrderState10EditView2Base extends Vue {
*/ */
public formData:any = {}; public formData:any = {};
public drBarChange() {
if (this.engine) {
this.engine.drBarSelectionChange({ id: 'form' });
}
}
} }
</script> </script>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<card class='view-card ' :dis-hover="true" :bordered="false"> <card class='view-card ' :dis-hover="true" :bordered="false">
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<template v-if="Object.is(this.selection.id, 'form')"> <template v-if="Object.is(drItem.id, 'form')">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</div> </div>
<layout class="content-container edit-view2"> <layout class="content-container edit-view2">
<sider class="edit-view2-drbar" :width="240"> <sider class="edit-view2-drbar" :width="240">
<div :class="['edit-view2-drbar__caption', 'is-active': !(drItem && drItem.id && drItem.id !== 'form')]" @click="drBarChange"> <div :class="{'edit-view2-drbar__caption': true, 'is-active': !(drItem && drItem.id && drItem.id !== 'form')}" @click="drBarChange">
<span>订单</span> <span>订单</span>
</div> </div>
<view_drbar <view_drbar
...@@ -1209,12 +1209,12 @@ export default class IBIZOrderState30EditView2Base extends Vue { ...@@ -1209,12 +1209,12 @@ export default class IBIZOrderState30EditView2Base extends Vue {
} }
/** /**
* 选中数据 * 关系项
* *
* @type {*} * @type {*}
* @memberof IBIZOrderState30EditView2Base * @memberof IBIZOrderState30EditView2Base
*/ */
public selection: any = {}; public drItem: any = {};
/** /**
* 表单数据 * 表单数据
...@@ -1224,6 +1224,12 @@ export default class IBIZOrderState30EditView2Base extends Vue { ...@@ -1224,6 +1224,12 @@ export default class IBIZOrderState30EditView2Base extends Vue {
*/ */
public formData:any = {}; public formData:any = {};
public drBarChange() {
if (this.engine) {
this.engine.drBarSelectionChange({ id: 'form' });
}
}
} }
</script> </script>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<card class='view-card ' :dis-hover="true" :bordered="false"> <card class='view-card ' :dis-hover="true" :bordered="false">
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<template v-if="Object.is(this.selection.id, 'form')"> <template v-if="Object.is(drItem.id, 'form')">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</div> </div>
<layout class="content-container edit-view2"> <layout class="content-container edit-view2">
<sider class="edit-view2-drbar" :width="240"> <sider class="edit-view2-drbar" :width="240">
<div :class="['edit-view2-drbar__caption', 'is-active': !(drItem && drItem.id && drItem.id !== 'form')]" @click="drBarChange"> <div :class="{'edit-view2-drbar__caption': true, 'is-active': !(drItem && drItem.id && drItem.id !== 'form')}" @click="drBarChange">
<span>订单</span> <span>订单</span>
</div> </div>
<view_drbar <view_drbar
...@@ -1209,12 +1209,12 @@ export default class IBIZOrderState40EditView2Base extends Vue { ...@@ -1209,12 +1209,12 @@ export default class IBIZOrderState40EditView2Base extends Vue {
} }
/** /**
* 选中数据 * 关系项
* *
* @type {*} * @type {*}
* @memberof IBIZOrderState40EditView2Base * @memberof IBIZOrderState40EditView2Base
*/ */
public selection: any = {}; public drItem: any = {};
/** /**
* 表单数据 * 表单数据
...@@ -1224,6 +1224,12 @@ export default class IBIZOrderState40EditView2Base extends Vue { ...@@ -1224,6 +1224,12 @@ export default class IBIZOrderState40EditView2Base extends Vue {
*/ */
public formData:any = {}; public formData:any = {};
public drBarChange() {
if (this.engine) {
this.engine.drBarSelectionChange({ id: 'form' });
}
}
} }
</script> </script>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册