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

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

上级 6734d076
......@@ -381,8 +381,6 @@ export default {
srfdeid: "",
srfsourcekey: "",
ibizbookid: "图书标识",
ibizbookname: "图书名称",
author: "图书作者",
borrower: "树单项数据选择",
borrower1: "树多项数据选择",
borrower2: "表格单项数据选择",
......
......@@ -380,8 +380,6 @@ export default {
srfdeid: "",
srfsourcekey: "",
ibizbookid: "图书标识",
ibizbookname: "图书名称",
author: "图书作者",
borrower: "树单项数据选择",
borrower1: "树多项数据选择",
borrower2: "表格单项数据选择",
......
......@@ -152,6 +152,7 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue {
* @memberof IBIZBOOKUsr2EditViewBase
*/
public customViewNavContexts:any ={
"IBIZBOOK":{"isRawValue":true,"value":"333"}
};
/**
......
......@@ -5,35 +5,7 @@
<i-col v-show="detailsModel.group1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.group1.manageContainerStatus" :isManageContainer="detailsModel.group1.isManageContainer" @managecontainerclick="manageContainerClick('group1')" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizbook.interfuncform_2_form.details.group1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<row>
<i-col v-show="detailsModel.ibizbookname.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='ibizbookname' :itemRules="this.rules().ibizbookname" class='' :caption="$t('entities.ibizbook.interfuncform_2_form.details.ibizbookname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ibizbookname.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.ibizbookname"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.ibizbookname.disabled"
type='text'
style="">
</input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.author.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='author' :itemRules="this.rules().author" class='' :caption="$t('entities.ibizbook.interfuncform_2_form.details.author')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.author.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.author"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.author.disabled"
type='text'
style="">
</input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.borrower.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<i-col v-show="detailsModel.borrower.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, 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">
<app-picker
......@@ -526,8 +498,6 @@ export default class InterFuncForm_2Base extends Vue implements ControlInterface
srfdeid: null,
srfsourcekey: null,
ibizbookid: null,
ibizbookname: null,
author: null,
borrower: null,
borrower1: null,
borrower2: null,
......@@ -575,7 +545,7 @@ export default class InterFuncForm_2Base extends Vue implements ControlInterface
* @type {string}
* @memberof InterFuncForm_2Base
*/
public majorMessageField: string = "ibizbookname";
public majorMessageField: string = "";
/**
* 值规则
......@@ -585,14 +555,6 @@ export default class InterFuncForm_2Base extends Vue implements ControlInterface
*/
public rules() :any {
return {
ibizbookname: [
{ required: this.detailsModel.ibizbookname.required, type: 'string', message: '图书名称 值不能为空', trigger: 'change' },
{ required: this.detailsModel.ibizbookname.required, type: 'string', message: '图书名称 值不能为空', trigger: 'blur' },
],
author: [
{ required: this.detailsModel.author.required, type: 'string', message: '图书作者 值不能为空', trigger: 'change' },
{ required: this.detailsModel.author.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' },
......@@ -735,10 +697,6 @@ export default class InterFuncForm_2Base extends Vue implements ControlInterface
srfsourcekey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srfsourcekey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
ibizbookid: new FormItemModel({ caption: '图书标识', detailType: 'FORMITEM', name: 'ibizbookid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
ibizbookname: new FormItemModel({ caption: '图书名称', detailType: 'FORMITEM', name: 'ibizbookname', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:true, disabled: false, enableCond: 3 })
,
author: new FormItemModel({ caption: '图书作者', detailType: 'FORMITEM', name: 'author', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
borrower: new FormItemModel({ caption: '树单项数据选择', detailType: 'FORMITEM', name: 'borrower', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -862,30 +820,6 @@ export default class InterFuncForm_2Base extends Vue implements ControlInterface
this.formDataChange({ name: 'ibizbookid', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 ibizbookname 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof InterFuncForm_2Base
*/
@Watch('data.ibizbookname')
onIbizbooknameChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'ibizbookname', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 author 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof InterFuncForm_2Base
*/
@Watch('data.author')
onAuthorChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'author', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 borrower 值
*
......@@ -1029,8 +963,6 @@ export default class InterFuncForm_2Base extends Vue implements ControlInterface
}
/**
......
......@@ -60,16 +60,6 @@ export default class InterFuncForm_2Model {
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'ibizbookname',
prop: 'ibizbookname',
dataType: 'TEXT',
},
{
name: 'author',
prop: 'author',
dataType: 'TEXT',
},
{
name: 'borrower',
prop: 'borrower',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册