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

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

上级 a60e057e
......@@ -239,6 +239,14 @@
"viewname": "IBIZOrderF19EditView",
"viewtag": "29b0f2b1cba64fab0a4c1d9e40a62778"
},
"ibizcustomerpickuptreeview": {
"title": "客户选择树视图",
"caption": "客户",
"viewtype": "DEPICKUPTREEVIEW",
"viewmodule": "Sample",
"viewname": "IBIZCustomerPickupTreeView",
"viewtag": "2a63c4595d7b116f63e0960a2365bbfa"
},
"ibizsample0003pickupview": {
"title": "IBIZSAMPLE0003数据选择视图",
"caption": "示例实体03",
......
......@@ -12,6 +12,10 @@ export default {
updateman: "更新人",
},
views: {
pickuptreeview: {
caption: "客户",
title: "客户选择树视图",
},
pickupgridview: {
caption: "客户",
title: "客户选择表格视图",
......@@ -194,4 +198,13 @@ export default {
tip: "Save And Close Window",
},
},
usr_treeview: {
nodata:"",
nodes: {
root: "默认根节点",
personname: "客户名称",
},
uiactions: {
},
},
};
\ No newline at end of file
......@@ -11,6 +11,10 @@ export default {
updateman: "更新人",
},
views: {
pickuptreeview: {
caption: "客户",
title: "客户选择树视图",
},
pickupgridview: {
caption: "客户",
title: "客户选择表格视图",
......@@ -193,4 +197,13 @@ export default {
tip: "保存并关闭",
},
},
usr_treeview: {
nodata:"",
nodes: {
root: "默认根节点",
personname: "客户名称",
},
uiactions: {
},
},
};
\ No newline at end of file
......@@ -247,6 +247,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderF19EditView",
"viewtag": "29b0f2b1cba64fab0a4c1d9e40a62778"
},
"ibizcustomerpickuptreeview": {
"title": "客户选择树视图",
"caption": "客户",
"viewtype": "DEPICKUPTREEVIEW",
"viewmodule": "Sample",
"viewname": "IBIZCustomerPickupTreeView",
"viewtag": "2a63c4595d7b116f63e0960a2365bbfa"
},
"ibizsample0003pickupview": {
"title": "IBIZSAMPLE0003数据选择视图",
"caption": "示例实体03",
......
......@@ -17,8 +17,8 @@
:viewparams="viewparams"
:context="context"
:showBusyIndicator="true"
finishAction='Update'
initAction='Get'
finishAction='Finish'
initAction='Init'
name="wizardpanel"
ref='wizardpanel'
@finish="wizardpanel_finish($event)"
......
......@@ -96,6 +96,7 @@ export default class IBIZCustomerUIServiceBase extends UIService {
* @memberof IBIZCustomerUIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'pickuptreeview',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-tree-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-grid-view'});
this.allViewMap.set('MPICKUPVIEW:',{viewname:'mpickupview',srfappde:'ibizcustomers',component:'ibizcustomer-mpickup-view'});
this.allViewMap.set(':',{viewname:'editview',srfappde:'ibizcustomers',component:'ibizcustomer-edit-view'});
......
......@@ -41,6 +41,20 @@
</app-form-item>
</i-col>
<i-col v-show="detailsModel.borrower.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='borrower' :itemRules="this.rules().borrower" class='' :caption="$t('entities.ibizbook.interfuncform_2_form.details.borrower')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.borrower.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.borrower"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.borrower.disabled"
type='text'
style="">
</input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem.visible" :style="{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-item name='formitem' :itemRules="this.rules().formitem" class='' :caption="$t('entities.ibizbook.interfuncform_2_form.details.formitem')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem.error" :isEmptyCaption="false" labelPos="LEFT">
......@@ -582,6 +596,10 @@ export default class InterFuncForm_2Base extends Vue implements ControlInterface
{ required: this.detailsModel.returntime.required, type: 'string', message: '归还日期 值不能为空', trigger: 'change' },
{ required: this.detailsModel.returntime.required, type: 'string', message: '归还日期 值不能为空', trigger: 'blur' },
],
borrower: [
{ required: this.detailsModel.borrower.required, type: 'string', message: '借阅人 值不能为空', trigger: 'change' },
{ required: this.detailsModel.borrower.required, type: 'string', message: '借阅人 值不能为空', trigger: 'blur' },
],
formitem: [
{ required: this.detailsModel.formitem.required, type: 'string', message: '表格选择视图 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem.required, type: 'string', message: '表格选择视图 值不能为空', trigger: 'blur' },
......
......@@ -86,7 +86,8 @@ export default class InterFuncForm_2Model {
},
{
name: 'formitem1',
dataType:'FORMITEM',
prop: 'borrower',
dataType: 'TEXT',
},
{
name: 'formitem2',
......
......@@ -15,11 +15,6 @@
<template slot="empty">
{{$t('entities.ibizbook.treetable_treegridex.nodata')}}
</template>
<el-table-column show-overflow-tooltip prop="author" label="作者" :width="50" :align="''">
<template v-slot="{ row }">
<span>{{ getColumnValue(row, 'author') }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="subtext" label="图书描述" :width="50" :align="''">
<template v-slot="{ row }">
<span>{{ getColumnValue(row, 'subtext') }}</span>
......@@ -30,6 +25,11 @@
<span>{{ getColumnValue(row, 'ibizbookname') }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="author" label="作者" :width="50" :align="''">
<template v-slot="{ row }">
<span>{{ getColumnValue(row, 'author') }}</span>
</template>
</el-table-column>
</el-table>
</template>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册