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

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

上级 6d5fac6c
......@@ -45,6 +45,7 @@ function getLocaleResourceBase(){
extendeditortype: commonLogic.appcommonhandle("扩展编辑器类型",null),
extensionflag: commonLogic.appcommonhandle("扩展标识",null),
extendeditordescription: commonLogic.appcommonhandle("扩展编辑器描述",null),
documentaddress: commonLogic.appcommonhandle("文档地址",null),
ibizappextendeditorid: commonLogic.appcommonhandle("扩展编辑器标识",null),
amount: commonLogic.appcommonhandle("数量",null),
},
......
......@@ -45,6 +45,7 @@ function getLocaleResourceBase(){
extendeditortype: commonLogic.appcommonhandle("扩展编辑器类型",null),
extensionflag: commonLogic.appcommonhandle("扩展标识",null),
extendeditordescription: commonLogic.appcommonhandle("扩展编辑器描述",null),
documentaddress: commonLogic.appcommonhandle("文档地址",null),
ibizappextendeditorid: commonLogic.appcommonhandle("扩展编辑器标识",null),
amount: commonLogic.appcommonhandle("数量",null),
},
......
......@@ -67,6 +67,20 @@
</app-form-item>
</i-col>
<i-col v-show="detailsModel.documentaddress.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='documentaddress' :itemRules="this.rules().documentaddress" class='' :caption="$t('entities.ibizappextendeditor.main_form.details.documentaddress')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.documentaddress.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.documentaddress"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.documentaddress.disabled"
type='text'
style="">
</input-box>
</app-form-item>
</i-col>
</row>
......@@ -472,6 +486,7 @@ export default class MainBase extends Vue implements ControlInterface {
extendeditortype: null,
extensionflag: null,
extendeditordescription: null,
documentaddress: null,
ibizappextendeditorid: null,
amount: null,
ibizappextendeditor:null,
......@@ -541,6 +556,10 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: this.detailsModel.extendeditordescription.required, type: 'string', message: '扩展编辑器描述 值不能为空', trigger: 'change' },
{ required: this.detailsModel.extendeditordescription.required, type: 'string', message: '扩展编辑器描述 值不能为空', trigger: 'blur' },
],
documentaddress: [
{ required: this.detailsModel.documentaddress.required, type: 'string', message: '文档地址 值不能为空', trigger: 'change' },
{ required: this.detailsModel.documentaddress.required, type: 'string', message: '文档地址 值不能为空', trigger: 'blur' },
],
}
}
......@@ -675,6 +694,8 @@ export default class MainBase extends Vue implements ControlInterface {
extensionflag: new FormItemModel({ caption: '扩展标识', detailType: 'FORMITEM', name: 'extensionflag', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
extendeditordescription: new FormItemModel({ caption: '扩展编辑器描述', detailType: 'FORMITEM', name: 'extendeditordescription', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
documentaddress: new FormItemModel({ caption: '文档地址', detailType: 'FORMITEM', name: 'documentaddress', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
ibizappextendeditorid: new FormItemModel({ caption: '扩展编辑器标识', detailType: 'FORMITEM', name: 'ibizappextendeditorid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -826,6 +847,18 @@ export default class MainBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'extendeditordescription', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 documentaddress 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.documentaddress')
onDocumentaddressChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'documentaddress', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 ibizappextendeditorid 值
*
......@@ -920,6 +953,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
......
......@@ -75,6 +75,11 @@ export default class MainModel {
prop: 'extendeditordescription',
dataType: 'TEXT',
},
{
name: 'documentaddress',
prop: 'documentaddress',
dataType: 'TEXT',
},
{
name: 'ibizappextendeditorid',
prop: 'ibizappextendeditorid',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册